Commit 0b3d06b6 authored by 仇晓婷's avatar 仇晓婷

wuliao

parent 6922aee2
......@@ -126,16 +126,6 @@ export default {
}
});
}
// this.$Modal.confirm({
// title: "删除",
// content: "<p>您确定要删除吗?</p>",
// onOk: () => {
// onCancel: () => {
// this.$Message.success("取消删除");
// }
// });
// }
},
watch: {
root: {
......
......@@ -76,7 +76,8 @@ export default {
categoryId: 0,
rootCategoryId: 0,
ids: [],
addChange: true
addChange: true,
codeRuleId:0,
},
downName: "请选择类型",
modal: false,
......@@ -85,7 +86,7 @@ export default {
detail: null,
showMenu: true,
dataList: [],
codeRuleId: ""
// codeRuleId: ""
};
},
async fetch({ store, params }) {
......@@ -97,9 +98,9 @@ export default {
},
methods: {
clickItem(val) {
this.codeRuleId = val;
this.nodeInfo.codeRuleId = val;
this.model8 = val;
this.loadTree(this.codeRuleId);
this.loadTree( this.nodeInfo.codeRuleId);
this.cityList.forEach(e => {
if (val == e.id) {
this.downName = e.name;
......@@ -116,7 +117,7 @@ export default {
this.cityList = r.result.items;
this.downName = this.cityList[0].name;
this.model8 = this.cityList[0].id;
this.nodeInfo.codeRuleId = this.cityList[0].id;
// this.nodeInfo.codeRuleId = this.cityList[0].id;
this.loadTree(this.nodeInfo.codeRuleId);
});
},
......@@ -130,15 +131,6 @@ export default {
},
ok(row) {
this.loadTree(this.codeRuleId);
// this.modal = false;
// this.curId = 0;
// if (row) {
// this.dataList.map((e, index) => {
// if (e.id == row.id) {
// this.$set(this.$refs.dataTable.dataColumns, index, row);
// }
// });
// }
},
cancel() {
this.curId = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment