审批重构

This commit is contained in:
Teo
2025-08-18 19:59:57 +08:00
parent 174ef50f6f
commit 806ed029cf
27 changed files with 142 additions and 88 deletions

View File

@ -5,7 +5,7 @@ VITE_APP_TITLE = 煤科建管平台
VITE_APP_ENV = 'development'
# 开发环境
VITE_APP_BASE_API = 'http://192.168.110.180:8899'
VITE_APP_BASE_API = 'http://192.168.110.149:8899'
# 无人机接口地址

View File

@ -1,9 +1,16 @@
export interface FormalitiesAreConsolidatedVO {
/**
*
*
*/
id: string | number;
/**
* 办理状态
*/
status: string;
/**
* 计划完成时间
*/
planTheEndTime: string;
/**
* 项目id
*/
@ -48,15 +55,17 @@ export interface FormalitiesAreConsolidatedVO {
* 备注
*/
remark: string;
}
export interface FormalitiesAreConsolidatedForm extends BaseEntity {
/**
*
*
*/
id?: string | number;
/**
* 计划完成时间
*/
planTheEndTime?: string;
/**
* 项目id
*/
@ -101,11 +110,9 @@ export interface FormalitiesAreConsolidatedForm extends BaseEntity {
* 备注
*/
remark?: string;
}
export interface FormalitiesAreConsolidatedQuery extends PageQuery {
/**
* 项目id
*/
@ -146,11 +153,8 @@ export interface FormalitiesAreConsolidatedQuery extends PageQuery {
*/
formalitiesUrl?: string;
/**
* 日期范围参数
*/
params?: any;
/**
* 日期范围参数
*/
params?: any;
}

View File

@ -222,7 +222,7 @@ const handleUpdate = (row) => {
// 添加审批
proxy.$tab.closePage(proxy.$route);
proxy.$router.push({
path: `/cory/template/indexEdit`,
path: `/approval/changeContact/indexEdit`,
query: {
thumbnailUrl: props.thumbnail,
row: JSON.stringify(row),
@ -235,7 +235,7 @@ const handleViewInfo = (row) => {
// 添加审批
proxy.$tab.closePage(proxy.$route);
proxy.$router.push({
path: `/relation-management/changeContact/indexEdit`,
path: `/approval/changeContact/indexEdit`,
query: {
thumbnailUrl: props.thumbnail,
row: JSON.stringify(row),

View File

@ -281,7 +281,7 @@ const handleAddApp = (row) => {
// 添加审批
proxy.$tab.closePage(proxy.$route);
proxy.$router.push({
path: `/relation-management/changeContact/indexEdit`,
path: `/approval/changeContact/indexEdit`,
query: {
thumbnailUrl: projectTypeOptions.value[1].thumbnail,
id: projectTypeOptions.value[1].id,

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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'
});

View File

@ -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'

View File

@ -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'
});

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -61,15 +61,20 @@
</el-row>
</template>
<el-table v-loading="loading" :data="formalitiesAreConsolidatedList" @selection-change="handleSelectionChange">
<el-table v-loading="loading" :data="formalitiesAreConsolidatedList" @selection-change="handleSelectionChange" row-key="id" default-expand-all>
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="手续办理清单模板父级" align="center" prop="formalitiesPname" />
<!-- <el-table-column label="手续办理清单模板父级" align="center" prop="formalitiesPname" /> -->
<el-table-column label="手续办理清单模板" align="center" prop="formalitiesName" />
<el-table-column label="计划开始时间" align="center" prop="planTheStartTime" width="180">
<template #default="scope">
<span>{{ parseTime(scope.row.planTheStartTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="计划完成时间" align="center" prop="planTheEndTime" width="180">
<template #default="scope">
<span>{{ parseTime(scope.row.planTheEndTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="负责人" align="center" prop="head" />
<el-table-column label="实际完成时间" align="center" prop="actualCompletionTime" width="180">
<template #default="scope">
@ -79,18 +84,27 @@
<el-table-column label="办理状态" align="center" prop="processingStatus" />
<el-table-column label="手续材料" align="center" prop="formalitiesUrl" width="180">
<template #default="scope">
<el-link type="primary" :underline="false" @click="handlePreview(scope.row)" target="_blank">查看</el-link>
<el-link type="primary" :underline="false" @click="handlePreview(scope.row)" target="_blank" v-if="scope.row.formalitiesPid"
>查看</el-link
>
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template #default="scope">
<div v-if="scope.row.status != 1">
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['formalities:formalitiesAreConsolidated:edit']"
<div v-if="scope.row.formalitiesPid">
<el-button
link
type="primary"
icon="Edit"
v-if="scope.row.processingStatus != '已完成'"
@click="handleUpdate(scope.row)"
v-hasPermi="['formalities:formalitiesAreConsolidated:edit']"
>修改</el-button
>
<el-button link type="primary" icon="Upload" @click="handleUpload(scope.row)">上传</el-button>
<el-button link type="primary" icon="Upload" v-if="scope.row.processingStatus != '已完成'" @click="handleUpload(scope.row)"
>上传</el-button
>
<el-button
link
type="primary"
@ -113,9 +127,14 @@
<el-date-picker clearable v-model="form.planTheStartTime" type="date" value-format="YYYY-MM-DD" placeholder="请选择计划开始时间">
</el-date-picker>
</el-form-item>
<el-form-item label="计划完成时间" prop="planTheStartTime">
<el-date-picker clearable v-model="form.planTheEndTime" type="date" value-format="YYYY-MM-DD" placeholder="请选择计划完成时间">
</el-date-picker>
</el-form-item>
<el-form-item label="负责人" prop="head">
<el-input v-model="form.head" placeholder="请输入负责人" />
</el-form-item>
<el-form-item label="备注" prop="remark">
<el-input v-model="form.remark" placeholder="请输入备注" />
</el-form-item>
@ -136,7 +155,7 @@
</el-link>
</template>
</el-table-column>
<el-table-column label="操作" width="90" align="center" v-if="fileStatus != 1">
<el-table-column label="操作" width="90" align="center" v-if="fileStatus != '1'">
<template #default="scope">
<el-button type="danger" link icon="Delete" @click="handleDeleteFile(scope.row)"> 删除 </el-button>
</template>
@ -156,13 +175,14 @@
</template>
</el-dialog>
<!-- 上传文件对话框 -->
<el-dialog draggable title="上传文件" v-model="fileVisible" width="45%">
<el-dialog draggable title="上传文件" v-model="fileVisible" width="450">
<el-form-item label="上传文件" prop="processingStatus">
<file-upload
v-model="file"
ref="uploadRef"
uploadUrl="/formalities/formalitiesAnnex"
:data="{ formalitiesId: form.id }"
:fileType="['pdf']"
:auto-upload="false"
showFileList
method="put"
@ -176,6 +196,23 @@
</span>
</template>
</el-dialog>
<el-dialog title="修改状态" v-model="updateStatusVisible" width="500">
<el-form ref="statusFormRef" :model="statusForm" :rules="rules">
<el-form-item label="办理状态" prop="processingStatus">
<el-select v-model="statusForm.processingStatus" placeholder="请选择办理状态">
<el-option label="待开始" value="待开始" />
<el-option label="处理中" value="处理中" />
<el-option label="已完成" value="已完成" />
</el-select>
</el-form-item>
</el-form>
<template #footer>
<span>
<el-button @click="updateStatusVisible = false">取消</el-button>
<el-button type="primary" @click="submitStatus">确定</el-button>
</span>
</template>
</el-dialog>
</div>
</template>
@ -206,7 +243,8 @@ const formalitiesAreConsolidatedList = ref<FormalitiesAreConsolidatedVO[]>([]);
const buttonLoading = ref(false);
const loading = ref(true);
const fileLoading = ref(false);
const updateStatusVisible = ref(false);
const statusFormRef = ref<ElFormInstance>();
const showSearch = ref(true);
const ids = ref<Array<string | number>>([]);
const single = ref(true);
@ -218,7 +256,7 @@ const formalitiesAreConsolidatedFormRef = ref<ElFormInstance>();
const fileList = ref([]);
const fileTotal = ref(0);
const viewVisible = ref(false);
const fileStatus = ref(0);
const fileStatus = ref<string>('0');
const dialog = reactive<DialogOption>({
visible: false,
title: ''
@ -229,10 +267,18 @@ const fileParams = reactive({
pageSize: 10,
formalitiesId: undefined
});
const statusForm = ref({
id: undefined,
projectId: currentProject.value?.id,
processingStatus: undefined
});
const initFormData: FormalitiesAreConsolidatedForm = {
id: undefined,
projectId: currentProject.value?.id,
planTheStartTime: undefined,
planTheEndTime: undefined,
head: undefined
};
const data = reactive<PageData<FormalitiesAreConsolidatedForm, FormalitiesAreConsolidatedQuery>>({
@ -251,7 +297,11 @@ const data = reactive<PageData<FormalitiesAreConsolidatedForm, FormalitiesAreCon
params: {}
},
rules: {
id: [{ required: true, message: '不能为空', trigger: 'blur' }]
id: [{ required: true, message: '不能为空', trigger: 'blur' }],
planTheStartTime: [{ required: true, message: '请选择计划开始时间', trigger: 'blur' }],
planTheEndTime: [{ required: true, message: '请选择计划结束时间', trigger: 'blur' }],
head: [{ required: true, message: '请输入负责人', trigger: 'blur' }],
processingStatus: [{ required: true, message: '请选择办理状态', trigger: 'blur' }]
}
});
@ -327,12 +377,21 @@ const handleUpload = (row) => {
};
const handleUpdateStatus = async (row?: FormalitiesAreConsolidatedVO) => {
await proxy?.$modal.confirm('是否确认修改状态?').finally(() => (loading.value = false));
statusForm.value.id = row.id;
statusForm.value.processingStatus = row.processingStatus;
await editStatus({ id: row?.id, projectId: currentProject.value?.id });
updateStatusVisible.value = true;
};
proxy?.$modal.msgSuccess('修改成功');
await getList();
const submitStatus = async () => {
statusFormRef.value?.validate(async (valid: boolean) => {
if (valid) {
await editStatus(statusForm.value);
proxy?.$modal.msgSuccess('修改成功');
await getList();
updateStatusVisible.value = false;
}
});
};
/** 提交按钮 */

View File

@ -42,13 +42,13 @@
<!-- 添加或修改手续办理清单模板对话框 -->
<el-dialog :title="dialog.title" v-model="dialog.visible" width="500px" append-to-body>
<el-form ref="listOfFormalitiesFormRef" :model="form" :rules="rules" label-width="80px">
<el-form-item label="父级" prop="pid">
<el-form-item label="父级" prop="pid" :rules="[{ required: true, message: '请选择父级', trigger: 'blur' }]">
<el-select v-model="form.pid" placeholder="请选择父级">
<el-option label="根目录" value="0" />
<el-option v-for="item in listOfFormalitiesList" :label="item.name" :value="item.id" />
</el-select>
</el-form-item>
<el-form-item label="名称" prop="name">
<el-form-item label="名称" prop="name" :rules="[{ required: true, message: '请输入名称', trigger: 'blur' }]">
<el-input v-model="form.name" placeholder="请输入名称" />
</el-form-item>
</el-form>

View File

@ -441,7 +441,7 @@ const handleAudit = async () => {
return;
}
proxy?.$tab.closePage(route);
proxy?.$tab.openPage('/materials-management/batchPlan/indexEdit', '审核物资设备批次需求计划', {
proxy?.$tab.openPage('/approval/batchPlan/indexEdit', '审核物资设备批次需求计划', {
id: queryParams.value.mainData.mrpBaseId,
status: form.value.mrpBaseBo.status + '_batchRequirements',
type: 'update'

View File

@ -425,7 +425,7 @@ const handleAudit = async () => {
return;
}
proxy?.$tab.closePage(proxy.$route);
proxy?.$tab.openPage('/materials-management/cailiaoshebei/indexEdit', '审核材料设备设计', {
proxy?.$tab.openPage('/approval/cailiaoshebei/indexEdit', '审核材料设备设计', {
id: form.value.batchNumber + '_materialDesign',
approvalDesign: form.value.approvalDesign,
type: 'update'

View File

@ -132,16 +132,7 @@
</template>
<script setup name="Cailiaoshebei" lang="ts">
import {
listCailiaoshebei,
getCailiaoshebei,
delCailiaoshebei,
addCailiaoshebei,
updateCailiaoshebei,
listBatch,
getBatch,
delBatch
} from '@/api/materials/orderEquipment';
import { listCailiaoshebei, delCailiaoshebei, addCailiaoshebei, listBatch, getBatch, delBatch } from '@/api/materials/orderEquipment';
import { CailiaoshebeiVO, CailiaoshebeiQuery, CailiaoshebeiForm } from '@/api/materials/orderEquipment/types';
import { listContractor } from '@/api/project/contractor';
@ -355,7 +346,7 @@ const handleAudit = async () => {
}
proxy?.$tab.closePage(proxy.$route);
proxy?.$tab.openPage('/materials-management/orderEquipment/indexEdit', '审核物资订货', {
proxy?.$tab.openPage('/approval/orderEquipment/indexEdit', '审核物资订货', {
id: form.value.batchNumber,
approvalOrder: form.value.approvalOrder + '_equipmentOrdering',
type: 'update'

View File

@ -306,7 +306,7 @@ const handleClose = () => {
function clickApprovalSheet1() {
proxy.$tab.closePage(proxy.$route);
proxy.$router.push({
path: `/materials/overallPlanMaterialSupply/indexEdit`,
path: `/approval/overallPlanMaterialSupply/indexEdit`,
query: {
id: state.masterData.id,
type: 'update'
@ -316,7 +316,7 @@ function clickApprovalSheet1() {
// 审核流程
function lookApprovalFlow() {
proxy.$router.push({
path: `/materials/overallPlanMaterialSupply/indexEdit`,
path: `/approval/overallPlanMaterialSupply/indexEdit`,
query: {
id: state.masterData.id,
type: 'view'

View File

@ -525,7 +525,7 @@ const handleSuccess = (list, res: any) => {
/** 审核按钮操作 */
const handleAudit = async (row?: PurchaseDocVO) => {
proxy?.$tab.closePage(route);
proxy?.$tab.openPage('/materials/purchaseDoc/indexEdit', '审核采购联系单', {
proxy?.$tab.openPage('/approval/purchaseDoc/indexEdit', '审核采购联系单', {
id: row.id,
type: 'update'
});
@ -533,7 +533,7 @@ const handleAudit = async (row?: PurchaseDocVO) => {
/** 审核按钮操作 */
const handleViewDetail = async (row?: PurchaseDocVO) => {
proxy?.$tab.closePage(route);
proxy?.$tab.openPage('/materials/purchaseDoc/indexEdit', '审核采购联系单', {
proxy?.$tab.openPage('/approval/purchaseDoc/indexEdit', '审核采购联系单', {
id: row.id,
type: 'view'
});

View File

@ -474,7 +474,7 @@ const handleAudit = async () => {
}
proxy?.$tab.closePage(proxy.$route);
proxy?.$tab.openPage('/materials-management/suppliesprice/indexEdit', '审核物资供应总计划', {
proxy?.$tab.openPage('/approval/suppliesprice/indexEdit', '审核物资供应总计划', {
id: form.value.batchNumber,
approvalPlan: form.value.approvalPlan + '_materialsPlans',
type: 'update'

View File

@ -350,7 +350,7 @@ const handleDelete = async (row?: ConstructionValueVO) => {
/** 审核按钮操作 */
const handleAudit = async (row?: ConstructionValueVO) => {
proxy?.$tab.openPage('/out/constructionValue/indexEdit', '审核施工产值', {
proxy?.$tab.openPage('/approval/constructionValue/indexEdit', '审核施工产值', {
id: row?.id,
type: 'update'
});

View File

@ -268,7 +268,7 @@ onMounted(() => {
/** 审核按钮操作 */
const handleAudit = async (row?: MonthPlanVO) => {
proxy?.$tab.openPage('/out/designCompletion/indexEdit', '审核设计完工产值', {
proxy?.$tab.openPage('/approval/designCompletion/indexEdit', '审核设计完工产值', {
id: row?.id,
type: 'update'
});

View File

@ -244,7 +244,7 @@ const handleDelete = async (row?: MonthPlanVO) => {
/** 审核按钮操作 */
const handleAudit = async (row?: MonthPlanVO) => {
proxy?.$tab.openPage('/out/monthPlan/indexEdit', '审核月度产值计划', {
proxy?.$tab.openPage('/approval/monthPlan/indexEdit', '审核月度产值计划', {
planMonth: row?.planMonth,
type: 'update'
});