马宇豪
2024-08-16 3b75798cc41993f9016610296907d2338545a345
src/views/newSpecialWorkSystem/workTicket/zysq/index.vue
@@ -25,6 +25,9 @@
         <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)">-->
@@ -81,6 +84,7 @@
         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()
@@ -111,6 +115,7 @@
      const height = ref()
      const power = ref()
      const plate = ref()
      const open = ref()
      const handleClick = (tab: TabsPaneContext, event: Event) => {
        state.loading = true
@@ -205,7 +210,7 @@
               // 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',
@@ -266,6 +271,7 @@
        hoist,
        plate,
        power,
        open,
        handleClick,
        getOtherWork
         };