|
|
@@ -748,7 +748,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="24" v-if="shenheForm.SuccessStatus == 1">
|
|
|
<el-form-item label="备注">
|
|
|
- <el-input v-model="shenheForm.AuditRemark" type="textarea" placeholder="请输入备注内容">
|
|
|
+ <el-input v-model="shenheForm.AuditorRemark" type="textarea" placeholder="请输入备注内容">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -1346,9 +1346,10 @@
|
|
|
FirstAudit: this.auditer,
|
|
|
SecondAudit: this.fushenauditer,
|
|
|
ThirdAudit: this.selectDept,
|
|
|
- AuditRemark: this.shenheForm.AuditRemark
|
|
|
+ AuditRemark: this.shenheForm.AuditorRemark
|
|
|
}
|
|
|
console.log('二级单位分办审批结果提交参数:', params)
|
|
|
+ let _this = this
|
|
|
api2.separateAuditEntity(this.AppendId, params, this.$axios).then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
console.log('审批提交,成功返回')
|
|
|
@@ -1358,7 +1359,8 @@
|
|
|
})
|
|
|
this.btnloading = false
|
|
|
this.dialogSecUnitSeparateVisible = false
|
|
|
- this.initDatas() // TODO 弹框提示
|
|
|
+ _this.getEntityById()
|
|
|
+ _this.isAccess()
|
|
|
} else {
|
|
|
this.$message({
|
|
|
type: 'warning',
|
|
|
@@ -1448,23 +1450,24 @@
|
|
|
AuditRemark: this.shenheForm.AuditorRemark
|
|
|
}
|
|
|
console.log('审批结果提交参数:', params)
|
|
|
+ let _this = this
|
|
|
api2.commonAuditEntity(this.formData.Id, params, this.$axios).then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
console.log('审批提交,成功返回')
|
|
|
- // this.initDatas()
|
|
|
this.$message({
|
|
|
type: 'success',
|
|
|
message: res.data.message
|
|
|
})
|
|
|
- this.$router.push('/')
|
|
|
+ _this.getEntityById()
|
|
|
+ _this.isAccess()
|
|
|
} else {
|
|
|
this.$message({
|
|
|
type: 'warning',
|
|
|
message: res.data.message
|
|
|
})
|
|
|
}
|
|
|
- this.dialogCommonAuditMakeSureVisible = false
|
|
|
- this.btnloading = false
|
|
|
+ _this.dialogCommonAuditMakeSureVisible = false
|
|
|
+ _this.btnloading = false
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
})
|
|
|
@@ -1563,22 +1566,24 @@
|
|
|
}
|
|
|
this.btnloading = true
|
|
|
console.log('业务处室专业审批, 提交参数: ', params)
|
|
|
+ let _this = this
|
|
|
api2.businessOfficeSeparateAuditEntity(this.formData.Id, params, this.$axios).then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
console.log('审批提交,成功返回')
|
|
|
- // this.initDatas()
|
|
|
this.$message({
|
|
|
type: 'success',
|
|
|
message: res.data.message
|
|
|
})
|
|
|
- this.$router.push('/')
|
|
|
+ _this.btnloading = false
|
|
|
+ _this.dialogBusinessOfficeSeparateAuditVisible = false
|
|
|
+ _this.getEntityById()
|
|
|
+ _this.isAccess()
|
|
|
} else {
|
|
|
this.$message({
|
|
|
type: 'warning',
|
|
|
message: res.data.message
|
|
|
})
|
|
|
}
|
|
|
- this.dialogBusinessOfficeSeparateAuditVisible = false
|
|
|
this.btnloading = false
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
@@ -1601,16 +1606,18 @@
|
|
|
result: this.shenheForm.SuccessStatus,
|
|
|
AuditRemark: this.shenheForm.AuditorRemark
|
|
|
}
|
|
|
+ let _this = this
|
|
|
api2.commonAuditEntity(this.formData.Id, params, this.$axios).then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
console.log('审批提交,成功返回')
|
|
|
- // this.initDatas()
|
|
|
this.$message({
|
|
|
type: 'success',
|
|
|
message: res.data.message
|
|
|
})
|
|
|
- this.dialogConcentrateAuditVisible = false
|
|
|
- this.$router.push('/')
|
|
|
+ _this.dialogConcentrateAuditVisible = false
|
|
|
+ _this.btnloading = false
|
|
|
+ _this.getEntityById()
|
|
|
+ _this.isAccess()
|
|
|
} else {
|
|
|
this.$message({
|
|
|
type: 'warning',
|
|
|
@@ -1665,6 +1672,7 @@
|
|
|
payStatus: this.payStatus
|
|
|
}
|
|
|
console.log('交费结果确认提交参数:', this.certId, this.AppendId)
|
|
|
+ let _this = this
|
|
|
api2.updatePayStatus(this.AppendId, params, this.$axios).then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
console.log('交费成功')
|
|
|
@@ -1672,15 +1680,19 @@
|
|
|
type: 'success',
|
|
|
message: res.data.message
|
|
|
})
|
|
|
- this.initDatas()
|
|
|
+ _this.dialogConcentrateAuditVisible = false
|
|
|
+ _this.loading = false
|
|
|
+ _this.btnloading = false
|
|
|
+ _this.getEntityById()
|
|
|
+ _this.isAccess()
|
|
|
} else {
|
|
|
this.$message({
|
|
|
type: 'warning',
|
|
|
message: res.data.message
|
|
|
})
|
|
|
}
|
|
|
- this.dialogSecUnitSeparateVisible = false
|
|
|
- this.loading = false
|
|
|
+ _this.dialogSecUnitSeparateVisible = false
|
|
|
+ _this.loading = false
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
})
|