| | |
| | | <!-- 新建/编辑 --> |
| | | <AddOverviewDialog |
| | | v-if="editConfig.visible" |
| | | :work-type="workType" |
| | | :workType="workType" |
| | | :edit-common-config="editConfig" |
| | | :add-name="addName" |
| | | :display-edit="displayEdit" |
| | |
| | | } |
| | | }, |
| | | created() { |
| | | console.log(this.workType) |
| | | this.setFormToLabel() |
| | | this.setTable() |
| | | var paramsData = sessionStorage.getItem("paramsData") |
| | |
| | | async getData() { |
| | | await getOperation({ |
| | | number: this.keyword, |
| | | operationTypeId: this.params.id, |
| | | operationTypeId: this.$route.params.id?this.$route.params.id:this.params.id, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize, |
| | | status: this.params.status |
| | |
| | | }, |
| | | // 查看 编辑 |
| | | tableRowClick(row, val) { |
| | | console.log(row) |
| | | this.editConfig.visible = true |
| | | this.editConfig.title = val |
| | | this.editConfig.operationTypeId = this.params.id |