| | |
| | | <el-tab-pane :lazy="true" label="盲板抽堵作业" name="plate"> |
| | | <plate-form ref="plate" :lists="lists"></plate-form> |
| | | </el-tab-pane> |
| | | <el-tab-pane :lazy="true" label="打开作业" name="open"> |
| | | <open-form ref="open" :lists="lists"></open-form> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | <!-- <material-dialog ref="material"></material-dialog>--> |
| | | <!-- <el-radio-group v-model="activeName" size="large" @change="(value)=>handleClick(value)">--> |
| | |
| | | heightForm: defineAsyncComponent(() => import('/@/views/newSpecialWorkSystem/workTicket/zysq/components/height.vue')), |
| | | powerForm: defineAsyncComponent(() => import('/@/views/newSpecialWorkSystem/workTicket/zysq/components/power.vue')), |
| | | plateForm: defineAsyncComponent(() => import('/@/views/newSpecialWorkSystem/workTicket/zysq/components/plate.vue')), |
| | | openForm: defineAsyncComponent(() => import('/@/views/newSpecialWorkSystem/workTicket/zysq/components/open.vue')), |
| | | }, |
| | | setup() { |
| | | const userInfo = useUserInfo() |
| | |
| | | const height = ref() |
| | | const power = ref() |
| | | const plate = ref() |
| | | const open = ref() |
| | | |
| | | const handleClick = (tab: TabsPaneContext, event: Event) => { |
| | | state.loading = true |
| | |
| | | // state.departmentList = JSON.parse(JSON.stringify(res.data.data)) |
| | | // state.departmentList2 = state.departmentList[0].children[0].children.filter(i=>i.depId == 32 || i.depId == 48 || i.depId == 49 || i.depId == 50) |
| | | state.lists.departList = JSON.parse(JSON.stringify(res.data.data)) |
| | | state.lists.departList2 = JSON.parse(JSON.stringify(res.data.data))[0].children[0].children.filter(i=>i.depId == 32 || i.depId == 48 || i.depId == 49 || i.depId == 50) |
| | | state.lists.departList2 = JSON.parse(JSON.stringify(res.data.data))[0].children[0].children.filter(i=>i.depId == 32 || i.depId == 48 || i.depId == 49 || i.depId == 50 || i.depId == 10 || i.depId == 41 || i.depId == 46 || i.depId == 47) |
| | | } else { |
| | | ElMessage({ |
| | | type: 'warning', |
| | |
| | | hoist, |
| | | plate, |
| | | power, |
| | | open, |
| | | handleClick, |
| | | getOtherWork |
| | | }; |