dubch před 5 roky
rodič
revize
d608e49c0f

binární
src/dashoo.cn/doc/企业同步发票通用版2.2.9-0911.docx


binární
src/dashoo.cn/doc/合同导入模板新.xlsx


binární
src/dashoo.cn/doc/服务准入编码(汇总定稿)new.xlsx


binární
src/dashoo.cn/doc/物资类准入编码2020-11.xlsx


binární
src/dashoo.cn/doc/资质对比导出模板.xlsx


+ 12 - 4
src/dashoo.cn/frontend_web/src/pages/index.vue

@@ -47,7 +47,7 @@
           border
           :stripe="true"
           style="width: 100%"
-          highlight-current-row>
+          highlight-current-row v-loading="loading">
 
           <!--<el-table-column type="index" label="序号"></el-table-column>-->
 
@@ -136,7 +136,7 @@
           border
           :stripe="true"
           style="width: 100%"
-          highlight-current-row>
+          highlight-current-row v-loading="loading">
 
           <el-table-column label="已办类型" prop="Type" align="center">
             <template slot-scope="scope">
@@ -370,7 +370,7 @@
       </el-form>
       <div slot="footer" class="dialog-footer" style="margin-top: -25px">
         <el-button size="small" @click="Auditshow = false">取 消</el-button>
-        <el-button type="primary" size="small" @click="makeSure()">确 定</el-button>
+        <el-button type="primary" size="small" @click="makeSure()" :loading="btnLoading">确 定</el-button>
       </div>
     </el-dialog>
 
@@ -404,6 +404,7 @@
         bigUrl: '',
         invoicetitle: '待开发票',
         Auditshow: false,
+        btnLoading: false,
         dialogVisible: false,
         invoiceVisible: false,
         legalPersonImgVisible: false,
@@ -522,7 +523,8 @@
         paymentinfoList: [],
         entityListtode: [],
         entityListdone: [],
-        invoiceLoading: false
+        invoiceLoading: false,
+        loading: false
       }
     },
     created () {
@@ -558,6 +560,7 @@
         })
       },
       initDatas () {
+        this.loading = true
         // 分页及列表条件
         let myCreateOn = []
         // 解析时间
@@ -581,6 +584,7 @@
         api.getTodoList(params, this.$axios).then(res => {
           this.entityListtode = res.data.items
           this.currentItemCount = res.data.currentItemCount
+          this.loading = false
         }).catch(err => {
           console.error(err)
         })
@@ -880,6 +884,7 @@
       // 审核未通过
       checkstatus () {
         let _this = this
+        _this.btnLoading = true
         const params = _this.shenheForm
         _this.$axios.post('/register/comaudit/', _this.formData, {params})
           .then(res => {
@@ -899,6 +904,7 @@
                 message: res.data.message
               })
             }
+            this.btnLoading = false
           })
           .catch(err => {
             console.error(err)
@@ -930,6 +936,7 @@
       },
 
       finishedData () {
+        this.loading = true
         let myCreateOn = []
         // 解析时间
         if (this.CreateOn != null && this.CreateOn.length === 2) {
@@ -952,6 +959,7 @@
         api.getMyTaskFinished(params, this.$axios).then(res => {
           this.entityListdone = res.data.items
           this.currentItemCountFinished = res.data.currentItemCount
+          this.loading = false
         }).catch(err => {
           console.error(err)
         })

+ 2 - 2
src/dashoo.cn/frontend_web/src/pages/oilsupplier/companyaudit/index.vue

@@ -546,7 +546,7 @@ export default {
     checkstatus () {
       let _this = this
       const params = _this.shenheForm
-      this.btnLoading = true
+      _this.btnLoading = true
       _this.$axios.post('/register/comaudit/', _this.formData, { params })
         .then(res => {
           if (res.data.code === 0) {
@@ -567,7 +567,7 @@ export default {
               message: res.data.message
             })
           }
-          this.btnLoading = false
+          _this.btnLoading = false
         })
         .catch(err => {
           console.error(err)