zhangyuewww 3 年之前
父節點
當前提交
7a27f4728a
共有 4 個文件被更改,包括 19 次插入9 次删除
  1. 1 1
      pageD/myRelease/sellGrain.vue
  2. 7 3
      pages/attestation/indexThree.vue
  3. 9 3
      pages/attestation/indexTwo.vue
  4. 2 2
      pages/release/release.vue

+ 1 - 1
pageD/myRelease/sellGrain.vue

@@ -537,7 +537,7 @@
 				}
 				var that=this
 				this.insertSalePlanInfo = this.deptList
-				this.insertSalePlanInfo.basisPrice = -this.insertSalePlanInfo.basisPrice
+				this.insertSalePlanInfo.basisPrice = this.insertSalePlanInfo.basisPrice
 				this.insertSalePlanInfo.commonId = this.userInfo.id
 				this.insertSalePlanInfo.salePlanNo='XSJH'+this.getdate()+this.verifyinit()
 				this.insertSalePlanInfo.compId = "2710b21efc1e4393930c5dc800010dc4"

+ 7 - 3
pages/attestation/indexThree.vue

@@ -6,7 +6,10 @@
 					{{item.logo}}
 				</view>
 				<view class="company">{{item.driverName}}</view>
-				
+				<view class="status" v-if="item.cover == '1'">
+					已覆盖
+				</view>
+				<view v-else>
 				<view class="status" v-if="item.authenticationStatus == '已认证'">
 					<image src="../../static/img/authentication/cert-personal@3x.png"
 						style="width: 16px;height: 16px;top:3px;"></image>
@@ -21,6 +24,7 @@
 				<view class="status3" v-if="item.authenticationStatus == '已覆盖'">
 					{{item.authenticationStatus}}
 				</view>
+				</view>
 			</view>
 			<view class="geren">{{item.driverPhone}}</view>
 			<hr style="margin: 10px 0;">
@@ -29,8 +33,8 @@
 					<image src="../../static/img/authentication/selected(2).png"
 						style="width: 16px;height: 16px;top: 3px;">设为默认</image>
 				</view> -->
-				<view class='but' @click="open(item)">更换手机号</view>
-				<view class='but' @click="companyEdit(item)">修改</view>
+				<view class='but' v-if="item.authenticationStatus == '已覆盖'||item.authenticationStatus == '已认证'" @click="open(item)">更换手机号</view>
+				<view class='but' v-if="item.authenticationStatus != '审核中'" @click="companyEdit(item)">修改</view>
 				<view class='but' @click="deleteSJ(item)">删除</view>
 			</view>
 			<view v-if='pricestatus' class='shade'>

+ 9 - 3
pages/attestation/indexTwo.vue

@@ -7,6 +7,10 @@
 				</view>
 				<view class="company">{{item.compName}}</view>
 				<view class="company" v-if="item.customerTypeFlag == 1">{{item.customerName}}</view>
+				<view class="status" v-if="item.cover == '1'">
+					已覆盖
+				</view>
+				<view v-else>
 				<view class="status" v-if="item.authenticationStatus == '已认证'">
 					<image src="../../static/img/authentication/cert-personal@3x.png"
 						style="width: 16px;height: 16px;top:3px;"></image>
@@ -21,6 +25,7 @@
 				<view class="status3" v-if="item.authenticationStatus == '已覆盖'">
 					{{item.authenticationStatus}}
 				</view>
+				</view>
 			</view>
 			<view class="geren" v-if="item.customerTypeFlag == 1"> {{item.customerPhone}}</view>
 			<view class="geren" v-if="item.customerTypeFlag == 2">{{item.customerName}}{{item.customerPhone}}
@@ -33,8 +38,8 @@
 					<text style="font-size: 12px;" @click.stop="select(item)">设为默认</text>
 				</view>
 				<view class="options flex">
-					<view class='but' @click="open(item)">更换手机号</view>
-					<view class='but' @click="companyEdit(item)">修改</view>
+					<view class='but' v-if="item.authenticationStatus == '已覆盖'||item.authenticationStatus == '已认证'" @click="open(item)">更换手机号</view>
+					<view class='but' v-if="item.authenticationStatus == '未通过'" @click="companyEdit(item)">修改</view>
 					<view class='but' @click="deleteLS(item)">删除</view>
 				</view>
 			</view>
@@ -180,7 +185,8 @@
 				this.$api.doRequest('get', '/identityAuthenticationInfo/selectIdentityAuthenticationInfo', {
 						pageSize: 10,
 						currentPage: 1,
-						commonId: this.userInfo.id
+						commonId: this.userInfo.id,
+						flag:0
 					}, 'application/json;charset=UTF-8').then(res => {
 						for (var i = 0; i < res.data.data.records.length; i++) {
 							res.data.data.records[i].basis = "false"

+ 2 - 2
pages/release/release.vue

@@ -28,8 +28,8 @@
 				<hr style="margin: 16px 0; color: #EEEEEE;">
 				<view class="flex" style="right: 10px;">
 					<view @click='edit(item)' v-if='item.status!="待审核"' class='anniu'>编辑</view>
-					<view class='anniu' @click="switch1(item)" v-if="item.showFlag == 0">显示</view>
-					<view class='anniu' @click="switch1(item)" v-if="item.showFlag == 1">隐藏</view>
+					<view class='anniu' @click="switch1(item)" v-if='item.showFlag == 0&&item.status!="待审核"'>显示</view>
+					<view class='anniu' @click="switch1(item)" v-if='item.showFlag == 1&&item.status!="待审核"'>隐藏</view>
 					<view class='anniu' @click="deleteRelease(item)">删除</view>
 				</view>
 			</view>