xiaweibo 1 месяц назад
Родитель
Сommit
5816dc2157

+ 1 - 2
src/views/production-safety/productionSafetySystem/safetySystemConstructionWorkPlanManagement/safetySystemConstructionWorkPlanManagement.vue

@@ -85,6 +85,7 @@
                 <!-- 1-未下发、2-待反馈、3-已完成 4- 已作废 -->
                 <!-- 未下发(1):编辑、删除、下发 -->
                 <template v-if="Number(scope.row.status) === 1">
+                  <ActionButton text="查看" @click="handleView(scope.row.id)" />
                   <ActionButton text="编辑" @click="handleEdit(scope.row.id)" />
                   <ActionButton
                     text="删除"
@@ -98,7 +99,6 @@
 
                 <!-- (2)待反馈-->
                 <template v-else-if="Number(scope.row.status) === 2">
-                  <ActionButton text="查看" @click="handleView(scope.row.id)" />
                   <ActionButton text="查看发送对象" @click="handleViewRecipients(scope.row.id)" />
                   <ActionButton
                     text="作废"
@@ -118,7 +118,6 @@
                     }"
                     @confirm="handleDelete(scope.row.id)"
                   />
-                  <ActionButton text="查看" @click="handleView(scope.row.id)" />
                   <ActionButton text="发送查看对象" @click="handleViewRecipients(scope.row.id)" />
                 </template>
               </div>