|
@@ -208,9 +208,9 @@
|
|
|
<el-form ref="searchForm" label-width="110px">
|
|
<el-form ref="searchForm" label-width="110px">
|
|
|
<el-row>
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
|
- <el-form-item label="单位名称">
|
|
|
|
|
|
|
+ <el-form-item label="二级单位">
|
|
|
<el-select ref="selectauditOrg" v-model="FirstAudit" placeholder="请选择"
|
|
<el-select ref="selectauditOrg" v-model="FirstAudit" placeholder="请选择"
|
|
|
- style="width: 90%" filterable allow-create default-first-option>
|
|
|
|
|
|
|
+ style="width: 90%" filterable allow-create default-first-option @change="auditOrgChang">
|
|
|
<el-option
|
|
<el-option
|
|
|
v-for="item in organizeOption"
|
|
v-for="item in organizeOption"
|
|
|
:key="item.Id"
|
|
:key="item.Id"
|
|
@@ -220,6 +220,19 @@
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+ <el-col :span="24">
|
|
|
|
|
+ <el-form-item label="审批人">
|
|
|
|
|
+ <el-select ref="selectAuditer" v-model="auditer" placeholder="请选择"
|
|
|
|
|
+ style="width: 90%" filterable allow-create default-first-option>
|
|
|
|
|
+ <el-option
|
|
|
|
|
+ v-for="item in auditerOption"
|
|
|
|
|
+ :key="item.id"
|
|
|
|
|
+ :label="item.realname"
|
|
|
|
|
+ :value="item.id">
|
|
|
|
|
+ </el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
@@ -280,6 +293,8 @@
|
|
|
winningList: [], // 近三年获得省部级及以上主要技术、管理成果、获奖项目
|
|
winningList: [], // 近三年获得省部级及以上主要技术、管理成果、获奖项目
|
|
|
businessList: [], // 准入业务
|
|
businessList: [], // 准入业务
|
|
|
organizeOption: [], // 审批部门
|
|
organizeOption: [], // 审批部门
|
|
|
|
|
+ auditerOption: [], // 审批人
|
|
|
|
|
+ auditer: '',
|
|
|
serviceId: '',
|
|
serviceId: '',
|
|
|
certId: '',
|
|
certId: '',
|
|
|
classId: '01',
|
|
classId: '01',
|
|
@@ -479,10 +494,10 @@
|
|
|
this.$refs['GoodsInfo'].LinkCityAry.push(this.formData.LinkProvince)
|
|
this.$refs['GoodsInfo'].LinkCityAry.push(this.formData.LinkProvince)
|
|
|
this.$refs['GoodsInfo'].LinkCityAry.push(this.formData.LinkCity)
|
|
this.$refs['GoodsInfo'].LinkCityAry.push(this.formData.LinkCity)
|
|
|
this.$refs['GoodsInfo'].LinkCityAry.push(this.formData.LinkStreet)
|
|
this.$refs['GoodsInfo'].LinkCityAry.push(this.formData.LinkStreet)
|
|
|
- /*this.$refs['GoodsInfo'].UnitRelationAry = []
|
|
|
|
|
|
|
+ /* this.$refs['GoodsInfo'].UnitRelationAry = []
|
|
|
if (this.formData.SpecTypeCode.length > 0) {
|
|
if (this.formData.SpecTypeCode.length > 0) {
|
|
|
this.$refs['GoodsInfo'].UnitRelationAry = this.formData.SpecTypeCode.split(',')
|
|
this.$refs['GoodsInfo'].UnitRelationAry = this.formData.SpecTypeCode.split(',')
|
|
|
- }*/
|
|
|
|
|
|
|
+ } */
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
isCanUpdateSupplier (supplierId) {
|
|
isCanUpdateSupplier (supplierId) {
|
|
@@ -530,10 +545,10 @@
|
|
|
this.$refs['GoodsInfo'].LinkCityAry.push(this.formData.LinkProvince)
|
|
this.$refs['GoodsInfo'].LinkCityAry.push(this.formData.LinkProvince)
|
|
|
this.$refs['GoodsInfo'].LinkCityAry.push(this.formData.LinkCity)
|
|
this.$refs['GoodsInfo'].LinkCityAry.push(this.formData.LinkCity)
|
|
|
this.$refs['GoodsInfo'].LinkCityAry.push(this.formData.LinkStreet)
|
|
this.$refs['GoodsInfo'].LinkCityAry.push(this.formData.LinkStreet)
|
|
|
- /*this.$refs['GoodsInfo'].UnitRelationAry = []
|
|
|
|
|
|
|
+ /* this.$refs['GoodsInfo'].UnitRelationAry = []
|
|
|
if (this.formData.SpecTypeCode.length > 0) {
|
|
if (this.formData.SpecTypeCode.length > 0) {
|
|
|
this.$refs['GoodsInfo'].UnitRelationAry = this.formData.SpecTypeCode.split(',')
|
|
this.$refs['GoodsInfo'].UnitRelationAry = this.formData.SpecTypeCode.split(',')
|
|
|
- }*/
|
|
|
|
|
|
|
+ } */
|
|
|
|
|
|
|
|
this.entrydetail.business = this.certId
|
|
this.entrydetail.business = this.certId
|
|
|
this.entrydetail.instance = this.formDataCert.WorkflowId
|
|
this.entrydetail.instance = this.formDataCert.WorkflowId
|
|
@@ -562,6 +577,22 @@
|
|
|
console.error(err)
|
|
console.error(err)
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
+ auditOrgChang (val) {
|
|
|
|
|
+ this.auditerOption = []
|
|
|
|
|
+ this.auditer = ''
|
|
|
|
|
+ api.getAuditerByDept(val, this.$axios).then(res => {
|
|
|
|
|
+ if (res.data.item.length === 0) {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: '该单位未设置审批人员!'
|
|
|
|
|
+ })
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ this.auditerOption = res.data.item
|
|
|
|
|
+ }).catch(err => {
|
|
|
|
|
+ console.error(err)
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
/* getCityList(val) {
|
|
/* getCityList(val) {
|
|
|
let resultData = JSON.parse(val)
|
|
let resultData = JSON.parse(val)
|
|
|
let countstr = JSON.stringify(resultData.districts[0].districts)
|
|
let countstr = JSON.stringify(resultData.districts[0].districts)
|