修改
This commit is contained in:
parent
10c02a39ca
commit
aef35e3408
@ -257,10 +257,6 @@ export default {
|
|||||||
attributeDetailsSort: null,
|
attributeDetailsSort: null,
|
||||||
}, ],
|
}, ],
|
||||||
}, ];
|
}, ];
|
||||||
// 清空选中的节点
|
|
||||||
this.$refs.cascader.$refs.panel.clearCheckedNodes();
|
|
||||||
// 设置为空可以让节点不高亮显示
|
|
||||||
this.$refs.cascader.$refs.panel.activePath = [];
|
|
||||||
++this.isResouceShow
|
++this.isResouceShow
|
||||||
},
|
},
|
||||||
//页面所属护理站
|
//页面所属护理站
|
||||||
@ -421,10 +417,6 @@ export default {
|
|||||||
}
|
}
|
||||||
this.$modal.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
++this.isResouceShow
|
++this.isResouceShow
|
||||||
// 清空选中的节点
|
|
||||||
this.$refs.cascader.$refs.panel.clearCheckedNodes();
|
|
||||||
// 设置为空可以让节点不高亮显示
|
|
||||||
this.$refs.cascader.$refs.panel.activePath = [];
|
|
||||||
this.open = false;
|
this.open = false;
|
||||||
this.getList();
|
this.getList();
|
||||||
});
|
});
|
||||||
@ -437,10 +429,6 @@ export default {
|
|||||||
this.$modal.msgSuccess("新增成功");
|
this.$modal.msgSuccess("新增成功");
|
||||||
this.StationName = "请选择所属护理站";
|
this.StationName = "请选择所属护理站";
|
||||||
++this.isResouceShow
|
++this.isResouceShow
|
||||||
// 清空选中的节点
|
|
||||||
this.$refs.cascader.$refs.panel.clearCheckedNodes();
|
|
||||||
// 设置为空可以让节点不高亮显示
|
|
||||||
this.$refs.cascader.$refs.panel.activePath = [];
|
|
||||||
this.open = false;
|
this.open = false;
|
||||||
this.getList();
|
this.getList();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -428,12 +428,6 @@ export default {
|
|||||||
// 取消按钮
|
// 取消按钮
|
||||||
cancel() {
|
cancel() {
|
||||||
++this.isResouceShow;
|
++this.isResouceShow;
|
||||||
if (this.form.parentId) {
|
|
||||||
// 清空选中的节点
|
|
||||||
this.$refs.cascader.$refs.panel.clearCheckedNodes();
|
|
||||||
// 设置为空可以让节点不高亮显示
|
|
||||||
this.$refs.cascader.$refs.panel.activePath = [];
|
|
||||||
}
|
|
||||||
var obj = { pictureUrlList: [] };
|
var obj = { pictureUrlList: [] };
|
||||||
if (this.imgone != this.form.goodsCategoryPicture) {
|
if (this.imgone != this.form.goodsCategoryPicture) {
|
||||||
obj.pictureUrlList.push(this.form.goodsCategoryPicture);
|
obj.pictureUrlList.push(this.form.goodsCategoryPicture);
|
||||||
@ -521,22 +515,14 @@ export default {
|
|||||||
updatePicture(obj).then((res) => {});
|
updatePicture(obj).then((res) => {});
|
||||||
}
|
}
|
||||||
this.$modal.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
// 清空选中的节点
|
|
||||||
this.$refs.cascader.$refs.panel.clearCheckedNodes();
|
|
||||||
// 设置为空可以让节点不高亮显示
|
|
||||||
this.$refs.cascader.$refs.panel.activePath = [];
|
|
||||||
++this.isResouceShow;
|
++this.isResouceShow;
|
||||||
this.open = false;
|
this.open = false;
|
||||||
this.getList();
|
this.getList();
|
||||||
this.info();
|
this.info();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
addGoodsCategory(this.form).then((response) => {
|
addGoodsCategory(this.form).then((response) => {
|
||||||
this.$modal.msgSuccess("新增成功");
|
this.$modal.msgSuccess("新增成功");
|
||||||
// 清空选中的节点
|
|
||||||
this.$refs.cascader.$refs.panel.clearCheckedNodes();
|
|
||||||
// 设置为空可以让节点不高亮显示
|
|
||||||
this.$refs.cascader.$refs.panel.activePath = [];
|
|
||||||
++this.isResouceShow;
|
++this.isResouceShow;
|
||||||
this.open = false;
|
this.open = false;
|
||||||
this.getList();
|
this.getList();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user