| | |
| | | <!-- <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.complaintTime}}</p> |
| | | <p style="align-items: flex-start;display: flex;justify-content: flex-start;"><text style="display: inline-block;width: 35%;">执法单位:</text> <text style="display: inline-block;width: 65%;">{{item.executeDeptName}}</text></p> |
| | | <p>投诉时间: {{item.complaintTime}}</p> |
| | | </view> |
| | | <view class="r" @click="chakan(item.id,item.orderId)"> |
| | | <view class="r" @click="chakan(item.id, item.orderId)"> |
| | | 去查看 |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <u-empty v-if="!list1.length"></u-empty> |
| | | <!-- <view class="item"> |
| | | <img src="/static/i05.png" class="img" alt="" /> |
| | | <view class="right"> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { logList } from '@/api/qiye.js' |
| | | import { complaintList } from '@/api/qiye.js' |
| | | |
| | | export default { |
| | | data() { |
| | |
| | | total: 1, |
| | | } |
| | | }, |
| | | onShow() { |
| | | onLoad() { |
| | | this.list1 = [] |
| | | this.queryParams.pageNum = 1 |
| | | this.getList() |
| | |
| | | }, |
| | | getList() { |
| | | let data = uni.getStorageSync("qiyedata") |
| | | //this.queryParams.companyId = data.companyId |
| | | logList({...this.queryParams}).then(val => { |
| | | // console.log(val.data) |
| | | this.queryParams.companyId = data.companyId |
| | | complaintList({...this.queryParams}).then(val => { |
| | | this.total = val.data.total |
| | | this.list1 = [...this.list1,...val.data.rows] |
| | | }) |
| | | }, |
| | | search(e){ |
| | | this.list1 = [] |
| | | this.queryParams.pageNum =1 |
| | | this.queryParams.companyName = e |
| | | this.getList() |
| | | }, |
| | | click(i) { |
| | | |
| | | this.list1 = [] |
| | | this.queryParams.pageNum = 1 |
| | | this.queryParams.complaintStatus = this.list[i.index].value |
| | |
| | | color: #3EB47A; |
| | | |
| | | } |
| | | .color4{ |
| | | color: gray; |
| | | } |
| | | </style> |