linwu 1 жил өмнө
parent
commit
7859ec744b

+ 3 - 3
pages.json

@@ -57,7 +57,7 @@
 			}
 		},
 
-		// 职业顾问中心
+		// 经纪人中心
 		{
 			"path": "pages/broker/center",
 			"style": {
@@ -145,7 +145,7 @@
 		{
 			"path": "pages/broker/brokerform",
 			"style": {
-				"navigationBarTitleText": "职业顾问注册申请"
+				"navigationBarTitleText": "经纪人注册申请"
 			}
 		},
 		{
@@ -424,7 +424,7 @@
 		{
 			"path": "pages/my/mybroker",
 			"style": {
-				"navigationBarTitleText": "我的职业顾问"
+				"navigationBarTitleText": "我的经纪人"
 			}
 		},
 		{

+ 18 - 0
pages/broker/brokerform.vue

@@ -19,6 +19,18 @@
 						placeholder-style="color: #979797;"></input>
 				</view>
 			</view>
+			<view class="broKerForm-item">
+				<view class="title">
+					类型
+				</view>
+				<view class="item-area">
+					<picker @change="TypeChange" :value="typeIndex" :range="typeArray">
+						<view class="picker">
+							{{typeIndex>-1?typeArray[typeIndex]:'请选择类型'}}
+						</view>
+					</picker>
+				</view>
+			</view>
 			<view class="broKerForm-item">
 				<view class="item-title">代理门店</view>
 				<view class="item-area">
@@ -137,6 +149,8 @@
 				],
 				townIndex: [0, 0],
 				village: [],
+				typeArray: ['经纪人','红色合伙人'],
+				typeIndex: 0,
 			};
 		},
 		onLoad: function() {
@@ -178,6 +192,9 @@
 			agentChange(e) {
 				this.agentIndex = e.detail.value
 			},
+			TypeChange(e){
+				this.typeIndex = e.detail.value
+			},
 			TownChange(e) {
 				this.townIndex = e.detail.value
 			},
@@ -241,6 +258,7 @@
 				data.agentid = _this.agentArray[_this.agentIndex].id;
 				data.town = _this.townArray[0][_this.townIndex[0]];
 				data.village = _this.townArray[1][_this.townIndex[1]];
+				data.type = _this.typeIndex - 0 + 1;
 
 				_this.$req.ajax({
 					path: "broker/apply",

+ 2 - 2
pages/broker/brokerform_back.vue

@@ -6,14 +6,14 @@
 		<view class="padding-xl"></view>
 		<view class="cu-bar bg-white tabbar border shop foot">
 			<view class="btn-group">
-				<button class="cu-btn bg-red round shadow-blur" @tap="tabModal" style="width: 80%;">立即申请成为职业顾问</button>
+				<button class="cu-btn bg-red round shadow-blur" @tap="tabModal" style="width: 80%;">立即申请成为经纪人</button>
 			</view>
 		</view>
 		
 		<view class="cu-modal" :class="showform">
 			<view class="cu-dialog">
 				<view class="cu-bar bg-white justify-end">
-					<view class="content">申请成为职业顾问</view>
+					<view class="content">申请成为经纪人</view>
 					<view class="action" @tap="tabModal">
 						<text class="cuIcon-close text-red"></text>
 					</view>

+ 1 - 1
pages/comjobs/setreport.vue

@@ -11,7 +11,7 @@
 			</view>
 			
 			<view class="text-gray padding-top-sm text-sm align-center">
-				报备职业顾问
+				报备经纪人
 				<block v-for="(item,index) in brokerall" :key="index">
 					<view :class="'cu-tag '+ (item.id==broker.id?'bg-blue':'')" :data-index="index" @tap="checkBroker">{{item.title}}</view>
 				</block>