linwe
2024-08-08 3c738f4fe2762bba8087e5a22fc0dc06560eab0e
subPackage/label/formList.vue
@@ -3,16 +3,17 @@
      <view class="list">
         <view class="list-item bgc-ff mb-20" v-for="(i,k) in list" :key="k" @click="navTo(i.taskId)">
            <view class="item-title flex a-i-c j-c-s-b mb-20">
               <text class="f-32 fw" v-if="i.eventType == 1">打金店</text>
               <text class="f-32 fw" v-if="i.eventType == 3">二手车交易</text>
               <text class="f-32 fw" v-if="i.eventType == 2">二手手机维修</text>
               <text class="f-32 fw">{{i.transactionObject}}</text>
               <!--    <text class="f-32 fw" v-if="i.eventType == 3">二手车交易</text>
               <text class="f-32 fw" v-if="i.eventType == 2">二手手机维修</text> -->
               <u-tag v-if="i.confirmFlag == 4" text="待完成" type="warning" plain plainFill></u-tag>
               <u-tag v-if="i.confirmFlag == 1" text="待审批" type="warning" plain plainFill></u-tag>
               <u-tag v-if="i.confirmFlag == 2" text="审核通过" type="success" plain plainFill></u-tag>
               <u-tag v-if="i.confirmFlag == 3" text="审核拒绝" type="error" plain plainFill></u-tag>
            </view>
            <view class="item-row flex a-i-c j-c-s-b">
               <text class="f-28">时间</text>
               <text class="f-28 c-66">{{i.applyTime}}</text>
               <text class="f-28 c-66">{{i.createTime}}</text>
            </view>
         </view>
      </view>
@@ -42,12 +43,14 @@
      },
      methods: {
         getList(type) {
         getList() {
            getLabelReportingList({
               userId: uni.getStorageSync("userInfo").user_id,
               page: this.currentPage,
               current: this.currentPage,
               houseCode: uni.getStorageSync("siteInfo").houseCode,
               size: 10,
               eventType: type
               reportType: 3
               // eventType: type
            }).then(res => {
               if (res.code != 200) {
                  uni.showToast({
@@ -63,7 +66,7 @@
         },
         navTo(id) {
            uni.navigateTo({
               url: `/subPackage/workbench/views/bailReportDetail?id=${id}`
               url: `/subPackage/workbench/views/labelReportDetail?id=${id}`
            })
         }
      }