| | |
| | | v-if="editConfig.visible" |
| | | :work-type="workType" |
| | | :edit-common-config="editConfig" |
| | | :add-name="this.$route.params.name" |
| | | :add-name="addName" |
| | | :display-edit="displayEdit" |
| | | /> |
| | | </div> |
| | |
| | | params: {}, |
| | | displayEdit: false, |
| | | formLabel: "", |
| | | toLabel: "" |
| | | toLabel: "", |
| | | addName: "" |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | number: this.keyword, |
| | | operationTypeId: this.params.id, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | pageSize: this.pagerOptions.pageSize, |
| | | status: this.params.status |
| | | }).then((res) => { |
| | | console.log(res.data) |
| | | if (res.code === 200) { |
| | |
| | | console.log(row) |
| | | this.editConfig.visible = true |
| | | this.editConfig.title = val |
| | | this.editConfig.operationTypeId = this.$route.params.id |
| | | this.editConfig.operationTypeId = this.params.id |
| | | this.editConfig.infomation = { ...row } |
| | | }, |
| | | // 新建 |
| | | addBtnClick() { |
| | | this.editConfig.visible = true |
| | | this.editConfig.title = "新建" |
| | | this.editConfig.operationTypeId = this.$route.params.id |
| | | this.addName = this.params.name |
| | | console.log(this.params, "ss刷新") |
| | | this.editConfig.operationTypeId = this.params.id |
| | | this.editConfig.code = this.params.code |
| | | this.editConfig.infomation = {} |
| | | this.editConfig.visible = true |
| | | }, |
| | | // 状态 |
| | | getStatus(val) { |