From 840de9662167b1d7758208b9c88adda806ed8fec Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 03 三月 2025 16:47:25 +0800
Subject: [PATCH] 删除导出成功提示,统一提示了

---
 src/views/CNAS/resourceDemand/facilitiesEnvironment/component/three-wastes-treatment.vue |   38 +++++++++++++++++++-------------------
 1 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/src/views/CNAS/resourceDemand/facilitiesEnvironment/component/three-wastes-treatment.vue b/src/views/CNAS/resourceDemand/facilitiesEnvironment/component/three-wastes-treatment.vue
index 81ead8f..1075ed4 100644
--- a/src/views/CNAS/resourceDemand/facilitiesEnvironment/component/three-wastes-treatment.vue
+++ b/src/views/CNAS/resourceDemand/facilitiesEnvironment/component/three-wastes-treatment.vue
@@ -4,12 +4,12 @@
       <div>
         <el-form :model="searchForm" ref="searchForm" size="small" :inline="true">
           <el-form-item label="澶囨敞" prop="remark">
-              <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="searchForm.remark">
-              </el-input>
+            <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="searchForm.remark">
+            </el-input>
           </el-form-item>
           <el-form-item>
-              <el-button type="primary" icon="el-icon-search" size="mini" @click="searchList">鏌� 璇�</el-button>
-              <el-button icon="el-icon-refresh" size="mini" @click="resetSearchForm">閲� 缃�</el-button>
+            <el-button type="primary" icon="el-icon-search" size="mini" @click="searchList">鏌� 璇�</el-button>
+            <el-button icon="el-icon-refresh" size="mini" @click="resetSearchForm">閲� 缃�</el-button>
           </el-form-item>
         </el-form>
       </div>
@@ -20,9 +20,10 @@
     </div>
     <div class="table">
       <lims-table :tableData="tableData" :column="tableColumn" :height="'calc(100vh - 250px)'" @pagination="pagination"
-                  :page="page" :tableLoading="tableLoading"></lims-table>
+        :page="page" :tableLoading="tableLoading"></lims-table>
     </div>
-    <three-wastes-dialog v-if="threeWastesDia" ref="threeWastesDia" @closeThreeWastesDia="closeThreeWastesDia"></three-wastes-dialog>
+    <three-wastes-dialog v-if="threeWastesDia" ref="threeWastesDia"
+      @closeThreeWastesDia="closeThreeWastesDia"></three-wastes-dialog>
   </div>
 </template>
 
@@ -121,11 +122,11 @@
   // 鏂规硶闆嗗悎
   methods: {
     // 鏌ヨ鍒楄〃
-    searchList () {
+    searchList() {
       this.tableLoading = true
-      pageInternalWastes({...this.page,...this.searchForm}).then(res => {
+      pageInternalWastes({ ...this.page, ...this.searchForm }).then(res => {
         this.tableLoading = false
-        if (res.code === 200){
+        if (res.code === 200) {
           this.tableData = res.data.records
           this.page.total = res.data.total
         }
@@ -135,16 +136,16 @@
       })
     },
     // 鍒犻櫎
-    delPlan (row) {
+    delPlan(row) {
       this.$confirm('姝ゆ搷浣滃皢姘镐箙鍒犻櫎璇ユ暟鎹�, 鏄惁缁х画?', '鎻愮ず', {
         confirmButtonText: '纭畾',
         cancelButtonText: '鍙栨秷',
         type: 'warning'
       }).then(() => {
         this.tableLoading = true
-        removeStandardSubstance({wastesId:row.wastesId}).then(res => {
+        removeStandardSubstance({ wastesId: row.wastesId }).then(res => {
           this.tableLoading = false
-          if (res.code === 200){
+          if (res.code === 200) {
             this.$message.success('鍒犻櫎鎴愬姛')
             this.searchList()
           }
@@ -160,27 +161,26 @@
       });
     },
     // 鏂板锛岀紪杈戯紝鎵瑰噯寮规
-    openFormDia (type, row) {
+    openFormDia(type, row) {
       this.threeWastesDia = true
       this.$nextTick(() => {
         this.$refs.threeWastesDia.openDia(type, row)
       })
     },
     // 瀵煎嚭
-    handleDown (row) {
-      exportInternalWastes({wastesId:row.wastesId}).then(res =>{
+    handleDown(row) {
+      exportInternalWastes({ wastesId: row.wastesId }).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('瀵煎嚭鎴愬姛')
       })
     },
-    closeThreeWastesDia () {
+    closeThreeWastesDia() {
       this.threeWastesDia = false
       this.searchList()
     },
     // 閲嶇疆鏌ヨ鏉′欢
-    resetSearchForm () {
+    resetSearchForm() {
       this.searchForm.remark = '';
       this.searchList()
     },

--
Gitblit v1.9.3