| | |
| | | <u-tabs :list="tabList" :current="tabIndex" @click="changeTab" :inactiveStyle="{color:'#999999'}" :activeStyle="{color:'#017BFC'}"></u-tabs> |
| | | </view> |
| | | <view class="list"> |
| | | <view class="list-item bgc-ff mb-20" v-for="i in 3"> |
| | | <view class="list-item bgc-ff mb-20" v-for="(i,k) in list" :key="k" @click="navTo(i.name,i.id)"> |
| | | <view class="item-title flex a-i-c j-c-s-b mb-20"> |
| | | <text class="f-32 fw">名称</text> |
| | | <!-- <u-tag text="待审批" type="warning" plain plainFill></u-tag> --> |
| | | <u-tag text="审核通过" type="success" plain plainFill></u-tag> |
| | | <!-- <u-tag text="审核拒绝" type="error" plain plainFill></u-tag> --> |
| | | <text class="f-32 fw">{{i.name}}</text> |
| | | <u-tag v-if="i.status == 1" text="待审批" type="warning" plain plainFill></u-tag> |
| | | <u-tag v-if="i.status == 2" text="审核通过" type="success" plain plainFill></u-tag> |
| | | <u-tag v-if="i.status == 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">一次性任务</text> |
| | | </view> |
| | | <view class="item-row flex a-i-c j-c-s-b"> |
| | | <text class="f-28">标签</text> |
| | | <text class="f-28 c-66">打金店</text> |
| | | <text class="f-28">时间</text> |
| | | <text class="f-28 c-66">{{i.createTime}}</text> |
| | | </view> |
| | | <view class="item-row flex a-i-c j-c-s-b"> |
| | | <text class="f-28">地址</text> |
| | | <text class="address f-28 c-66">西市街道万达社区居民委员会滨江西路66号万达晶座11栋303室</text> |
| | | <text class="address f-28 c-66">{{i.addressName}}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { getAuditReportingList } from "@/api/reporting/reporting" |
| | | export default { |
| | | data(){ |
| | | return { |
| | |
| | | status:3 |
| | | }, |
| | | ], |
| | | tabIndex:0 |
| | | tabIndex:0, |
| | | currentStatus:1, |
| | | list:[] |
| | | } |
| | | }, |
| | | |
| | | onLoad(){ |
| | | this.getList() |
| | | }, |
| | | |
| | | methods:{ |
| | | changeTab(e){ |
| | | this.tabIndex = e.index; |
| | | this.currentStatus = e.status; |
| | | this.getList(); |
| | | }, |
| | | getList(){ |
| | | getAuditReportingList({ |
| | | page:1, |
| | | size:20, |
| | | status:this.currentStatus |
| | | }).then(res=>{ |
| | | this.list = res.data.records; |
| | | }) |
| | | }, |
| | | navTo(name,id){ |
| | | if(name == "旅馆安全"){ |
| | | this.$u.func.globalNavigator(`hotelReportDetail?id=${id}`) |
| | | }else if (name == "取保候审"){ |
| | | this.$u.func.globalNavigator(`bailReportDetail?id=${id}`) |
| | | }else{ |
| | | this.$u.func.globalNavigator(`labelReportDetail?id=${id}`) |
| | | } |
| | | } |
| | | } |
| | | } |