wjt
2024-06-26 59f4dc012a2c42eebd31301444e0f8df9af088e0
qiye/complaint/complaint.vue
@@ -15,28 +15,33 @@
                  {{item.companyName}}
               </view>
               <template v-if="item.complaintStatus==0">
                  <view class="r color3">
                  <view class="r color2">
                     待响应
                  </view>
               </template>
               <template v-if="item.complaintStatus==1">
                  <view class="r color2">
                  <view class="r color1">
                     处理中
                  </view>
               </template>
               <template v-if="item.complaintStatus==2">
                  <view class="r color1">
                  <view class="r color3">
                     已办结
                  </view>
               </template>
               <!-- <view class="r color1">
                  待评价
               </view> -->
               <template v-if="item.complaintStatus==-1">
                  <view class="r color4">
                     已驳回
                  </view>
               </template>
            </view>
            <view class="box">
               <view class="l">
                  <p>执法单位:{{item.executeDeptName}}</p>
                  <p>执法时间:{{item.executeTime}}</p>
                  <p>投诉时间:{{item.complaintTime}}</p>
               </view>
               <view class="r" @click="chakan(item.id, item.orderId)">
                  去查看
@@ -136,14 +141,14 @@
         this.getList()
      },
      methods: {
         chakan(id, orderId){
         chakan(id,orderId){
            uni.navigateTo({
               url: `/qiye/complaint/details?id=${id}&orderId=${orderId}`
            })
         },
         getList() {
            let data = uni.getStorageSync("qiyedata")
            //this.queryParams.companyId = data.companyId
            this.queryParams.companyId = data.companyId
            logList({...this.queryParams}).then(val => {
               console.log(val.data)
               this.total = val.data.total
@@ -245,4 +250,7 @@
      color: #3EB47A;
      
   }
   .color4{
      color: gray;
   }
</style>