修改 流程人员选择判空处理
This commit is contained in:
@@ -766,7 +766,7 @@ export default {
|
|||||||
// 流程阶段负责人选择
|
// 流程阶段负责人选择
|
||||||
choiceZRR(type, title, id) {
|
choiceZRR(type, title, id) {
|
||||||
this.nodeList = []
|
this.nodeList = []
|
||||||
if (id.length > 0) {
|
if (id && id.length > 0) {
|
||||||
this.nodeList = id.split(',')
|
this.nodeList = id.split(',')
|
||||||
}
|
}
|
||||||
this.type = type
|
this.type = type
|
||||||
|
|||||||
@@ -709,7 +709,7 @@ export default {
|
|||||||
},
|
},
|
||||||
choiceZRRFEE(type, title, id) {
|
choiceZRRFEE(type, title, id) {
|
||||||
this.nodeListOne = []
|
this.nodeListOne = []
|
||||||
if (id.length > 0) {
|
if (id && id.length > 0) {
|
||||||
this.nodeListOne = id.split(',')
|
this.nodeListOne = id.split(',')
|
||||||
}
|
}
|
||||||
this.drawerTitleOne = title
|
this.drawerTitleOne = title
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ export default {
|
|||||||
},
|
},
|
||||||
choiceZRRS() {
|
choiceZRRS() {
|
||||||
this.nodeList2 = [];
|
this.nodeList2 = [];
|
||||||
if (this.roleForm.workPeople.length > 0) {
|
if (this.roleForm.workPeople && this.roleForm.workPeople.length > 0) {
|
||||||
this.nodeList2 = this.roleForm.workPeople.split(",");
|
this.nodeList2 = this.roleForm.workPeople.split(",");
|
||||||
}
|
}
|
||||||
this.modalshowflag2 = true;
|
this.modalshowflag2 = true;
|
||||||
|
|||||||
@@ -820,7 +820,7 @@ export default {
|
|||||||
},
|
},
|
||||||
choiceDOCK(type, title, id) {
|
choiceDOCK(type, title, id) {
|
||||||
this.nodeList = [];
|
this.nodeList = [];
|
||||||
if (id.length > 0) {
|
if (id && id.length > 0) {
|
||||||
this.nodeList = id.split(',')
|
this.nodeList = id.split(',')
|
||||||
}
|
}
|
||||||
this.drawerTitle = title;
|
this.drawerTitle = title;
|
||||||
|
|||||||
Reference in New Issue
Block a user