| | |
| | | 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() { |
| | |
| | | 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.title = "新建" |
| | | this.editConfig.operationTypeId = this.$route.params.id |
| | | this.editConfig.code=this.$route.params.code |
| | | 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 |
| | | }, |