feat: There is no way the,
This commit is contained in:
@@ -189,9 +189,15 @@
|
||||
<el-form-item label="关联模块--卡车VPPS编码" title="关联模块--卡车VPPS编码" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.KCVPPSBMBUSS" :disabled="disabledState"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="模块结构单元变型号" title="模块结构单元变型号" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.DYBXHBUSS" :disabled="disabledState"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="模块结构单元变型号(卡车)" title="模块结构单元变型号" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.DYBXHBUSS" :disabled="disabledState"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="模块结构单元变型号(乘用车)" title="模块结构单元变型号(乘用车)" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.CYCDYBXHBUSS" :disabled="disabledState"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="体系类别" prop="TXLBBUSS" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.TXLBBUSS" :disabled="disabledState" clearable></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="适用车型" prop="SYCXCLASS" class="add-form-item form-item-disabled">
|
||||
@@ -220,12 +226,12 @@
|
||||
<el-form-item label="关联模块--卡车VPPS编码" prop="KCVPPSCNBUSS" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.KCVPPSCNBUSS" clearable :disabled="true"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="模块结构单元名称" prop="DYMCBUSS" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.DYMCBUSS" clearable :disabled="true"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="体系类别" prop="TXLBBUSS" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.TXLBBUSS" :disabled="disabledState" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="模块结构单元名称(卡车)" prop="DYMCBUSS" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.DYMCBUSS" clearable :disabled="true"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="模块结构单元名称(乘用车)" prop="CYCDYMCBUSS" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.CYCDYMCBUSS" clearable :disabled="true"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
@@ -829,44 +835,57 @@ export default {
|
||||
this.modelOptions = res.data
|
||||
})
|
||||
},
|
||||
async getDataAsync(){
|
||||
let res = await this.getDicTypeListCode()
|
||||
if(res && res.data){
|
||||
this.countryOptions = res.data.COUNTRY
|
||||
this.applyCountryOptions = res.data.COUNTRY
|
||||
this.regionOptions = res.data.REGION // 区域
|
||||
this.standStateOptions = res.data.BUSSSTATE
|
||||
this.energyKindOptions = res.data.ENERGYTYPES
|
||||
this.standGeneraOptions = res.data.BUSSBIGCLASS
|
||||
this.standSubclassOptions = res.data.BUSSFINECLASS
|
||||
this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别
|
||||
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
|
||||
this.standStateOptions = res.data.TEXTSTATUSBUSS // 文本状态
|
||||
this.standSystemOptions = res.data.TXLBBUSS // 标准体系
|
||||
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
|
||||
this.categoryOptions = res.data.NYLXCLASS // 能源类型
|
||||
this.applyAuthOptions = res.data.SYRZCLASS // 适用认证
|
||||
this.cysdOptions = res.data.WSCYSD // 我司参与深度
|
||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
||||
this.qcdwOptions = res.data.QCDW // 起草单位
|
||||
this.qcrOptions = res.data.QCRBUSS // 起草人
|
||||
this.nylxOptions = res.data.NYLXCLASS // 能源类型
|
||||
this.syrzOptions = res.data.SYRZCLASS // 适用认证
|
||||
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
|
||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||
this.gkglbmOptions=res.data.GKGLBM;//归口管理部门
|
||||
this.cbcdOptions=res.data.DEGREESTANDARD;//采标程度
|
||||
|
||||
this.$emit('emitDataLoading',false)
|
||||
}
|
||||
},
|
||||
getDicTypeListCode(res,json) {
|
||||
return new Promise((resolve, reject) => {
|
||||
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
||||
_this: this
|
||||
}, res => {
|
||||
const history = res;
|
||||
resolve(history)
|
||||
})
|
||||
})
|
||||
},
|
||||
},
|
||||
mounted () {
|
||||
this.form = this.formSub
|
||||
this.LXDList = this.LXDListSub
|
||||
this.FSDList = this.FSDListSub
|
||||
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.countryOptions = res.data.COUNTRY
|
||||
this.applyCountryOptions = res.data.COUNTRY
|
||||
this.regionOptions = res.data.REGION // 区域
|
||||
this.standStateOptions = res.data.BUSSSTATE
|
||||
this.energyKindOptions = res.data.ENERGYTYPES
|
||||
this.standGeneraOptions = res.data.BUSSBIGCLASS
|
||||
this.standSubclassOptions = res.data.BUSSFINECLASS
|
||||
this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别
|
||||
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
|
||||
this.standStateOptions = res.data.TEXTSTATUSBUSS // 文本状态
|
||||
this.standSystemOptions = res.data.TXLBBUSS // 标准体系
|
||||
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
|
||||
this.categoryOptions = res.data.NYLXCLASS // 能源类型
|
||||
this.applyAuthOptions = res.data.SYRZCLASS // 适用认证
|
||||
this.cysdOptions = res.data.WSCYSD // 我司参与深度
|
||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
||||
this.qcdwOptions = res.data.QCDW // 起草单位
|
||||
this.qcrOptions = res.data.QCRBUSS // 起草人
|
||||
this.nylxOptions = res.data.NYLXCLASS // 能源类型
|
||||
this.syrzOptions = res.data.SYRZCLASS // 适用认证
|
||||
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
|
||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||
this.gkglbmOptions=res.data.GKGLBM;//归口管理部门
|
||||
this.cbcdOptions=res.data.DEGREESTANDARD;//采标程度
|
||||
this.setMap(this.standStateOptions)
|
||||
})
|
||||
this.busVsFunc()
|
||||
this.modelFunc()
|
||||
if(this.formSub && this.formSub.standSort && this.formSub.standSort !== ''){
|
||||
this.getDataAsync()
|
||||
this.form = this.formSub
|
||||
this.LXDList = this.LXDListSub
|
||||
this.FSDList = this.FSDListSub
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
form: {
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
:disabledState = "disabledState"
|
||||
:opinionsShow2 = "true"
|
||||
:verifySarStandard = "verifySarStandard"
|
||||
@emitDataLoading="emitDataLoading"
|
||||
@formCancel="formCancel"
|
||||
@formChoiceZRRListCancel = "formChoiceZRRListCancel"
|
||||
></formList>
|
||||
@@ -250,9 +251,6 @@ export default {
|
||||
bussFsSubUser2Name: [
|
||||
{required: true, message: "请选择企标复审人", trigger: "change"}
|
||||
],
|
||||
QCRBUSS: [
|
||||
{required: true, message: "请选择主起草人", trigger: "change"}
|
||||
],
|
||||
reviewResults: [
|
||||
{required: true, message: "请选择复审结果", trigger: "change"}
|
||||
],
|
||||
@@ -363,6 +361,9 @@ export default {
|
||||
this.LXDList = list6
|
||||
this.FSDList = list7
|
||||
},
|
||||
emitDataLoading(boo){
|
||||
this.dataLoading = boo
|
||||
},
|
||||
processTable() {
|
||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
||||
prcNum: this.$route.query.prcNum,
|
||||
@@ -404,10 +405,14 @@ export default {
|
||||
bpnId: this.$route.query.bpnId
|
||||
}).then(res => {
|
||||
let mes = JSON.parse(res.mes)
|
||||
console.log(mes)
|
||||
this.qbfsForm = mes.qbfsForm
|
||||
this.qbfsForm.WJSCRYBUSS= this.$store.getters.userInfo.userId
|
||||
this.qbfsForm.WJSCRYBUSSName= this.$store.getters.userInfo.userName
|
||||
this.qbfsForm['id'] = bringData.id
|
||||
this.qbfsForm['id'] = mes.qbfsForm.id
|
||||
this.qbfsForm['NYLXCLASS'] = this.filterObj(this.qbfsForm['NYLXCLASS'])
|
||||
this.qbfsForm['SYCXCLASS'] = this.filterObj(this.qbfsForm['SYCXCLASS'])
|
||||
this.qbfsForm['SYCPXCLASS'] = this.filterObj(this.qbfsForm['SYCPXCLASS'])
|
||||
this.FBGBUSSFileList=this.assemble(this.qbfsForm.FBGBUSS,this.qbfsForm.FBGBUSSName);
|
||||
this.BZSMBUSSFileList=this.assemble(this.qbfsForm.BZSMBUSS,this.qbfsForm.BZSMBUSSName);
|
||||
this.LSBBBUSSFileList=this.assemble(this.qbfsForm.LSBBBUSS,this.qbfsForm.LSBBBUSSName);
|
||||
@@ -459,14 +464,15 @@ export default {
|
||||
LXD:"",
|
||||
FSDName:"",
|
||||
FSD:"",
|
||||
QCRBUSSID:"",
|
||||
QCRBUSS:"",
|
||||
}
|
||||
const json = Object.assign(bringData, bringData.attrInfoMap,item,obj);
|
||||
this.qbfsForm = JSON.parse(JSON.stringify(json))
|
||||
this.qbfsForm.WJSCRYBUSS= this.$store.getters.userInfo.userId
|
||||
this.qbfsForm.WJSCRYBUSSName= this.$store.getters.userInfo.userName
|
||||
this.qbfsForm['id'] = bringData.id
|
||||
this.qbfsForm['NYLXCLASS'] = this.filterObj(this.qbfsForm['NYLXCLASS'])
|
||||
this.qbfsForm['SYCXCLASS'] = this.filterObj(this.qbfsForm['SYCXCLASS'])
|
||||
this.qbfsForm['SYCPXCLASS'] = this.filterObj(this.qbfsForm['SYCPXCLASS'])
|
||||
this.FBGBUSSFileList=this.assemble(this.qbfsForm.FBGBUSS,this.qbfsForm.FBGBUSSName);
|
||||
this.BZSMBUSSFileList=this.assemble(this.qbfsForm.BZSMBUSS,this.qbfsForm.BZSMBUSSName);
|
||||
this.LSBBBUSSFileList=this.assemble(this.qbfsForm.LSBBBUSS,this.qbfsForm.LSBBBUSSName);
|
||||
@@ -494,9 +500,18 @@ export default {
|
||||
this.verifySarStandard = true
|
||||
this.formKey++
|
||||
this.$forceUpdate()
|
||||
this.dataLoading = false
|
||||
})
|
||||
},
|
||||
filterObj(obj){
|
||||
if(obj && obj !== ''){
|
||||
if(obj instanceof Array){
|
||||
return obj;
|
||||
}else {
|
||||
return obj.split(",")
|
||||
}
|
||||
}
|
||||
return "";
|
||||
},
|
||||
handleTabs(name) {
|
||||
this.active = name;
|
||||
},
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
:disabledState = "disabledState"
|
||||
:opinionsShow2 = "true"
|
||||
:verifySarStandard = "verifySarStandard"
|
||||
@emitDataLoading="emitDataLoading"
|
||||
@formCancel="formCancel"
|
||||
@formChoiceZRRListCancel = "formChoiceZRRListCancel"
|
||||
></formList>
|
||||
@@ -427,6 +428,9 @@ export default {
|
||||
formChoiceZRRListCancel(type, title, id){
|
||||
this.choiceZRRList(type, title, id)
|
||||
},
|
||||
emitDataLoading(boo){
|
||||
this.dataLoading = boo
|
||||
},
|
||||
formCancel (form, list1,list2,list3,list4,list5,list6,list7) {
|
||||
this.qbfsForm = form
|
||||
this.FBGBUSSFileList = list1
|
||||
@@ -534,7 +538,6 @@ export default {
|
||||
this.verifySarStandard = true
|
||||
this.formKey++
|
||||
this.$forceUpdate()
|
||||
this.dataLoading = false
|
||||
})
|
||||
},
|
||||
handleTabs(name) {
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
:disabledState = "disabledState"
|
||||
:opinionsShow2 = "true"
|
||||
:verifySarStandard = "verifySarStandard"
|
||||
@emitDataLoading="emitDataLoading"
|
||||
@formCancel="formCancel"
|
||||
@formChoiceZRRListCancel = "formChoiceZRRListCancel"
|
||||
></formList>
|
||||
@@ -250,9 +251,6 @@ export default {
|
||||
bussFsSubUser2Name: [
|
||||
{required: true, message: "请选择企标复审人", trigger: "change"}
|
||||
],
|
||||
QCRBUSS: [
|
||||
{required: true, message: "请选择主起草人", trigger: "change"}
|
||||
],
|
||||
reviewResults: [
|
||||
{required: true, message: "请选择复审结果", trigger: "change"}
|
||||
],
|
||||
@@ -353,6 +351,9 @@ export default {
|
||||
formChoiceZRRListCancel(type, title, id){
|
||||
this.choiceZRRList(type, title, id)
|
||||
},
|
||||
emitDataLoading(boo){
|
||||
this.dataLoading = boo
|
||||
},
|
||||
formCancel (form, list1,list2,list3,list4,list5,list6,list7) {
|
||||
this.qbfsForm = form
|
||||
this.FBGBUSSFileList = list1
|
||||
@@ -407,7 +408,10 @@ export default {
|
||||
this.qbfsForm = mes.qbfsForm
|
||||
this.qbfsForm.WJSCRYBUSS= this.$store.getters.userInfo.userId
|
||||
this.qbfsForm.WJSCRYBUSSName= this.$store.getters.userInfo.userName
|
||||
this.qbfsForm['id'] = bringData.id
|
||||
this.qbfsForm['id'] = mes.qbfsForm.id
|
||||
this.qbfsForm['NYLXCLASS'] = this.filterObj(this.qbfsForm['NYLXCLASS'])
|
||||
this.qbfsForm['SYCXCLASS'] = this.filterObj(this.qbfsForm['SYCXCLASS'])
|
||||
this.qbfsForm['SYCPXCLASS'] = this.filterObj(this.qbfsForm['SYCPXCLASS'])
|
||||
this.FBGBUSSFileList=this.assemble(this.qbfsForm.FBGBUSS,this.qbfsForm.FBGBUSSName);
|
||||
this.BZSMBUSSFileList=this.assemble(this.qbfsForm.BZSMBUSS,this.qbfsForm.BZSMBUSSName);
|
||||
this.LSBBBUSSFileList=this.assemble(this.qbfsForm.LSBBBUSS,this.qbfsForm.LSBBBUSSName);
|
||||
@@ -459,14 +463,15 @@ export default {
|
||||
LXD:"",
|
||||
FSDName:"",
|
||||
FSD:"",
|
||||
QCRBUSSID:"",
|
||||
QCRBUSS:"",
|
||||
}
|
||||
const json = Object.assign(bringData, bringData.attrInfoMap,item,obj);
|
||||
this.qbfsForm = JSON.parse(JSON.stringify(json))
|
||||
this.qbfsForm.WJSCRYBUSS= this.$store.getters.userInfo.userId
|
||||
this.qbfsForm.WJSCRYBUSSName= this.$store.getters.userInfo.userName
|
||||
this.qbfsForm['id'] = bringData.id
|
||||
this.qbfsForm['NYLXCLASS'] = this.filterObj(this.qbfsForm['NYLXCLASS'])
|
||||
this.qbfsForm['SYCXCLASS'] = this.filterObj(this.qbfsForm['SYCXCLASS'])
|
||||
this.qbfsForm['SYCPXCLASS'] = this.filterObj(this.qbfsForm['SYCPXCLASS'])
|
||||
this.FBGBUSSFileList=this.assemble(this.qbfsForm.FBGBUSS,this.qbfsForm.FBGBUSSName);
|
||||
this.BZSMBUSSFileList=this.assemble(this.qbfsForm.BZSMBUSS,this.qbfsForm.BZSMBUSSName);
|
||||
this.LSBBBUSSFileList=this.assemble(this.qbfsForm.LSBBBUSS,this.qbfsForm.LSBBBUSSName);
|
||||
@@ -494,9 +499,18 @@ export default {
|
||||
this.verifySarStandard = true
|
||||
this.formKey++
|
||||
this.$forceUpdate()
|
||||
this.dataLoading = false
|
||||
})
|
||||
},
|
||||
filterObj(obj){
|
||||
if(obj && obj !== ''){
|
||||
if(obj instanceof Array){
|
||||
return obj;
|
||||
}else {
|
||||
return obj.split(",")
|
||||
}
|
||||
}
|
||||
return "";
|
||||
},
|
||||
handleTabs(name) {
|
||||
this.active = name;
|
||||
},
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="qbfs-step2">
|
||||
<ProcessHeader toggle>
|
||||
<template slot="proName">企标复审流程</template>
|
||||
<template slot="proNode">企标复审流程详情</template>
|
||||
<template slot="proNode">批准</template>
|
||||
</ProcessHeader>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
@@ -31,6 +31,7 @@
|
||||
:disabledState = "disabledState"
|
||||
:opinionsShow2 = "true"
|
||||
:verifySarStandard = "verifySarStandard"
|
||||
@emitDataLoading="emitDataLoading"
|
||||
@formCancel="formCancel"
|
||||
@formChoiceZRRListCancel = "formChoiceZRRListCancel"
|
||||
></formList>
|
||||
@@ -427,6 +428,9 @@ export default {
|
||||
formChoiceZRRListCancel(type, title, id){
|
||||
this.choiceZRRList(type, title, id)
|
||||
},
|
||||
emitDataLoading(boo){
|
||||
this.dataLoading = boo
|
||||
},
|
||||
formCancel (form, list1,list2,list3,list4,list5,list6,list7) {
|
||||
this.qbfsForm = form
|
||||
this.FBGBUSSFileList = list1
|
||||
|
||||
Reference in New Issue
Block a user