|
|
@@ -532,20 +532,20 @@
|
|
|
}
|
|
|
if (res.data.code === 0) {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'success',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'success',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
this.btnLoading = false
|
|
|
if (this.is_todo === '1') {
|
|
|
this.$router.push('/')
|
|
|
}
|
|
|
} else {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
this.btnLoading = false
|
|
|
}
|
|
|
}).catch(err => {
|
|
|
@@ -561,16 +561,16 @@
|
|
|
apiCert.saveAccessCardNo(this.formData.Id, this.formData.CertId, this.formData.AccessCardNo, '03', 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
|
|
|
+ })
|
|
|
} else {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
@@ -580,8 +580,8 @@
|
|
|
if (this.formData.JFAccessCardNo != '') {
|
|
|
// alert('生成编码成功!');
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'success',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'success',
|
|
|
message: '生成编码成功!'
|
|
|
})
|
|
|
}
|
|
|
@@ -591,8 +591,8 @@
|
|
|
confirm () {
|
|
|
if (this.formData.JFAccessCardNo === '') {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: '准入证编码不能为空!'
|
|
|
})
|
|
|
return
|
|
|
@@ -718,7 +718,7 @@
|
|
|
this.$refs['TechInfo'].LinkCityAry.push(this.formData.LinkProvince)
|
|
|
this.$refs['TechInfo'].LinkCityAry.push(this.formData.LinkCity)
|
|
|
this.$refs['TechInfo'].LinkCityAry.push(this.formData.LinkStreet)
|
|
|
- /*this.$refs["TechInfo"].UnitRelationAry = []
|
|
|
+ /* this.$refs["TechInfo"].UnitRelationAry = []
|
|
|
if (this.formData.SpecTypeCode.length > 0) {
|
|
|
this.$refs['TechInfo'].UnitRelationAry = this.formData.SpecTypeCode.split(',')
|
|
|
} */
|
|
|
@@ -776,13 +776,13 @@
|
|
|
|
|
|
if (this.formData.SpecTypeCode.length > 0) {
|
|
|
this.$refs['TechInfo'].UnitRelationAry = this.formData.SpecTypeCode.split(',')
|
|
|
- }*/
|
|
|
+ } */
|
|
|
|
|
|
this.entrydetail.business = this.certId
|
|
|
this.entrydetail.instance = this.formDataCert.WorkflowId
|
|
|
this.backhistroy.certId = this.certId
|
|
|
this.backhistroy.workflowId = this.formDataCert.WorkflowId
|
|
|
- /*if (this.certId && this.formDataCert.WorkflowId) {
|
|
|
+ /* if (this.certId && this.formDataCert.WorkflowId) {
|
|
|
this.$refs['WfHistory'].getHistoryTask() /!* 刷新工作流 *!/
|
|
|
} */
|
|
|
this.isAccess()
|
|
|
@@ -895,16 +895,16 @@
|
|
|
this.certId = res.data.item.split('_')[1]
|
|
|
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)
|
|
|
@@ -917,16 +917,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)
|
|
|
@@ -960,16 +960,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)
|
|
|
@@ -991,8 +991,8 @@
|
|
|
// this.auditer = val
|
|
|
if (this.auditer === '') {
|
|
|
this.$message({
|
|
|
- duration: 10000,
|
|
|
- type: 'warning',
|
|
|
+ duration: 10000,
|
|
|
+ type: 'warning',
|
|
|
message: '请选择审批人!'
|
|
|
})
|
|
|
return
|
|
|
@@ -1006,16 +1006,16 @@
|
|
|
this.initDatas()
|
|
|
this.dialogVisible = 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.applyLoading = false
|
|
|
}).catch(err => {
|