2
3
Эх сурвалжийг харах

前:服务类增项和准入的准入范围

dubch 5 жил өмнө
parent
commit
35ddc8522b

+ 7 - 1
src/dashoo.cn/frontend_web/src/components/oilsupplier/techlist.vue

@@ -69,7 +69,8 @@
             :span-method="objectSpanMethod"
             border
             size="mini"
-            style="width: 100%; margin-top:20px">
+            style="width: 100%; margin-top:20px"
+            v-loading="loading2">
             <el-table-column
               prop="Code"
               label="准入编码">
@@ -170,6 +171,7 @@
         size: 10,
         currentItemCount: 0,
         lostTableData: [],
+        loading2: false,
         flagId: 0 // 标记是否第一次点击
       }
     },
@@ -237,6 +239,7 @@
       checkLostCertTimeOut () {
         let _this = this
         this.loading = true
+        this.loading2 = true
         setTimeout(function () {
           _this.$nextTick(() => {
             _this.checkLostCert()
@@ -268,14 +271,17 @@
         } else {
           _this.lostTableData = []
           this.loading = false
+          this.loading2 = false
           return
         }
         console.log(params, 'params')
         _this.$axios.post('/suppliercertsub/tech-cert-lost', params).then(res => {
           _this.lostTableData = _this.mergeTableRow(res.data, ['Code'])
           this.loading = false
+          this.loading2 = false
         }).catch(err => {
           this.loading = false
+          this.loading2 = false
           console.error(err)
         })
       },

+ 2 - 2
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierappend/_opera/goodsdataopera.vue

@@ -760,7 +760,6 @@
 
     <el-dialog
                element-loading-text="正在添加请稍后..."
-               v-loading="loading"
                title="物资类业务列表"
                :visible.sync="goodsDialog"
                @open="opendialogadd"
@@ -837,7 +836,8 @@
                 :data="lostTableData"
                 border
                 size="mini"
-                style="width: 100%; margin-top:20px">
+                style="width: 100%; margin-top:20px"
+                v-loading="loading">
                 <el-table-column
                   prop="Code"
                   label="准入编码">

+ 9 - 2
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierappend/_opera/techdataopera.vue

@@ -655,7 +655,8 @@
               :data="lostTableData"
               border
               size="mini"
-              style="width: 100%; margin-top:10px">
+              style="width: 100%; margin-top:10px"
+              v-loading="loading">
               <el-table-column
                 prop="Code"
                 label="准入编码">
@@ -1481,7 +1482,8 @@
           EffectDate:
             [{ required: true, validator: effectDate, trigger: 'change' }]
         },
-        lostTableData: []
+        lostTableData: [],
+        loading: false
       }
     },
     watch: {
@@ -1588,6 +1590,7 @@
       checkLostCertTimeOut () {
         let _this = this
         this.islostTableData = true
+        this.loading = true
         setTimeout(function () {
           _this.$nextTick(() => {
             _this.checkLostCert()
@@ -3154,6 +3157,10 @@
     color: #228B22;
   }
 
+  .el-table .warning-row {
+    background: oldlace;
+  }
+
 .photoStyle{
     margin-top:6px;
     width:140px;