소스 검색

预加载

zhengkaixin 1 년 전
부모
커밋
258802dc25

+ 2 - 2
config/.env.dev.js

@@ -11,9 +11,9 @@ const UNI_APP = {
 	NODE_ENV :"dev",
 	SIMPLE_RUN:false,// 无视权限控制跳转页面   , 用于样式人员快速访问各种功能 ,快速测试等
 
-	openId:"o_5WO4hc7MyyVNjSDePRIft6AokI",//个人企业都注册
+	//openId:"o_5WO4hc7MyyVNjSDePRIft6AokI",//个人企业都注册
 	
-	//openId:"001",// 个人企业 未注册
+	openId:"001",// 个人企业 未注册
 	//openId:"002",// 个人  注册 ,企业未
 	//openId:"323",// 个人  未注册 ,企业 注册
 	 

+ 7 - 1
pages.json

@@ -11,7 +11,13 @@
 				}
 			    
        
-    ],
+    ],
+	"preloadRule": {
+			"pages/main/index/index": {
+				"network": "all",
+				"packages": ["pages/tab","pages/packages"]
+			}
+	},
 	"globalStyle": {
 		"navigationStyle": "custom", // 隐藏系统导航栏
 		"navigationBarTitleText": "荆开零工驿站",

+ 2 - 2
pages/main/index/index.vue

@@ -231,7 +231,7 @@
 			
 				if(mod){
 					if(mod.linkUrl){
-						console.log(mod)
+						
 						uni.navigateTo({
 							url:mod.linkUrl
 						})
@@ -248,7 +248,7 @@
 							linkUrl:item.linkUrl
 						}
 					})	 
-					console.log(this.bannerlist)
+					
 									 
 				}).catch(error => {
 									

+ 1 - 1
pages/packages/as-components/limeClipper/limeClipper.vue

@@ -775,7 +775,7 @@ export default {
 							this.$emit('input', false)
 						},
 						fail: (error) => {
-							console.error('error', error)
+							//.error('error', error)
 							this.$emit('fail', error);
 							this.$emit('input', false)
 						}

+ 4 - 4
pages/packages/choreInformation/jobSearchDetails.vue

@@ -182,7 +182,7 @@
 		},
 		onShareAppMessage(res) {
 			if (res.from === 'button') { // 来自页面内分享按钮
-				console.log(res.target)
+				//.log(res.target)
 			}
 			return {
 				title: '求职详情',
@@ -234,7 +234,7 @@
 				
 								//uni.navigateBack()
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								//.log('用户点击取消');
 							}
 						}
 					});
@@ -292,7 +292,7 @@
 								})
 								
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								//.log('用户点击取消');
 							}
 						}
 					});
@@ -311,7 +311,7 @@
 								})
 								
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								//.log('用户点击取消');
 							}
 						}
 					});

+ 5 - 5
pages/packages/jobInformation/jobDetails.vue

@@ -163,7 +163,7 @@
 		},
 		onShareAppMessage(res) {
 			if (res.from === 'button') { // 来自页面内分享按钮
-				console.log(res.target)
+				//.log(res.target)
 			}
 			return {
 				title: this.showTitle,
@@ -212,7 +212,7 @@
 								})
 
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								//.log('用户点击取消');
 							}
 						}
 					});
@@ -231,7 +231,7 @@
 								})
 
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								//.log('用户点击取消');
 							}
 						}
 					});
@@ -251,7 +251,7 @@
 								})
 
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								//.log('用户点击取消');
 							}
 						}
 					});
@@ -275,7 +275,7 @@
 
 								//uni.navigateBack()
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								//.log('用户点击取消');
 							}
 						}
 					});

+ 1 - 1
pages/packages/mine/employmentService/laborManagement/laborManagement.vue

@@ -197,7 +197,7 @@
 						if (res.confirm) {
 							_this.deleteBtnMethod(item)
 						} else if (res.cancel) {
-							console.log('用户点击取消');
+							//.log('用户点击取消');
 						}
 					}
 				});

+ 3 - 3
pages/packages/mine/employmentService/laborManagement/postMessage.vue

@@ -211,7 +211,7 @@
 						this.formData = res.data.recruitInformationInfo;
 						var name=["salaryForm","settlementMethod","industry",]
 						for(var i in  name){
-							console.log(name[i]+'N')
+							//.log(name[i]+'N')
 							this[name[i]]=this.formData[(name[i]+'N')]
 						}
 						this.workArea= this.formData.workArea
@@ -232,7 +232,7 @@
 				"workArea",]
 				this[name[this.selectIndex]]=e[0].label
 				this.formData[name[this.selectIndex]]=e[0].value
-				console.log(e)
+				//.log(e)
 			},
 			showselect(k){
 				this.selectIndex=k;
@@ -345,7 +345,7 @@
 								
 								uni.navigateBack()
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								//.log('用户点击取消');
 							}
 						}
 					});

+ 4 - 4
pages/packages/mine/myJobInformation/myJobInformation.vue

@@ -188,7 +188,7 @@
 						var name=["intendedIndustries","method",
 						"workExperience","education",]
 						for(var i in  name){
-							console.log(name[i]+'N')
+							//.log(name[i]+'N')
 							this[name[i]]=this.formData[(name[i]+'N')]
 						}
 						this.src= this.formData.photo
@@ -221,7 +221,7 @@
 								
 								uni.navigateBack()
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								//.log('用户点击取消');
 							}
 						}
 					});
@@ -286,7 +286,7 @@
 						
 						
 						var obj = JSON.parse(uploadFileRes.data)
-						console.log(obj);
+						//.log(obj);
 						this.src = obj.data;
 
 						// uni.hideLoading();
@@ -299,7 +299,7 @@
 				"workExperience","education",]
 				this[name[this.selectIndex]]=e[0].label
 				this.formData[name[this.selectIndex]]=e[0].value
-				console.log(e)
+				//.log(e)
 			},
 			uploadPhoto() {
 				let _self = this;

+ 55 - 21
pages/packages/mine/otherServices/authentication.vue

@@ -125,7 +125,10 @@
 								请保证图中文字、印章等清晰可辨识
 							</view>
 						</view>
-						<u-upload ref="uUpload" :action="action" name="photoFile" :file-list="listPic"
+						<view class="img-box" v-if="entinReview" >
+							<img width="100%" height="100%" :src="enterpriseForm.licenseImage" alt="">
+						</view>
+						<u-upload v-else ref="uUpload" :action="action" name="photoFile" :file-list="listPic"
 							:form-data="formData" :header="header" width="686" max-count="1" @on-success="onSuccess">
 						</u-upload>
 					</view>
@@ -236,11 +239,26 @@
 		},
 		methods: {
 			onSuccess(data, index, lists, name) {
-				console.log(data)
+				//.log(data)
 				if(data.result) {
 					this.enterpriseForm.licenseUrl = data.data;
 				}
 			},
+			personalAutApi(){
+				uni.showLoading({
+					title: "加载中",
+					mask: true
+				})
+				API_main.createAuthentication(this.personalForm).then((res) => {
+					uni.hideLoading();
+					this.getFindByOpenId();
+				}).catch(error => {
+					uni.showToast({icon: 'none',
+						title: error,
+						icon: "none"
+					})
+				})
+			},
 			personalAut() {
 				if(!this.personalForm.realName) {
 					uni.showToast({icon: 'none',
@@ -264,12 +282,32 @@
 					})
 					return;
 				}
+				var _this=this;
+				uni.showModal({
+					title: '提示',
+					content:"确认提交个人认证信息",
+					//content: '这是一个模态弹窗',
+					success: function(res) {
+						if (res.confirm) {
+							_this.personalAutApi()
+						} else if (res.cancel) {
+							//.log('用户点击取消');
+						}
+					}
+				});
 				
+				
+			},
+			enterpriseCerApi() {
 				uni.showLoading({
 					title: "加载中",
 					mask: true
 				})
-				API_main.createAuthentication(this.personalForm).then((res) => {
+				API_main.createAuthentication({
+					enterpriseName: this.enterpriseForm.name,
+					licenseUrl: this.enterpriseForm.licenseUrl,
+					type: this.enterpriseForm.type
+				}).then((res) => {
 					uni.hideLoading();
 					this.getFindByOpenId();
 				}).catch(error => {
@@ -280,7 +318,7 @@
 				})
 			},
 			enterpriseCer() {
-				if(!this.enterpriseForm.enterpriseName) {
+				if(!this.enterpriseForm.name) {
 					uni.showToast({icon: 'none',
 						title: "请填写企业全称",
 						icon: "none"
@@ -294,24 +332,20 @@
 					})
 					return
 				}
+				var _this=this;
+				uni.showModal({
+					title: '提示',
+					content:"确认提交企业认证信息",
+					//content: '这是一个模态弹窗',
+					success: function(res) {
+						if (res.confirm) {
+							_this.enterpriseCerApi()
+						} else if (res.cancel) {
+							//.log('用户点击取消');
+						}
+					}
+				});
 				
-				uni.showLoading({
-					title: "加载中",
-					mask: true
-				})
-				API_main.createAuthentication({
-					enterpriseName: this.enterpriseForm.name,
-					licenseUrl: this.enterpriseForm.licenseUrl,
-					type: this.enterpriseForm.type
-				}).then((res) => {
-					uni.hideLoading();
-					this.getFindByOpenId();
-				}).catch(error => {
-					uni.showToast({icon: 'none',
-						title: error,
-						icon: "none"
-					})
-				})
 			},
 			getFindByOpenId(){
 				uni.showLoading({

+ 247 - 247
pages/packages/search/search.vue

@@ -1,38 +1,38 @@
-<template>
-	<view>
-		<u-navbar back-text="搜索" back-icon-size="28" back-icon-color="#ffffff"
-			:background="{backgroundColor: '#2795FD',}" :back-text-style="{color: '#ffffff'}"></u-navbar>
-
-		<!-- 搜索框 -->
-		<view class="search">
-			<view class="search-box">
-				<view class="option">
-					<nxsearch :selectList="selectList" button="inside" @search="doSearch" @confirm="doSearch"
-						v-model="searchQuery.keyword" placeholder="输入关键字找工作" />
-
-
-				</view>
-			</view>
+<template>
+	<view>
+		<u-navbar back-text="搜索" back-icon-size="28" back-icon-color="#ffffff"
+			:background="{backgroundColor: '#2795FD',}" :back-text-style="{color: '#ffffff'}"></u-navbar>
+
+		<!-- 搜索框 -->
+		<view class="search">
+			<view class="search-box">
+				<view class="option">
+					<nxsearch :selectList="selectList" button="inside" @search="doSearch" @confirm="doSearch"
+						v-model="searchQuery.keyword" placeholder="输入关键字找工作" />
+
+
+				</view>
+			</view>
 		</view>
-		
-		<!-- 搜索历史 -->
-		<view class="search-history"  v-show="step" >
-			<view class="top">
-				<view class="title">
-					搜索历史
-				</view>
-				<view class="clear" @click="clear()">
-					清空历史
-				</view>
-			</view>
-			<view class="history">
-				<view class="tag" v-for="(mod,index) in searchHistory" :key="index" v-text="mod"
-					@click="searchQuery.keyword=mod,submit()">
-					打杂
-				</view>
-
-			</view>
-
+		
+		<!-- 搜索历史 -->
+		<view class="search-history"  v-show="step" >
+			<view class="top">
+				<view class="title">
+					搜索历史
+				</view>
+				<view class="clear" @click="clear()">
+					清空历史
+				</view>
+			</view>
+			<view class="history">
+				<view class="tag" v-for="(mod,index) in searchHistory" :key="index" v-text="mod"
+					@click="searchQuery.keyword=mod,submit()">
+					打杂
+				</view>
+
+			</view>
+
 		</view>
 		<!-- 搜索结果 -->
 		<view class="result"  v-if="!step&&searchQuery.selectIndex==0" >
@@ -243,48 +243,48 @@
 		
 		
 		
-		
-	</view>
-</template>
-
-<script>
-	import * as API from '@/apis/pagejs/packages.js'
-	import nxsearch from "@/components/nx-search.vue"
+		
+	</view>
+</template>
+
+<script>
+	import * as API from '@/apis/pagejs/packages.js'
+	import nxsearch from "@/components/nx-search.vue"
 	import * as API_weixin from '@/apis/weixin.js'
-
-	export default {
-		components: {
-			nxsearch
-		},
-
-		data() {
-			return {
-				step: true, //步骤 ,true第一步查询,false第二步显示结果
-
-
-				searchQuery: {
-					keyword: '',
-					selectIndex: 0
-				},
-				selectList: [{
-						id: 1,
-						name: '找零工'
-					},
-					{
-						id: 0,
-						name: '找工作'
-					}
-				],
-				recordsTotal: 0,
-				listForm: {
-					typeId: "",
-					title: "",
-					pageIndex: 1,
-					pageSize: 4,
-					totalPage: 1,
+
+	export default {
+		components: {
+			nxsearch
+		},
+
+		data() {
+			return {
+				step: true, //步骤 ,true第一步查询,false第二步显示结果
+
+
+				searchQuery: {
+					keyword: '',
+					selectIndex: 0
+				},
+				selectList: [{
+						id: 1,
+						name: '找零工'
+					},
+					{
+						id: 0,
+						name: '找工作'
+					}
+				],
+				recordsTotal: 0,
+				listForm: {
+					typeId: "",
+					title: "",
+					pageIndex: 1,
+					pageSize: 4,
+					totalPage: 1,
 				},
-				current: 0,
-				list: [],
+				current: 0,
+				list: [],
 				searchHistory: [],
 				tabList:[],
 				tabList2: [{
@@ -375,31 +375,31 @@
 				}],
 				workList: [
 				
-				],
+				],
 				saralyChecked: -1,
 				workChecked: -1,
 				isChecked: -1,
 				wayChecked: -1,
-				popupShow:false,
-			}
-		},
-		onLoad(op) {
-			if (op.type) {
-				this.searchQuery.selectIndex = op.type
-			}
-
-			var sz = this.carhelp.get("setSearchHistory");
-			if (sz) {
-				this.searchHistory = sz
-			} else {
-				this.searchHistory = []
-			}
-		},
-		onReachBottom() {
-			if (this.list.length < this.recordsTotal) {
-				this.myLoadmore();
-			}
-		},
+				popupShow:false,
+			}
+		},
+		onLoad(op) {
+			if (op.type) {
+				this.searchQuery.selectIndex = op.type
+			}
+
+			var sz = this.carhelp.get("setSearchHistory");
+			if (sz) {
+				this.searchHistory = sz
+			} else {
+				this.searchHistory = []
+			}
+		},
+		onReachBottom() {
+			if (this.list.length < this.recordsTotal) {
+				this.myLoadmore();
+			}
+		},
 		methods: {
 			
 			popupShowOpen2(){
@@ -456,72 +456,72 @@
 					})
 					
 				}
-			},
-			ckInfo(id) {
-				var url = "/pages/news/articleDetails?id=" + id;
-				uni.navigateTo({
-					url: url
-				})
-			},
-			clear() {
-				this.setSearchHistory([]);
-				mui.toast("搜索内容已清空");
-			},
-			setHistory() {
-				//搜索记录保存
-				var key = this.searchQuery.keyword;
-				var sz = this.searchHistory;
-				if (!sz) {
-					sz = [];
-				}
-				var temp = [];
-				//去重 ,后插入的,排队到最前面
-				if (sz.length) {
-					for (var i in sz) {
-						if (i == 0) {
-							temp.push(key);
-						}
-						if (sz[i] == key) {
-							continue;
-						}
-						temp.push(sz[i]);
-
-						if (temp.length == 10) {
-							break
-						}
-
-					}
-				} else {
-					temp.push(key);
-				}
-
-				this.setSearchHistory(temp);
-			},
-			setSearchHistory(obj) {
-				this.searchHistory = obj
-				this.carhelp.set("setSearchHistory", obj)
-			},
-			blur() {
-
-			},
-			focus() {
-				this.step = true;
-			},
-			submit() {
-				if (!this.searchQuery.keyword) {
-					return
-				}
-				this.setHistory()
-				
-				this.listForm.pageIndex = 1
-				// var ref =this.$refs.searchinput.getRef()
-				// ref.blur()
-				this.query();
-			},
-			myLoadmore() {
-				this.listForm.pageIndex += 1;
-				this.query();
-			},
+			},
+			ckInfo(id) {
+				var url = "/pages/news/articleDetails?id=" + id;
+				uni.navigateTo({
+					url: url
+				})
+			},
+			clear() {
+				this.setSearchHistory([]);
+				mui.toast("搜索内容已清空");
+			},
+			setHistory() {
+				//搜索记录保存
+				var key = this.searchQuery.keyword;
+				var sz = this.searchHistory;
+				if (!sz) {
+					sz = [];
+				}
+				var temp = [];
+				//去重 ,后插入的,排队到最前面
+				if (sz.length) {
+					for (var i in sz) {
+						if (i == 0) {
+							temp.push(key);
+						}
+						if (sz[i] == key) {
+							continue;
+						}
+						temp.push(sz[i]);
+
+						if (temp.length == 10) {
+							break
+						}
+
+					}
+				} else {
+					temp.push(key);
+				}
+
+				this.setSearchHistory(temp);
+			},
+			setSearchHistory(obj) {
+				this.searchHistory = obj
+				this.carhelp.set("setSearchHistory", obj)
+			},
+			blur() {
+
+			},
+			focus() {
+				this.step = true;
+			},
+			submit() {
+				if (!this.searchQuery.keyword) {
+					return
+				}
+				this.setHistory()
+				
+				this.listForm.pageIndex = 1
+				// var ref =this.$refs.searchinput.getRef()
+				// ref.blur()
+				this.query();
+			},
+			myLoadmore() {
+				this.listForm.pageIndex += 1;
+				this.query();
+			},
 			query() {
 				
 				if(this.searchQuery.selectIndex==0){
@@ -535,35 +535,35 @@
 					]
 				}
 				this.step = false;
-				
-				uni.showLoading({
-					title: "加载中",
-					mask: true,
-				})
-				API.findRecruitSearch({
-					pageIndex: 1,
-					pageSize: 20,
-					status: this.selectList[this.searchQuery.selectIndex].id,
-					content: this.searchQuery.keyword
-				}).then((res) => {
-					uni.hideLoading();
-					this.tabList[this.current].list = res.data.data
-					this.tabList[this.current].recordsTotal = res.data.recordsTotal
-
-				}).catch(error => {
-
-					uni.showToast({icon: 'none',
-						title: error
-					})
-					//this.getPhone()
-
-				})
-			},
-			// 执行搜索
-			doSearch(searchQuery) {
-				console.log('searchQuery', searchQuery);
-				this.searchQuery=searchQuery;
-				this.submit()
+				
+				uni.showLoading({
+					title: "加载中",
+					mask: true,
+				})
+				API.findRecruitSearch({
+					pageIndex: 1,
+					pageSize: 20,
+					status: this.selectList[this.searchQuery.selectIndex].id,
+					content: this.searchQuery.keyword
+				}).then((res) => {
+					uni.hideLoading();
+					this.tabList[this.current].list = res.data.data
+					this.tabList[this.current].recordsTotal = res.data.recordsTotal
+
+				}).catch(error => {
+
+					uni.showToast({icon: 'none',
+						title: error
+					})
+					//this.getPhone()
+
+				})
+			},
+			// 执行搜索
+			doSearch(searchQuery) {
+				//.log('searchQuery', searchQuery);
+				this.searchQuery=searchQuery;
+				this.submit()
 			},
 			change(index) {
 				this.current = index;
@@ -606,62 +606,62 @@
 				this.queryForm.salaryEnd=""
 				this.queryForm.workExp=""
 				this.queryBtn()
-			}
-
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-	// 搜索框
-	.search {
-		padding: 16rpx 32rpx;
-
-		.search-box {
-			border-radius: 50px;
-			// background-color: rgba(243, 246, 249, 1);
-			height: 72rpx;
-			line-height: 72rpx;
-		}
-	}
-
-	// 搜索历史
-	.search-history {
-		padding: 0 32rpx;
-		margin-top: 40rpx;
-
-		.top {
-			display: flex;
-			justify-content: space-between;
-			align-items: center;
-
-			.title {
-				color: #101010;
-			}
-
-			.clear {
-				color: rgba(169, 169, 169, 1);
-				font-size: 24rpx;
-			}
-		}
-
-		.history {
-			display: flex;
-			margin-top: 16rpx;
-
-			.tag {
-				width: 144rpx;
-				height: 56rpx;
-				line-height: 56rpx;
-				border-radius: 4px;
-				background-color: rgba(241, 244, 247, 1);
-				color: rgba(88, 88, 88, 1);
-				font-size: 12px;
-				text-align: center;
-				font-family: Arial;
-				margin-right: 16rpx;
-			}
-		}
+			}
+
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	// 搜索框
+	.search {
+		padding: 16rpx 32rpx;
+
+		.search-box {
+			border-radius: 50px;
+			// background-color: rgba(243, 246, 249, 1);
+			height: 72rpx;
+			line-height: 72rpx;
+		}
+	}
+
+	// 搜索历史
+	.search-history {
+		padding: 0 32rpx;
+		margin-top: 40rpx;
+
+		.top {
+			display: flex;
+			justify-content: space-between;
+			align-items: center;
+
+			.title {
+				color: #101010;
+			}
+
+			.clear {
+				color: rgba(169, 169, 169, 1);
+				font-size: 24rpx;
+			}
+		}
+
+		.history {
+			display: flex;
+			margin-top: 16rpx;
+
+			.tag {
+				width: 144rpx;
+				height: 56rpx;
+				line-height: 56rpx;
+				border-radius: 4px;
+				background-color: rgba(241, 244, 247, 1);
+				color: rgba(88, 88, 88, 1);
+				font-size: 12px;
+				text-align: center;
+				font-family: Arial;
+				margin-right: 16rpx;
+			}
+		}
 	}
 	
 	// 搜索结果
@@ -918,5 +918,5 @@
 	
 	/deep/.u-close--top-right {
 		top: 44rpx;
-	}
+	}
 </style>

+ 1 - 1
pages/packages/search/searchResult.vue

@@ -112,7 +112,7 @@
 		methods: {
 			// 执行搜索
 			doSearch(searchQuery) {
-				console.log('searchQuery', searchQuery);
+				//.log('searchQuery', searchQuery);
 			},
 			change(index) {
 							this.current = index;

+ 4 - 4
pages/packages/skillTraining/trainingRegistration.vue

@@ -123,7 +123,7 @@
 								})
 			
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								//.log('用户点击取消');
 							}
 						}
 					});
@@ -142,7 +142,7 @@
 								})
 			
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								//.log('用户点击取消');
 							}
 						}
 					});
@@ -162,7 +162,7 @@
 								})
 			
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								//.log('用户点击取消');
 							}
 						}
 					});
@@ -186,7 +186,7 @@
 			
 								//uni.navigateBack()
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								//.log('用户点击取消');
 							}
 						}
 					});

+ 1 - 1
pages/tab/choreInformation/choreInformation.vue

@@ -314,7 +314,7 @@
 			},
 			// 执行搜索
 			doSearch(searchQuery) {
-				console.log('searchQuery', searchQuery);
+				//.log('searchQuery', searchQuery);
 			},
 			change(index) {
 				this.current = index;

+ 3 - 3
pages/tab/issue/issue.vue

@@ -106,7 +106,7 @@
 								})
 				
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								//.log('用户点击取消');
 							}
 						}
 					});
@@ -130,7 +130,7 @@
 								})
 				
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								//.log('用户点击取消');
 							}
 						}
 					});
@@ -154,7 +154,7 @@
 								})
 								
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								//.log('用户点击取消');
 							}
 						}
 					});

+ 1 - 1
pages/tab/jobInformation/jobInformation.vue

@@ -327,7 +327,7 @@
 			},
 			// 执行搜索
 			doSearch(searchQuery) {
-				console.log('searchQuery', searchQuery);
+				//.log('searchQuery', searchQuery);
 				this.searchQuery=searchQuery;
 				
 			},

+ 8 - 7
pages/tab/mine/mine.vue

@@ -107,7 +107,8 @@
 			</view>
 			 <u-grid :col="3" :border="false">
 			 		<u-grid-item @click="toAuthentication">
-						<img v-if="userInfo.status==1||(userInfo.enterpriseInfo&&userInfo.enterpriseInfo.status==1)" src="@/assets/img/riFill-checkbox-circle-fill@1x.png" class="checked">
+						
+						<img v-if="ck1()||ck2()" src="@/assets/img/riFill-checkbox-circle-fill@1x.png" class="checked">
 			 			<img v-else src="@/assets/img/riFill-error-warning-fill@1x.png" class="badge-icon"></img>
 			 			
 						<view class="icon">
@@ -287,7 +288,7 @@
 					
 					this.num1=res.data.recordsTotal		  
 				}).catch(error => {
-					console.log(error)
+					//.log(error)
 					
 				})
 			},
@@ -300,7 +301,7 @@
 					
 					this.num2=res.data.recordsTotal		  
 				}).catch(error => {
-					console.log(error)
+					//.log(error)
 					
 				})
 			},
@@ -329,7 +330,7 @@
 					 }
 					 
 				 }).catch(error => {
-					 console.log("11111")
+					 //.log("11111")
 					 this.userInfo={};
 					 uni.hideLoading();
 					  this.show=true;
@@ -377,21 +378,21 @@
 									})
 								})
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								//.log('用户点击取消');
 							}
 						}
 					});
 				// #endif
 			},
 			decryptPhoneNumber(e){
-				 console.log(e.detail.code)
+				 //.log(e.detail.code)
 				 
 				 uni.showLoading({
 				 	title: "加载中",
 				 	mask: true,
 				 })
 				 API_weixin.findUserPhoneNumber(e.detail.code).then((res) => {
-				 	console.log(res)
+				 	//.log(res)
 					API.createUser({
 						phone:res.data,
 						openId:this.carhelp.getOpenId()