| | |
| | | <template> |
| | | <basic-container> |
| | | <div class="securityUnit"> |
| | | <div |
| | | :class="[ |
| | | 'securityUnit', |
| | | $store.state.control.windowWidth >= 1024 ? 'oneRowSearch' : '', |
| | | ]" |
| | | > |
| | | <avue-crud |
| | | :option="option" |
| | | :data="data" |
| | |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | total: 0, |
| | | ...this.$store.state.control.changePageSize, |
| | | }, |
| | | |
| | | treeData: [], |
| | |
| | | align: "center", |
| | | selection: true, |
| | | column: column, |
| | | ...this.$store.state.control.clearOtherBut, |
| | | ...this.$store.state.control.clearOtherBut, |
| | | }, |
| | | }; |
| | | }, |
| | |
| | | }); |
| | | }, |
| | | handleSubmit(form, done) { |
| | | console.log(form); |
| | | form["createUserId"] = this.userInfo.Id; |
| | | // console.log(form); |
| | | // done(); |
| | | // return; |
| | | adddata(form).then((res) => { |
| | | if (res.data.success) { |
| | | this.$message({ |
| | |
| | | message: "提交失败", |
| | | type: "warning", |
| | | }); |
| | | done(); |
| | | } |
| | | }); |
| | | }, |