gjy 2 rokov pred
rodič
commit
17eea35e35

+ 1 - 1
config/index.js

@@ -10,7 +10,7 @@ const dev = {
 	// baseUrlNew: 'http://192.168.110.202:8090/',
 	// baseUrlNew: 'http://192.168.110.138:8090/',
 	// 上传图片的
-	baseUrlNew: 'https://api2.eliangeyun.com/',
+	// baseUrlNew: 'https://api2.eliangeyun.com/',
 	h5Appid: 'wxb66b599f7f61b46f',
 	debug: false
 }

+ 2 - 2
pageD/identity/companyIdentityThree.vue

@@ -460,7 +460,7 @@
 																				})
 																				//判断是不是从邀请页面进来的,如果是邀请进来的就直接邀请成功!
 																				if(that.identityAuthenticationInfo.invitation || that.identityAuthenticationInfo.inviteCompany){
-																					that.$api.doRequest('get', '/identityAuthenticationInfo/saveCompanyIdentity', {
+																					that.$api.doRequest('post', '/identityAuthenticationInfo/saveCompanyIdentity', {
 																							id: res.data.data,
 																							compId:	that.identityAuthenticationInfo.inviteCompany,
 																						}, 'application/json;charset=UTF-8').then(res => {
@@ -549,7 +549,7 @@
 																	})
 																	//判断是不是从邀请页面进来的,如果是邀请进来的就直接邀请成功!
 																	if(that.identityAuthenticationInfo.invitation || that.identityAuthenticationInfo.inviteCompany){
-																		that.$api.doRequest('get', '/identityAuthenticationInfo/saveCompanyIdentity', {
+																		that.$api.doRequest('post', '/identityAuthenticationInfo/saveCompanyIdentity', {
 																				id: res.data.data,
 																				compId:	that.identityAuthenticationInfo.inviteCompany,
 																			}, 'application/json;charset=UTF-8').then(res => {

+ 3 - 0
pages/erpbusiness/sm/sm.vue

@@ -130,6 +130,7 @@
 				this.show = false
 				this.show1 = true
 				this.companyId = uni.getStorageSync('pcUserInfo').compId
+				
 				this.userName = uni.getStorageSync('userInfo').userName.split("-")[1]
 				if (this.companyId == this.compId) {
 					this.$api.doRequest('get', '/warehouseBaseInfo/getWarehouse', {
@@ -259,7 +260,9 @@
 			},
 			//粮商认证
 			toGrainMerchantCertification() {
+				
 				var that = this
+				console.log(that.user.companyId)
 				// url: `/pageA/product/list?keywords=${key}&TabCur=${TabCur}`
 				uni.navigateTo({
 					url: `/pageD/identity/companyIdentity?status=1&compId=${that.user.companyId}&ids=${that.user.title}`,

+ 1 - 1
pages/user/user.vue

@@ -301,7 +301,7 @@
 						src: '../../static/img/sign/shujubaobiao@2x.png',
 						tips: 0,
 						url: `/pages/user/report`,
-						show: true
+						show: uni.getStorageSync('pcUserInfo')?true:false
 					},
 					{
 						num: 7,