|
|
@@ -729,7 +729,6 @@ export default {
|
|
|
planStatus: null,
|
|
|
execOrgType: null,
|
|
|
roleNames: null,
|
|
|
- count: null,
|
|
|
description: null,
|
|
|
tableData: null,
|
|
|
itemList: null,
|
|
|
@@ -874,7 +873,7 @@ export default {
|
|
|
id: selectList[i].id,
|
|
|
businessType: selectList[i].businessType,
|
|
|
};
|
|
|
-
|
|
|
+
|
|
|
if (tem.itemName != null && tem.itemName != undefined) {
|
|
|
this.tableData.push(tem);
|
|
|
}
|
|
|
@@ -892,6 +891,10 @@ export default {
|
|
|
await this.refresh(id, other);
|
|
|
this.getRolesByOrg();
|
|
|
this.isShow = true;
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.form.clearValidate(); // 确保在 DOM 更新之后清除表单验证状态
|
|
|
+ });
|
|
|
+
|
|
|
},
|
|
|
removeRow(row) {
|
|
|
this.$modal
|
|
|
@@ -906,6 +909,10 @@ export default {
|
|
|
// 事件
|
|
|
onHide() {
|
|
|
this.isShow = false;
|
|
|
+ this.$refs["form"].clearValidate(["planName"]);
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.form.clearValidate(); // 确保在 DOM 更新之后清除表单验证状态
|
|
|
+ });
|
|
|
},
|
|
|
getIteamF() {
|
|
|
// if (this.id == null) {
|