| | |
| | | import arrayToTree from 'array-to-tree' |
| | | |
| | | export default { |
| | | name: 'GYLX', |
| | | name: 'ProcessRoute', |
| | | components: { |
| | | Pagination, TableColumnSettings |
| | | }, |
| | |
| | | }, |
| | | multipleSelection: [], |
| | | selectedRouterCode: '', |
| | | selectedisrolepart: '' |
| | | selectedisrolepart: '', |
| | | wkshopcode: '' |
| | | |
| | | } |
| | | }, |
| | |
| | | this.routerForm.stocktypecode = val[val.length - 1] |
| | | }, |
| | | routeClick(row) { |
| | | this.wkshopcode = row.org_code |
| | | this.selectedRouterCode = row.code |
| | | this.selectedisrolepart = row.isrolepart |
| | | this.routerDialogVisible = true |
| | |
| | | }, |
| | | async routerDialogVisibleConfirm() { |
| | | const data = { |
| | | wkshopcode: this.wkshopcode, |
| | | 'routecode': this.selectedRouterCode, |
| | | 'routepart': this.multipleSelection.length > 0 ? this.multipleSelection.map(i => i.partcode).join(',') : '' |
| | | } |