| | |
| | | <el-main> |
| | | <el-card shadow="never"> |
| | | <el-tabs tab-position="top" class="custom-tabs" v-model="activeName"> |
| | | <el-tab-pane label="机器台账" name="1"> |
| | | <el-tab-pane label="设备台账" name="1"> |
| | | <Machine></Machine> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="机器组" name="2"> |
| | | <el-tab-pane label="设备组" name="2"> |
| | | <MachineGroup></MachineGroup> |
| | | </el-tab-pane> |
| | | |
| | |
| | | import pmsPng from '@/assets/pms.png' |
| | | // import Dialog from './Dialog.vue' |
| | | import MachineGroup from './MachineGroup.vue' |
| | | import Machine from './Machine.vue' |
| | | import Machine from './MachineTab.vue' |
| | | export default { |
| | | name: 'system', |
| | | components: { |
| | |
| | | }, |
| | | immediate: true |
| | | }, |
| | | treeCheckedNode: { |
| | | handler(val) { |
| | | this.addGroupShow = false |
| | | Object.keys(this.form).forEach(key => { |
| | | this.form[key] = val?.[key] |
| | | }) |
| | | }, |
| | | deep: true |
| | | } |
| | | }, |
| | | created() { |
| | | this.init() |
| | | this.queryList() |
| | | // this.init() |
| | | // this.queryList() |
| | | }, |
| | | methods: { |
| | | |