duy 1 сар өмнө
parent
commit
33160f7869

+ 2 - 0
src/views/systemService/fromDrawer.vue

@@ -47,6 +47,7 @@
                 </HcTooltip>
                 <HcTooltip keys="system-service-plan-back-btn">
                     <el-button
+                        v-if="status === 2"
                         class="node-card-plan-btn ml-6"
                         hc-btn
                         keys="system-service-plan-back-btn"
@@ -60,6 +61,7 @@
                 </HcTooltip>
                 <HcTooltip keys="system-service-plan-comfirm-btn">
                     <el-button
+                        v-if="status === 2"
                         :loading="sendPlanLoad"
                         class="node-card-plan-btn ml-6"
                         hc-btn

+ 4 - 4
src/views/systemService/plan.vue

@@ -51,9 +51,9 @@
                 </el-tag>
             </template>
             <template #action="{ row }">
-                <el-link type="primary" @click="editRow(row)">编辑</el-link>
+                <el-link v-if="row.status !== 4" type="primary" @click="editRow(row)">编辑</el-link>
                 <el-link type="success">查看</el-link>
-                <el-link v-del-com:[handleDelete]="row" type="warning">删除</el-link>
+                <el-link v-if="row.status === 1 " v-del-com:[handleDelete]="row" type="warning">删除</el-link>
             </template>
         </hc-table>
 
@@ -89,8 +89,8 @@ const fillType = ref([
 ])
 const tasksStatus = ref([
     { dictKey: '1', dictValue: '计划中' },
-    { dictKey: '2', dictValue: '协同中-甲方' },
-    { dictKey: '3', dictValue: '协同中-系统' },
+    { dictKey: '2', dictValue: '确认中-甲方' },
+    { dictKey: '3', dictValue: '反馈中-系统' },
     { dictKey: '4', dictValue: '已计划' },
 ])
 const preparedList = ref([