ll
liukangdong
2025-02-06 68b9deaca3da75f1ea0da8943065a2016c9ead2d
h5/pages/staff/task/index.vue
@@ -249,6 +249,7 @@
        { name: '用车申请', id: 2 },
        { name: '隐患随手拍', id: 3 },
        { name: '物流车申请', id: 4 },
        { name: '考勤代办', id: 7 },
      ],
      startDate: dayjs().format('YYYY-MM-DD'),
    }
@@ -275,8 +276,7 @@
  onShow() {
    this.pagination.page = 0
    this.dataList = []
    this.getHeadList()
    this.getList()
      this.getHeadList()
  },
  methods: {
    statusClick(val) {
@@ -339,6 +339,7 @@
        isDetail: '1'
      }).then(res => {
        this.headData = res.data
            this.getList()
      })
    },
    handleReady() {
@@ -358,6 +359,10 @@
          this.getHeadList()
        })
      }
         if (item.type == 7) {
           window.open('https://atwl.ahzyssl.com/dps/web/wxAuth/loginV2?oaId=atwl&redirectId=index')
            return
         }
      if (objType === 2) {
        uni.navigateTo({
          url: `/pages/staff/vehicle/sendACarDetail?id=${objId}&info=${info}`
@@ -370,7 +375,7 @@
        uni.navigateTo({
          url: `/pages/staff/task/vDangetAppr?id=${objId}&objType=${objType}&info=${info}`
        })
      } else if (objType === 6 || objType === 5) {
      }else if (objType === 6 || objType === 5) {
        uni.navigateTo({
          url: `/pages/staff/task/driver?id=${objId}&objType=${objType}&info=${info}`
        })