|
|
@@ -35,7 +35,8 @@
|
|
|
<div slot="header" class="clearfix">
|
|
|
<span>供方基本信息表</span>
|
|
|
<span style="float: right;">
|
|
|
- <el-button type="primary" size="mini" @click="saveEntity">保存基本信息</el-button>
|
|
|
+ <el-button type="primary" size="mini" @click="saveEntity" v-if="formDataCert.Status == 0">保存基本信息
|
|
|
+ </el-button>
|
|
|
</span>
|
|
|
</div>
|
|
|
<tech-info ref="TechInfo" :formData.sync="formData" :dictData.sync="dictData" :authUser="authUser"
|
|
|
@@ -49,7 +50,8 @@
|
|
|
<div slot="header" class="clearfix">
|
|
|
<span>企业人员结构情况</span>
|
|
|
<span style="float: right;">
|
|
|
- <el-button type="primary" size="mini" @click="updateNumberEntity">保存人员结构情况</el-button>
|
|
|
+ <el-button type="primary" size="mini" @click="updateNumberEntity" v-if="formDataCert.Status == 0">
|
|
|
+ 保存人员结构情况</el-button>
|
|
|
</span>
|
|
|
</div>
|
|
|
|
|
|
@@ -131,48 +133,52 @@
|
|
|
<el-card class="box-card" style="margin-top: 10px;">
|
|
|
<div slot="header" class="clearfix">
|
|
|
<span>企业主要装备情况</span>
|
|
|
- <el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog">添加</el-button>
|
|
|
+ <el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog"
|
|
|
+ v-if="formDataCert.Status == 0">添加</el-button>
|
|
|
</div>
|
|
|
- <equipment-list ref="equipmentList" :data="equipmentList" :SupplierCertId="certId"
|
|
|
- :SupplierTypeCode="classId" height="360px" style="margin-top: 20px"></equipment-list>
|
|
|
+ <equipment-list ref="equipmentList" :data.sync="equipmentList" :SupplierCertId="certId"
|
|
|
+ :SupplierTypeCode="classId" :canadd="add_flat" height="360px" style="margin-top: 20px"></equipment-list>
|
|
|
</el-card>
|
|
|
|
|
|
<el-card class="box-card" style="margin-top: 10px;">
|
|
|
<div slot="header" class="clearfix">
|
|
|
<span>近三年主要工程业绩</span>
|
|
|
- <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog">添加</el-button>
|
|
|
+ <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog"
|
|
|
+ v-if="formDataCert.Status == 0">添加</el-button>
|
|
|
</div>
|
|
|
- <performance-list ref="performanceList" :data="performanceList" :SupplierCertId="certId"
|
|
|
- :SupplierTypeCode="classId" height="360px" style="margin-top: 20px"></performance-list>
|
|
|
+ <performance-list ref="performanceList" :data.sync="performanceList" :SupplierCertId="certId"
|
|
|
+ :SupplierTypeCode="classId" :canadd="add_flat" height="360px" style="margin-top: 20px"></performance-list>
|
|
|
</el-card>
|
|
|
|
|
|
<el-card class="box-card" style="margin-top: 10px;">
|
|
|
<div slot="header" class="clearfix">
|
|
|
<span>拥有专利、专有技术及工法</span>
|
|
|
- <el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog">添加</el-button>
|
|
|
+ <el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog"
|
|
|
+ v-if="formDataCert.Status == 0">添加</el-button>
|
|
|
</div>
|
|
|
- <patent-list ref="patentList" :data="patentList" :SupplierCertId="certId" :SupplierTypeCode="classId"
|
|
|
- height="360px" style="margin-top: 20px">
|
|
|
- </patent-list>
|
|
|
+ <patent-list ref="patentList" :data.sync="patentList" :SupplierCertId="certId" :SupplierTypeCode="classId"
|
|
|
+ :canadd="add_flat" height="360px" style="margin-top: 20px"></patent-list>
|
|
|
</el-card>
|
|
|
|
|
|
<el-card class="box-card" style="margin-top: 10px;">
|
|
|
<div slot="header" class="clearfix">
|
|
|
<span>近三年获得省部级及以上主要技术、管理成果、获奖项目</span>
|
|
|
- <el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog">添加</el-button>
|
|
|
+ <el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog"
|
|
|
+ v-if="formDataCert.Status == 0">添加</el-button>
|
|
|
</div>
|
|
|
- <winning-list ref="winningList" :data="winningList" :SupplierCertId="certId" :SupplierTypeCode="classId"
|
|
|
- height="360px" style="margin-top: 20px">
|
|
|
+ <winning-list ref="winningList" :data.sync="winningList" :SupplierCertId="certId" :SupplierTypeCode="classId"
|
|
|
+ :canadd="add_flat" height="360px" style="margin-top: 20px">
|
|
|
</winning-list>
|
|
|
</el-card>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
<el-tab-pane label="企业资质" :disabled="!certId">
|
|
|
- <business-list ref="businessList" :data="businessList" :SupplierCertId="certId" :SupplierId="serviceId"
|
|
|
- :SupplierTypeCode="classId" @close="AuditEntity" height="360px" style="margin-top: 20px"></business-list>
|
|
|
+ <business-list ref="businessList" :data.sync="businessList" :SupplierCertId="certId" :SupplierId="serviceId"
|
|
|
+ :SupplierTypeCode="classId" :canadd="add_flat" @close="AuditEntity" height="360px" style="margin-top: 20px">
|
|
|
+ </business-list>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
- <el-tab-pane label="审批流程">
|
|
|
+ <el-tab-pane label="审批流程" v-if="formDataCert.Status > 0">
|
|
|
<el-card class="box-card" style="height: 800px">
|
|
|
<div slot="header" class="clearfix">
|
|
|
<span>审批流程</span>
|
|
|
@@ -185,7 +191,7 @@
|
|
|
<wf-history ref="WfHistory" :entryinfo="entrydetail"></wf-history>
|
|
|
</el-card>
|
|
|
</el-tab-pane>
|
|
|
- <el-tab-pane label="供方缴费">
|
|
|
+ <el-tab-pane label="供方缴费" v-if="formDataCert.Status == 5">
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
|
</el-card>
|
|
|
@@ -338,6 +344,7 @@
|
|
|
Status: 0,
|
|
|
WorkflowId: ''
|
|
|
},
|
|
|
+ add_flat: true,
|
|
|
entrydetail: {
|
|
|
process: 'oil_supplier_apply',
|
|
|
business: '',
|
|
|
@@ -473,6 +480,9 @@
|
|
|
this.formDataCert.DesignerTotal = this.formData.DesignerTotal
|
|
|
this.formDataCert.SkillerTotal = this.formData.SkillerTotal
|
|
|
this.formDataCert.Status = this.formData.Status
|
|
|
+ if (this.formData.Status > 0) {
|
|
|
+ this.add_flat = false
|
|
|
+ }
|
|
|
this.formDataCert.WorkflowId = this.formData.WorkflowId
|
|
|
this.$refs["TechInfo"].CityAry = []
|
|
|
this.$refs["TechInfo"].CityAry.push(this.formData.Province)
|
|
|
@@ -483,6 +493,7 @@
|
|
|
this.$refs["TechInfo"].LinkCityAry.push(this.formData.LinkCity)
|
|
|
this.$refs["TechInfo"].LinkCityAry.push(this.formData.LinkStreet)
|
|
|
this.$refs["TechInfo"].UnitRelationAry = []
|
|
|
+
|
|
|
if (this.formData.SpecTypeCode.length > 0) {
|
|
|
this.$refs["TechInfo"].UnitRelationAry = this.formData.SpecTypeCode.split(',')
|
|
|
}
|
|
|
@@ -492,11 +503,11 @@
|
|
|
if (this.certId && this.formDataCert.WorkflowId) {
|
|
|
this.$refs['WfHistory'].getHistoryTask() /*刷新工作流*/
|
|
|
}
|
|
|
- this.$refs["equipmentList"].getvalue(this.formData.Id,this.formData.SupplierTypeCode,this.certId)
|
|
|
- this.$refs["performanceList"].getvalue(this.formData.Id,this.formData.SupplierTypeCode,this.certId)
|
|
|
- this.$refs["patentList"].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["equipmentList"].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
|
|
|
+ this.$refs["performanceList"].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
|
|
|
+ this.$refs["patentList"].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)
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
});
|