| | |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | prop="type" |
| | | prop="Type" |
| | | label="菜单类型" |
| | | sortable="custom" |
| | | /> |
| | |
| | | customID: 'menucode', |
| | | childrenProperty: 'children' |
| | | }) |
| | | this.menuOptions = this.menuOptionsAll.filter(i => i.type === this.dialogForm.type) |
| | | // this.menuOptions = this.menuOptionsAll.filter(i => i.Type === this.dialogForm.type) |
| | | |
| | | }, |
| | | radioChange() { |
| | | this.menuOptions = this.menuOptionsAll.filter(i => i.type === this.dialogForm.type) |
| | | this.menuOptions = this.menuOptionsAll.filter(i => i.Type === this.dialogForm.type) |
| | | }, |
| | | async getEncodingRules() { |
| | | const res = await EncodingRules(this.form) |
| | |
| | | this.operation = operation |
| | | this.dialogVisible = true |
| | | |
| | | |
| | | this.$nextTick(() => { |
| | | this.dialogForm.type = row.type |
| | | this.dialogForm.type = row.Type |
| | | this.radioChange() |
| | | |
| | | let parentCode = '' |
| | | this.menuOptions.forEach(item => { |
| | |
| | | }) |
| | | } |
| | | }) |
| | | |
| | | console.log(parentCode,row.menucode) |
| | | this.$refs.cascader.checkedValue = [parentCode, row.menucode] |
| | | this.dialogForm.rightcode = row.menucode |
| | | this.dialogForm.incbit = row.incbit |