From c4cfd5c566d137fb60781b8b2e0057d11cf4b051 Mon Sep 17 00:00:00 2001
From: chenrui <1187576398@qq.com>
Date: 星期四, 13 三月 2025 17:33:06 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev

---
 src/views/CNAS/process/method/standardMethodsChange/index.vue |   25 ++++++++++++-------------
 1 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/src/views/CNAS/process/method/standardMethodsChange/index.vue b/src/views/CNAS/process/method/standardMethodsChange/index.vue
index 9a4ac26..3e4a30d 100644
--- a/src/views/CNAS/process/method/standardMethodsChange/index.vue
+++ b/src/views/CNAS/process/method/standardMethodsChange/index.vue
@@ -13,15 +13,15 @@
         </el-form>
       </div>
       <div>
-        <el-button size="medium" type="primary" @click="openFormDia('add')">鏂� 澧�</el-button>
+        <el-button size="small" type="primary" @click="openFormDia('add')">鏂� 澧�</el-button>
       </div>
     </div>
     <div class="table">
       <div>
         <TableCard :showForm="false" :showTitle="false">
           <template v-slot:table>
-            <lims-table :tableData="tableData" :column="tableColumn" :height="'calc(100vh - 250px)'" @pagination="pagination"
-                        :page="page" :tableLoading="tableLoading"></lims-table>
+            <lims-table :tableData="tableData" :column="tableColumn" :height="'calc(100vh - 250px)'"
+              @pagination="pagination" :page="page" :tableLoading="tableLoading"></lims-table>
           </template>
         </TableCard>
       </div>
@@ -125,9 +125,9 @@
         operationType: this.searchForm.operationType,
       }
       this.tableLoading = true
-      pagesMethodVerify({... this.page,...entity}).then(res => {
+      pagesMethodVerify({ ... this.page, ...entity }).then(res => {
         this.tableLoading = false
-        if (res.code === 200){
+        if (res.code === 200) {
           this.tableData = res.data.records
           this.page.total = res.data.total
         }
@@ -137,16 +137,16 @@
       })
     },
     // 鍒犻櫎
-    deleteRow (row) {
+    deleteRow(row) {
       this.$confirm('姝ゆ搷浣滃皢姘镐箙鍒犻櫎璇ユ暟鎹�, 鏄惁缁х画?', '鎻愮ず', {
         confirmButtonText: '纭畾',
         cancelButtonText: '鍙栨秷',
         type: 'warning'
       }).then(() => {
         this.tableLoading = true
-        delMethodVerify({methodVerifyId:row.methodVerifyId}).then(res => {
+        delMethodVerify({ methodVerifyId: row.methodVerifyId }).then(res => {
           this.tableLoading = false
-          if (res.code === 200){
+          if (res.code === 200) {
             this.$message.success('鍒犻櫎鎴愬姛')
             this.searchList()
           }
@@ -161,7 +161,7 @@
       this.searchForm.methodName = '';
       this.searchList()
     },
-    openFormDia (type, row) {
+    openFormDia(type, row) {
       this.formDIa = true
       this.operationType = type
       this.$nextTick(() => {
@@ -169,18 +169,17 @@
       })
     },
     // 鍏抽棴寮规
-    closeDia () {
+    closeDia() {
       this.formDIa = false
       this.searchList()
     },
     // 瀵煎嚭
     downLoadPost(row) {
       this.outLoading = true
-      exportMethodVerify({methodVerifyId:row.methodVerifyId}).then(res => {
+      exportMethodVerify({ methodVerifyId: row.methodVerifyId }).then(res => {
         this.outLoading = false
-        const blob = new Blob([res],{ type: 'application/msword' });
+        const blob = new Blob([res], { type: 'application/msword' });
         this.$download.saveAs(blob, '鏍囧噯锛堟柟娉曪級纭璁板綍.docx')
-        this.$message.success('瀵煎嚭鎴愬姛')
       })
     },
     // 鍒嗛〉鍒囨崲

--
Gitblit v1.9.3