|
@@ -6,7 +6,8 @@
|
|
|
<scroll-view scroll-x="true" class="scroll">
|
|
|
<view class="tabCotn">
|
|
|
<view class="tabLine" :class="{tabactive:tabIndex==0}" @click="tabClick(0)">全部</view>
|
|
|
- <view class="tabLine" :class="{tabactive:tabIndex==1}" @click="tabClick(1)">待提交</view>
|
|
|
+ <view class="tabLine" :class="{tabactive:tabIndex==1}" @click="tabClick(1)">待提交</view>
|
|
|
+ <view class="tabLine" :class="{tabactive:tabIndex==9}" @click="tabClick(9)">待审批</view>
|
|
|
<view class="tabLine" :class="{tabactive:tabIndex==2}" @click="tabClick(2)">待作业</view>
|
|
|
<view class="tabLine" :class="{tabactive:tabIndex==3}" @click="tabClick(3)">待点评</view>
|
|
|
<view class="tabLine" :class="{tabactive:tabIndex==4}" @click="tabClick(4)">待回复</view>
|
|
@@ -62,12 +63,13 @@
|
|
|
<view class="shopName">{{item.ShopName}}</view>
|
|
|
|
|
|
<!-- 订单状态 1 待提交 2 待作业 3 待点评 4 待回复 5 已完成 -->
|
|
|
- <view class="type" v-if="item.State == 1">待提交</view>
|
|
|
+ <view class="type" v-if="item.State == 1 && (!item.ApprovalStatus || item.ApprovalStatus==3)">待提交</view>
|
|
|
+ <view class="type" v-if="item.ApprovalStatus == 1">待审批</view>
|
|
|
<view class="type" v-if="item.State == 2">待作业</view>
|
|
|
<view class="type" v-if="item.State == 3">待点评</view>
|
|
|
<view class="type" v-if="item.State == 4">待回复</view>
|
|
|
<view class="type" v-if="item.State == 5">已完成</view>
|
|
|
-
|
|
|
+
|
|
|
|
|
|
</view>
|
|
|
|
|
@@ -175,7 +177,9 @@
|
|
|
|
|
|
if (num == 0) {
|
|
|
this.status = ''
|
|
|
- } else {
|
|
|
+ }
|
|
|
+
|
|
|
+ else {
|
|
|
this.status = num;
|
|
|
}
|
|
|
this.page = 1;
|
|
@@ -240,9 +244,9 @@
|
|
|
getShopData() {
|
|
|
uni.showLoading({
|
|
|
title: '加载中'
|
|
|
- })
|
|
|
- let url = 'accompany/SuperAccounts/listShopInfoByDeptCheckPage',
|
|
|
- params = {
|
|
|
+ })
|
|
|
+ var dic = {}
|
|
|
+ dic = {
|
|
|
page: this.page,
|
|
|
limit: 20,
|
|
|
provinceCode: this.data.provinceCode,
|
|
@@ -254,7 +258,26 @@
|
|
|
endTime: this.endTime,
|
|
|
state: this.status,
|
|
|
|
|
|
- }
|
|
|
+ }
|
|
|
+ if (this.status == 9) {
|
|
|
+ //待审批
|
|
|
+ dic = {
|
|
|
+ page: this.page,
|
|
|
+ limit: 20,
|
|
|
+ provinceCode: this.data.provinceCode,
|
|
|
+ cityCode: this.data.cityCode,
|
|
|
+ areaCode: this.data.areaCode,
|
|
|
+ managerID: this.managerId,
|
|
|
+ shopName: this.searchValue,
|
|
|
+ starTime: this.starTime,
|
|
|
+ endTime: this.endTime,
|
|
|
+ approvalStatus: 1,
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ let url = 'accompany/SuperAccounts/listShopInfoByDeptCheckPage',
|
|
|
+ params = dic
|
|
|
this.$http(url, params, 'GET').then(res => {
|
|
|
var list = res.data.Items
|
|
|
|