From b186f5b20c4f83773f51786da0cd3e85130540c2 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期五, 22 五月 2026 16:32:01 +0800
Subject: [PATCH] feat(审批模板): 增强审批流程编辑器功能,新增只读模式——为 TemplateFlowEditor 添加了只读属性,以在流程不可编辑时防止进行修改。——更新审批模板表单部分,使其能够根据 flowEditable 状态条件性地显示可编辑选项。——优化了用户反馈机制,通过动态消息显示审批流程是否可进行修改。

---
 src/views/safeProduction/accidentReportingRecord/index.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/safeProduction/accidentReportingRecord/index.vue b/src/views/safeProduction/accidentReportingRecord/index.vue
index 28e638e..5a6c345 100644
--- a/src/views/safeProduction/accidentReportingRecord/index.vue
+++ b/src/views/safeProduction/accidentReportingRecord/index.vue
@@ -1,6 +1,6 @@
 <template>
   <div class="app-container">
-    <div class="search_form">
+    <div class="search_form mb20">
       <div>
         <span class="search_title">浜嬫晠鍚嶇О锛�</span>
         <el-input v-model="searchForm.accidentName"
@@ -203,9 +203,9 @@
       </el-form>
       <template #footer>
         <span class="dialog-footer">
-          <el-button @click="dialogVisible = false">鍙栨秷</el-button>
           <el-button type="primary"
                      @click="submitForm">纭畾</el-button>
+          <el-button @click="dialogVisible = false">鍙栨秷</el-button>
         </span>
       </template>
     </el-dialog>
@@ -235,7 +235,7 @@
           <el-descriptions-item label="浜嬫晠绫诲瀷">
             <el-tag type="info">{{ accidentTypeLabel(currentKnowledge.accidentType) }}</el-tag>
           </el-descriptions-item>
-          <el-descriptions-item label="浜哄憳浼や骸鎯呭喌">
+          <el-descriptions-item label="浜哄憳鎹熷け鎯呭喌">
             {{ currentKnowledge.personLoss }}
           </el-descriptions-item>
           <el-descriptions-item label="鐩存帴璐骇鎹熷け锛堝厓锛�">
@@ -513,7 +513,7 @@
       .then(res => {
         tableLoading.value = false;
         tableData.value = res.data.records;
-        page.total = res.data.total;
+        page.value.total = res.data.total;
       })
       .catch(err => {
         tableLoading.value = false;
@@ -524,7 +524,7 @@
   const pagination = obj => {
     page.value.current = obj.page;
     page.value.size = obj.limit;
-    handleQuery();
+    getList();
   };
   const currentUserId = ref("");
   const currentUserName = ref("");

--
Gitblit v1.9.3