gjy 3 years ago
parent
commit
18b131a533
2 changed files with 15 additions and 3 deletions
  1. 14 2
      pageD/identity/companyIdentity.vue
  2. 1 1
      pages/erpbusiness/sm/sm.vue

+ 14 - 2
pageD/identity/companyIdentity.vue

@@ -1,6 +1,6 @@
 <template>
 	<view class="center">
-		<view class="top">
+		<view v-if='!status' class="top">
 			<text @click='consent' v-bind:class="switchs1">公司</text>
 			<text @click='consent' v-bind:class="switchs2">个人</text>
 		</view>
@@ -117,7 +117,7 @@
 				id1: "../../static/img/authentication/identityup(3).png",
 				id2: "../../static/img/authentication/identitylow(3).png",
 				identityImgs1: {},
-
+status:false,
 				identityAuthenticationInfo: {},
 				tempFilePaths: [],
 				businessLicenseAddressUrl: "",
@@ -126,6 +126,18 @@
 		},
 		computed: {
 			...mapState(['hasLogin', 'userInfo'])
+		},
+		onLoad(options) {
+			if(options.status){
+				this.status=true
+				this.consentStatus = false
+				this.consentStatus1 = true
+				this.switchs1 = "switchs2"
+				this.switchs2 = "switchs1"
+			}
+		},
+		onShow(){
+			
 		},
 		methods: {
 			filterFileType(index, lists) {

+ 1 - 1
pages/erpbusiness/sm/sm.vue

@@ -94,7 +94,7 @@
 			//粮商认证
 			toGrainMerchantCertification(){
 				uni.navigateTo({
-					url:'/pages/attestation/indexTwo'
+					url:'/pageD/identity/companyIdentity?status=1'
 				})
 			},