From 25ac1283aaf3a2eb794f89d74bac36480b9270ff Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期五, 07 二月 2025 17:43:10 +0800 Subject: [PATCH] 项目审核 --- src/views/projectEngineering/projectLibrary/index.vue | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/views/projectEngineering/projectLibrary/index.vue b/src/views/projectEngineering/projectLibrary/index.vue index a5e95d3..8979528 100644 --- a/src/views/projectEngineering/projectLibrary/index.vue +++ b/src/views/projectEngineering/projectLibrary/index.vue @@ -236,12 +236,16 @@ <template v-if="item.slotName === 'planStartTime'"> {{ scope.row.planStartTime ? scope.row.planStartTime.split('-')[0] + '骞�' : '' }} </template> + <!-- usedStatus鎻掓Ы --> + <template v-if="item.slotName === 'usedStatus'"> + <dict-tag :options="dict.type.sys_used_status" :value="scope.row.usedStatus"/> + </template> </template> <!-- 榛樿鏄剧ず --> <span v-else>{{ scope.row[item.id] }}</span> </template> </el-table-column> - + <el-table-column v-if="this.$route.query.projectCategory==6" label="瀹℃牳澶囨敞" width="140" align="center" prop="remark"/> <!-- 鎿嶄綔鍒� --> <el-table-column label="鎿嶄綔" width="140" align="center"> <template slot-scope="scope"> @@ -254,6 +258,7 @@ </el-button> <el-button v-if="isReserve" + v-hasRole="['user']" size="medium" type="text" icon="el-icon-edit" @@ -299,7 +304,7 @@ export default { dicts: ['sys_administrative_divisions', 'sys_investment_type', 'sys_project_phases', 'sys_funding_type', 'sys_association_status', 'sys_project_status', 'sys_project_code', - 'sys_project_tags', 'sys_key_categories', 'sys_project_type'], + 'sys_project_tags', 'sys_key_categories', 'sys_project_type','sys_used_status'], name: "ProjectInfo", components: { FileDialog @@ -374,7 +379,7 @@ created() { this.queryParams.importanceType = this.$route.query.importanceType; const projectCategory = this.$route.query.projectCategory; - if (!projectCategory || projectCategory === '1') { + if (!projectCategory || projectCategory === '1' || projectCategory === '6') { this.isReserve = true; } if (projectCategory) { @@ -401,7 +406,8 @@ }, handleDetail(row) { this.removeStore(); - this.$router.push({path: '/projectEngineering/project/ProjectDetails', query: {projectId: row.id,disabled: 'true' }}); + const audit = this.$route.query.projectCategory==='6'? 1:0 + this.$router.push({path: '/projectEngineering/project/ProjectDetails', query: {projectId: row.id,disabled: 'true',audit: audit }}); }, // 鏂板椤甸潰 add() { -- Gitblit v1.8.0