|
|
@@ -11,7 +11,8 @@
|
|
|
<i class="icon icon-table2"></i> 信息
|
|
|
</span>
|
|
|
<span style="float: right;">
|
|
|
- <el-button type="primary" plain size="mini">年审申请</el-button> <!--v-if="formData.Step>=5"-->
|
|
|
+ <el-button type="primary" plain size="mini">年审申请</el-button>
|
|
|
+ <!--v-if="formData.Step>=5"-->
|
|
|
<el-button type="primary" plain size="mini">增项申请</el-button>
|
|
|
<router-link :to="'/oilsupplier/supplier/techlist'">
|
|
|
<el-button type="primary" size="mini" style="margin-left: 8px">返回</el-button>
|
|
|
@@ -60,11 +61,9 @@
|
|
|
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="单位关系">
|
|
|
- <el-select ref="SpecType" multiple v-model="UnitRelationAry" filterable placeholder="请选择" style="width: 100%">
|
|
|
- <el-option
|
|
|
- v-for="item in UnitRelationOptions"
|
|
|
- :key="item.Id"
|
|
|
- :label="item.Key"
|
|
|
+ <el-select ref="SpecType" multiple v-model="UnitRelationAry" filterable placeholder="请选择"
|
|
|
+ style="width: 100%">
|
|
|
+ <el-option v-for="item in UnitRelationOptions" :key="item.Id" :label="item.Key"
|
|
|
:value="item.Value">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
@@ -299,7 +298,7 @@
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="质量管理体系认证情况">
|
|
|
<el-input v-model="formData.QualitySystemCert" placeholder="请输入" type="textarea"
|
|
|
- style="width: 100%"></el-input>
|
|
|
+ style="width: 100%"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
@@ -329,7 +328,7 @@
|
|
|
<el-col :span="16">
|
|
|
<el-form-item label="营业范围">
|
|
|
<el-input v-model="formData.QualitySystemCert" placeholder="请输入" type="textarea"
|
|
|
- style="width: 100%"></el-input>
|
|
|
+ style="width: 100%"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
@@ -471,7 +470,7 @@
|
|
|
|
|
|
<el-tab-pane label="准入范围及资质" :disabled="formData.Step < 2">
|
|
|
<business-list ref="businessList" :data="businessList" :SupplierCertId="certId" :SupplierId="serviceId"
|
|
|
- :SupplierTypeCode="classId" height="360px" style="margin-top: 20px"></business-list>
|
|
|
+ :SupplierTypeCode="classId" @close="nexStepCB" height="360px" style="margin-top: 20px"></business-list>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
<el-tab-pane label="审批流程">
|
|
|
@@ -479,7 +478,8 @@
|
|
|
<div slot="header" class="clearfix">
|
|
|
<span>审批流程</span>
|
|
|
<span style="float: right;">
|
|
|
- <el-button type="primary" size="mini" :disabled="formDataCert.Status > 0" :loading="applyLoading" @click="AuditEntity">提交审批
|
|
|
+ <el-button type="primary" size="mini" :disabled="formDataCert.Status > 0" :loading="applyLoading"
|
|
|
+ @click="AuditEntity">提交审批
|
|
|
</el-button>
|
|
|
</span>
|
|
|
</div>
|
|
|
@@ -527,7 +527,7 @@
|
|
|
},
|
|
|
name: 'oilsupplierEdit',
|
|
|
|
|
|
- data () {
|
|
|
+ data() {
|
|
|
return {
|
|
|
applyLoading: false,
|
|
|
equipmentList: [], //企业主要装备情况
|
|
|
@@ -643,7 +643,7 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- created () {
|
|
|
+ created() {
|
|
|
this.serviceId = this.$route.params.opera
|
|
|
this.certId = this.$route.query.certid
|
|
|
this.getDictOptions()
|
|
|
@@ -697,7 +697,7 @@
|
|
|
}
|
|
|
},
|
|
|
|
|
|
- getDictOptions () {
|
|
|
+ getDictOptions() {
|
|
|
api.getDictList(this.$axios).then(res => {
|
|
|
this.UnitRelationOptions = res.data.items['UnitRelation']
|
|
|
this.getCityList(res.data.items['GaodeMapChinaAreas'])
|
|
|
@@ -705,15 +705,17 @@
|
|
|
console.error(err)
|
|
|
})
|
|
|
},
|
|
|
- getCityList (areaJson) {
|
|
|
- let resData = JSON.parse(areaJson)
|
|
|
- let countstr = JSON.stringify(resData.districts[0].districts)
|
|
|
- countstr = countstr.replace(/\,\"districts\"\:\[\]/g,'')
|
|
|
- this.countryoptions = JSON.parse(countstr)
|
|
|
+ getCityList() {
|
|
|
+ this.$axios.get('http://restapi.amap.com/v3/config/district?key=13f54664eb5a883195604db09d3fba5c&subdistrict=3')
|
|
|
+ .then((res) => {
|
|
|
+ let countstr = JSON.stringify(res.data.districts[0].districts)
|
|
|
+ countstr = countstr.replace(/\,\"districts\"\:\[\]/g, '')
|
|
|
+ this.countryoptions = JSON.parse(countstr)
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
//保存信息
|
|
|
- saveEntity () {
|
|
|
+ saveEntity() {
|
|
|
this.$refs['EntityForm'].validate((valid) => {
|
|
|
if (valid) {
|
|
|
//this.formData.WellNo = this.$refs.selectWellNo.selectedLabel + '';
|
|
|
@@ -798,7 +800,7 @@
|
|
|
return true
|
|
|
},
|
|
|
//企业人员结构情况
|
|
|
- updateNumberEntity () {
|
|
|
+ updateNumberEntity() {
|
|
|
if (!this.CheckCompanyBase()) {
|
|
|
return false
|
|
|
}
|
|
|
@@ -844,6 +846,10 @@
|
|
|
});
|
|
|
},
|
|
|
|
|
|
+ nexStepCB() {
|
|
|
+ this.formData.Step += 1
|
|
|
+ },
|
|
|
+
|
|
|
jstimehandle(val) {
|
|
|
if (val === '') {
|
|
|
return '----'
|