From 807374eb2bd42eac7192d2a3d4581107b4305c3c Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 12 二月 2025 15:43:44 +0800
Subject: [PATCH] 任务跳过加备注说明
---
src/views/projectManage/plan/planInfoCheck.vue | 56 +++++++++++++++++++++++++++++---------------------------
1 files changed, 29 insertions(+), 27 deletions(-)
diff --git a/src/views/projectManage/plan/planInfoCheck.vue b/src/views/projectManage/plan/planInfoCheck.vue
index dd9d690..afd4ab9 100644
--- a/src/views/projectManage/plan/planInfoCheck.vue
+++ b/src/views/projectManage/plan/planInfoCheck.vue
@@ -26,7 +26,7 @@
type="date"
placeholder="閫夋嫨鏃ユ湡"
value-format="yyyy-MM-dd HH:mm:ss"
- size="small"
+ size="medium"
style="width: 130px"
:readonly="projectInfoData.managerFlag"/>
</template>
@@ -38,7 +38,7 @@
type="date"
placeholder="閫夋嫨鏃ユ湡"
value-format="yyyy-MM-dd HH:mm:ss"
- size="small"
+ size="medium"
style="width: 130px"
:readonly="projectInfoData.managerFlag" />
</template>
@@ -58,12 +58,24 @@
<div v-if="scope.row.planStatus === 0"></div>
<!-- 鐘舵�佷负宸查┏鍥� -->
<div v-if="scope.row.planStatus === 1">
- <el-button size="small" @click="handleResubmit(scope.row)">閲嶆柊涓婃姤</el-button>
- <el-button size="small" type="danger" @click="handleReset(scope.$index)">閲嶇疆</el-button>
+ <el-button
+ size="medium"
+ type="text"
+ icon="el-icon-upload2"
+ @click="handleResubmit(scope.row)">閲嶆柊涓婃姤</el-button>
+ <el-button
+ size="medium"
+ type="text"
+ icon="el-icon-refresh-left"
+ @click="handleReset(scope.$index)">閲嶇疆</el-button>
</div>
<!-- 鐘舵�佷负宸查�氳繃 -->
<div v-if="scope.row.planStatus === 2">
- <el-button size="small" @click="handleDelay(scope.$index)">寤舵湡</el-button>
+ <el-button
+ size="medium"
+ type="text"
+ icon="el-icon-edit"
+ @click="handleDelay(scope.$index)">寤舵湡</el-button>
</div>
</template>
</el-table-column>
@@ -102,7 +114,7 @@
v-model="scope.row.departmentExamine"
:disabled="scope.row.planStatus === 2 || scope.row.planStatus === 1"
placeholder="璇烽�夋嫨"
- size="small"
+ size="medium"
clearable>
<el-option label="鍚屾剰" :value="0"></el-option>
<el-option label="椹冲洖" :value="1"></el-option>
@@ -143,7 +155,7 @@
v-model="scope.row.manageExamine"
:disabled="scope.row.planStatus === 2 || scope.row.planStatus === 1"
placeholder="璇烽�夋嫨"
- size="small"
+ size="medium"
clearable>
<el-option label="鍚屾剰" :value="0"></el-option>
<el-option label="椹冲洖" :value="1"></el-option>
@@ -180,18 +192,22 @@
<template #default="scope">
<div v-if="!projectInfoData.managerFlag">
<el-button
- size="small"
+ size="medium"
+ type="text"
+ icon="el-icon-reply"
@click="handleReply(scope.$index)"
:disabled="scope.row.planStatus === 0">鍥炲</el-button>
<el-button
- size="small"
- type="danger"
+ size="medium"
+ type="text"
+ icon="el-icon-refresh-left"
@click="handleReset(scope.$index)"
:disabled="scope.row.planStatus === 0">閲嶇疆</el-button>
</div>
<div v-if="projectInfoData.managerFlag">
<el-button
- size="small"
+ size="medium"
+ type="text"
@click="handleExamine(scope.$index)"
v-if="scope.row.planStatus === 0">瀹℃牳</el-button>
</div>
@@ -279,13 +295,8 @@
// 鑾峰彇浼犻�掕繃鏉ョ殑椤圭洰璁″垝璇︽儏
getPlanRecordData() {
// 浠庢煡璇㈠弬鏁颁腑鑾峰彇鏁版嵁
- this.projectInfoData = this.$route.query.projectInfoData
- this.planInfoData.id = this.$route.query.id;
- this.planInfoData.projectName = this.$route.query.projectName;
- this.planInfoData.projectCode = this.$route.query.projectCode;
- this.planInfoData.planTime = this.$route.query.planTime;
- this.planInfoData.planTimeFlag = this.$route.query.planTimeFlag;
- this.planInfoData.managerFlag = this.$route.query.managerFlag;
+ this.projectInfoData = JSON.parse(this.$route.query.projectInfoData)
+ this.planInfoData = JSON.parse(this.$route.query.data)
this.search();
},
// 鑾峰彇椤圭洰璁″垝椤�
@@ -345,15 +356,6 @@
this.tableData[index].startTime = '';
this.tableData[index].endTime = '';
},
- /** 杩斿洖椤圭洰璁″垝璁板綍 */
- handlePlanRecord() {
- this.$router.replace({
- path: '/projectManage/planRecord',
- query: {
- data: this.projectInfoData
- }
- })
- }
},
created() {
this.getPlanRecordData();
--
Gitblit v1.8.0