This commit is contained in:
2024-04-19 10:58:35 +08:00
parent cf88299bd0
commit f2f7299618
5 changed files with 10 additions and 30 deletions

View File

@ -146,14 +146,10 @@ export default {
this.Departmentlist(); this.Departmentlist();
}, },
templateId(newValue, oldValue) { templateId(newValue, oldValue) {
if (newValue) { this.handleselectId = newValue;
this.handleselectId = newValue;
}
}, },
templateName(newValue, oldValue) { templateName(newValue, oldValue) {
if (newValue) { this.handleselectName = newValue;
this.handleselectName = newValue;
}
} }
}, },
mounted() { mounted() {

View File

@ -146,14 +146,10 @@ export default {
this.Departmentlist(); this.Departmentlist();
}, },
templateId(newValue, oldValue) { templateId(newValue, oldValue) {
if (newValue) { this.handleselectId = newValue;
this.handleselectId = newValue;
}
}, },
templateName(newValue, oldValue) { templateName(newValue, oldValue) {
if (newValue) { this.handleselectName = newValue;
this.handleselectName = newValue;
}
} }
}, },
mounted() { mounted() {

View File

@ -146,14 +146,10 @@ export default {
this.Departmentlist(); this.Departmentlist();
}, },
templateId(newValue, oldValue) { templateId(newValue, oldValue) {
if (newValue) { this.handleselectId = newValue;
this.handleselectId = newValue;
}
}, },
templateName(newValue, oldValue) { templateName(newValue, oldValue) {
if (newValue) { this.handleselectName = newValue;
this.handleselectName = newValue;
}
} }
}, },
mounted() { mounted() {

View File

@ -165,14 +165,10 @@ export default {
}, },
watch: { watch: {
templateId(newValue, oldValue) { templateId(newValue, oldValue) {
if (newValue) { this.handleselectId = newValue;
this.handleselectId = newValue;
}
}, },
templateName(newValue, oldValue) { templateName(newValue, oldValue) {
if (newValue) { this.handleselectName = newValue;
this.handleselectName = newValue;
}
} }
}, },
computed: { computed: {

View File

@ -125,14 +125,10 @@ export default {
}, },
watch: { watch: {
templateId(newValue, oldValue) { templateId(newValue, oldValue) {
if (newValue) { this.handleselectId = newValue;
this.handleselectId = newValue;
}
}, },
templateName(newValue, oldValue) { templateName(newValue, oldValue) {
if (newValue) { this.handleselectName = newValue;
this.handleselectName = newValue;
}
} }
}, },
methods: { methods: {