修改触发条件
This commit is contained in:
parent
50e4853b39
commit
a47d3bc15e
@ -1277,7 +1277,7 @@ export default {
|
|||||||
if (res.data.length == 1) {
|
if (res.data.length == 1) {
|
||||||
// 回显一条时
|
// 回显一条时
|
||||||
this.updata = res.data[0];
|
this.updata = res.data[0];
|
||||||
console.log(this.updata, " this.updata");
|
// console.log(this.updata, " this.updata");
|
||||||
|
|
||||||
this.updata.triggerConditionOperatorName =
|
this.updata.triggerConditionOperatorName =
|
||||||
this.optionstriggerConditionOperator.find(
|
this.optionstriggerConditionOperator.find(
|
||||||
@ -1291,11 +1291,11 @@ export default {
|
|||||||
this.optionstriggerConditionOperator.find(
|
this.optionstriggerConditionOperator.find(
|
||||||
(el) => el.dictValue == this.updata.triggerConditionOperator
|
(el) => el.dictValue == this.updata.triggerConditionOperator
|
||||||
)?.dictLabel;
|
)?.dictLabel;
|
||||||
console.log(this.updata, " this.updata");
|
// console.log(this.updata, " this.updata");
|
||||||
|
|
||||||
res.data.splice(0, 1);
|
res.data.splice(0, 1);
|
||||||
this.updatalist = res.data;
|
this.updatalist = res.data;
|
||||||
console.log(this.updatalist, " this.updatalist");
|
// console.log(this.updatalist, " this.updatalist");
|
||||||
this.updatalist.forEach((e) => {
|
this.updatalist.forEach((e) => {
|
||||||
e.triggerConditionOperatorName =
|
e.triggerConditionOperatorName =
|
||||||
this.optionstriggerConditionOperator.find(
|
this.optionstriggerConditionOperator.find(
|
||||||
|
|||||||
@ -147,7 +147,6 @@ export default {
|
|||||||
},
|
},
|
||||||
templateId(newValue, oldValue) {
|
templateId(newValue, oldValue) {
|
||||||
this.handleselectId = newValue;
|
this.handleselectId = newValue;
|
||||||
console.log( this.handleselectId,' this.handleselectId')
|
|
||||||
},
|
},
|
||||||
templateName(newValue, oldValue) {
|
templateName(newValue, oldValue) {
|
||||||
this.handleselectName = newValue;
|
this.handleselectName = newValue;
|
||||||
|
|||||||
@ -279,15 +279,9 @@ export default {
|
|||||||
this.Departmentlist();
|
this.Departmentlist();
|
||||||
},
|
},
|
||||||
templateName(newValue, oldValue) {
|
templateName(newValue, oldValue) {
|
||||||
console.log(newValue, "newValuenewValue");
|
|
||||||
this.handleselectName = newValue;
|
this.handleselectName = newValue;
|
||||||
},
|
},
|
||||||
templateId(newValue, oldValue) {
|
templateId(newValue, oldValue) {
|
||||||
console.log(
|
|
||||||
newValue,
|
|
||||||
"newValuenewValuenewValuenewValuenewValuenewValuenewValuenewValue"
|
|
||||||
);
|
|
||||||
|
|
||||||
this.handleselectId = newValue;
|
this.handleselectId = newValue;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user