Commit 9e11f776 authored by 仇晓婷's avatar 仇晓婷

部门

parent 77c2f401
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
isProduction:isProduction, //是否生产班组:1是,0否 isProduction:isProduction, //是否生产班组:1是,0否
property: property.join(",") //属性 property: property.join(",") //属性
}; };
alert(paramsdata);
Api.create(paramsdata) Api.create(paramsdata)
.then(r => { .then(r => {
this.disabled = false; this.disabled = false;
......
...@@ -127,6 +127,7 @@ export default { ...@@ -127,6 +127,7 @@ export default {
methods: { methods: {
init() { init() {
Api.getpaged().then(r => { Api.getpaged().then(r => {
this.treeData = [];
this.treeData = this.$u.toTree( this.treeData = this.$u.toTree(
r.result.items, r.result.items,
0, 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