|
|
@@ -13,17 +13,17 @@
|
|
|
<span style="float: right;">
|
|
|
<!--<el-button type="primary" size="mini" style="margin-left: 8px" @click="allocationBtn" v-if="this.formData.Status == '3'">提交专业审批</el-button>-->
|
|
|
<!--<el-button type="primary" size="mini" style="margin-left: 8px" @click="AuditEntity" v-if="auditBtn && this.formData.Status != '6'">{{auditTitle}}</el-button>-->
|
|
|
- <el-button type="primary" size="mini" style="margin-left: 8px" @click="AuditEntity"
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="AuditEntity()"
|
|
|
v-if="auditBtn && this.formData.Status == '1'">初审</el-button>
|
|
|
- <el-button type="primary" size="mini" style="margin-left: 8px" @click="AuditEntity"
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="AuditEntity()"
|
|
|
v-if="auditBtn && this.formData.Status == '2'">复审</el-button>
|
|
|
- <el-button type="primary" size="mini" style="margin-left: 8px" @click="AuditEntity"
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="AuditEntity()"
|
|
|
v-if="auditBtn && this.formData.Status == '3'">提交专业审核</el-button>
|
|
|
- <el-button type="primary" size="mini" style="margin-left: 8px" @click="AuditEntity"
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="AuditEntity()"
|
|
|
v-if="auditBtn && this.formData.Status == '4'">专业审核</el-button>
|
|
|
- <el-button type="primary" size="mini" style="margin-left: 8px" @click="AuditEntity"
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="AuditEntity('5')"
|
|
|
v-if="auditBtn && this.formData.Status == '5'">集中评审</el-button>
|
|
|
- <el-button type="primary" size="mini" style="margin-left: 8px" @click="AuditEntity"
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="AuditEntity()"
|
|
|
v-if="this.formData.Status == '10'">分办</el-button>
|
|
|
<!--<el-button type="primary" size="mini" style="margin-left: 8px" @click="AuditEntity" v-else>审批</el-button>-->
|
|
|
<el-button type="primary" size="mini" style="margin-left: 8px" onclick="window.history.go(-1)">返回</el-button>
|
|
|
@@ -389,6 +389,7 @@
|
|
|
|
|
|
data() {
|
|
|
return {
|
|
|
+ btnstatus: '',
|
|
|
backRemark: '',
|
|
|
textplaceholder: '审核意见须具体、明确(含企业资质、资信、能力等内容,不少于20字)',
|
|
|
equipmentList: [], // 企业主要装备情况
|
|
|
@@ -738,6 +739,7 @@
|
|
|
});
|
|
|
},
|
|
|
isAccess() {
|
|
|
+ this.auditBtn = false
|
|
|
let params = {
|
|
|
id: this.formData.CertId,
|
|
|
auditstepcode: this.auditstepcode,
|
|
|
@@ -924,8 +926,9 @@
|
|
|
})
|
|
|
},
|
|
|
|
|
|
- AuditEntity() {
|
|
|
+ AuditEntity (val) {
|
|
|
this.auditOrgChange()
|
|
|
+ this.btnstatus = val
|
|
|
if (this.formData.Status === '3') {
|
|
|
this.dialogAllocation = true
|
|
|
} else if (this.formData.Status === '1') {
|
|
|
@@ -1049,15 +1052,20 @@
|
|
|
}
|
|
|
apiCert.auditEntityFir(this.certId, audit, params, this.$axios).then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
- this.initDatas()
|
|
|
- this.dialogVisible = false
|
|
|
- this.dialogMakeSure = false
|
|
|
- this.dialogAllocation = false
|
|
|
- this.dialogMakeSure2 = false
|
|
|
+ if (this.btnstatus == '5') {
|
|
|
+ this.initDatas()
|
|
|
+ this.dialogVisible = false
|
|
|
+ this.dialogMakeSure = false
|
|
|
+ this.dialogAllocation = false
|
|
|
+ this.dialogMakeSure2 = false
|
|
|
+ }
|
|
|
this.$message({
|
|
|
type: 'success',
|
|
|
message: res.data.message
|
|
|
})
|
|
|
+ if (this.btnstatus != '5') {
|
|
|
+ this.$router.push('/')
|
|
|
+ }
|
|
|
} else {
|
|
|
this.$message({
|
|
|
type: 'warning',
|