浏览代码

就业合伙人

linwu 1 天之前
父节点
当前提交
189ff8c6c6
共有 6 个文件被更改,包括 34 次插入36 次删除
  1. 1 0
      common/request/request.js
  2. 2 2
      main.js
  3. 1 6
      manifest.json
  4. 0 1
      pages.json
  5. 28 24
      pages/my/my.vue
  6. 2 3
      pages/my/myauth.vue

+ 1 - 0
common/request/request.js

@@ -118,6 +118,7 @@ class Request {
 					let callData = Object.assign({
 						extra
 					}, finsh,{statusCode});
+					console.log(callData);
 					if (statusCode == 200) {
 						try {
 							let verifyRes = await this.defaultReq.beforeFinsh(callData);

+ 2 - 2
main.js

@@ -22,8 +22,8 @@ app.$mount();
 import {
 	req
 } from '@/common/request/request.js';
-// let baseUrl = 'http://bd.odd_job.com/';
-let baseUrl = 'https://linggong.jinjianghc.com/';
+let baseUrl = 'http://bd.oddjob.com/';
+// let baseUrl = 'https://linggong.jinjianghc.com/';
 // let baseUrl = 'https://linggong.jiangzi.xin/';
 req.baseuUrl = baseUrl + 'mainapp.php/';
 

+ 1 - 6
manifest.json

@@ -105,12 +105,7 @@
                 "desc" : "获取地理位置,推送附件门店信息。"
             }
         },
-        "plugins" : {
-            "ocr-plugin" : {
-                "version" : "3.1.3",
-                "provider" : "wx4418e3e031e551be"
-            }
-        },
+        "plugins" : {},
         "requiredPrivateInfos" : [ "chooseAddress", "getLocation" ]
     }
 }

+ 0 - 1
pages.json

@@ -746,7 +746,6 @@
 		"navigationBarTitleText": "晋江人力",
 		"navigationBarBackgroundColor": "#F8F8F8",
 		"usingComponents": {
-			"ocr-navigator": "plugin://ocr-plugin/ocr-navigator"
 		}
 	}
 	// "tabBar": {

+ 28 - 24
pages/my/my.vue

@@ -23,11 +23,18 @@
 											:src="$getImageUrl('static/images/applet/my/verify.png')">
 										</image>
 									</view>
-									<view class="verify-text">经纪人</view>
+									<view class="verify-text">
+										<text v-if="brokerall[0]['is_partner'] == 1">就业合伙人</text>
+										<text v-else>经纪人</text>
+									</view>
 								</view>
 								<text class="infor-top-noVerify" v-if="userinfo.authstatus == 1">(未实名)</text>
 							</view>
-							<view class="infor-bottom">{{userinfo.mobile}}<text class="margin-left" v-if="upper" @click="myUpper">(我的上级)</text></view>
+							<view class="infor-bottom">
+								{{userinfo.mobile}}
+								<text class="margin-left" v-if="upper" @click="myUpper">(上级门店)</text>
+								<text class="margin-left" v-if="upper" @click="myUpper">(归属就业合伙人)</text>
+							</view>
 						</view>
 					</view>
 				</view>
@@ -61,7 +68,7 @@
 			<view class="topApply-right" v-if="brokerall == null" @tap="goLPage('/pages/broker/brokerform')">立即开通</view>
 			<view class="topApply-right" v-if="brokerall != null" @tap="goLPage('/pages/broker/center')">进入工作台</view>
 		</view>
-		
+
 		<view class="teacher" @click="goLPage('/pages/resident/resident')" v-if="resident != null">
 			<view class="teacher-left">
 				<image class="left-icon" :src="$getImageUrl('static/images/applet/index/topApplyIcon.png')"></image>
@@ -354,24 +361,23 @@
 				</view>
 			</view>
 		</view>
-		
+
 		<view class="cu-modal" :class="modalName=='upperModal'?'show':''">
-		  <view class="cu-dialog">
-		    <view class="cu-bar bg-white justify-end">
-		      <view class="content">我的上级</view>
-		      <view class="action" @tap="hideModal">
-		        <text class="cuIcon-close text-red"></text>
-		      </view>
-		    </view>
-		    <view class="padding-xl text-left text-lg">
-				<view>姓名:{{upper.title}}</view>
-				<view class="margin-top-sm">电话:{{upper.mobile}}</view>
-		    </view>
-		  </view>
+			<view class="cu-dialog">
+				<view class="cu-bar bg-white justify-end">
+					<view class="content">归属门店</view>
+					<view class="action" @tap="hideModal">
+						<text class="cuIcon-close text-red"></text>
+					</view>
+				</view>
+				<view class="padding-xl text-left text-lg">
+					<view>姓名:{{upper.title}}</view>
+					<view class="margin-top-sm">电话:{{upper.mobile}}</view>
+				</view>
+			</view>
 		</view>
 
 
-
 		<view class="padding-sm"></view>
 		<view class="padding-xl"></view>
 		<view class="cu-bar tabbar bg-white foot">
@@ -617,7 +623,6 @@
 
 				}
 
-
 			},
 
 			goNavPage: function(pageurl) {
@@ -684,7 +689,7 @@
 				// 	url: "/pages/index/home"
 				// });
 			},
-			
+
 			myUpper: function() {
 				_this.modalName = "upperModal";
 			},
@@ -708,7 +713,6 @@
 			z-index: -100;
 		}
 
-
 		.topArea-nav {
 			padding: 0 20rpx;
 			display: flex;
@@ -897,7 +901,7 @@
 			color: #3F3852;
 		}
 	}
-	
+
 	.teacher {
 		margin: 30rpx 20rpx;
 		padding: 10rpx 30rpx;
@@ -907,21 +911,21 @@
 		display: flex;
 		align-items: center;
 		// justify-content: space-between;
-		
+
 		.teacher-left {
 			width: 62rpx;
 			height: 62rpx;
 			border-radius: 50%;
 			box-shadow: 0rpx 4rpx 8rpx 2rpx rgba(0, 0, 0, 0.3);
 			opacity: 1;
-		
+
 			.left-icon {
 				width: 62rpx;
 				height: 62rpx;
 				border-radius: 50%;
 			}
 		}
-		
+
 		.teacher-center {
 			margin-left: 20rpx;
 			height: 50rpx;

+ 2 - 3
pages/my/myauth.vue

@@ -15,10 +15,9 @@
 					<view class="text-sm text-grey padding-top-sm"> 上传身份证(国徽页) </view>
 				</view>
 			</view>
-			<ocr-navigator @onSuccess="idCardSuccess" certificateType="idCard" :opposite="false">
-				<!-- <button type="primary">点击识别身份证</button> -->
+			<!-- <ocr-navigator @onSuccess="idCardSuccess" certificateType="idCard" :opposite="false">
 				<view class="Identification">点击识别身份证</view>
-			</ocr-navigator>
+			</ocr-navigator> -->
 			<view class="cu-list menu margin-top-sm">
 				<view class="cu-item arrow" data-title="姓名" data-infobox="input" data-field="nickname"
 					:data-value="userinfo.nickname" @click="showModal">