产值管理审批流

This commit is contained in:
Teo
2025-08-07 19:22:17 +08:00
parent 0223d9d86e
commit f37ca487f6
28 changed files with 5272 additions and 39 deletions

View File

@ -50,16 +50,18 @@
<dict-tag :options="out_value_type" :value="scope.row.valueType" />
</template>
</el-table-column>
<!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<el-table-column label="流程状态" align="center" prop="status">
<template #default="scope">
<el-tooltip content="修改" placement="top">
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['out:monthPlan:edit']"></el-button>
</el-tooltip>
<el-tooltip content="删除" placement="top">
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['out:monthPlan:remove']"></el-button>
</el-tooltip>
<dict-tag :options="wf_business_status" :value="scope.row.completeAuditStatus" />
</template>
</el-table-column> -->
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="210">
<template #default="scope">
<el-button link type="primary" icon="Finished" @click="handleAudit(scope.row)" v-hasPermi="['out:constructionValue:remove']"
>审核</el-button
>
</template>
</el-table-column>
</el-table>
<pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize" @pagination="getList" />
@ -97,6 +99,7 @@ import { listMonthPlan, getMonthPlan, delMonthPlan, addMonthPlan, updateMonthPla
import { MonthPlanVO, MonthPlanQuery, MonthPlanForm } from '@/api/out/monthPlan/types';
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { out_value_type } = toRefs<any>(proxy?.useDict('out_value_type'));
const { wf_business_status } = toRefs<any>(proxy?.useDict('wf_business_status'));
import { useUserStoreHook } from '@/store/modules/user';
// 获取用户 store
@ -265,6 +268,14 @@ onMounted(() => {
getList();
});
/** 审核按钮操作 */
const handleAudit = async (row?: MonthPlanVO) => {
proxy?.$tab.openPage('/out/designCompletion/indexEdit', '审核设计完工产值', {
id: row?.id,
type: 'update'
});
};
//监听项目id刷新数据
// const listeningProject = watch(
// () => currentProject.value.id,