|
@@ -21,14 +21,20 @@
|
|
|
</el-steps>
|
|
</el-steps>
|
|
|
<el-button slot="reference" plain size="mini" style="margin-left: 8px">查看进度</el-button>
|
|
<el-button slot="reference" plain size="mini" style="margin-left: 8px">查看进度</el-button>
|
|
|
</el-popover>
|
|
</el-popover>
|
|
|
- <el-button type="primary" style="margin-left: 8px;" size="mini" @click="annualAudit()"
|
|
|
|
|
|
|
+ <!-- <el-button type="primary" style="margin-left: 8px;" size="mini" @click="annualAudit()"
|
|
|
v-if="AnnualStatus == 1 ||AnnualStatus == 2 ||AnnualStatus == 4">审核
|
|
v-if="AnnualStatus == 1 ||AnnualStatus == 2 ||AnnualStatus == 4">审核
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button type="primary" style="margin-left: 8px;" size="mini" @click="profAudit()" v-if="AnnualStatus == 3">
|
|
<el-button type="primary" style="margin-left: 8px;" size="mini" @click="profAudit()" v-if="AnnualStatus == 3">
|
|
|
- 专业审核分配</el-button>
|
|
|
|
|
- <router-link :to="'/oilsupplier/annualaudit/annualfistaudit'">
|
|
|
|
|
- <el-button type="primary" size="mini" style="margin-left: 8px;">返回</el-button>
|
|
|
|
|
- </router-link>
|
|
|
|
|
|
|
+ 专业审核分配</el-button> -->
|
|
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="annualAudit()"
|
|
|
|
|
+ v-if="auditBtn && AnnualStatus == '1'">初审</el-button>
|
|
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="annualAudit()"
|
|
|
|
|
+ v-if="auditBtn && AnnualStatus == '2'">复审</el-button>
|
|
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="profAudit()"
|
|
|
|
|
+ v-if="auditBtn && AnnualStatus == '3'">提交专业审核</el-button>
|
|
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="annualAudit()"
|
|
|
|
|
+ v-if="auditBtn && AnnualStatus == '4'">专业审核</el-button>
|
|
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px;" onclick="window.history.go(-1)">返回</el-button>
|
|
|
</span>
|
|
</span>
|
|
|
</div>
|
|
</div>
|
|
|
<el-tabs tab-position="top" style="margin-top: 10px">
|
|
<el-tabs tab-position="top" style="margin-top: 10px">
|
|
@@ -420,6 +426,8 @@
|
|
|
instance: '',
|
|
instance: '',
|
|
|
AnnualStatus: ''
|
|
AnnualStatus: ''
|
|
|
},
|
|
},
|
|
|
|
|
+ anndata: [],
|
|
|
|
|
+ auditstepcode: '',
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
@@ -430,14 +438,12 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
this.AnnualStatus = this.$route.query.AnnualStatus
|
|
this.AnnualStatus = this.$route.query.AnnualStatus
|
|
|
- this.entrydetail.AnnualStatus = this.AnnualStatus
|
|
|
|
|
this.WorkflowId = this.$route.query.WorkflowId + ''
|
|
this.WorkflowId = this.$route.query.WorkflowId + ''
|
|
|
this.annualId = this.$route.query.annualId
|
|
this.annualId = this.$route.query.annualId
|
|
|
this.Step = parseInt(this.$route.query.Step)
|
|
this.Step = parseInt(this.$route.query.Step)
|
|
|
//this.getDictOptions()
|
|
//this.getDictOptions()
|
|
|
this.formData.Id = this.serviceId
|
|
this.formData.Id = this.serviceId
|
|
|
this.initDatas()
|
|
this.initDatas()
|
|
|
-
|
|
|
|
|
this.getorgtreelist()
|
|
this.getorgtreelist()
|
|
|
//this.getorgtreelistbydeptid()
|
|
//this.getorgtreelistbydeptid()
|
|
|
},
|
|
},
|
|
@@ -453,12 +459,43 @@
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ getannualdata() {
|
|
|
|
|
+ annualapi.getEntity(this.annualId, this.$axios).then(res => {
|
|
|
|
|
+ this.anndata = res.data
|
|
|
|
|
+ this.AnnualStatus
|
|
|
|
|
+ if (this.anndata) {
|
|
|
|
|
+ this.entrydetail.business = this.anndata[0].BusinessKey + ''
|
|
|
|
|
+ this.entrydetail.instance = this.anndata[0].WorkFlowId + ''
|
|
|
|
|
+ this.entrydetail.Status = this.anndata[0].Status + ''
|
|
|
|
|
+ this.AnnualStatus = this.anndata[0].Status + ''
|
|
|
|
|
+ if (this.anndata[0].Status === '1') {
|
|
|
|
|
+ this.auditstepcode = 'FIRST_TRIAL'
|
|
|
|
|
+ } else if (this.anndata[0].Status === '2') {
|
|
|
|
|
+ this.auditstepcode = 'SECOND_TRIAL'
|
|
|
|
|
+ } else if (this.anndata[0].Status === '3') {
|
|
|
|
|
+ this.auditstepcode = 'PROF_RECE'
|
|
|
|
|
+ } else if (this.anndata[0].Status === '4') {
|
|
|
|
|
+ this.auditstepcode = 'PROF_AUDIT'
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ this.isAccess()
|
|
|
|
|
+ }).catch(err => {
|
|
|
|
|
+ console.error(err)
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ isAccess() {
|
|
|
|
|
+ apiCert.isAccess(this.auditstepcode, this.$axios).then(res => {
|
|
|
|
|
+ this.auditBtn = res.data
|
|
|
|
|
+ }).catch(err => {
|
|
|
|
|
+ console.log(err)
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
changeFormData(fdata) {
|
|
changeFormData(fdata) {
|
|
|
if (!this.certId) {
|
|
if (!this.certId) {
|
|
|
this.SetFormData(fdata)
|
|
this.SetFormData(fdata)
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- radioChange () {
|
|
|
|
|
|
|
+ radioChange() {
|
|
|
if (this.shenheForm.SuccessStatus === 1) {
|
|
if (this.shenheForm.SuccessStatus === 1) {
|
|
|
this.textplaceholder = '审核意见须具体、明确(含企业资质、资信、能力等内容,不少于20字)'
|
|
this.textplaceholder = '审核意见须具体、明确(含企业资质、资信、能力等内容,不少于20字)'
|
|
|
} else {
|
|
} else {
|
|
@@ -580,9 +617,6 @@
|
|
|
this.$refs['winningList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
|
|
this.$refs['winningList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
|
|
|
this.$refs['businessList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
|
|
this.$refs['businessList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
|
|
|
this.$refs['subfileList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
|
|
this.$refs['subfileList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
|
|
|
- this.entrydetail.business = this.annualId
|
|
|
|
|
- this.entrydetail.instance = this.WorkflowId
|
|
|
|
|
- this.backhistroy.classId = this.formData.SupplierTypeCode
|
|
|
|
|
if (this.certId && this.WorkflowId) {
|
|
if (this.certId && this.WorkflowId) {
|
|
|
this.$refs['WfHistory'].getHistoryTask() /*刷新工作流*/
|
|
this.$refs['WfHistory'].getHistoryTask() /*刷新工作流*/
|
|
|
}
|
|
}
|
|
@@ -690,8 +724,6 @@
|
|
|
})
|
|
})
|
|
|
this.dialogMakeSure = false
|
|
this.dialogMakeSure = false
|
|
|
this.dialogProfAudit = false
|
|
this.dialogProfAudit = false
|
|
|
- this.AnnualStatus = -1
|
|
|
|
|
- this.entrydetail.AnnualStatus = this.AnnualStatus
|
|
|
|
|
} else {
|
|
} else {
|
|
|
this.$message({
|
|
this.$message({
|
|
|
type: 'warning',
|
|
type: 'warning',
|