From 75bbb26a8147fa6239cc46025f13a413dbf0e177 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期四, 15 十月 2026 11:55:02 +0800
Subject: [PATCH] 方法验证模块恢复为本地版本:移除合并进来的同事 Word 表单组件(新增/编辑切换)与上岗证实时查询,恢复本地列表列、搜索与上岗证弹窗实现;人员授权下拉优化与 vite 配置等其余合并内容保留

---
 src/views/CNAS/process/method/methodVerification/index.vue |   30 +++++++++++++-----------------
 1 files changed, 13 insertions(+), 17 deletions(-)

diff --git a/src/views/CNAS/process/method/methodVerification/index.vue b/src/views/CNAS/process/method/methodVerification/index.vue
index c26f254..dd77321 100644
--- a/src/views/CNAS/process/method/methodVerification/index.vue
+++ b/src/views/CNAS/process/method/methodVerification/index.vue
@@ -3,8 +3,8 @@
     <div style="display: flex;justify-content: space-between">
       <div style="display: flex;">
         <div style="margin-bottom: 18px;margin-right: 10px;display: flex;align-items: center;line-height: 32px;">
-          <span style="width: 88px;font-size: 14px;font-weight: 700;color: var(--lims-text-2);">鏍囧噯鍚嶇О</span>
-          <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="searchForm.standardName"
+          <span style="width: 88px;font-size: 14px;font-weight: 700;color: var(--lims-text-2);">鏍囧噯鏂规硶</span>
+          <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="searchForm.methodName"
                     @keyup.enter="searchList"></el-input>
         </div>
         <div style="line-height: 30px;">
@@ -22,26 +22,24 @@
                  @pagination="pagination">
       </limsTable>
     </div>
-    <component :is="isWordForm ? 'wordFormDIa' : 'formDIa'" v-if="formDIa" ref="formDIa"
-               :operationType="operationType" @closeDia="closeDia" />
+    <formDIa v-if="formDIa" ref="formDIa" :operationType="operationType" @closeDia="closeDia"></formDIa>
   </div>
 </template>
 
 <script>
 import limsTable from '@/components/Table/lims-table.vue'
 import formDIa from './component/formDIa.vue';
-import wordFormDIa from './component/wordFormDIa.vue';
 import { delMethodVerify, exportMethodVerify, pagesMethodVerify } from '@/api/cnas/process/method/methodVerification'
 
 export default {
   name: 'MethodVerification',
   // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢�
-  components: { limsTable, formDIa, wordFormDIa },
+  components: { limsTable, formDIa },
   data() {
     // 杩欓噷瀛樻斁鏁版嵁
     return {
       searchForm: {
-        standardName: '',
+        methodName: '',
         operationType: 1,
       },
       options: [
@@ -50,18 +48,18 @@
       ],
       tableColumn: [
         {
-          label: '鏍囧噯鍚嶇О',
-          prop: 'standardName',
+          label: '鏍囧噯鏂规硶',
+          prop: 'methodName',
           minWidth: '100'
         },
         {
-          label: '鏍囧噯缂栧彿',
-          prop: 'standardCode',
+          label: '楠岃瘉鍘熷洜',
+          prop: 'verifyReason',
           minWidth: '100'
         },
         {
-          label: '楠岃瘉椤圭洰',
-          prop: 'verifyItem',
+          label: '涓昏鎶�鏈彉鍖�',
+          prop: 'technologyChange',
           minWidth: '100'
         },
         {
@@ -112,7 +110,6 @@
       total: 0,
       formDIa: false,
       operationType: '',
-      isWordForm: true,
     };
   },
   mounted() {
@@ -123,7 +120,7 @@
     // 鏌ヨ鍒楄〃
     searchList() {
       const entity = {
-        standardName: this.searchForm.standardName,
+        methodName: this.searchForm.methodName,
         operationType: this.searchForm.operationType,
       }
       const page = this.page
@@ -161,13 +158,12 @@
     },
     // 閲嶇疆鏌ヨ鏉′欢
     resetSearchForm() {
-      this.searchForm.standardName = '';
+      this.searchForm.methodName = '';
       this.searchList()
     },
     openFormDia(type, row) {
       this.formDIa = true
       this.operationType = type
-      this.isWordForm = type === 'add' || !!row?.standardCode
       this.$nextTick(() => {
         this.$refs.formDIa.openDia(row)
       })

--
Gitblit v1.9.3