Przeglądaj źródła

fix: 更新文件时间戳,修改发送对象查看标题及状态判断逻辑

sunqijun 2 miesięcy temu
rodzic
commit
ebd146fcd1

+ 1 - 1
src/views/production-safety/productionSafetySystem/safetySystemConstructionWorkPlanManagement/configs/tables.ts

@@ -2,7 +2,7 @@
  * @Author: liuJie
  * @Date: 2026-01-28 11:03:32
  * @LastEditors: liuJie
- * @LastEditTime: 2026-02-09 10:38:42
+ * @LastEditTime: 2026-03-01 20:07:59
  * @Describe: file describe
  */
 import type { TableColumnProps } from '@/types/basic-table';

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

@@ -76,6 +76,7 @@
             @update:pageSize="handleSizeChange"
             @update:pageNumber="handleCurrentChange"
           >
+          
             <template #action="scope">
               <div class="action-container--div" style="justify-content: left">
                 <!-- 1-未下发、2-待反馈、3-已完成 4- 已作废 -->
@@ -95,7 +96,7 @@
                 <!-- (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="查看发送对象" @click="handleViewRecipients(scope.row.id)" />
                   <ActionButton
                     text="作废"
                     :popconfirm="{

+ 13 - 6
src/views/production-safety/productionSafetySystem/safetySystemConstructionWorkPlanManagement/safetySystemConstructionWorkPlanManagementViewSender.vue

@@ -1,5 +1,9 @@
 <template>
   <div class="safety-platform-container">
+    <div class="back-header">
+      <BreadcrumbBack />
+      <span class="breadcrumb-title">查看发送对象</span>
+    </div>
     <header class="safety-platform-container__header">
       <div class="breadcrumb-title"> {{ detail.workContent }}</div>
       <div class="breadcrumb-desc flex" style="margin-top: 20px">
@@ -10,12 +14,6 @@
     <main class="safety-platform-container__main">
       <div class="search-table-container">
         <header class="header-wrapper">
-          <div class="flex items-center">
-            <el-icon size="20px">
-              <Discount />
-            </el-icon>
-            <span style="margin-left: 10px">执行层单位</span>
-          </div>
           <div class="act-search">
             <section class="select-box">
               <div class="select-box--item">
@@ -112,6 +110,7 @@
   import BasicTable from '@/components/BasicTable.vue';
   import useTableConfig from '@/hooks/useTableConfigHook';
   import ActionButton from '@/components/ActionButton.vue';
+import BreadcrumbBack from '@/components/BreadcrumbBack.vue';
   import {
     TABLE_OPTIONS,
     VIEW_SENDS_TABLE_COLUMNS,
@@ -321,4 +320,12 @@
       }
     }
   }
+  .back-header {
+    display: flex;
+    align-items: center;
+    gap: 16px;
+    padding: 16px 22px;
+    flex-shrink: 0;
+    background-color: white;
+  }
 </style>

+ 1 - 1
src/views/production-safety/productionSafetySystem/safetySystemConstructionWorkPlanManagementDept/safetySystemConstructionWorkPlanManagementDept.vue

@@ -79,7 +79,7 @@
             <template #action="scope">
               <div class="action-container--div" style="justify-content: left">
                 <!-- 进行中(1)/待反馈:查看 -->
-                <template v-if="Number(scope.row.status) === 1">
+                <template v-if="Number(scope.row.status) === 2">
                   <ActionButton text="反馈" @click="handleIssue(scope.row.id)" />
                 </template>
 

+ 0 - 7
src/views/production-safety/productionSafetySystem/safetySystemConstructionWorkPlanManagementDept/safetySystemConstructionWorkPlanManagementDeptItem.vue

@@ -1,10 +1,3 @@
-<!--
- * @Author: liuJie
- * @Date: 2026-01-27 16:29:28
- * @LastEditors: liuJie
- * @LastEditTime: 2026-02-08 22:39:47
- * @Describe: file describe
--->
 <template>
   <div class="safety-platform-container">
     <header class="safety-platform-container__header">