审批重构
This commit is contained in:
@ -167,7 +167,7 @@ const resetQuery = () => {
|
||||
const handleAdd = (row) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/Professional/indexEdit`,
|
||||
path: `/approval/Professional/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'add'
|
||||
@ -177,7 +177,7 @@ const handleAdd = (row) => {
|
||||
const handleViewInfo = (row) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/Professional/indexEdit`,
|
||||
path: `/approval/Professional/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'view'
|
||||
@ -187,7 +187,7 @@ const handleViewInfo = (row) => {
|
||||
const handleUpdate = (row) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/Professional/indexEdit`,
|
||||
path: `/approval/Professional/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'update'
|
||||
|
@ -317,7 +317,7 @@ function handleArr(arr, flag, table) {
|
||||
function clickApprovalSheet(row) {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/billofQuantities/indexEdit`,
|
||||
path: `/approval/billofQuantities/indexEdit`,
|
||||
query: {
|
||||
id: state.queryForm.versions,
|
||||
type: 'update'
|
||||
@ -327,7 +327,7 @@ function clickApprovalSheet(row) {
|
||||
// 审核流程
|
||||
function lookApprovalFlow(row) {
|
||||
proxy.$router.push({
|
||||
path: `/design-management/billofQuantities/indexEdit`,
|
||||
path: `/approval/billofQuantities/indexEdit`,
|
||||
query: {
|
||||
id: state.queryForm.versions,
|
||||
type: 'view'
|
||||
|
@ -99,7 +99,7 @@ const onUpdate = (row) => {
|
||||
// 审核
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/condition/indexEdit`,
|
||||
path: `/approval/condition/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'update'
|
||||
@ -110,7 +110,7 @@ const onView = (row) => {
|
||||
// 查看流程
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/condition/indexEdit`,
|
||||
path: `/approval/condition/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'view'
|
||||
|
@ -208,7 +208,7 @@ const resetQuery = () => {
|
||||
const handleAdd = () => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/designChange/indexEdit`,
|
||||
path: `/approval/designChange/indexEdit`,
|
||||
query: {
|
||||
type: 'add'
|
||||
}
|
||||
@ -218,7 +218,7 @@ const handleAdd = () => {
|
||||
const handleViewDetail = (row) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/designChange/indexEdit`,
|
||||
path: `/approval/designChange/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'view'
|
||||
@ -229,7 +229,7 @@ const handleViewDetail = (row) => {
|
||||
const handleAddChange = (row) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/drawing/indexEdit`,
|
||||
path: `/approval/drawing/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'add'
|
||||
@ -240,7 +240,7 @@ const handleAddChange = (row) => {
|
||||
const handleViewInfo = (row) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/drawing/indexEdit`,
|
||||
path: `/approval/drawing/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'view'
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="p-2 bg-gray-50" style="padding: 20px;">
|
||||
<div class="p-2 bg-gray-50" style="padding: 20px">
|
||||
<!-- <transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
||||
<div v-show="showSearch" class="mb-[10px]">
|
||||
<el-card shadow="hover">
|
||||
@ -166,7 +166,7 @@ const handleSelectionChange = (selection: DrawingVO[]) => {
|
||||
const handleUpdate = async (row?: DrawingVO) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/drawing/indexEdit`,
|
||||
path: `/approval/drawing/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'update'
|
||||
@ -192,7 +192,7 @@ const handleView = (row) => {
|
||||
const handleViewInfo = (row?: LeaveVO) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/drawing/indexEdit`,
|
||||
path: `/approval/drawing/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'view'
|
||||
|
@ -263,7 +263,7 @@ const reset = () => {
|
||||
function handleUpdate(row) {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/drawingreview/indexEdit`,
|
||||
path: `/approval/drawingreview/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'update'
|
||||
@ -273,7 +273,7 @@ function handleUpdate(row) {
|
||||
function handleViewInfo(row) {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/drawingreview/indexEdit`,
|
||||
path: `/approval/drawingreview/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'view'
|
||||
|
@ -182,7 +182,7 @@ const handleSelectionChange = (selection: PrelimSchemeVO[]) => {
|
||||
/** 新增按钮操作 */
|
||||
const handleAdd = () => {
|
||||
proxy.$tab.closePage(route);
|
||||
proxy.$tab.openPage('/design-management/prelimScheme/indexEdit', '', {
|
||||
proxy.$tab.openPage('/approval/prelimScheme/indexEdit', '', {
|
||||
type: 'add'
|
||||
});
|
||||
};
|
||||
@ -191,7 +191,7 @@ const handleAdd = () => {
|
||||
const handleUpdate = async (row?: PrelimSchemeVO) => {
|
||||
proxy.$tab.closePage(route);
|
||||
|
||||
proxy.$tab.openPage(`/design-management/prelimScheme/indexEdit`, '', {
|
||||
proxy.$tab.openPage(`/approval/prelimScheme/indexEdit`, '', {
|
||||
id: row.id,
|
||||
type: 'update'
|
||||
});
|
||||
@ -209,7 +209,7 @@ const handleDelete = async (row?: PrelimSchemeVO) => {
|
||||
/** 导出按钮操作 */
|
||||
const handleView = (row?: PrelimSchemeVO) => {
|
||||
proxy.$tab.closePage(route);
|
||||
proxy.$tab.openPage(`/design-management/prelimScheme/indexEdit`, '', {
|
||||
proxy.$tab.openPage(`/approval/prelimScheme/indexEdit`, '', {
|
||||
id: row.id,
|
||||
type: 'view'
|
||||
});
|
||||
|
@ -297,7 +297,7 @@ const getDeptAllUser = async (deptId: any) => {
|
||||
const update = () => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/received/indexEdit`,
|
||||
path: `/approval/received/indexEdit`,
|
||||
query: {
|
||||
id: form.id,
|
||||
type: 'update'
|
||||
@ -307,7 +307,7 @@ const update = () => {
|
||||
const onView = () => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/received/indexEdit`,
|
||||
path: `/approval/received/indexEdit`,
|
||||
query: {
|
||||
id: form.id,
|
||||
type: 'view'
|
||||
|
@ -181,7 +181,7 @@ const handleSelectionChange = (selection: SchemeVO[]) => {
|
||||
/** 新增按钮操作 */
|
||||
const handleAdd = () => {
|
||||
proxy.$tab.closePage(route);
|
||||
proxy.$tab.openPage('/design-management/scheme/indexEdit', '', {
|
||||
proxy.$tab.openPage('/approval/scheme/indexEdit', '', {
|
||||
type: 'add'
|
||||
});
|
||||
};
|
||||
@ -190,7 +190,7 @@ const handleAdd = () => {
|
||||
const handleUpdate = async (row?: SchemeVO) => {
|
||||
proxy.$tab.closePage(route);
|
||||
|
||||
proxy.$tab.openPage(`/design-management/scheme/indexEdit`, '', {
|
||||
proxy.$tab.openPage(`/approval/scheme/indexEdit`, '', {
|
||||
id: row.id,
|
||||
type: 'update'
|
||||
});
|
||||
@ -207,7 +207,7 @@ const handleDelete = async (row?: SchemeVO) => {
|
||||
|
||||
const handleView = (row?: SchemeVO) => {
|
||||
proxy.$tab.closePage(route);
|
||||
proxy.$tab.openPage(`/design-management/scheme/indexEdit`, '', {
|
||||
proxy.$tab.openPage(`/approval/scheme/indexEdit`, '', {
|
||||
id: row.id,
|
||||
type: 'view'
|
||||
});
|
||||
|
@ -158,7 +158,7 @@ const handleSelectionChange = (selection: SpecialSchemeVO[]) => {
|
||||
const handleAdd = () => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/specialScheme/indexEdit`,
|
||||
path: `/approval/specialScheme/indexEdit`,
|
||||
query: {
|
||||
type: 'add'
|
||||
}
|
||||
@ -169,7 +169,7 @@ const handleAdd = () => {
|
||||
const handleUpdate = async (row?: SpecialSchemeVO) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/specialScheme/indexEdit`,
|
||||
path: `/approval/specialScheme/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'update'
|
||||
@ -192,7 +192,7 @@ const handleView = (row) => {
|
||||
const handleViewInfo = (row) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/specialScheme/indexEdit`,
|
||||
path: `/approval/specialScheme/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'view'
|
||||
|
@ -475,7 +475,7 @@ onUnmounted(() => {
|
||||
const handleApproval = (row) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/technicalStandard/indexEdit`,
|
||||
path: `/approval/technicalStandard/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'update'
|
||||
@ -485,7 +485,7 @@ const handleApproval = (row) => {
|
||||
const handleViewApproval = (row) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/technicalStandard/indexEdit`,
|
||||
path: `/approval/technicalStandard/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'view'
|
||||
|
@ -484,7 +484,7 @@ const handleUploadSuccess = async (flieList: any, res: any) => {
|
||||
const handleAudit = async (row) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/drawingreview/indexEdit`,
|
||||
path: `/approval/drawingreview/indexEdit`,
|
||||
query: {
|
||||
id: row.design,
|
||||
type: 'update'
|
||||
@ -495,7 +495,7 @@ const handleAudit = async (row) => {
|
||||
const handleAuditView = async (row) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/design-management/drawingreview/indexEdit`,
|
||||
path: `/approval/drawingreview/indexEdit`,
|
||||
query: {
|
||||
id: row.design,
|
||||
type: 'view'
|
||||
|
Reference in New Issue
Block a user