|
|
@@ -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 => {
|