|
|
@@ -42,10 +42,10 @@
|
|
|
<el-button type="primary"
|
|
|
size="mini"
|
|
|
@click="commitAudit()"
|
|
|
- v-if="parseInt(IsCompanyUser) === 1 && parseInt(activeName) >= 3 || Number(this.formData.Status) <= 0">
|
|
|
+ v-if="parseInt(IsCompanyUser) === 1 && parseInt(activeName) >= 3 && formData.Status <= 0">
|
|
|
提交
|
|
|
</el-button>
|
|
|
- <el-button v-if="parseInt(IsCompanyUser) !== 1 && Number(this.formData.Status) <= 0" type="primary" size="mini" style="float: right;margin-left: 25px" @click="commitAudit()">
|
|
|
+ <el-button v-if="parseInt(IsCompanyUser) !== 1 && formData.Status <= 0" type="primary" size="mini" style="float: right;margin-left: 25px" @click="commitAudit()">
|
|
|
提交审批
|
|
|
</el-button>
|
|
|
</span>
|
|
|
@@ -72,7 +72,7 @@
|
|
|
<el-button type="primary"
|
|
|
size="mini"
|
|
|
@click="saveEntity"
|
|
|
- v-if="Number(formDataCert.Status) <= 0">保存基本信息
|
|
|
+ v-if="formDataCert.Status <= 0">保存基本信息
|
|
|
</el-button>
|
|
|
</span>
|
|
|
</div>
|
|
|
@@ -350,7 +350,7 @@
|
|
|
<el-button type="primary"
|
|
|
size="mini"
|
|
|
@click="commitAudit()"
|
|
|
- v-if="parseInt(IsCompanyUser) === 1 && parseInt(activeName) >=3 && Number(this.formData.Status) <= 0">
|
|
|
+ v-if="parseInt(IsCompanyUser) === 1 && parseInt(activeName) >=3 && formData.Status <= 0">
|
|
|
提交
|
|
|
</el-button>
|
|
|
</div>
|
|
|
@@ -1817,15 +1817,16 @@ export default {
|
|
|
this.auditform.CertId = this.certId
|
|
|
this.loading = true
|
|
|
console.log('企业用户提交参数', this.auditform)
|
|
|
+ let _this = this
|
|
|
apiCert.companyAuditEntity(this.certId, this.auditform, this.$axios)
|
|
|
.then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
// 保存成功后,初始化数据,变成修改
|
|
|
- this.initDatas()
|
|
|
- if (this.$refs['WfHistory']) {
|
|
|
- this.$refs['WfHistory'].getHistoryTask()
|
|
|
- }
|
|
|
- this.dialogVisibleCom = false
|
|
|
+ _this.initDatas()
|
|
|
+ if (_this.$refs['WfHistory']) {
|
|
|
+ _this.$refs['WfHistory'].getHistoryTask()
|
|
|
+ }
|
|
|
+ _this.dialogVisibleCom = false
|
|
|
this.$message({
|
|
|
type: 'success',
|
|
|
message: res.data.message
|