| | |
| | | <template> |
| | | <basic-container> |
| | | <div class="dispatchChildoperable"> |
| | | <div |
| | | :class="[ |
| | | 'dispatchChildoperable', |
| | | $store.state.control.windowWidth >= 1024 ? 'oneRowSearch' : '', |
| | | ]" |
| | | > |
| | | <avue-crud |
| | | :option="option" |
| | | :data="data" |
| | |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | total: 0, |
| | | ...this.$store.state.control.changePageSize, |
| | | }, |
| | | form: {}, |
| | | query1: {}, |
| | |
| | | // menuWidth: 160, |
| | | align: "center", |
| | | selection: true, |
| | | ...this.$store.state.control.clearOtherBut, |
| | | column: [ |
| | | // }, |
| | | { |
| | |
| | | form["deptId"] = this.useifid; |
| | | } |
| | | console.log(form,123456); |
| | | form["ids"] = form.userIds.join(","), |
| | | delete form.userIds; |
| | | (form["ids"] = form.userIds.join(",")), delete form.userIds; |
| | | console.log(form,321); |
| | | saveDispatcher(form).then( |
| | | (res) => { |
| | |
| | | console.log(row,123); |
| | | const userColumn = this.findObject(this.option.column, "userIds"); |
| | | userColumn.multiple = false; |
| | | userColumn.dicUrl = "/api/blade-user/security-dispatcher-tree?deptId="+this.userInfo.dept_id+"&id="+this.form.userIds+"&realName="+this.form.securityName; |
| | | userColumn.dicUrl = |
| | | "/api/blade-user/security-dispatcher-tree?deptId=" + |
| | | this.userInfo.dept_id + |
| | | "&id=" + |
| | | this.form.userIds + |
| | | "&realName=" + |
| | | this.form.securityName; |
| | | } |
| | | if(type=="add"){ |
| | | const userColumn = this.findObject(this.option.column, "userIds"); |
| | | userColumn.multiple = true; |
| | | userColumn.dicUrl = "/api/blade-user/security-dispatcher-tree?deptId="+this.userInfo.dept_id; |
| | | userColumn.dicUrl = |
| | | "/api/blade-user/security-dispatcher-tree?deptId=" + |
| | | this.userInfo.dept_id; |
| | | } |
| | | done(); |
| | | }, |