Browse Source

前端:eslint

baichengfei 4 years ago
parent
commit
e4614fd303

+ 82 - 82
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/auditoperation.vue

@@ -1689,40 +1689,40 @@ export default {
           // valid = true// 没办法中的办法
           if (this.formDataCert.WorkerTotal <= 0) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '企业员工总数必须大于0'
             })
             return
           }
           if (this.formDataCert.TechnicalNum <= 0) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '技术、管理人员数量必须大于0'
             })
             return
           }
           if (this.formDataCert.SkillerTotal <= 0) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '技术工人总数必须大于0'
             })
             return
           }
           if (this.formDataCert.TechnicalNum > this.formDataCert.WorkerTotal) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '技术、管理人员数量不能大于员工总数!'
             })
             return
           }
           if (this.formDataCert.SkillerTotal > this.formDataCert.WorkerTotal) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '技术工人总数不能大于员工总数!'
             })
             return
@@ -1742,16 +1742,16 @@ export default {
                 // 保存成功后,初始化数据,变成修改
                 this.initDatas()
                 this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'success',
+                  message: res.data.message
+                })
               } else {
                 this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'warning',
+                  message: res.data.message
+                })
               }
             })
             .catch(err => {
@@ -1831,32 +1831,32 @@ export default {
         if (this.shenheForm.SuccessStatus === 1) {
           if (this.auditer === '') {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '请选择初审人!'
             })
             return
           }
           if (this.fushenauditer === '') {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '请选择复审人!'
             })
             return
           }
           if (this.shenheForm.AuditorRemark.trim().length < 1) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '请填写审批意见!'
             })
             return
           }
           if (this.shenheForm.AuditorRemark.trim().length < 2) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '审批意见不能少于2个字!'
             })
             return false
@@ -1865,16 +1865,16 @@ export default {
           // this.shenheForm.AuditorRemark = this.backRemark
           if (this.shenheForm.AuditorRemark.trim().length < 1) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '请填写退回意见!'
             })
             return false
           }
           if (this.shenheForm.AuditorRemark.trim().length < 2) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '退回意见不能少于2个字!'
             })
             return
@@ -1913,17 +1913,17 @@ export default {
               _this.isAccess()
             }
             this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'success',
+              message: res.data.message
+            })
             _this.dialogSecUnitSeparateVisible = false
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
           }
           _this.loading = false
         }).catch(err => {
@@ -1957,16 +1957,16 @@ export default {
             // console.log('交费成功')
             this.initDatas()
             this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'success',
+              message: res.data.message
+            })
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
           }
           this.loading = false
         }).catch(err => {
@@ -2509,16 +2509,16 @@ export default {
             // 保存成功后,初始化数据,变成修改
             this.initDatas()
             this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'success',
+              message: res.data.message
+            })
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
           }
         }).catch(err => {
           console.error(err)
@@ -2715,17 +2715,17 @@ export default {
               }
             }
             this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'success',
+              message: res.data.message
+            })
             this.btnLoading = false
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
             this.btnLoading = false
           }
         }).catch(err => {
@@ -2818,16 +2818,16 @@ export default {
               _this.isAccess()
             }
             this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'success',
+              message: res.data.message
+            })
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
           }
           _this.dialogCommonAuditMakeSureVisible = false
           _this.loading = false
@@ -2840,8 +2840,8 @@ export default {
           if (this.shenheForm.AuditorRemark.trim().length < 2 && this.AnnualStatus && this.AnnualStatus !== '10') {
             if (this.AnnualStatus !== '5' && this.AnnualStatus !== '7') {
               this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '审批意见不能少于2个字!'
               })
               return false
@@ -2850,8 +2850,8 @@ export default {
         } else {
           if (this.shenheForm.AuditorRemark.trim().length < 2) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '退回意见不能少于2个字!'
             })
             return false
@@ -2870,16 +2870,16 @@ export default {
           if (this.AnnualStatus === '10') {
             if (this.auditer === '') {
               this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '请选择审批人!'
               })
               return
             }
             if (this.fushenauditer === '') {
               this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '请选择复审人!'
               })
               return
@@ -2888,8 +2888,8 @@ export default {
           if (this.shenheForm.AuditorRemark.trim().length < 2 && this.AnnualStatus && this.AnnualStatus !== '10') {
             if (this.AnnualStatus !== '5') {
               this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '审批意见不能少于2个字!'
               })
               return
@@ -2898,8 +2898,8 @@ export default {
         } else {
           if (this.shenheForm.AuditorRemark.trim().length < 2) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '退回意见不能少于2个字!'
             })
             return

+ 63 - 63
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/basicauditoperation.vue

@@ -1154,7 +1154,7 @@
         WorkflowId: '',
         ProfAuditThen: '',
         Step: 0,
-        formDataOther:{},
+        formDataOther: {},
         HSEOptions: [{
           value: '1',
           label: '是'
@@ -2017,10 +2017,10 @@
             this.initDatas()
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
           }
         }).catch(err => {
           console.error(err)
@@ -2145,9 +2145,9 @@
               _this.infochangeForm.SelectItemName = '行业特殊要求的认证证书'
             } else if (_this.infochangeForm.SelectItem === 'BusinessScope') {
               _this.infochangeForm.SelectItemName = '营业范围'
-            }else if (_this.infochangeForm.SelectItem === 'TjinNotify') {
+            } else if (_this.infochangeForm.SelectItem === 'TjinNotify') {
               _this.infochangeForm.SelectItemName = '进津备案通知书'
-            }else if (_this.infochangeForm.SelectItem === 'QualifCert') {
+            } else if (_this.infochangeForm.SelectItem === 'QualifCert') {
               _this.infochangeForm.SelectItemName = '企业资质证书(编号 级别)'
             } else if (_this.infochangeForm.SelectItem === 'Remark') {
               _this.infochangeForm.SelectItemName = '备注'
@@ -2213,17 +2213,17 @@
               this.getstatus(this.AnnualId)
             }
             this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'success',
+              message: res.data.message
+            })
             this.btnLoading = false
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
             this.btnLoading = false
           }
         }).catch(err => {
@@ -2317,16 +2317,16 @@
               _this.isAccess()
             }
             this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'success',
+              message: res.data.message
+            })
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
           }
           _this.dialogCommonAuditMakeSureVisible = false
           _this.loading = false
@@ -2339,8 +2339,8 @@
           if (this.shenheForm.AuditorRemark.trim().length < 2 && this.AnnualStatus && this.AnnualStatus !== '10') {
             if (this.AnnualStatus !== '5') {
               this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '审批意见不能少于2个字!'
               })
               return false
@@ -2349,8 +2349,8 @@
         } else {
           if (this.shenheForm.AuditorRemark.trim().length < 2) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '退回意见不能少于2个字!'
             })
             return false
@@ -2385,16 +2385,16 @@
             // console.log('交费成功')
             this.initDatas()
             this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'success',
+              message: res.data.message
+            })
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
           }
           this.loading = false
         }).catch(err => {
@@ -2452,32 +2452,32 @@
         if (this.shenheForm.SuccessStatus === 1) {
           if (this.auditer === '') {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '请选择初审人!'
             })
             return
           }
           if (this.fushenauditer === '') {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '请选择复审人!'
             })
             return
           }
           if (this.shenheForm.AuditorRemark.trim().length < 1) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '请填写审批意见!'
             })
             return
           }
           if (this.shenheForm.AuditorRemark.trim().length < 2) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '审批意见不能少于2个字!'
             })
             return false
@@ -2485,16 +2485,16 @@
         } else {
           if (this.shenheForm.AuditorRemark.trim().length < 1) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '请填写退回意见!'
             })
             return false
           }
           if (this.shenheForm.AuditorRemark.trim().length < 2) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '退回意见不能少于2个字!'
             })
             return
@@ -2533,17 +2533,17 @@
               }
             }
             this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'success',
+              message: res.data.message
+            })
             _this.dialogSecUnitSeparateVisible = false
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
           }
           _this.loading = false
         }).catch(err => {
@@ -2565,16 +2565,16 @@
           if (this.AnnualStatus === '10') {
             if (this.auditer === '') {
               this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '请选择审批人!'
               })
               return
             }
             if (this.fushenauditer === '') {
               this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '请选择复审人!'
               })
               return
@@ -2583,8 +2583,8 @@
           if (this.shenheForm.AuditorRemark.trim().length < 2 && this.AnnualStatus && this.AnnualStatus !== '10') {
             if (this.AnnualStatus !== '5') {
               this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '审批意见不能少于2个字!'
               })
               return
@@ -2593,8 +2593,8 @@
         } else {
           if (this.shenheForm.AuditorRemark.trim().length < 2) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '退回意见不能少于2个字!'
             })
             return

+ 167 - 167
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/bassicoperation.vue

@@ -1683,19 +1683,19 @@ import Viewer from 'v-viewer'
         let month = date.getMonth() + 1
         let day = date.getDate()
         if (month < 10) {
-          month = "0" + month
+          month = '0' + month
         }
         if (day < 10) {
-          day = "0" + day
+          day = '0' + day
         }
-        return year + "-" + month + "-" + day
+        return year + '-' + month + '-' + day
       },
       changeFile (fileName) {
-        if (fileName === "招标中标结果") {
-          this.newSubfileForm.EffectDate = this.addDate() + "T08:00:00+08:00"
+        if (fileName === '招标中标结果') {
+          this.newSubfileForm.EffectDate = this.addDate() + 'T08:00:00+08:00'
           this.dateDisable = true
         } else {
-          this.newSubfileForm.EffectDate = ""
+          this.newSubfileForm.EffectDate = ''
           this.dateDisable = false
         }
       },
@@ -1763,18 +1763,18 @@ import Viewer from 'v-viewer'
           let isLt10m = file.size / 1024 / 1024 / 100 < 1
           if (!isLt10m) {
             this.$message.error({
-                duration: 10000,
-                message: '上传文件大小不能超过 100MB!'
-              })
+              duration: 10000,
+              message: '上传文件大小不能超过 100MB!'
+            })
             return false
           }
           return true
         } else {
           if (file.name.indexOf('.rar') < 0 && file.name.indexOf('.zip') < 0) {
             this.$message.error({
-                duration: 10000,
-                message: '文件格式必须为rar或zip'
-              })
+              duration: 10000,
+              message: '文件格式必须为rar或zip'
+            })
             return false
           }
           return true
@@ -1785,17 +1785,17 @@ import Viewer from 'v-viewer'
           // 上传附件是否完成判断
           if (!this.newattachissuccess()) {
             this.$message.error({
-                duration: 10000,
-                message: '有附件未成功上传!不能保存数据'
-              })
+              duration: 10000,
+              message: '有附件未成功上传!不能保存数据'
+            })
             return
           }
           this.newgetattachissuccess()
           this.addSubfile()
         } else {
           this.$message({
-                    duration: 10000,
-                    type: 'warning',
+            duration: 10000,
+            type: 'warning',
             message: '请上传文件!'
           })
         }
@@ -1811,19 +1811,19 @@ import Viewer from 'v-viewer'
               .then(res => {
                 if (res.data.code === 0) {
                   _this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+                    duration: 10000,
+                    type: 'success',
+                    message: res.data.message
+                  })
                   this.newVisible = false
                   this.getsubfile()
                   this.$refs.newrefuploadattach.uploadFiles = []
                 } else {
                   _this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+                    duration: 10000,
+                    type: 'warning',
+                    message: res.data.message
+                  })
                 }
               })
               .catch(err => {
@@ -1870,17 +1870,17 @@ import Viewer from 'v-viewer'
             annualapi.deleteAddfile(row.Id, this.$axios).then(res => {
               if (res.data.code === 0) {
                 this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'success',
+                  message: res.data.message
+                })
                 this.getsubfile()
               } else {
                 this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'warning',
+                  message: res.data.message
+                })
               }
             })
           })
@@ -1903,40 +1903,40 @@ import Viewer from 'v-viewer'
           // valid = true// 没办法中的办法
           if (this.formDataCert.WorkerTotal <= 0) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '企业员工总数必须大于0'
             })
             return
           }
           if (this.formDataCert.TechnicalNum <= 0) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '技术、管理人员数量必须大于0'
             })
             return
           }
           if (this.formDataCert.SkillerTotal <= 0) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '技术工人总数必须大于0'
             })
             return
           }
           if (this.formDataCert.TechnicalNum > this.formDataCert.WorkerTotal) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '技术、管理人员数量不能大于员工总数!'
             })
             return
           }
           if (this.formDataCert.SkillerTotal > this.formDataCert.WorkerTotal) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '技术工人总数不能大于员工总数!'
             })
             return
@@ -1951,16 +1951,16 @@ import Viewer from 'v-viewer'
                 // 保存成功后,初始化数据,变成修改
                 this.initDatas()
                 this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'success',
+                  message: res.data.message
+                })
               } else {
                 this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'warning',
+                  message: res.data.message
+                })
               }
             }).catch(err => {
             console.error(err)
@@ -2040,16 +2040,16 @@ import Viewer from 'v-viewer'
                 uploadajax(option)
               } else {
                 _this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                  duration: 10000,
+                  type: 'warning',
                   message: '未上传成功!请刷新界面重新上传!'
                 })
               }
             })
             .catch(function (error) {
               _this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '未上传成功!请重新上传!'
               })
             })
@@ -2060,18 +2060,18 @@ import Viewer from 'v-viewer'
           let isLt10m = file.size / 1024 / 1024 / 100 < 1
           if (!isLt10m) {
             this.$message.error({
-                duration: 10000,
-                message: '上传文件大小不能超过 100MB!'
-              })
+              duration: 10000,
+              message: '上传文件大小不能超过 100MB!'
+            })
             return false
           }
           return true
         } else {
           if (file.name.indexOf('.rar') < 0 && file.name.indexOf('.zip') < 0) {
             this.$message.error({
-                duration: 10000,
-                message: '文件格式必须为rar或zip'
-              })
+              duration: 10000,
+              message: '文件格式必须为rar或zip'
+            })
             return false
           }
           return true
@@ -2103,8 +2103,8 @@ import Viewer from 'v-viewer'
       },
       openDialog (val) {
         this.IsMust = true
-        if (val.NeedFileType === "招标中标结果") {
-          this.SubfileForm.EffectDate = this.addDate() + "T08:00:00+08:00"
+        if (val.NeedFileType === '招标中标结果') {
+          this.SubfileForm.EffectDate = this.addDate() + 'T08:00:00+08:00'
           this.dateDisable = true
         } else {
           let effectDate = this.jsEffectDate(val.EffectDate)
@@ -2176,17 +2176,17 @@ import Viewer from 'v-viewer'
                 // 上传附件是否完成判断
                 if (!_this.attachissuccess()) {
                   _this.$message.error({
-                duration: 10000,
-                message: '有附件未成功上传!不能保存数据'
-              })
+                    duration: 10000,
+                    message: '有附件未成功上传!不能保存数据'
+                  })
                   return
                 }
                 _this.getattachissuccess()
                 _this.addqualchange()
               } else {
                 _this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                  duration: 10000,
+                  type: 'warning',
                   message: '请上传文件!'
                 })
               }
@@ -2195,17 +2195,17 @@ import Viewer from 'v-viewer'
                 // 上传附件是否完成判断
                 if (!_this.attachissuccess()) {
                   _this.$message.error({
-                duration: 10000,
-                message: '有附件未成功上传!不能保存数据'
-              })
+                    duration: 10000,
+                    message: '有附件未成功上传!不能保存数据'
+                  })
                   return
                 }
                 _this.getattachissuccess()
                 _this.editqualchange()
               } else {
                 _this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                  duration: 10000,
+                  type: 'warning',
                   message: '请上传文件!'
                 })
               }
@@ -2344,16 +2344,16 @@ import Viewer from 'v-viewer'
       SubpEntity () {
         if (this.UnitOrg === '') {
           this.$message({
-                    duration: 10000,
-                    type: 'warning',
+            duration: 10000,
+            type: 'warning',
             message: '请选择分办人!'
           })
           return
         }
         if (this.orgauditOptions == null || this.orgauditOptions.length === 0) {
           this.$message({
-                    duration: 10000,
-                    type: 'warning',
+            duration: 10000,
+            type: 'warning',
             message: '该单位未配置分办人!'
           })
           return
@@ -2374,16 +2374,16 @@ import Viewer from 'v-viewer'
             this.isAccess()
             this.ComAuditdialogShow = false
             this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'success',
+              message: res.data.message
+            })
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
           }
         }).catch(err => {
           this.loading = false
@@ -2406,8 +2406,8 @@ import Viewer from 'v-viewer'
         for (let idx in this.subfileList) {
           if (this.subfileList[idx].OldFileUrl === '' && this.subfileList[idx].FileUrl === '') {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: this.subfileList[idx].NeedFileType + '没有上传,不能提交!'
             })
             return
@@ -2421,16 +2421,16 @@ import Viewer from 'v-viewer'
           if (valid) {
             if (this.auditer === '') {
               this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '请选择审批人!'
               })
               return
             }
             if (this.fushenauditer === '') {
               this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '请选择复审人!'
               })
               return
@@ -2449,7 +2449,7 @@ import Viewer from 'v-viewer'
         //   this.loading = false
         //   return false
         // }
-        this.saveEntity(1).then(res=>{
+        this.saveEntity(1).then(res => {
           if (res) {
             let params = {
               firstAudit: this.auditer,
@@ -2466,16 +2466,16 @@ import Viewer from 'v-viewer'
                 this.isAccess()
                 this.dialogSeparateUnitAuditVisible = false
                 this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'success',
+                  message: res.data.message
+                })
               } else {
                 this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'warning',
+                  message: res.data.message
+                })
               }
               this.loading = false
             }).catch(err => {
@@ -2491,8 +2491,8 @@ import Viewer from 'v-viewer'
         for (let idx in this.subfileList) {
           if (this.subfileList[idx].OldFileUrl === '' && this.subfileList[idx].FileUrl === '') {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: this.subfileList[idx].NeedFileType + '没有上传,不能提交!'
             })
             return
@@ -2508,7 +2508,7 @@ import Viewer from 'v-viewer'
           this.loading = false
           return false
         }
-        this.saveEntity(1).then(res=>{
+        this.saveEntity(1).then(res => {
           if (res) {
             // this.auditform.FirstAuditName = this.UnitOrg
             // this.auditform.CertId = this.formData.Id
@@ -2522,10 +2522,10 @@ import Viewer from 'v-viewer'
               if (res.data.code === 0) {
                 // 保存成功后,初始化数据,变成修改
                 this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'success',
+                  message: res.data.message
+                })
                 _this.dialogComSubmitToSeparateUnitVisible = false
                 // this.getEntityById()
                 if (_this.$refs['WfHistory']) {
@@ -2536,10 +2536,10 @@ import Viewer from 'v-viewer'
                 _this.isAccess()
               } else {
                 this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'warning',
+                  message: res.data.message
+                })
               }
               _this.loading = false
             }).catch(err => {
@@ -2554,8 +2554,8 @@ import Viewer from 'v-viewer'
         for (let idx in this.subfileList) {
           if (this.subfileList[idx].OldFileUrl === '' && this.subfileList[idx].FileUrl === '') {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: this.subfileList[idx].NeedFileType + '没有上传,不能提交!'
             })
             return
@@ -2563,16 +2563,16 @@ import Viewer from 'v-viewer'
         }
         if (this.UnitOrg === '') {
           this.$message({
-                    duration: 10000,
-                    type: 'warning',
+            duration: 10000,
+            type: 'warning',
             message: '请选择分办单位!'
           })
           return
         }
         if (this.orgauditOptions == null || this.orgauditOptions.length == 0) {
           this.$message({
-                    duration: 10000,
-                    type: 'warning',
+            duration: 10000,
+            type: 'warning',
             message: '该单位未配置分办人!'
           })
           return
@@ -2606,16 +2606,16 @@ import Viewer from 'v-viewer'
             console.log('交费成功')
             this.initDatas()
             this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'success',
+              message: res.data.message
+            })
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
           }
           this.loading = false
         }).catch(err => {
@@ -3075,8 +3075,8 @@ import Viewer from 'v-viewer'
             api.checkBack(this.formData.BankAccount, this.formData.Id, this.$axios).then(res => {
               if (res.data.item) {
                 this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                  duration: 10000,
+                  type: 'warning',
                   message: '该银行账号与其他公司重复'
                 })
                 this.saveLoading = false
@@ -3096,10 +3096,10 @@ import Viewer from 'v-viewer'
                     resolve(true)
                   } else {
                     this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+                      duration: 10000,
+                      type: 'warning',
+                      message: res.data.message
+                    })
                     return resolve(false)
                   }
                   this.saveLoading = false
@@ -3134,10 +3134,10 @@ import Viewer from 'v-viewer'
             }
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
           }
         }).catch(err => {
           console.error(err)
@@ -3168,10 +3168,10 @@ import Viewer from 'v-viewer'
             this.updateNumberEntity()
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
           }
         }).catch(err => {
           console.error(err)
@@ -3191,16 +3191,16 @@ import Viewer from 'v-viewer'
                 // 保存成功后,初始化数据,变成修改
                 this.initDatas()
                 this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'success',
+                  message: res.data.message
+                })
               } else {
                 this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'warning',
+                  message: res.data.message
+                })
               }
             }).catch(err => {
               console.error(err)
@@ -3216,16 +3216,16 @@ import Viewer from 'v-viewer'
           if (valid) {
             if (this.auditer === '') {
               this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '请选择审批人!'
               })
               return
             }
             if (this.fushenauditer === '') {
               this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '请选择复审人!'
               })
               return
@@ -3260,16 +3260,16 @@ import Viewer from 'v-viewer'
                 // this.initDatas();
                 this.addshow = false
                 this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'success',
+                  message: res.data.message
+                })
               } else {
                 this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'warning',
+                  message: res.data.message
+                })
               }
             }).catch(err => {
               this.loading = false
@@ -3430,16 +3430,16 @@ import Viewer from 'v-viewer'
             // 保存成功后,初始化数据,变成修改
             this.initDatas()
             this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'success',
+              message: res.data.message
+            })
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
           }
           this.applyLoading = false
         }).catch(err => {

+ 161 - 162
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/goodsoperation.vue

@@ -1242,7 +1242,7 @@
           callback()
         }
       }
-      //级别
+      // 级别
       var checkGrade = (rule, value, callback) => {
         if (!value) {
           callback(new Error('请选择级别'))
@@ -1894,19 +1894,19 @@
         let month = date.getMonth() + 1
         let day = date.getDate()
         if (month < 10) {
-          month = "0" + month
+          month = '0' + month
         }
         if (day < 10) {
-          day = "0" + day
+          day = '0' + day
         }
-        return year + "-" + month + "-" + day
+        return year + '-' + month + '-' + day
       },
       changeFile (fileName) {
-        if (fileName === "招标中标结果") {
-          this.newSubfileForm.EffectDate = this.addDate() + "T08:00:00+08:00"
+        if (fileName === '招标中标结果') {
+          this.newSubfileForm.EffectDate = this.addDate() + 'T08:00:00+08:00'
           this.dateDisable = true
         } else {
-          this.newSubfileForm.EffectDate = ""
+          this.newSubfileForm.EffectDate = ''
           this.dateDisable = false
         }
       },
@@ -1958,7 +1958,7 @@
       },
       // 添加资质
       initTableHeader () {
-        setapi.initGoodTableHeader('',this.$axios).then(res => {
+        setapi.initGoodTableHeader('', this.$axios).then(res => {
           this.dynamicTableColumns = res.data.items
         })
       },
@@ -1967,18 +1967,18 @@
           let isLt10m = file.size / 1024 / 1024 / 100 < 1
           if (!isLt10m) {
             this.$message.error({
-                duration: 10000,
-                message: '上传文件大小不能超过 100MB!'
-              })
+              duration: 10000,
+              message: '上传文件大小不能超过 100MB!'
+            })
             return false
           }
           return true
         } else {
           if (file.name.indexOf('.rar') < 0 && file.name.indexOf('.zip') < 0) {
             this.$message.error({
-                duration: 10000,
-                message: '文件格式必须为rar或zip'
-              })
+              duration: 10000,
+              message: '文件格式必须为rar或zip'
+            })
             return false
           }
           return true
@@ -1989,17 +1989,17 @@
           // 上传附件是否完成判断
           if (!this.newattachissuccess()) {
             this.$message.error({
-                duration: 10000,
-                message: '有附件未成功上传!不能保存数据'
-              })
+              duration: 10000,
+              message: '有附件未成功上传!不能保存数据'
+            })
             return
           }
           this.newgetattachissuccess()
           this.addSubfile()
         } else {
           this.$message({
-                    duration: 10000,
-                    type: 'warning',
+            duration: 10000,
+            type: 'warning',
             message: '请上传文件!'
           })
         }
@@ -2015,19 +2015,19 @@
               .then(res => {
                 if (res.data.code === 0) {
                   _this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+                    duration: 10000,
+                    type: 'success',
+                    message: res.data.message
+                  })
                   this.newVisible = false
                   this.getsubfile()
                   this.$refs.newrefuploadattach.uploadFiles = []
                 } else {
                   _this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+                    duration: 10000,
+                    type: 'warning',
+                    message: res.data.message
+                  })
                 }
               })
               .catch(err => {
@@ -2074,17 +2074,17 @@
             annualapi.deleteAddfile(row.Id, this.$axios).then(res => {
               if (res.data.code === 0) {
                 this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'success',
+                  message: res.data.message
+                })
                 this.getsubfile()
               } else {
                 this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'warning',
+                  message: res.data.message
+                })
               }
             })
           })
@@ -2107,40 +2107,40 @@
           // valid = true// 没办法中的办法
           if (this.formDataCert.WorkerTotal <= 0) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '企业员工总数必须大于0'
             })
             return
           }
           if (this.formDataCert.TechnicalNum <= 0) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '技术、管理人员数量必须大于0'
             })
             return
           }
           if (this.formDataCert.SkillerTotal <= 0) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '技术工人总数必须大于0'
             })
             return
           }
           if (this.formDataCert.TechnicalNum > this.formDataCert.WorkerTotal) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '技术、管理人员数量不能大于员工总数!'
             })
             return
           }
           if (this.formDataCert.SkillerTotal > this.formDataCert.WorkerTotal) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '技术工人总数不能大于员工总数!'
             })
             return
@@ -2155,16 +2155,16 @@
                 // 保存成功后,初始化数据,变成修改
                 this.initDatas()
                 this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'success',
+                  message: res.data.message
+                })
               } else {
                 this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'warning',
+                  message: res.data.message
+                })
               }
             }).catch(err => {
             console.error(err)
@@ -2248,16 +2248,16 @@
                 uploadajax(option)
               } else {
                 _this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                  duration: 10000,
+                  type: 'warning',
                   message: '未上传成功!请刷新界面重新上传!'
                 })
               }
             })
             .catch(function (error) {
               _this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '未上传成功!请重新上传!'
               })
             })
@@ -2268,18 +2268,18 @@
           let isLt10m = file.size / 1024 / 1024 / 100 < 1
           if (!isLt10m) {
             this.$message.error({
-                duration: 10000,
-                message: '上传文件大小不能超过 100MB!'
-              })
+              duration: 10000,
+              message: '上传文件大小不能超过 100MB!'
+            })
             return false
           }
           return true
         } else {
           if (file.name.indexOf('.rar') < 0 && file.name.indexOf('.zip') < 0) {
             this.$message.error({
-                duration: 10000,
-                message: '文件格式必须为rar或zip'
-              })
+              duration: 10000,
+              message: '文件格式必须为rar或zip'
+            })
             return false
           }
           return true
@@ -2311,8 +2311,8 @@
       },
       openDialog (val) {
         this.IsMust = true
-        if (val.NeedFileType === "招标中标结果") {
-          this.SubfileForm.EffectDate = this.addDate() + "T08:00:00+08:00"
+        if (val.NeedFileType === '招标中标结果') {
+          this.SubfileForm.EffectDate = this.addDate() + 'T08:00:00+08:00'
           this.dateDisable = true
         } else {
           let effectDate = this.jsEffectDate(val.EffectDate)
@@ -2400,8 +2400,8 @@
                 _this.addqualchange()
               } else {
                 _this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                  duration: 10000,
+                  type: 'warning',
                   message: '请上传文件!'
                 })
               }
@@ -2419,8 +2419,8 @@
                 _this.editqualchange()
               } else {
                 _this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                  duration: 10000,
+                  type: 'warning',
                   message: '请上传文件!'
                 })
               }
@@ -2736,7 +2736,6 @@
                 this.$refs['WfHistory'].getHistoryTask() /* 刷新工作流 */
               }
             })
-
           }).catch(err => {
             console.error(err)
           })
@@ -2838,7 +2837,7 @@
           this.UnitRelationOptions = res.data.items['UnitRelation']
           // 在前面加默认值会导致取不到UnitRelationOptions数据
           if (this.formData.SpecTypeCode == '') {
-            this.formData.SpecTypeCode = "1"
+            this.formData.SpecTypeCode = '1'
           }
           this.CompanyTypeOptions = res.data.items['CompanyType']
           this.CurrencyOptions = res.data.items['CurrencyType']
@@ -3036,20 +3035,20 @@
           this.$refs['EntityFormCert'].validate((valid) => {
             valid2 = valid
           })
-          if (this.formData.Grade == 1 && (this.formData.PACNumber == '' || typeof this.formData.PACNumber == 'undefined' || this.formData.PACNumber.trim() == '')) {
+          if (this.formData.Grade == 1 && (this.formData.PACNumber == '' || typeof this.formData.PACNumber === 'undefined' || this.formData.PACNumber.trim() == '')) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '中石油准入证编号不能为空!'
             })
             this.saveLoading = false
             return resolve(false)
           }
           console.log(this.InStyle, this.formData.MgrUnit.indexOf('大庆油田'), '大庆油田')
-          if (this.InStyle === '3' && this.formData.MgrUnit.indexOf('大庆油田') != -1 && (this.formData.PACNumber == '' || typeof this.formData.PACNumber == 'undefined')) {
+          if (this.InStyle === '3' && this.formData.MgrUnit.indexOf('大庆油田') != -1 && (this.formData.PACNumber == '' || typeof this.formData.PACNumber === 'undefined')) {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '中石油准入证编号不能为空!'
             })
             this.saveLoading = false
@@ -3057,8 +3056,8 @@
           }
           if (this.formData.InStyle === '3' && this.formData.MgrUnit === '大港油田分公司') {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: '二级物资准入不能选择大港油田分公司!'
             })
             this.saveLoading = false
@@ -3068,8 +3067,8 @@
             api.checkBack(this.formData.BankAccount, this.formData.Id, this.$axios).then(res => {
               if (res.data.item) {
                 this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                  duration: 10000,
+                  type: 'warning',
                   message: '该银行账号与其他公司重复'
                 })
                 this.saveLoading = false
@@ -3090,10 +3089,10 @@
                     resolve(true)
                   } else {
                     this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+                      duration: 10000,
+                      type: 'warning',
+                      message: res.data.message
+                    })
                     this.saveLoading = false
                     return resolve(false)
                   }
@@ -3130,10 +3129,10 @@
             }
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
           }
         }).catch(err => {
           console.error(err)
@@ -3146,10 +3145,10 @@
             this.updateNumberEntity()
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
           }
         }).catch(err => {
           console.error(err)
@@ -3170,16 +3169,16 @@
                 // 保存成功后,初始化数据,变成修改
                   this.initDatas()
                   this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+                    duration: 10000,
+                    type: 'success',
+                    message: res.data.message
+                  })
                 } else {
                   this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+                    duration: 10000,
+                    type: 'warning',
+                    message: res.data.message
+                  })
                 }
               }).catch(err => {
               console.error(err)
@@ -3197,8 +3196,8 @@
         for (let idx in this.subfileList) {
           if (this.subfileList[idx].OldFileUrl === '' && this.subfileList[idx].FileUrl === '') {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: this.subfileList[idx].NeedFileType + '没有上传,不能提交!'
             })
             return
@@ -3223,16 +3222,16 @@
           if (valid) {
             if (this.auditer === '') {
               this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '请选择审批人!'
               })
               return
             }
             if (this.fushenauditer === '') {
               this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '请选择复审人!'
               })
               return
@@ -3250,7 +3249,7 @@
         //   this.loading = false
         //   return false
         // }
-        this.saveinfochange(1).then(res=>{
+        this.saveinfochange(1).then(res => {
           if (res) {
             let params = {
               firstAudit: this.auditer,
@@ -3264,20 +3263,20 @@
                 // this.Status = res.data.item
                 // this.entityForm.Status = this.Status
                 this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'success',
+                  message: res.data.message
+                })
                 _this.initDatas()
                 _this.getstatus(this.annualId)
                 _this.isAccess()
                 _this.dialogSeparateUnitAuditVisible = false
               } else {
                 this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'warning',
+                  message: res.data.message
+                })
               }
               this.loading = false
             }).catch(err => {
@@ -3293,8 +3292,8 @@
         for (let idx in this.subfileList) {
           if (this.subfileList[idx].OldFileUrl === '' && this.subfileList[idx].FileUrl === '') {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: this.subfileList[idx].NeedFileType + '没有上传,不能提交!'
             })
             return
@@ -3321,7 +3320,7 @@
           this.loading = false
           return false
         }
-        this.saveinfochange(1).then(res=>{
+        this.saveinfochange(1).then(res => {
           if (res) {
             // this.auditform.FirstAuditName = this.UnitOrg
             // this.auditform.CertId = this.formData.Id
@@ -3335,10 +3334,10 @@
               if (res.data.code === 0) {
                 // 保存成功后,初始化数据,变成修改
                 this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'success',
+                  message: res.data.message
+                })
                 _this.initDatas()
                 _this.getstatus(this.annualId)
                 _this.isAccess()
@@ -3346,10 +3345,10 @@
                 // _this.getEntityById()
               } else {
                 this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'warning',
+                  message: res.data.message
+                })
               }
               _this.loading = false
             }).catch(err => {
@@ -3360,12 +3359,12 @@
           }
         })
       },
-      companySubmitToSecUnitParamsCheck ()  {
+      companySubmitToSecUnitParamsCheck () {
         for (let idx in this.subfileList) {
           if (this.subfileList[idx].OldFileUrl === '' && this.subfileList[idx].FileUrl === '') {
             this.$message({
-                    duration: 10000,
-                    type: 'warning',
+              duration: 10000,
+              type: 'warning',
               message: this.subfileList[idx].NeedFileType + '没有上传,不能提交!'
             })
             return
@@ -3373,16 +3372,16 @@
         }
         if (this.UnitOrg === '') {
           this.$message({
-                    duration: 10000,
-                    type: 'warning',
+            duration: 10000,
+            type: 'warning',
             message: '请选择分办单位!'
           })
           return
         }
         if (this.orgauditOptions == null || this.orgauditOptions.length == 0) {
           this.$message({
-                    duration: 10000,
-                    type: 'warning',
+            duration: 10000,
+            type: 'warning',
             message: '该单位未配置分办人!'
           })
           return
@@ -3416,16 +3415,16 @@
             console.log('交费成功')
             this.initDatas()
             this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'success',
+              message: res.data.message
+            })
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
           }
           this.loading = false
         }).catch(err => {
@@ -3437,16 +3436,16 @@
           if (valid) {
             if (this.auditer === '') {
               this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '请选择审批人!'
               })
               return
             }
             if (this.fushenauditer === '') {
               this.$message({
-                    duration: 10000,
-                    type: 'warning',
+                duration: 10000,
+                type: 'warning',
                 message: '请选择复审人!'
               })
               return
@@ -3469,16 +3468,16 @@
                 _this.isAccess()
                 this.addshow = false
                 this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'success',
+                  message: res.data.message
+                })
               } else {
                 this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+                  duration: 10000,
+                  type: 'warning',
+                  message: res.data.message
+                })
               }
             }).catch(err => {
               this.loading = false
@@ -3500,16 +3499,16 @@
             // 保存成功后,初始化数据,变成修改
             this.initDatas()
             this.$message({
-                duration: 10000,
-                type: 'success',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'success',
+              message: res.data.message
+            })
           } else {
             this.$message({
-                duration: 10000,
-                type: 'warning',
-                message: res.data.message
-              })
+              duration: 10000,
+              type: 'warning',
+              message: res.data.message
+            })
           }
           this.applyLoading = false
         }).catch(err => {