Kaynağa Gözat

1、添加银行卡个代添加手机号
2、个代分享二维码添加身份证号

lihongxiao 2 yıl önce
ebeveyn
işleme
a396d8f88f

+ 1 - 1
config/baseUrl.js

@@ -4,7 +4,7 @@ let socketUrl = "";
 if (process.env.NODE_ENV === 'development') {
 	// 开发环境
 	// baseUrl = "http://192.168.0.106:8080"; //屈晨
-	// baseUrl = "http://192.168.0.253:8080"; //蔡雅茹
+	// baseUrl = "http://192.168.0.55:8080"; //蔡雅茹
 	// baseUrl = "https://test.baoxianzhanggui.com/web-api"; //测试
 	// h5BaseUrl = "https://test.baoxianzhanggui.com/h5";
 	// baseUrl = "https://pre.baoxianzhanggui.com/web-api"; //预生产

+ 1 - 1
pages.json

@@ -379,7 +379,7 @@
 		{
 			"path": "pages/tools/team/team",
 			"style": {
-				"navigationBarTitleText": "团队管理",
+				"navigationBarTitleText": "会员管理",
 				"app-plus": {
 					"titleNView": false,
 					"scrollIndicator": "none",

+ 2 - 2
pages/my/my.vue

@@ -219,12 +219,12 @@
 				],
 				toolsList: [{
 						icon: 'icon-Frame-1',
-						text: '闪电增员',
+						text: '会员分享',
 						url: '/pages/tools/addStaff/addStaff',
 					},
 					{
 						icon: 'icon-Frame',
-						text: '团队管理',
+						text: '会员管理',
 						url: '/pages/tools/team/team',
 					},
 					{

+ 6 - 0
pages/register/orderissuer.vue

@@ -12,6 +12,10 @@
 				<view class="title">真实姓名</view>
 				<input placeholder="请输入姓名" v-model="name" />
 			</view>
+			<view class="phone d-flex">
+				<view class="title">身份证号</view>
+				<input placeholder="请输入身份证号" v-model="identity" />
+			</view>
 			<view class="password d-flex">
 				<view class="title">密码</view>
 				<input placeholder="请输入密码" v-model="password" :password='isHidePassword' maxlength="15"
@@ -73,6 +77,7 @@
 		data() {
 			return {
 				name: "",
+				identity:'',
 				phone: "",
 				password: "",
 				code: "",
@@ -229,6 +234,7 @@
 					"password": this.password,
 					"mobile": this.phone,
 					"mobileMsg": this.code,
+					"identity":this.identity,
 					"referrerId": this.recommenderid,
 					"referrerName": this.recommendername,
 					"flag": 2,

+ 3 - 3
pages/tools/addStaff/addStaff.vue

@@ -4,7 +4,7 @@
 		<public-module></public-module>
 		<view class="headers dis a-c j-start " :style="headerStyle">
 			<u-icon name="arrow-left" size="40" @tap="back"></u-icon>
-			<text style="margin: auto;">闪电增员</text>
+			<text style="margin: auto;">会员分享</text>
 		</view>
 		<view class="Personnel dis a-c j-s">
 			<view class="addMe">
@@ -20,7 +20,7 @@
 		<view class="" style="padding: 16px;">
 			<view class="promotion " v-if="sources==1">
 				<view style="width: 100%;border-bottom: 1px solid #f2f2f2;">
-					<u-tabs :list="list" :is-scroll="false" :current="current" @change="change"></u-tabs>
+					<u-tabs :list="list1" :is-scroll="false" :current="current" @change="change"></u-tabs>
 				</view>
 				<view class="dis a-c j-c f-c mt-5" v-if="current==0">
 					<image :src="recommendImg" mode="widthFix" lazy-load style="width: 110px;"></image>
@@ -43,7 +43,7 @@
 			</view>
 			<view class="promotion " v-if="sources==2">
 				<view style="width: 100%;border-bottom: 1px solid #f2f2f2;">
-					<u-tabs :list="list1" :is-scroll="false" :current="current1" @change="change1"></u-tabs>
+					<u-tabs :list="list" :is-scroll="false" :current="current1" @change="change1"></u-tabs>
 				</view>
 				<view class="dis a-c j-c f-c mt-5" v-if="current1==0">
 					<image :src="orderissuerImg" mode="widthFix" lazy-load style="width: 110px;"></image>

+ 5 - 5
pages/tools/team/team.vue

@@ -28,8 +28,8 @@
 				</view>
 				<view class="teamStatistics">
 					<view class="statisticsTitle">
-						<view class="d-flex a-center j-start">团队级别</view>
-						<view class="d-flex a-center j-center">团队人数</view>
+						<view class="d-flex a-center j-start">会员级别</view>
+						<view class="d-flex a-center j-center">会员人数</view>
 						<view class="d-flex a-center j-center">签单保费(元)</view>
 						<view class="d-flex a-center j-end">出单人力</view>
 					</view>
@@ -53,7 +53,7 @@
 			<view class="team_members">
 				<view class="team_member d-flex">
 					<view class="d-flex a-center j-center flex-1">
-						<view>团队成员</view>
+						<view>员</view>
 					</view>
 					<view class="d-flex a-center j-center flex-1">
 						<view>报价笔数</view>
@@ -208,7 +208,7 @@
 			}
 		},
 		async onLoad(params) {
-			this.pageTtile = this.userInfo.sysUser.name + "团队管理"
+			this.pageTtile = this.userInfo.sysUser.name + "会员管理"
 			// this.queryPeopleId = params.id
 			if ((!!params.id) && (!!params.name)) {
 				this.queryPeopleId = params.id;
@@ -217,7 +217,7 @@
 				this.queryPeopleId = this.userInfo.sysUser.id
 				await this.queryData()
 				uni.setNavigationBarTitle({
-					title: this.userInfo.sysUser.name + "团队管理"
+					title: this.userInfo.sysUser.name + "会员管理"
 				});
 			} else {
 				this.queryPeopleId = this.userInfo.sysUser.id

+ 18 - 2
pages/wallet/bindBank.vue

@@ -7,7 +7,9 @@
 				<text>请填写本人的银行卡信息</text>
 			</view>
 			<view class="formInfo">
-				<u-field v-model="realUserName" :field-style="{textAlign:'right'}" label="本人姓名" placeholder="输入真实姓名">
+				<u-field v-if='userInfo.sysUser.managementSource=="2"' @blur="phoneNoCard"  v-model="phoneNo" :field-style="{textAlign:'right'}" label="手机号" placeholder="输入手机号">
+				</u-field>
+				<u-field v-else v-model="realUserName" :field-style="{textAlign:'right'}" label="本人姓名" placeholder="输入真实姓名">
 				</u-field>
 				<u-field v-model="accountno" @blur="validateBankCard" :field-style="{textAlign:'right'}" label="银行卡"
 					placeholder="请输入银行卡卡号">
@@ -43,6 +45,7 @@
 		mapMutations
 	} from "vuex"
 	import bankBin from "@/common/bankcardinfo.js"
+import { log } from "util";
 	export default {
 		data() {
 			return {
@@ -51,6 +54,7 @@
 				accountno: "", //银行卡账号
 				bankAddress: "", //开户行
 				realUserName: "", //真实姓名
+				phoneNo:"",//手机号
 				disabled: true,
 				show: false,
 				list: [{
@@ -161,6 +165,7 @@
 				},
 			},
 		},
+		
 		methods: {
 			...mapMutations(['setUserModules']),
 			// 改变按钮状态
@@ -188,8 +193,18 @@
 						});
 					})
 			},
+			async phoneNoCard() {
+				if (!this.$base.phoneRegular.test(this.phone)) {
+					return uni.showToast({
+						title: '请输入正确的手机号码',
+						icon: 'none'
+					});
+				}
+			},
 			async submit() {
-				if (!this.bankname || !this.accountno || !this.realUserName || !this.bankAddress) {
+				if ((this.userInfo.sysUser.managementSource=="2" && !this.phoneNo|| !this.bankname || !this.accountno  || !this.bankAddress) ||
+				(this.userInfo.sysUser.managementSource!=="2" && !this.realUserName|| !this.bankname || !this.accountno  || !this.bankAddress)
+				) {
 					return uni.showToast({
 						title: '信息不完整',
 						duration: 2000,
@@ -199,6 +214,7 @@
 				var params = {
 					"bankNumber": this.accountno,
 					"realUserName": this.realUserName,
+					"phoneNo":this.phoneNo,
 					"bankAccount": this.bankname,
 					"bankAddress": this.bankAddress,
 					"isDefault": 0,