|
|
@@ -664,7 +664,7 @@
|
|
|
</el-form>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button size="mini" @click="AuditdialogShow = false">取 消</el-button>
|
|
|
- <el-button size="mini" type="primary" @click="AuditEntity">确定</el-button>
|
|
|
+ <el-button size="mini" type="primary" @click="AuditEntity" :loading="btnloading">确定</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
|
|
|
@@ -703,7 +703,7 @@
|
|
|
</el-form>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button size="mini" @click="ComAuditdialogShow = false">取 消</el-button>
|
|
|
- <el-button size="mini" type="primary" @click="SubpEntity">确定</el-button>
|
|
|
+ <el-button size="mini" type="primary" @click="SubpEntity" :loading="btnloading">确定</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
|
|
|
@@ -916,6 +916,7 @@
|
|
|
}
|
|
|
}
|
|
|
return {
|
|
|
+ btnloading: false,
|
|
|
fileList: [],
|
|
|
myitemsshow: false,
|
|
|
selectDept: 100000151,
|
|
|
@@ -1621,10 +1622,10 @@
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- this.applyLoading = true
|
|
|
this.auditform.FirstAuditName = this.UnitOrg
|
|
|
this.auditform.CertId = this.formData.Id
|
|
|
this.auditform.TypeCode = '02'
|
|
|
+ this.btnloading = true
|
|
|
api2.auditEntity(this.formData.Id, this.auditform, this.$axios).then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
// 保存成功后,初始化数据,变成修改
|
|
|
@@ -1640,7 +1641,7 @@
|
|
|
message: res.data.message
|
|
|
})
|
|
|
}
|
|
|
- this.applyLoading = false
|
|
|
+ this.btnloading = false
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
})
|
|
|
@@ -2655,11 +2656,11 @@
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
- this.applyLoading = true
|
|
|
this.auditform.FirstAuditName = this.auditer
|
|
|
this.auditform.CertId = this.formData.Id
|
|
|
this.auditform.SecondAudit = this.fushenauditer
|
|
|
this.auditform.ThirdAudit = this.majorDept[this.majorDept.length - 1]
|
|
|
+ this.btnloading = true
|
|
|
api2.auditEntity(this.formData.Id, this.auditform, this.$axios).then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
// 保存成功后,初始化数据,变成修改
|
|
|
@@ -2675,7 +2676,6 @@
|
|
|
message: res.data.message
|
|
|
})
|
|
|
}
|
|
|
- this.applyLoading = false
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
})
|
|
|
@@ -2689,7 +2689,6 @@
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- this.applyLoading = true
|
|
|
this.auditform.FirstAuditName = this.auditer
|
|
|
this.auditform.CertId = this.formData.Id
|
|
|
api2.auditEntity(this.formData.Id, this.auditform, this.$axios).then(res => {
|
|
|
@@ -2707,7 +2706,6 @@
|
|
|
message: res.data.message
|
|
|
})
|
|
|
}
|
|
|
- this.applyLoading = false
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
})
|