瀏覽代碼

修改reset

dbcgit 5 年之前
父節點
當前提交
2acce886de
共有 1 個文件被更改,包括 717 次插入628 次删除
  1. 717 628
      src/dashoo.cn/frontend_web/src/pages/system/tmpzcgf.vue

+ 717 - 628
src/dashoo.cn/frontend_web/src/pages/system/tmpzcgf.vue

@@ -1,11 +1,13 @@
 <template>
   <div>
-     <el-card class="box-card">
-      <div slot="header" style="height: 20px;">
+    <el-card class="box-card">
+      <div slot="header"
+           style="height: 20px;">
         <span style="float: left;">
           <i class="icon icon-table2"></i>
         </span>
-        <el-breadcrumb class="heading" style="float: left; margin-left: 5px">
+        <el-breadcrumb class="heading"
+                       style="float: left; margin-left: 5px">
           <el-breadcrumb-item :to="{ path: '/' }">平台首页</el-breadcrumb-item>
           <el-breadcrumb-item :to="{ path: '/system/users' }">收费管理</el-breadcrumb-item>
         </el-breadcrumb>
@@ -13,99 +15,186 @@
           <!--<el-button size="mini" type="primary" style="margin-left:10px; margin-top: -4px;" @click="opendatadialog(1,null,-1);resetForm('organizeform')">新增用户</el-button>-->
         </span>
       </div>
-       <el-row :gutter="20" style ="margin-bottom: 20px;">
-         <el-col :span="24">
-           <el-badge :value="1" class="item">
-            <el-button  size="mini" type="primary" @click="insertsuppler" v-loading.fullscreen.lock="fullscreenLoading">导入OilSuppler</el-button>
-           </el-badge>
-           <el-badge :value="2" class="item">
-            <el-button size="mini" type="primary" @click="insertSupplerCert" v-loading.fullscreen.lock="fullscreenLoading">导入OilSupplerCert</el-button>
-           </el-badge>
-           <el-badge :value="3" class="item">
-             <el-button size="mini" type="primary" @click="updateSupplerCert" v-loading.fullscreen.lock="fullscreenLoading">更新SupplierTypeCodeAndInFlag</el-button>
-           </el-badge>
-           <el-badge :value="4" class="item">
-             <el-button size="mini" type="primary" @click="updateSupplerId" v-loading.fullscreen.lock="fullscreenLoading">更新Cert表的SupplierID</el-button>
-           </el-badge>
-           <el-badge :value="5" class="item">
-             <el-button size="mini" type="primary" @click="insertfilename" v-loading.fullscreen.lock="fullscreenLoading">导入资质名称</el-button>
-           </el-badge>
-         </el-col>
-       </el-row>
-
-       <el-row :gutter="20" style ="margin-bottom: 20px;">
-         <el-col :span="24">
-           <el-badge :value="6" class="item">
-            <el-button size="mini" type="primary" @click="insertCertSub" v-loading.fullscreen.lock="fullscreenLoading">导入CertSub表</el-button>
-           </el-badge>
-           <el-badge :value="7" class="item">
-             <el-button size="mini" type="primary" @click="updateCertSub" v-loading.fullscreen.lock="fullscreenLoading">更新CertSub表</el-button>
-           </el-badge>
-           <el-button size="mini" type="primary" @click="capacityexpansion" v-loading.fullscreen.lock="fullscreenLoading">更新CertSub表的编码(6=>8)</el-button>
-         </el-col>
-       </el-row>
+      <el-row :gutter="20"
+              style="margin-bottom: 20px;">
+        <el-col :span="24">
+          <el-badge :value="1"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="insertsuppler"
+                       v-loading.fullscreen.lock="fullscreenLoading">导入OilSuppler</el-button>
+          </el-badge>
+          <el-badge :value="2"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="insertSupplerCert"
+                       v-loading.fullscreen.lock="fullscreenLoading">导入OilSupplerCert</el-button>
+          </el-badge>
+          <el-badge :value="3"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="updateSupplerCert"
+                       v-loading.fullscreen.lock="fullscreenLoading">更新SupplierTypeCodeAndInFlag</el-button>
+          </el-badge>
+          <el-badge :value="4"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="updateSupplerId"
+                       v-loading.fullscreen.lock="fullscreenLoading">更新Cert表的SupplierID</el-button>
+          </el-badge>
+          <el-badge :value="5"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="insertfilename"
+                       v-loading.fullscreen.lock="fullscreenLoading">导入资质名称</el-button>
+          </el-badge>
+        </el-col>
+      </el-row>
 
-       <el-row :gutter="20" style ="margin-bottom: 20px;">
-         <el-col :span="24">
-           <el-badge :value="8" class="item">
-            <el-button size="mini" type="primary" @click="insertOilSupplierCertAppend" v-loading.fullscreen.lock="fullscreenLoading">导入增项申请</el-button>
-           </el-badge>
-           <el-badge :value="9" class="item">
-             <el-button size="mini" type="primary" @click="updateOilSupplierCertAppend" v-loading.fullscreen.lock="fullscreenLoading">跟新OilSupplierCertAppend表的SupplierId和CerId</el-button>
-           </el-badge>
-           <el-badge :value="10" class="item">
-            <el-button size="mini" type="primary" @click="insertOilSupplierCertSub" v-loading.fullscreen.lock="fullscreenLoading">导入增项的准入范围</el-button>
-           </el-badge>
-           <el-badge :value="11" class="item">
-            <el-button size="mini" type="primary" @click="updateCertAppendIsType2" v-loading.fullscreen.lock="fullscreenLoading">更新增项准入范围</el-button>
-           </el-badge>
-            <el-button size="mini" type="primary" @click="updateCertAppendIsType3" v-loading.fullscreen.lock="fullscreenLoading">更新增项准入范围2</el-button>
-         </el-col>
-       </el-row>
+      <el-row :gutter="20"
+              style="margin-bottom: 20px;">
+        <el-col :span="24">
+          <el-badge :value="6"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="insertCertSub"
+                       v-loading.fullscreen.lock="fullscreenLoading">导入CertSub表</el-button>
+          </el-badge>
+          <el-badge :value="7"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="updateCertSub"
+                       v-loading.fullscreen.lock="fullscreenLoading">更新CertSub表</el-button>
+          </el-badge>
+          <el-button size="mini"
+                     type="primary"
+                     @click="capacityexpansion"
+                     v-loading.fullscreen.lock="fullscreenLoading">更新CertSub表的编码(6=>8)</el-button>
+        </el-col>
+      </el-row>
 
-       <el-row :gutter="20" style ="margin-bottom: 20px;">
-         <el-col :span="6">
-           <el-badge :value="12" class="item">
-            <el-button size="mini" type="primary" @click="insterAnnualAudit" v-loading.fullscreen.lock="fullscreenLoading">导入年审表</el-button>
-           </el-badge>
-           <el-badge :value="13" class="item">
-            <el-button size="mini" type="primary" @click="updateAnnualAudit" v-loading.fullscreen.lock="fullscreenLoading">跟新年审表的SupplierId和CerId</el-button>
-           </el-badge>
-         </el-col>
-       </el-row>
+      <el-row :gutter="20"
+              style="margin-bottom: 20px;">
+        <el-col :span="24">
+          <el-badge :value="8"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="insertOilSupplierCertAppend"
+                       v-loading.fullscreen.lock="fullscreenLoading">导入增项申请</el-button>
+          </el-badge>
+          <el-badge :value="9"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="updateOilSupplierCertAppend"
+                       v-loading.fullscreen.lock="fullscreenLoading">跟新OilSupplierCertAppend表的SupplierId和CerId</el-button>
+          </el-badge>
+          <el-badge :value="10"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="insertOilSupplierCertSub"
+                       v-loading.fullscreen.lock="fullscreenLoading">导入增项的准入范围</el-button>
+          </el-badge>
+          <el-badge :value="11"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="updateCertAppendIsType2"
+                       v-loading.fullscreen.lock="fullscreenLoading">更新增项准入范围</el-button>
+          </el-badge>
+          <el-button size="mini"
+                     type="primary"
+                     @click="updateCertAppendIsType3"
+                     v-loading.fullscreen.lock="fullscreenLoading">更新增项准入范围2</el-button>
+        </el-col>
+      </el-row>
 
+      <el-row :gutter="20"
+              style="margin-bottom: 20px;">
+        <el-col :span="6">
+          <el-badge :value="12"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="insterAnnualAudit"
+                       v-loading.fullscreen.lock="fullscreenLoading">导入年审表</el-button>
+          </el-badge>
+          <el-badge :value="13"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="updateAnnualAudit"
+                       v-loading.fullscreen.lock="fullscreenLoading">跟新年审表的SupplierId和CerId</el-button>
+          </el-badge>
+        </el-col>
+      </el-row>
 
-       <el-row :gutter="20" style ="margin-bottom: 20px;">
-         <el-col :span="24">
-           <el-badge :value="14" class="item">
-            <el-button size="mini" type="primary" @click="insterOilPaymentInfo" v-loading.fullscreen.lock="fullscreenLoading">导入交费记录并更新</el-button>
-           </el-badge>
-           <el-badge :value="15" class="item">
-             <el-button size="mini" type="primary" @click="insterBadRecord" v-loading.fullscreen.lock="fullscreenLoading">导入不良记录并更新</el-button>
-           </el-badge>
-           <el-badge :value="16" class="item">
-             <el-button size="mini" type="primary" @click="delBadRecord" v-loading.fullscreen.lock="fullscreenLoading">删除多余的不良记录</el-button>
-           </el-badge>
-           <el-badge :value="17" class="item">
-             <el-button size="mini" type="primary" @click="insertOilInfoChange" v-loading.fullscreen.lock="fullscreenLoading">导入信息变更</el-button>
-           </el-badge>
-           <el-badge :value="18" class="item">
-            <el-button size="mini" type="primary" @click="updateOilInfoChange" v-loading.fullscreen.lock="fullscreenLoading">更新新信息变更</el-button>
-           </el-badge>
-         </el-col>
-       </el-row>
+      <el-row :gutter="20"
+              style="margin-bottom: 20px;">
+        <el-col :span="24">
+          <el-badge :value="14"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="insterOilPaymentInfo"
+                       v-loading.fullscreen.lock="fullscreenLoading">导入交费记录并更新</el-button>
+          </el-badge>
+          <el-badge :value="15"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="insterBadRecord"
+                       v-loading.fullscreen.lock="fullscreenLoading">导入不良记录并更新</el-button>
+          </el-badge>
+          <el-badge :value="16"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="delBadRecord"
+                       v-loading.fullscreen.lock="fullscreenLoading">删除多余的不良记录</el-button>
+          </el-badge>
+          <el-badge :value="17"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="insertOilInfoChange"
+                       v-loading.fullscreen.lock="fullscreenLoading">导入信息变更</el-button>
+          </el-badge>
+          <el-badge :value="18"
+                    class="item">
+            <el-button size="mini"
+                       type="primary"
+                       @click="updateOilInfoChange"
+                       v-loading.fullscreen.lock="fullscreenLoading">更新新信息变更</el-button>
+          </el-badge>
+        </el-col>
+      </el-row>
 
-       <el-row style ="margin-bottom: 20px;">
-         <el-col :span="24">
-           <el-button size="mini" type="primary" @click="cleartmpdata" v-loading.fullscreen.lock="fullscreenLoading">清空临时数据</el-button>
-         </el-col>
-       </el-row>
+      <el-row style="margin-bottom: 20px;">
+        <el-col :span="24">
+          <el-button size="mini"
+                     type="primary"
+                     @click="cleartmpdata"
+                     v-loading.fullscreen.lock="fullscreenLoading">清空临时数据</el-button>
+        </el-col>
+      </el-row>
 
-       <!--<el-button size="mini" type="primary" @click="insertCertSub" v-loading.fullscreen.lock="fullscreenLoading">导入准入范围</el-button>-->
+      <!--<el-button size="mini" type="primary" @click="insertCertSub" v-loading.fullscreen.lock="fullscreenLoading">导入准入范围</el-button>-->
     </el-card>
     <el-card class="box-card">
     </el-card>
-    <el-dialog :title="dialogtitle" :visible.sync="datadialogVisible" width="60%">
+    <el-dialog :title="dialogtitle"
+               :visible.sync="datadialogVisible"
+               width="60%">
       <div class="wrapper">
         <h1 id=mytime>{{str}}</h1>
       </div>
@@ -114,559 +203,559 @@
 </template>
 
 <script>
-  import {
-    mapGetters
-  } from 'vuex'
-  export default {
-    name: 'zcgf',
+import {
+  mapGetters
+} from 'vuex'
+export default {
+  name: 'zcgf',
 
-    data () {
-      return {
-        dialogtitle: '',
-        fullscreenLoading: false,
-        datadialogVisible: false,
-        h: 0, // 定义时,分,秒,毫秒并初始化为0
-        m: 0,
-        ms: 0,
-        s: 0,
-        time: 0,
-        str: ''
-      }
-    },
-    computed: mapGetters({
-      authUser: 'authUser'
-    }),
-    created () {
+  data () {
+    return {
+      dialogtitle: '',
+      fullscreenLoading: false,
+      datadialogVisible: false,
+      h: 0, // 定义时,分,秒,毫秒并初始化为0
+      m: 0,
+      ms: 0,
+      s: 0,
+      time: 0,
+      str: ''
+    }
+  },
+  computed: mapGetters({
+    authUser: 'authUser'
+  }),
+  created () {
+  },
+  methods: {
+    capacityexpansion () {
+      this.$axios.get('tmpzcgf/capacityexpansion')
+        .then(res => {
+        })
     },
-    methods: {
-      capacityexpansion () {
-        this.$axios.get('tmpzcgf/capacityexpansion')
-          .then(res => {
-          })
-      },
-      // start () {
-      //   this.datadialogVisible = true
-      //   this.time = setInterval(this.timer, 50)
-      // },
-      // stop () {
-      //   clearInterval(this.time)
-      // },
+    // start () {
+    //   this.datadialogVisible = true
+    //   this.time = setInterval(this.timer, 50)
+    // },
+    // stop () {
+    //   clearInterval(this.time)
+    // },
 
-      // reset () {
-      //   console.log(this.str, '时间=======')
-      //   clearInterval(this.time)
-      //   this.h = 0
-      //   this.m = 0
-      //   this.ms = 0
-      //   this.s = 0
-      //   this.str = '00:00:00:00'
-      //   this.datadialogVisible = false
-      // },
-      // timer () { // 定义计时函数
-      //   this.ms = this.ms + 50 // 毫秒
-      //   if (this.ms >= 1000) {
-      //     this.ms = 0
-      //     this.s = this.s + 1
-      //   }
-      //   if (this.s >= 60) {
-      //     this.s = 0
-      //     this.m = this.m + 1
-      //   }
-      //   if (this.m >= 60) {
-      //     this.m = 0
-      //     this.h = this.h + 1
-      //   }
-      //   this.str = this.toDub(this.h) + ':' + this.toDub(this.m) + ':' + this.toDub(this.s) + ':' + this.toDubms(this.ms) + '毫秒'
-      // },
-      // toDub (n) { // 补0操作
-      //   if (n < 10) {
-      //     return '0' + n
-      //   } else {
-      //     return '' + n
-      //   }
-      // },
-      // toDubms (n) {
-      //   if (n < 10) {
-      //     return '00' + n
-      //   } else {
-      //     return '0' + n
-      //   }
-      // },
+    // reset () {
+    //   console.log(this.str, '时间=======')
+    //   clearInterval(this.time)
+    //   this.h = 0
+    //   this.m = 0
+    //   this.ms = 0
+    //   this.s = 0
+    //   this.str = '00:00:00:00'
+    //   this.datadialogVisible = false
+    // },
+    // timer () { // 定义计时函数
+    //   this.ms = this.ms + 50 // 毫秒
+    //   if (this.ms >= 1000) {
+    //     this.ms = 0
+    //     this.s = this.s + 1
+    //   }
+    //   if (this.s >= 60) {
+    //     this.s = 0
+    //     this.m = this.m + 1
+    //   }
+    //   if (this.m >= 60) {
+    //     this.m = 0
+    //     this.h = this.h + 1
+    //   }
+    //   this.str = this.toDub(this.h) + ':' + this.toDub(this.m) + ':' + this.toDub(this.s) + ':' + this.toDubms(this.ms) + '毫秒'
+    // },
+    // toDub (n) { // 补0操作
+    //   if (n < 10) {
+    //     return '0' + n
+    //   } else {
+    //     return '' + n
+    //   }
+    // },
+    // toDubms (n) {
+    //   if (n < 10) {
+    //     return '00' + n
+    //   } else {
+    //     return '0' + n
+    //   }
+    // },
 
-      insertsuppler () {
-        this.$confirm('是否继续?', '提示', {
-          confirmButtonText: '确定',
-          cancelButtonText: '取消',
-          type: 'warning'
+    insertsuppler () {
+      this.$confirm('是否继续?', '提示', {
+        confirmButtonText: '确定',
+        cancelButtonText: '取消',
+        type: 'warning'
+      })
+        .then(() => {
+          // this.fullscreenLoading = true
+          this.datadialogVisible = true
+          this.dialogtitle = '导入OilSuppler'
+          // this.start()
+          this.$axios.get('tmpzcgf/insertsupplier')
+            .then(res => {
+              // this.fullscreenLoading = false
+              // this.reset()
+              this.insertSupplerCert()
+            })
+        })
+    },
+    insertSupplerCert () {
+      this.dialogtitle = '导入OilSupplerCert'
+      // this.start()
+      this.$axios.get('tmpzcgf/insertsuppliercert')
+        .then(res => {
+          // this.fullscreenLoading = false
+          // this.reset()
+          this.updateSupplerCert()
+        })
+      // this.$confirm('是否继续?', '提示', {
+      //   confirmButtonText: '确定',
+      //   cancelButtonText: '取消',
+      //   type: 'warning'
+      // })
+      //   .then(() => {
+      //     // this.fullscreenLoading = true
+      //     this.dialogtitle = '导入OilSupplerCert'
+      //     this.start()
+      //     this.$axios.get('tmpzcgf/insertsuppliercert')
+      //       .then(res => {
+      //         // this.fullscreenLoading = false
+      //         this.reset()
+      //       })
+      //   })
+    },
+    updateSupplerCert () {
+      this.dialogtitle = '更新SupplierTypeCodeAndInFlag'
+      // this.start()
+      this.$axios.get('tmpzcgf/updatecerttypeandinflag')
+        .then(res => {
+          // this.fullscreenLoading = false
+          // this.reset()
+          this.updateSupplerId()
         })
-          .then(() => {
-            // this.fullscreenLoading = true
-            this.datadialogVisible = true
-            this.dialogtitle = '导入OilSuppler'
-            // this.start()
-            this.$axios.get('tmpzcgf/insertsupplier')
-              .then(res => {
-                // this.fullscreenLoading = false
-                // this.reset()
-                this.insertSupplerCert()
-              })
-          })
-      },
-      insertSupplerCert () {
-        this.dialogtitle = '导入OilSupplerCert'
-        // this.start()
-        this.$axios.get('tmpzcgf/insertsuppliercert')
-          .then(res => {
-            // this.fullscreenLoading = false
-            // this.reset()
-            this.updateSupplerCert()
-          })
-        // this.$confirm('是否继续?', '提示', {
-        //   confirmButtonText: '确定',
-        //   cancelButtonText: '取消',
-        //   type: 'warning'
-        // })
-        //   .then(() => {
-        //     // this.fullscreenLoading = true
-        //     this.dialogtitle = '导入OilSupplerCert'
-        //     this.start()
-        //     this.$axios.get('tmpzcgf/insertsuppliercert')
-        //       .then(res => {
-        //         // this.fullscreenLoading = false
-        //         this.reset()
-        //       })
-        //   })
-      },
-      updateSupplerCert () {
-        this.dialogtitle = '更新SupplierTypeCodeAndInFlag'
-        // this.start()
-        this.$axios.get('tmpzcgf/updatecerttypeandinflag')
-          .then(res => {
-            // this.fullscreenLoading = false
-            // this.reset()
-            this.updateSupplerId()
-          })
-        // this.$confirm('是否继续?', '提示', {
-        //   confirmButtonText: '确定',
-        //   cancelButtonText: '取消',
-        //   type: 'warning'
-        // })
-        //   .then(() => {
-        //     // this.fullscreenLoading = true
-        //     this.dialogtitle = '更新SupplierTypeCodeAndInFlag'
-        //     this.start()
-        //     this.$axios.get('tmpzcgf/updatecerttypeandinflag')
-        //       .then(res => {
-        //         // this.fullscreenLoading = false
-        //         this.reset()
-        //       })
-        //   })
-      },
-      updateSupplerId () {
-        this.dialogtitle = '更新Cert表的SupplierID'
-        // this.start()
-        this.$axios.get('tmpzcgf/updatesupplierid')
-          .then(res => {
-            // this.fullscreenLoading = false
-            // this.reset()
-            this.insertfilename()
-          })
-        // this.$confirm('是否继续?', '提示', {
-        //   confirmButtonText: '确定',
-        //   cancelButtonText: '取消',
-        //   type: 'warning'
-        // })
-        //   .then(() => {
-        //     // this.fullscreenLoading = true
-        //     this.dialogtitle = '更新Cert表的SupplierID'
-        //     this.start()
-        //     this.$axios.get('tmpzcgf/updatesupplierid')
-        //       .then(res => {
-        //         // this.fullscreenLoading = false
-        //         this.reset()
-        //       })
-        //   })
-      },
-      insertfilename () {
-        this.dialogtitle = '导入资质名称'
-        // this.start()
-        this.$axios.get('tmpzcgf/insertFileName')
-          .then(res => {
-            // this.reset()
-            this.insertCertSub()
-          })
-      },
-      insertSupplerCertSub () {
-        this.$confirm('是否继续?', '提示', {
-          confirmButtonText: '确定',
-          cancelButtonText: '取消',
-          type: 'warning'
+      // this.$confirm('是否继续?', '提示', {
+      //   confirmButtonText: '确定',
+      //   cancelButtonText: '取消',
+      //   type: 'warning'
+      // })
+      //   .then(() => {
+      //     // this.fullscreenLoading = true
+      //     this.dialogtitle = '更新SupplierTypeCodeAndInFlag'
+      //     this.start()
+      //     this.$axios.get('tmpzcgf/updatecerttypeandinflag')
+      //       .then(res => {
+      //         // this.fullscreenLoading = false
+      //         this.reset()
+      //       })
+      //   })
+    },
+    updateSupplerId () {
+      this.dialogtitle = '更新Cert表的SupplierID'
+      // this.start()
+      this.$axios.get('tmpzcgf/updatesupplierid')
+        .then(res => {
+          // this.fullscreenLoading = false
+          // this.reset()
+          this.insertfilename()
         })
-          .then(() => {
-            // this.fullscreenLoading = true
-            // this.start()
-            this.$axios.get('tmpcertsub/insertcertsub')
-              .then(res => {
-                // this.fullscreenLoading = false
-                this.reset()
-              })
-          })
-      },
-      insterAnnualAudit () {
-        this.dialogtitle = '导入年审表'
-        // this.start()
-        this.$axios.get('tmpzcgf/insterannualaudit')
-          .then(res => {
-            // this.fullscreenLoading = false
-            // this.reset()
-            this.updateAnnualAudit()
-          })
-        // this.$confirm('是否继续?', '提示', {
-        //   confirmButtonText: '确定',
-        //   cancelButtonText: '取消',
-        //   type: 'warning'
-        // })
-        //   .then(() => {
-        //     // this.fullscreenLoading = true
-        //     this.start()
-        //     this.$axios.get('tmpzcgf/insterannualaudit')
-        //       .then(res => {
-        //         // this.fullscreenLoading = false
-        //         this.reset()
-        //         this.updateAnnualAudit()
-        //       })
-        //   })
-      },
-      updateAnnualAudit () {
-        this.dialogtitle = '跟新年审表的SupplierId和CerId'
-        // this.start()
-        this.$axios.get('tmpzcgf/updateAnnualAudit')
-          .then(res => {
-            // this.fullscreenLoading = false
-            this.reset()
-            this.insterOilPaymentInfo()
-          })
-        // this.$confirm('是否继续?', '提示', {
-        //   confirmButtonText: '确定',
-        //   cancelButtonText: '取消',
-        //   type: 'warning'
-        // })
-        //   .then(() => {
-        //     // this.fullscreenLoading = true
-        //     this.start()
-        //     this.$axios.get('tmpzcgf/updateAnnualAudit')
-        //       .then(res => {
-        //         // this.fullscreenLoading = false
-        //         this.reset()
-        //         this.insterOilPaymentInfo()
-        //       })
-        //   })
-      },
-      insterOilPaymentInfo () {
-        this.dialogtitle = '导入交费记录并更新'
-        // this.start()
-        this.$axios.get('tmpzcgf/insterOilPaymentInfo')
-          .then(res => {
-            // this.fullscreenLoading = false
-            this.reset()
-            this.insterBadRecord()
-          })
-        // this.$confirm('是否继续?', '提示', {
-        //   confirmButtonText: '确定',
-        //   cancelButtonText: '取消',
-        //   type: 'warning'
-        // })
-        //   .then(() => {
-        //     // this.fullscreenLoading = true
-        //     this.start()
-        //     this.$axios.get('tmpzcgf/insterOilPaymentInfo')
-        //       .then(res => {
-        //         // this.fullscreenLoading = false
-        //         this.reset()
-        //         this.insterBadRecord()
-        //       })
-        //   })
-      },
-      insterBadRecord () {
-        this.dialogtitle = '导入不良记录并更新'
-        // this.start()
-        this.$axios.get('tmpzcgf/insterBadRecord')
-          .then(res => {
-            // this.fullscreenLoading = false
-            this.reset()
-            this.insertOilInfoChange()
-          })
-        // this.$confirm('是否继续?', '提示', {
-        //   confirmButtonText: '确定',
-        //   cancelButtonText: '取消',
-        //   type: 'warning'
-        // })
-        //   .then(() => {
-        //     // this.fullscreenLoading = true
-        //     this.start()
-        //     this.$axios.get('tmpzcgf/insterBadRecord')
-        //       .then(res => {
-        //         // this.fullscreenLoading = false
-        //         this.reset()
-        //         this.insertOilInfoChange()
-        //       })
-        //   })
-      },
-      insertCertSub () {
-        this.dialogtitle = '导入CertSub表'
-        // this.start()
-        this.$axios.get('tmpzcgf/insertCertSub')
-          .then(res => {
-            // this.fullscreenLoading = false
-            // this.reset()
-            this.updateCertSub()
-          })
-        // this.$confirm('是否继续?', '提示', {
-        //   confirmButtonText: '确定',
-        //   cancelButtonText: '取消',
-        //   type: 'warning'
-        // })
-        //   .then(() => {
-        //     // this.fullscreenLoading = true
-        //     this.dialogtitle = '导入CertSub表'
-        //     this.start()
-        //     this.$axios.get('tmpzcgf/insertCertSub')
-        //       .then(res => {
-        //         // this.fullscreenLoading = false
-        //         this.reset()
-        //       })
-        //   })
-      },
-      updateCertSub () {
-        this.dialogtitle = '更新CertSub表'
-        // this.start()
-        this.$axios.get('tmpzcgf/updateOilSupplierCertSub')
-          .then(res => {
-            // this.fullscreenLoading = false
-            // this.reset()
-            this.insertOilSupplierCertAppend()
-          })
-        // this.$confirm('是否继续?', '提示', {
-        //   confirmButtonText: '确定',
-        //   cancelButtonText: '取消',
-        //   type: 'warning'
-        // })
-        //   .then(() => {
-        //     // this.fullscreenLoading = true
-        //     this.dialogtitle = '更新CertSub表'
-        //     this.start()
-        //     this.$axios.get('tmpzcgf/updateOilSupplierCertSub')
-        //       .then(res => {
-        //         // this.fullscreenLoading = false
-        //         this.reset()
-        //       })
-        //   })
-      },
-      updateCertSubclassID () {
-        this.$confirm('是否继续?', '提示', {
-          confirmButtonText: '确定',
-          cancelButtonText: '取消',
-          type: 'warning'
+      // this.$confirm('是否继续?', '提示', {
+      //   confirmButtonText: '确定',
+      //   cancelButtonText: '取消',
+      //   type: 'warning'
+      // })
+      //   .then(() => {
+      //     // this.fullscreenLoading = true
+      //     this.dialogtitle = '更新Cert表的SupplierID'
+      //     this.start()
+      //     this.$axios.get('tmpzcgf/updatesupplierid')
+      //       .then(res => {
+      //         // this.fullscreenLoading = false
+      //         this.reset()
+      //       })
+      //   })
+    },
+    insertfilename () {
+      this.dialogtitle = '导入资质名称'
+      // this.start()
+      this.$axios.get('tmpzcgf/insertFileName')
+        .then(res => {
+          // this.reset()
+          this.insertCertSub()
         })
-          .then(() => {
-            this.fullscreenLoading = true
-            this.$axios.get('tmpzcgf/updateCertSubclassID')
-              .then(res => {
-                this.fullscreenLoading = false
-              })
-          })
-      },
-      updateOilSupplierCertAppend () {
-        this.dialogtitle = '跟新OilSupplierCertAppend表的SupplierId和CerId'
-        // this.start()
-        this.$axios.get('tmpzcgf/updateOilSupplierCertAppend')
-          .then(res => {
-            // this.fullscreenLoading = false
-            // this.reset()
-            this.insertOilSupplierCertSub()
-          })
-        // this.$confirm('是否继续?', '提示', {
-        //   confirmButtonText: '确定',
-        //   cancelButtonText: '取消',
-        //   type: 'warning'
-        // })
-        //   .then(() => {
-        //     // this.fullscreenLoading = true
-        //     this.dialogtitle = '跟新OilSupplierCertAppend表的SupplierId和CerId'
-        //     this.start()
-        //     this.$axios.get('tmpzcgf/updateOilSupplierCertAppend')
-        //       .then(res => {
-        //         // this.fullscreenLoading = false
-        //         this.reset()
-        //       })
-        //   })
-      },
-      insertOilSupplierCertAppend () {
-        this.dialogtitle = '导入增项申请'
-        // this.start()
-        this.$axios.get('tmpzcgf/insertOilSupplierCertAppend')
-          .then(res => {
-            // this.fullscreenLoading = false
-            // this.reset()
-            this.updateOilSupplierCertAppend()
-          })
-        // this.$confirm('是否继续?', '提示', {
-        //   confirmButtonText: '确定',
-        //   cancelButtonText: '取消',
-        //   type: 'warning'
-        // })
-        //   .then(() => {
-        //     // this.fullscreenLoading = true
-        //     this.dialogtitle = '导入增项申请'
-        //     this.start()
-        //     this.$axios.get('tmpzcgf/insertOilSupplierCertAppend')
-        //       .then(res => {
-        //         // this.fullscreenLoading = false
-        //         this.reset()
-        //       })
-        //   })
-      },
-      insertOilSupplierCertSub () {
-        this.dialogtitle = '导入增项的准入范围'
-        // this.start()
-        this.$axios.get('tmpzcgf/insertOilSupplierCertSub')
-          .then(res => {
-            // this.reset()
-            this.updateCertAppendIsType2()
-          })
-        // this.$confirm('是否继续?', '提示', {
-        //   confirmButtonText: '确定',
-        //   cancelButtonText: '取消',
-        //   type: 'warning'
-        // })
-        //   .then(() => {
-        //     this.fullscreenLoading = true
-        //     this.$axios.get('tmpzcgf/insertOilSupplierCertSub')
-        //       .then(res => {
-        //         this.fullscreenLoading = false
-        //       })
-        //   })
-      },
-      insertOilInfoChange () {
-        this.dialogtitle = '导入信息变更'
-        // this.start()
-        this.$axios.get('tmpzcgf/insertOilInfoChange')
-          .then(res => {
-            // this.fullscreenLoading = false
-            this.reset()
-            this.updateOilInfoChange()
-          })
-        // this.$confirm('是否继续?', '提示', {
-        //   confirmButtonText: '确定',
-        //   cancelButtonText: '取消',
-        //   type: 'warning'
-        // })
-        //   .then(() => {
-        //     // this.fullscreenLoading = true
-        //     this.start()
-        //     this.$axios.get('tmpzcgf/insertOilInfoChange')
-        //       .then(res => {
-        //         // this.fullscreenLoading = false
-        //         this.reset()
-        //         this.updateOilInfoChange()
-        //       })
-        //   })
-      },
-      delBadRecord () {
-        this.dialogtitle = '删除多余的不良记录'
-        // this.start()
-        this.$axios.get('tmpzcgf/delBadRecord')
-          .then(res => {
-            this.reset()
-          })
-      },
-      updateOilInfoChange () {
-        this.dialogtitle = '更新新信息变更'
-        // this.start()
-        this.$axios.get('tmpzcgf/updateOilInfoChange')
-          .then(res => {
-            // this.fullscreenLoading = false
-            this.reset()
-            this.delBadRecord()
-          })
-        // this.$confirm('是否继续?', '提示', {
-        //   confirmButtonText: '确定',
-        //   cancelButtonText: '取消',
-        //   type: 'warning'
-        // })
-        //   .then(() => {
-        //     // this.fullscreenLoading = true
-        //     this.start()
-        //     this.$axios.get('tmpzcgf/updateOilInfoChange')
-        //       .then(res => {
-        //         // this.fullscreenLoading = false
-        //         this.reset()
-        //       })
-        //   })
-      },
-      updateCertAppendIsType2 () {
-        this.dialogtitle = '更新增项准入范围'
-        // this.start()
-        this.$axios.get('tmpzcgf/updateCertSubIsType1')
-          .then(res => {
-            // this.reset()
-            // this.insterAnnualAudit()
-          })
-        // this.$confirm('是否继续?', '提示', {
-        //   confirmButtonText: '确定',
-        //   cancelButtonText: '取消',
-        //   type: 'warning'
-        // })
-        //   .then(() => {
-        //     this.fullscreenLoading = true
-        //     this.$axios.get('tmpzcgf/updateCertSubIsType1')
-        //       .then(res => {
-        //         this.fullscreenLoading = false
-        //       })
-        //   })
-      },
-      updateCertAppendIsType3 () {
-        this.$confirm('是否继续?', '提示', {
-          confirmButtonText: '确定',
-          cancelButtonText: '取消',
-          type: 'warning'
+    },
+    insertSupplerCertSub () {
+      this.$confirm('是否继续?', '提示', {
+        confirmButtonText: '确定',
+        cancelButtonText: '取消',
+        type: 'warning'
+      })
+        .then(() => {
+          // this.fullscreenLoading = true
+          this.start()
+          this.$axios.get('tmpcertsub/insertcertsub')
+            .then(res => {
+              // this.fullscreenLoading = false
+              // this.reset()
+            })
         })
-          .then(() => {
-            // this.fullscreenLoading = true
-            // this.start()
-            this.$axios.get('tmpzcgf/updateCertSubIsType3')
-              .then(res => {
-                // this.fullscreenLoading = false
-                this.reset()
-                // this.insterAnnualAudit()
-              })
-          })
-      },
-      cleartmpdata () {
-        this.$confirm('是否继续?', '提示', {
-          confirmButtonText: '确定',
-          cancelButtonText: '取消',
-          type: 'warning'
+    },
+    insterAnnualAudit () {
+      this.dialogtitle = '导入年审表'
+      // this.start()
+      this.$axios.get('tmpzcgf/insterannualaudit')
+        .then(res => {
+          // this.fullscreenLoading = false
+          // this.reset()
+          this.updateAnnualAudit()
+        })
+      // this.$confirm('是否继续?', '提示', {
+      //   confirmButtonText: '确定',
+      //   cancelButtonText: '取消',
+      //   type: 'warning'
+      // })
+      //   .then(() => {
+      //     // this.fullscreenLoading = true
+      //     this.start()
+      //     this.$axios.get('tmpzcgf/insterannualaudit')
+      //       .then(res => {
+      //         // this.fullscreenLoading = false
+      //         this.reset()
+      //         this.updateAnnualAudit()
+      //       })
+      //   })
+    },
+    updateAnnualAudit () {
+      this.dialogtitle = '跟新年审表的SupplierId和CerId'
+      this.start()
+      this.$axios.get('tmpzcgf/updateAnnualAudit')
+        .then(res => {
+          // this.fullscreenLoading = false
+          // this.reset()
+          this.insterOilPaymentInfo()
+        })
+      // this.$confirm('是否继续?', '提示', {
+      //   confirmButtonText: '确定',
+      //   cancelButtonText: '取消',
+      //   type: 'warning'
+      // })
+      //   .then(() => {
+      //     // this.fullscreenLoading = true
+      //     this.start()
+      //     this.$axios.get('tmpzcgf/updateAnnualAudit')
+      //       .then(res => {
+      //         // this.fullscreenLoading = false
+      //         this.reset()
+      //         this.insterOilPaymentInfo()
+      //       })
+      //   })
+    },
+    insterOilPaymentInfo () {
+      this.dialogtitle = '导入交费记录并更新'
+      this.start()
+      this.$axios.get('tmpzcgf/insterOilPaymentInfo')
+        .then(res => {
+          // this.fullscreenLoading = false
+          // this.reset()
+          this.insterBadRecord()
+        })
+      // this.$confirm('是否继续?', '提示', {
+      //   confirmButtonText: '确定',
+      //   cancelButtonText: '取消',
+      //   type: 'warning'
+      // })
+      //   .then(() => {
+      //     // this.fullscreenLoading = true
+      //     this.start()
+      //     this.$axios.get('tmpzcgf/insterOilPaymentInfo')
+      //       .then(res => {
+      //         // this.fullscreenLoading = false
+      //         this.reset()
+      //         this.insterBadRecord()
+      //       })
+      //   })
+    },
+    insterBadRecord () {
+      this.dialogtitle = '导入不良记录并更新'
+      this.start()
+      this.$axios.get('tmpzcgf/insterBadRecord')
+        .then(res => {
+          // this.fullscreenLoading = false
+          // this.reset()
+          this.insertOilInfoChange()
+        })
+      // this.$confirm('是否继续?', '提示', {
+      //   confirmButtonText: '确定',
+      //   cancelButtonText: '取消',
+      //   type: 'warning'
+      // })
+      //   .then(() => {
+      //     // this.fullscreenLoading = true
+      //     this.start()
+      //     this.$axios.get('tmpzcgf/insterBadRecord')
+      //       .then(res => {
+      //         // this.fullscreenLoading = false
+      //         this.reset()
+      //         this.insertOilInfoChange()
+      //       })
+      //   })
+    },
+    insertCertSub () {
+      this.dialogtitle = '导入CertSub表'
+      // this.start()
+      this.$axios.get('tmpzcgf/insertCertSub')
+        .then(res => {
+          // this.fullscreenLoading = false
+          // this.reset()
+          this.updateCertSub()
+        })
+      // this.$confirm('是否继续?', '提示', {
+      //   confirmButtonText: '确定',
+      //   cancelButtonText: '取消',
+      //   type: 'warning'
+      // })
+      //   .then(() => {
+      //     // this.fullscreenLoading = true
+      //     this.dialogtitle = '导入CertSub表'
+      //     this.start()
+      //     this.$axios.get('tmpzcgf/insertCertSub')
+      //       .then(res => {
+      //         // this.fullscreenLoading = false
+      //         this.reset()
+      //       })
+      //   })
+    },
+    updateCertSub () {
+      this.dialogtitle = '更新CertSub表'
+      // this.start()
+      this.$axios.get('tmpzcgf/updateOilSupplierCertSub')
+        .then(res => {
+          // this.fullscreenLoading = false
+          // this.reset()
+          this.insertOilSupplierCertAppend()
+        })
+      // this.$confirm('是否继续?', '提示', {
+      //   confirmButtonText: '确定',
+      //   cancelButtonText: '取消',
+      //   type: 'warning'
+      // })
+      //   .then(() => {
+      //     // this.fullscreenLoading = true
+      //     this.dialogtitle = '更新CertSub表'
+      //     this.start()
+      //     this.$axios.get('tmpzcgf/updateOilSupplierCertSub')
+      //       .then(res => {
+      //         // this.fullscreenLoading = false
+      //         this.reset()
+      //       })
+      //   })
+    },
+    updateCertSubclassID () {
+      this.$confirm('是否继续?', '提示', {
+        confirmButtonText: '确定',
+        cancelButtonText: '取消',
+        type: 'warning'
+      })
+        .then(() => {
+          this.fullscreenLoading = true
+          this.$axios.get('tmpzcgf/updateCertSubclassID')
+            .then(res => {
+              this.fullscreenLoading = false
+            })
+        })
+    },
+    updateOilSupplierCertAppend () {
+      this.dialogtitle = '跟新OilSupplierCertAppend表的SupplierId和CerId'
+      // this.start()
+      this.$axios.get('tmpzcgf/updateOilSupplierCertAppend')
+        .then(res => {
+          // this.fullscreenLoading = false
+          // this.reset()
+          this.insertOilSupplierCertSub()
+        })
+      // this.$confirm('是否继续?', '提示', {
+      //   confirmButtonText: '确定',
+      //   cancelButtonText: '取消',
+      //   type: 'warning'
+      // })
+      //   .then(() => {
+      //     // this.fullscreenLoading = true
+      //     this.dialogtitle = '跟新OilSupplierCertAppend表的SupplierId和CerId'
+      //     this.start()
+      //     this.$axios.get('tmpzcgf/updateOilSupplierCertAppend')
+      //       .then(res => {
+      //         // this.fullscreenLoading = false
+      //         this.reset()
+      //       })
+      //   })
+    },
+    insertOilSupplierCertAppend () {
+      this.dialogtitle = '导入增项申请'
+      // this.start()
+      this.$axios.get('tmpzcgf/insertOilSupplierCertAppend')
+        .then(res => {
+          // this.fullscreenLoading = false
+          // this.reset()
+          this.updateOilSupplierCertAppend()
+        })
+      // this.$confirm('是否继续?', '提示', {
+      //   confirmButtonText: '确定',
+      //   cancelButtonText: '取消',
+      //   type: 'warning'
+      // })
+      //   .then(() => {
+      //     // this.fullscreenLoading = true
+      //     this.dialogtitle = '导入增项申请'
+      //     this.start()
+      //     this.$axios.get('tmpzcgf/insertOilSupplierCertAppend')
+      //       .then(res => {
+      //         // this.fullscreenLoading = false
+      //         this.reset()
+      //       })
+      //   })
+    },
+    insertOilSupplierCertSub () {
+      this.dialogtitle = '导入增项的准入范围'
+      // this.start()
+      this.$axios.get('tmpzcgf/insertOilSupplierCertSub')
+        .then(res => {
+          // this.reset()
+          this.updateCertAppendIsType2()
+        })
+      // this.$confirm('是否继续?', '提示', {
+      //   confirmButtonText: '确定',
+      //   cancelButtonText: '取消',
+      //   type: 'warning'
+      // })
+      //   .then(() => {
+      //     this.fullscreenLoading = true
+      //     this.$axios.get('tmpzcgf/insertOilSupplierCertSub')
+      //       .then(res => {
+      //         this.fullscreenLoading = false
+      //       })
+      //   })
+    },
+    insertOilInfoChange () {
+      this.dialogtitle = '导入信息变更'
+      this.start()
+      this.$axios.get('tmpzcgf/insertOilInfoChange')
+        .then(res => {
+          // this.fullscreenLoading = false
+          // this.reset()
+          this.updateOilInfoChange()
+        })
+      // this.$confirm('是否继续?', '提示', {
+      //   confirmButtonText: '确定',
+      //   cancelButtonText: '取消',
+      //   type: 'warning'
+      // })
+      //   .then(() => {
+      //     // this.fullscreenLoading = true
+      //     this.start()
+      //     this.$axios.get('tmpzcgf/insertOilInfoChange')
+      //       .then(res => {
+      //         // this.fullscreenLoading = false
+      //         this.reset()
+      //         this.updateOilInfoChange()
+      //       })
+      //   })
+    },
+    delBadRecord () {
+      this.dialogtitle = '删除多余的不良记录'
+      this.start()
+      this.$axios.get('tmpzcgf/delBadRecord')
+        .then(res => {
+          // this.reset()
+        })
+    },
+    updateOilInfoChange () {
+      this.dialogtitle = '更新新信息变更'
+      this.start()
+      this.$axios.get('tmpzcgf/updateOilInfoChange')
+        .then(res => {
+          // this.fullscreenLoading = false
+          // this.reset()
+          this.delBadRecord()
+        })
+      // this.$confirm('是否继续?', '提示', {
+      //   confirmButtonText: '确定',
+      //   cancelButtonText: '取消',
+      //   type: 'warning'
+      // })
+      //   .then(() => {
+      //     // this.fullscreenLoading = true
+      //     this.start()
+      //     this.$axios.get('tmpzcgf/updateOilInfoChange')
+      //       .then(res => {
+      //         // this.fullscreenLoading = false
+      //         this.reset()
+      //       })
+      //   })
+    },
+    updateCertAppendIsType2 () {
+      this.dialogtitle = '更新增项准入范围'
+      // this.start()
+      this.$axios.get('tmpzcgf/updateCertSubIsType1')
+        .then(res => {
+          // this.reset()
+          // this.insterAnnualAudit()
+        })
+      // this.$confirm('是否继续?', '提示', {
+      //   confirmButtonText: '确定',
+      //   cancelButtonText: '取消',
+      //   type: 'warning'
+      // })
+      //   .then(() => {
+      //     this.fullscreenLoading = true
+      //     this.$axios.get('tmpzcgf/updateCertSubIsType1')
+      //       .then(res => {
+      //         this.fullscreenLoading = false
+      //       })
+      //   })
+    },
+    updateCertAppendIsType3 () {
+      this.$confirm('是否继续?', '提示', {
+        confirmButtonText: '确定',
+        cancelButtonText: '取消',
+        type: 'warning'
+      })
+        .then(() => {
+          // this.fullscreenLoading = true
+          this.start()
+          this.$axios.get('tmpzcgf/updateCertSubIsType3')
+            .then(res => {
+              // this.fullscreenLoading = false
+              // this.reset()
+              // this.insterAnnualAudit()
+            })
+        })
+    },
+    cleartmpdata () {
+      this.$confirm('是否继续?', '提示', {
+        confirmButtonText: '确定',
+        cancelButtonText: '取消',
+        type: 'warning'
+      })
+        .then(() => {
+          this.fullscreenLoading = true
+          this.$axios.get('tmpzcgf/cleattmpdata')
+            .then(res => {
+              this.fullscreenLoading = false
+            })
         })
-          .then(() => {
-            this.fullscreenLoading = true
-            this.$axios.get('tmpzcgf/cleattmpdata')
-              .then(res => {
-                this.fullscreenLoading = false
-              })
-          })
-      }
     }
   }
+}
 </script>
 
 <style scoped>
-  #mytime{
-    background: #bbb;
-    color: #ff3223;
-    display: block;
-  }
-  .item{
-    margin-right: 22px;
-  }
+#mytime {
+  background: #bbb;
+  color: #ff3223;
+  display: block;
+}
+.item {
+  margin-right: 22px;
+}
 </style>