企标制修订计划管控流程更改
This commit is contained in:
@@ -283,7 +283,6 @@
|
|||||||
:data="standSystemOptions"
|
:data="standSystemOptions"
|
||||||
show-checkbox
|
show-checkbox
|
||||||
node-key="id"
|
node-key="id"
|
||||||
default-expand-all
|
|
||||||
check-strictly
|
check-strictly
|
||||||
:default-checked-keys="TXJGList"
|
:default-checked-keys="TXJGList"
|
||||||
:props="defaultProps">
|
:props="defaultProps">
|
||||||
@@ -591,18 +590,26 @@ export default {
|
|||||||
this.modalshowflag2 = true;
|
this.modalshowflag2 = true;
|
||||||
},
|
},
|
||||||
checkedRole2(data) {
|
checkedRole2(data) {
|
||||||
|
console.log(data);
|
||||||
let idList = "", nameList = ""
|
let idList = "", nameList = ""
|
||||||
|
let unitList = "", unitNameList = ""
|
||||||
data.forEach(item => {
|
data.forEach(item => {
|
||||||
if (nameList.length) {
|
if (nameList.length) {
|
||||||
nameList += ",";
|
nameList += ",";
|
||||||
idList += ",";
|
idList += ",";
|
||||||
|
unitList += ",";
|
||||||
|
unitNameList += ",";
|
||||||
}
|
}
|
||||||
idList += item.id;
|
idList += item.id;
|
||||||
nameList += item.name;
|
nameList += item.name;
|
||||||
|
unitList += item.institutionId
|
||||||
|
unitNameList += item.institutionName
|
||||||
});
|
});
|
||||||
if(this.roleType === '1'){
|
if(this.roleType === '1'){
|
||||||
this.$set(this.qbfsForm, 'drafter', idList)
|
this.$set(this.qbfsForm, 'drafter', idList)
|
||||||
this.$set(this.qbfsForm, 'drafterName', nameList)
|
this.$set(this.qbfsForm, 'drafterName', nameList)
|
||||||
|
this.$set(this.qbfsForm, 'unit', unitList)
|
||||||
|
this.$set(this.qbfsForm, 'unitName', unitNameList)
|
||||||
}else if(this.roleType === '2'){
|
}else if(this.roleType === '2'){
|
||||||
this.$set(this.qbfsForm, 'resPerson', idList)
|
this.$set(this.qbfsForm, 'resPerson', idList)
|
||||||
this.$set(this.qbfsForm, 'resPersonName', nameList)
|
this.$set(this.qbfsForm, 'resPersonName', nameList)
|
||||||
@@ -611,6 +618,9 @@ export default {
|
|||||||
if(this.qbfsForm.drafterName){
|
if(this.qbfsForm.drafterName){
|
||||||
this.$refs.qbfsForm.validateField('drafterName');
|
this.$refs.qbfsForm.validateField('drafterName');
|
||||||
}
|
}
|
||||||
|
if(this.qbfsForm.unitName){
|
||||||
|
this.$refs.qbfsForm.validateField('unitName');
|
||||||
|
}
|
||||||
if(this.qbfsForm.resPersonName){
|
if(this.qbfsForm.resPersonName){
|
||||||
this.$refs.qbfsForm.validateField('resPersonName');
|
this.$refs.qbfsForm.validateField('resPersonName');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -447,7 +447,6 @@
|
|||||||
:data="standSystemOptions"
|
:data="standSystemOptions"
|
||||||
show-checkbox
|
show-checkbox
|
||||||
node-key="id"
|
node-key="id"
|
||||||
default-expand-all
|
|
||||||
check-strictly
|
check-strictly
|
||||||
:default-checked-keys="TXJGList"
|
:default-checked-keys="TXJGList"
|
||||||
:props="defaultProps">
|
:props="defaultProps">
|
||||||
@@ -783,19 +782,26 @@ export default {
|
|||||||
this.modalshowflag2 = true;
|
this.modalshowflag2 = true;
|
||||||
},
|
},
|
||||||
checkedRole2(data) {
|
checkedRole2(data) {
|
||||||
let idList = "";
|
let idList = "", nameList = ""
|
||||||
let nameList = "";
|
let unitList = "", unitNameList = ""
|
||||||
data.forEach(item => {
|
data.forEach(item => {
|
||||||
if (nameList.length) {
|
if (nameList.length) {
|
||||||
nameList += ",";
|
nameList += ",";
|
||||||
idList += ",";
|
idList += ",";
|
||||||
|
unitList += ",";
|
||||||
|
unitNameList += ",";
|
||||||
}
|
}
|
||||||
idList += item.id;
|
idList += item.id;
|
||||||
nameList += item.name;
|
nameList += item.name;
|
||||||
|
unitList += item.institutionId
|
||||||
|
unitNameList += item.institutionName
|
||||||
|
|
||||||
});
|
});
|
||||||
if(this.type === '1'){
|
if(this.type === '1'){
|
||||||
this.$set(this.qbfsForm, 'drafter', idList)
|
this.$set(this.qbfsForm, 'drafter', idList)
|
||||||
this.$set(this.qbfsForm, 'drafterName', nameList)
|
this.$set(this.qbfsForm, 'drafterName', nameList)
|
||||||
|
this.$set(this.qbfsForm, 'unit', unitList)
|
||||||
|
this.$set(this.qbfsForm, 'unitName', unitNameList)
|
||||||
}else if(this.type === '2'){
|
}else if(this.type === '2'){
|
||||||
this.$set(this.qbfsForm, 'resPerson', idList)
|
this.$set(this.qbfsForm, 'resPerson', idList)
|
||||||
this.$set(this.qbfsForm, 'resPersonName', nameList)
|
this.$set(this.qbfsForm, 'resPersonName', nameList)
|
||||||
@@ -803,6 +809,9 @@ export default {
|
|||||||
if(this.qbfsForm.drafterName){
|
if(this.qbfsForm.drafterName){
|
||||||
this.$refs.qbfsForm.validateField('drafterName');
|
this.$refs.qbfsForm.validateField('drafterName');
|
||||||
}
|
}
|
||||||
|
if(this.qbfsForm.unitName){
|
||||||
|
this.$refs.qbfsForm.validateField('unitName');
|
||||||
|
}
|
||||||
if(this.qbfsForm.resPersonName){
|
if(this.qbfsForm.resPersonName){
|
||||||
this.$refs.qbfsForm.validateField('resPersonName');
|
this.$refs.qbfsForm.validateField('resPersonName');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user