@dongkboy 11 mesi fa
parent
commit
15b11fac2c
54 ha cambiato i file con 987 aggiunte e 575 eliminazioni
  1. 60 57
      App.vue
  2. 40 7
      components/modules/my/my-list-item.vue
  3. 2 2
      config/baseUrl.js
  4. 4 6
      manifest.json
  5. 29 9
      node_modules/uview-ui/components/u-steps/u-steps.vue
  6. 23 3
      pages.json
  7. 15 1
      pages/carInsure2/quote.vue
  8. 94 38
      pages/carInsure2/quoteDetail.vue
  9. 50 26
      pages/login/login.vue
  10. 81 80
      pages/login/mimi.vue
  11. 81 80
      pages/login/minis.vue
  12. 124 102
      pages/login/xieyi.vue
  13. 25 14
      pages/orders1/orders.vue
  14. 17 0
      pages/orders1/paymentCode.vue
  15. 16 0
      pages/orders1/paymentCode1.vue
  16. 21 16
      pages/orders1/quoteHistory.vue
  17. 21 15
      pages/orders1/subOrders.vue
  18. 66 5
      pages/set/safe.vue
  19. 1 1
      pages/tools/addStaff/authenticationdetails.vue
  20. 2 0
      pages/tools/customer/customer.vue
  21. 123 0
      pages/tools/messageReminder/details.vue
  22. 75 93
      pages/tools/messageReminder/messageReminder.vue
  23. 8 14
      pages/tools/team/team.vue
  24. 7 6
      pages/tools/team/teamMember.vue
  25. 2 0
      plugins/request/index.js
  26. BIN
      static/image/messageIcon/icon-item-001.png
  27. BIN
      static/image/messageIcon/icon-item-002.png
  28. BIN
      static/image/messageIcon/icon-item-003.png
  29. BIN
      static/image/messageIcon/icon-item-004.png
  30. BIN
      static/image/messageIcon/icon-item-005.png
  31. BIN
      static/image/messageIcon/icon1.png
  32. BIN
      static/image/messageIcon/icon2.png
  33. BIN
      static/image/messageIcon/icon3.png
  34. BIN
      static/image/messageIcon/icon4.png
  35. BIN
      static/image/messageIcon/icon5.png
  36. BIN
      static/image/messageIcon/icon6.png
  37. BIN
      static/image/wallet/bankcard.png
  38. BIN
      static/image/wallet/bg1.png
  39. BIN
      static/image/wallet/bg2.png
  40. BIN
      static/image/wallet/bg3.png
  41. BIN
      static/image/wallet/bg4.png
  42. BIN
      static/image/wallet/bg5.png
  43. BIN
      static/image/wallet/bg6.png
  44. BIN
      static/image/wallet/gendan.png
  45. BIN
      static/image/wallet/gouwu.png
  46. BIN
      static/image/wallet/imgbg.jpg
  47. BIN
      static/image/wallet/money-bg.png
  48. BIN
      static/image/wallet/qianbao.png
  49. BIN
      static/image/wallet/shouxu.png
  50. BIN
      static/image/wallet/shouzhi.png
  51. BIN
      static/image/wallet/tixian.png
  52. BIN
      static/image/wallet/tuiguang.png
  53. BIN
      static/image/wallet/yushou.png
  54. BIN
      static/image/wallet/zengzhifuwu.png

+ 60 - 57
App.vue

@@ -17,7 +17,7 @@
 
 				var url = window.location.href;
 				if ((url.indexOf("pages/carInsure/payVerify") >
-						0) || (url.indexOf("pages/login/mimi") > 0) || (url.indexOf("pages/login/xieyi") > 0) || (url
+						0) || (url
 						.indexOf("pages/carInsure1/yonganCode") > 0)) {
 					uni.navigateTo({
 						url: url
@@ -30,7 +30,7 @@
 			} else {
 				var url = window.location.href;
 				if ((url.indexOf("pages/carInsure/payVerify") >
-						0) || (url.indexOf("pages/login/mimi") > 0) || (url.indexOf("pages/login/xieyi") > 0) || (url
+						0) || (url
 						.indexOf("pages/carInsure1/yonganCode") > 0)) {
 					uni.navigateTo({
 						url: url
@@ -45,7 +45,7 @@
 			if (store.state.token) {} else {
 				var url = window.location.href;
 				if ((url.indexOf("pages/carInsure/payVerify") >
-						0) || (url.indexOf("pages/login/mimi") > 0) || (url.indexOf("pages/login/xieyi") > 0) || (url
+						0) || (url
 						.indexOf("pages/carInsure1/yonganCode") > 0)) {
 					uni.navigateTo({
 						url: url
@@ -57,62 +57,65 @@
 			// #endif
 		},
 		onShow: function(e) {
-			uni.getLocation({
-				type: 'gcj02',
-				geocode: true,
-				success: function(res) {
-					console.log(res);
-					uni.setStorage({
-						key: 'location',
-						data: {
-							latitude: res.latitude,
-							longitude: res.longitude,
-						},
-						success: function() {
-							console.log('位置信息保存成功');
-						}
-					});
-				},
-				fail: function(err) {
-					console.log(err);
-					// #ifdef APP-PLUS
-					uni.showModal({
-						title: '提示',
-						content: '请打开定位服务',
-						success: ({
-							confirm,
-							cancel
-						}) => {
-							if (confirm) {
-								// android平台
-								if (uni.getSystemInfoSync().platform == 'android') {
-									var Intent = plus.android.importClass(
-										'android.content.Intent');
-									var Settings = plus.android.importClass(
-										'android.provider.Settings');
-									var intent = new Intent(Settings
-										.ACTION_LOCATION_SOURCE_SETTINGS);
-									var main = plus.android.runtimeMainActivity();
-									main.startActivity(intent); // 打开系统设置GPS服务页面
-
-								}
-							}
-							// 用户取消前往开启定位服务
-							if (cancel) {
-								uni.navigateBack({ //uni.navigateTo跳转的返回,默认1为返回上一级
-									delta: 1
-								});
-							}
-						}
-					});
-					// #endif
-
-				}
-			});
-
+			// uni.authorize({
+			// 	scope: 'scope.userLocation',
+			// 	success() {
+			// 		uni.getLocation()
+			// 	}
+			// })
+			// uni.getLocation({
+			// 	type: 'gcj02',
+			// 	geocode: true,
+			// 	success: function(res) {
+			// 		console.log(res);
+			// 		uni.setStorage({
+			// 			key: 'location',
+			// 			data: {
+			// 				latitude: res.latitude,
+			// 				longitude: res.longitude,
+			// 			},
+			// 			success: function() {
+			// 				console.log('位置信息保存成功');
+			// 			}
+			// 		});
+			// 	},
+			// 	fail: function(err) {
+			// 		console.log(err);
+			// 		// #ifdef APP-PLUS
+			// 		uni.showModal({
+			// 			title: '提示',
+			// 			content: '请打开定位服务',
+			// 			success: ({
+			// 				confirm,
+			// 				cancel
+			// 			}) => {
+			// 				if (confirm) {
+			// 					// android平台
+			// 					if (uni.getSystemInfoSync().platform == 'android') {
+			// 						var Intent = plus.android.importClass(
+			// 							'android.content.Intent');
+			// 						var Settings = plus.android.importClass(
+			// 							'android.provider.Settings');
+			// 						var intent = new Intent(Settings
+			// 							.ACTION_LOCATION_SOURCE_SETTINGS);
+			// 						var main = plus.android.runtimeMainActivity();
+			// 						main.startActivity(intent); // 打开系统设置GPS服务页面
+
+			// 					}
+			// 				}
+			// 用户取消前往开启定位服务
+			// 				if (cancel) {
+			// 					uni.navigateBack({ //uni.navigateTo跳转的返回,默认1为返回上一级
+			// 						delta: 1
+			// 					});
+			// 				}
+			// 			}
+			// 		});
+			// 		// #endif
+			// 	}
+			// });
 		},
 		onHide: function() {},
-
 		methods: {
 			//  TODO 开屏广告 后续优化添加
 			launch() {

+ 40 - 7
components/modules/my/my-list-item.vue

@@ -23,10 +23,11 @@
 		props: {
 			item: Object,
 			index: Number,
-			someData: {
-				type: Boolean,
-				default: null,
-			},
+			someData: Object
+		},
+		onShow() {
+			//获取支付宝回调code
+
 		},
 		methods: {
 			clickevent() {
@@ -69,7 +70,7 @@
 						});
 						break;
 					case "weixin":
-						if (this.someData) {
+						if (this.someData.weixinstatus) {
 							uni.showToast({
 								title: '已绑定',
 								icon: 'none'
@@ -78,7 +79,16 @@
 							this.bindother();
 						}
 						break;
-
+					case "zhifubao":
+						if (this.someData.zhifubaostatus) {
+							uni.showToast({
+								title: '已绑定',
+								icon: 'none'
+							});
+						} else {
+							this.zhofubaobindother();
+						}
+						break;
 					case "nothing":
 						uni.showToast({
 							title: '更新中...',
@@ -88,7 +98,7 @@
 
 				}
 			},
-			// 绑定第三方登录
+			// 绑定微信
 			bindother() {
 				uni.login({
 					provider: 'weixin',
@@ -103,6 +113,29 @@
 						});
 					}
 				});
+			},
+			// 绑定支付宝
+
+			zhofubaobindother() {
+				let urls =
+					'https://openauth.alipay.com/oauth2/publicAppAuthorize.htm?app_id=2021004153668213&scope=auth_user&redirect_uri=https://test.baoxianzhanggui.com/pay/';
+				urls = encodeURIComponent(urls); //将地址编码成浏览器访问的格式
+				plus.runtime.openURL(
+					'alipays://platformapi/startapp?appId=20000067&url=' + urls,
+					res => {
+						//这里写打开URL地址失败后的处理0
+						console.log(res);
+						uni.showModal({
+							content: '本机未检测到对应客户端,是否打开浏览器访问页面?',
+							success: function(res) {
+								if (res.confirm) {
+									//plus.runtime.openURL();
+								}
+							}
+						});
+					},
+					'com.eg.android.AlipayGphone'
+				);
 
 			},
 			async codeRes(code) {

+ 2 - 2
config/baseUrl.js

@@ -3,12 +3,12 @@ let h5BaseUrl = "";
 let socketUrl = "";
 if (process.env.NODE_ENV === 'development') {
 	// 开发环境
-	baseUrl = "http://192.168.0.115:8080"; //屈晨
+	// baseUrl = "http://192.168.0.103:8080"; //屈晨
 	// baseUrl = "https://test.baoxianzhanggui.com/web-api"; //测试
 	// h5BaseUrl = "https://test.baoxianzhanggui.com/h5";
 	// baseUrl = "https://pre.baoxianzhanggui.com/web-api"; //预生产
 	// h5BaseUrl = "https://pre.baoxianzhanggui.com/h5";
-	// baseUrl = "https://sxzgkj.baoxianzhanggui.com/web-api"; //生产
+	baseUrl = "https://sxzgkj.baoxianzhanggui.com/web-api"; //生产
 	h5BaseUrl = "https://sxzgkj.baoxianzhanggui.com/h5";
 	socketUrl = "";
 } else if (process.env.NODE_ENV === 'production') {

+ 4 - 6
manifest.json

@@ -7,8 +7,8 @@
 		"sizes": "分辨率,192x192",
 		"src": "图片路径"
 	}],
-	"versionName": "2.0.8",
-	"versionCode": 208,
+	"versionName": "2.1.6",
+	"versionCode": 216,
 	"app-plus": {
 		"error": {
 			"url": "hybrid/html/error.html"
@@ -88,9 +88,6 @@
 			"sdkConfigs": {
 				"ad": {},
 				"payment": {
-					"alipay": {
-						"__platform__": ["android"]
-					},
 					"weixin": {
 						"__platform__": ["android"],
 						"appid": "wx612ca90988c46947",
@@ -170,7 +167,8 @@
 				"useOriginalMsgbox": false
 			},
 			"ios": {
-				"dSYMs": false
+				"dSYMs": false,
+				"urltypes": "zgcxapp"
 			}
 		},
 		"compilerVersion": 3,

+ 29 - 9
node_modules/uview-ui/components/u-steps/u-steps.vue

@@ -12,21 +12,26 @@
 					<text v-if="current < index" :style="{
 						color: current < index ? unActiveColor : activeColor,
 					}">
-						{{ index + 1 }}
+						{{ index+1 }}
 					</text>
 					<u-icon v-else size="22" color="#ffffff" :name="icon"></u-icon>
+
 				</view>
+
 				<view class="u-steps__item__dot" v-if="mode == 'dot'" :style="{ 
 					backgroundColor: index <= current ? activeColor : unActiveColor 
 				}"></view>
-				<text class="u-line-1" :style="{ 
-					color: index <= current ? activeColor : unActiveColor,
-				}" :class="['u-steps__item__text--' + direction]">
-					{{ item.name }}
+				<text class="u-line-1" :style="{
+						color: index <= current ? activeColor : unActiveColor,
+					}" :class="['u-steps__item__text--' + direction]">
+					<text class="dis f-c a-start pathTraceColor" v-for="(value, key, index) in item"
+						:class="{' active':key=='time'}" :key="index">{{ value }}</text>
+
 				</text>
 				<view class="u-steps__item__line" :class="['u-steps__item__line--' + mode]"
 					v-if="index < list.length - 1">
-					<u-line :direction="direction" length="100%" :hair-line="false" :color="unActiveColor"></u-line>
+					<u-line :direction="direction" length="100%" :hair-line="false" :color="unActiveColor"
+						margin="10px 0"></u-line>
 				</view>
 			</view>
 		</view>
@@ -108,6 +113,10 @@
 	.u-steps {
 		@include vue-flex;
 
+		.u-steps__item__num {
+			font-size: 15px;
+		}
+
 		.u-steps__item {
 			flex: 1;
 			text-align: center;
@@ -144,13 +153,14 @@
 				@include vue-flex;
 				flex-direction: row;
 				justify-content: flex-start;
+				align-items: baseline;
 				min-height: 120rpx;
 
 				.u-steps__item__line {
 					position: absolute;
 					z-index: 0;
-					height: 50%;
-					top: 75%;
+					height: calc(100% - 25px);
+					top: 17px;
 
 					&--dot {
 						left: calc(#{$u-steps-item-dot-width} / 2);
@@ -185,8 +195,18 @@
 			}
 
 			&__text--column {
-				margin-left: 14rpx;
+				margin-left: 20rpx;
 			}
 		}
 	}
+
+	.pathTraceColor {
+		font-size: 15px;
+		color: #333;
+	}
+
+	.active {
+		font-size: 12px;
+		color: rgba(51, 51, 51, 0.8);
+	}
 </style>

+ 23 - 3
pages.json

@@ -222,11 +222,25 @@
 				"enablePullDownRefresh": true,
 				"navigationBarTitleText": "掌柜秘书",
 				"app-plus": {
+					"titleNView": false,
 					"scrollIndicator": "none", //隐藏滚动条
 					"bounce": "none" //关闭反弹效果
 				}
 			}
-		}, {
+		},
+		{
+			"path": "pages/tools/messageReminder/details",
+			"style": {
+				"enablePullDownRefresh": true,
+				"onReachBottomDistance": 10,
+				"navigationBarTitleText": "消息通知",
+				"app-plus": {
+					"scrollIndicator": "none", //隐藏滚动条
+					"bounce": "none" //关闭反弹效果
+				}
+			}
+		},
+		{
 			"path": "pages/tools/calculator/calculator",
 			"style": {
 				"navigationBarTitleText": "计算器",
@@ -310,6 +324,7 @@
 			"path": "pages/tools/customer/customer",
 			"style": {
 				"navigationBarTitleText": "客户管理",
+				"onReachBottomDistance": 50,
 				"app-plus": {
 					"titleNView": false,
 					"scrollIndicator": "none",
@@ -575,7 +590,9 @@
 					"bounce": "none"
 				}
 			}
-		}, {
+		},
+	
+		 {
 			"path": "pages/wallet/wallet",
 			"style": {
 				"navigationBarTitleText": "我的钱包",
@@ -583,6 +600,7 @@
 				"backgroundColor": "#0052FF",
 				"navigationBarBackgroundColor": "#0052FF",
 				"app-plus": {
+					"titleNView": false,
 					"scrollIndicator": "none",
 					"bounce": "none"
 				}
@@ -666,6 +684,7 @@
 			"style": {
 				"navigationBarTitleText": "账单详情",
 				"app-plus": {
+					"titleNView": false,
 					"scrollIndicator": "none",
 					"bounce": "none"
 				}
@@ -979,7 +998,8 @@
 			"path": "pages/orders1/orders",
 			"style": {
 				"navigationBarTextStyle": "white",
-				"enablePullDownRefresh": false, //开启下拉刷新
+				"onReachBottomDistance": 50,
+				"enablePullDownRefresh": true, //开启下拉刷新
 				"navigationStyle": "custom",
 				"app-plus": {
 					"titleNView": false

+ 15 - 1
pages/carInsure2/quote.vue

@@ -2002,6 +2002,8 @@
 								ruleThirdPartyInsurance: ruleThirdPartyInsurance ? ruleThirdPartyInsurance
 									.amount : '',
 								ruleUseNature: this.carInfo.carnature,
+								kind: this.kindList,
+								risk: this.riskList,
 							});
 							if (yccallback.code == '200') {
 								let data = yccallback.data;
@@ -2030,6 +2032,8 @@
 								ruleThirdPartyInsurance: ruleThirdPartyInsurance ? ruleThirdPartyInsurance
 									.amount : '',
 								ruleUseNature: this.carInfo.carnature,
+								kind: this.kindList,
+								risk: this.riskList,
 							});
 							if (zjcallback.code == '200') {
 								let data = zjcallback.data;
@@ -2055,6 +2059,8 @@
 								ruleThirdPartyInsurance: ruleThirdPartyInsurance ? ruleThirdPartyInsurance
 									.amount : '',
 								ruleUseNature: this.carInfo.carnature,
+								kind: this.kindList,
+								risk: this.riskList,
 							});
 							if (ascallback.code == '200') {
 								let data = ascallback.data;
@@ -2088,6 +2094,8 @@
 								ruleThirdPartyInsurance: ruleThirdPartyInsurance ? ruleThirdPartyInsurance
 									.amount : '',
 								ruleUseNature: this.carInfo.carnature,
+								kind: this.kindList,
+								risk: this.riskList,
 							});
 							if (grcallback.code == '200') {
 								let data = grcallback.data;
@@ -2140,6 +2148,8 @@
 								ruleThirdPartyInsurance: ruleThirdPartyInsurance ? ruleThirdPartyInsurance
 									.amount : '',
 								ruleUseNature: this.carInfo.carnature,
+								kind: this.kindList,
+								risk: this.riskList,
 							});
 							if (zmcallback.code == '200') {
 								let data = zmcallback.data;
@@ -2210,6 +2220,8 @@
 									ruleThirdPartyInsurance: ruleThirdPartyInsurance ? ruleThirdPartyInsurance
 										.amount : '',
 									ruleUseNature: this.carInfo.carnature,
+									kind: this.kindList,
+									risk: this.riskList,
 								});
 							if (Insurancecallback.code == 200) {
 								let data = Insurancecallback.data;
@@ -2996,6 +3008,8 @@
 			},
 			//华泰报价
 			async huatai(num, id) {
+				let type = this.totalCompanyList[num].apiType;
+				let api = type == 2 ? "/insurance/crawler/quote" : "/order/huaTaiApi/quote";
 				let isTaxSource = this.totalCompanyList[num].isTaxSource;
 				let params = {
 					accidentalDrivingVo: {},
@@ -3010,7 +3024,7 @@
 						.agreementId,
 				};
 				let res = await this.$http.post(
-					'/order/huaTaiApi/quote', params);
+					`${api}`, params);
 				this.totalCompanyList[num].msg = res.msg;
 				if (!!res.msg && res.msg.indexOf("不存在有效协议") >= 0) {
 					this.totalCompanyList[num].quoteCode = "4";

+ 94 - 38
pages/carInsure2/quoteDetail.vue

@@ -533,7 +533,8 @@
 								<view class="uni-uploader__file">
 									<image class="uni-uploader__img" :src="image.url" :data-src="image.url"
 										@tap="previewImage($event,'imgList1')"></image>
-									<view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
+									<view v-if="orderstatus!=3"
+										class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
 										@tap="delCheckImage(image,'carImageListId','imgList1')"></view>
 								</view>
 							</block>
@@ -550,7 +551,8 @@
 								<view class="uni-uploader__file">
 									<image class="uni-uploader__img" :src="image.url" :data-src="image.url"
 										@tap="previewImage($event,'imgList2')"></image>
-									<view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
+									<view v-if="orderstatus!=3"
+										class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
 										@tap="delCheckImage(image,'carImageListId','imgList2')"></view>
 								</view>
 							</block>
@@ -582,7 +584,8 @@
 								<view class="uni-uploader__file">
 									<image class="uni-uploader__img" :src="image.url" :data-src="image.url"
 										@tap="previewImage($event,'imgList3')"></image>
-									<view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
+									<view v-if="orderstatus!=3"
+										class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
 										@tap="delCheckImage(image,'ownerImageListId','imgList3')"></view>
 								</view>
 							</block>
@@ -598,7 +601,8 @@
 								<view class="uni-uploader__file">
 									<image class="uni-uploader__img" :src="image.url" :data-src="image.url"
 										@tap="previewImage($event,'imgList4')"></image>
-									<view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
+									<view v-if="orderstatus!=3"
+										class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
 										@tap="delCheckImage(image,'ownerImageListId','imgList4')"></view>
 								</view>
 							</block>
@@ -630,7 +634,8 @@
 								<view class="uni-uploader__file">
 									<image class="uni-uploader__img" :src="image.url" :data-src="image.url"
 										@tap="previewImage($event,'imgList5')"></image>
-									<view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
+									<view v-if="orderstatus!=3"
+										class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
 										@tap="delCheckImage(image,'policyImageListId','imgList5')"></view>
 								</view>
 							</block>
@@ -646,7 +651,8 @@
 								<view class="uni-uploader__file">
 									<image class="uni-uploader__img" :src="image.url" :data-src="image.url"
 										@tap="previewImage($event,'imgList6')"></image>
-									<view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
+									<view v-if="orderstatus!=3"
+										class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
 										@tap="delCheckImage(image,'policyImageListId','imgList6')"></view>
 								</view>
 							</block>
@@ -677,7 +683,8 @@
 								<view class="uni-uploader__file">
 									<image class="uni-uploader__img" :src="image.url" :data-src="image.url"
 										@tap="previewImage($event,'imgList7')"></image>
-									<view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
+									<view v-if="orderstatus!=3"
+										class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
 										@tap="delCheckImage(image,'insuredImageListId','imgList7')"></view>
 								</view>
 							</block>
@@ -693,7 +700,8 @@
 								<view class="uni-uploader__file">
 									<image class="uni-uploader__img" :src="image.url" :data-src="image.url"
 										@tap="previewImage($event,'imgList8')"></image>
-									<view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
+									<view v-if="orderstatus!=3"
+										class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
 										@tap="delCheckImage(image,'insuredImageListId','imgList8')"></view>
 								</view>
 							</block>
@@ -2328,14 +2336,18 @@
 						}
 						break;
 					case "华泰财险":
+						let apiImage = this.orderInfo.apiType == "2" ? "/insurance/crawler/submitImage" :
+							"/order/huaTaiApi/submitImage";
 						let htimage = await this.$http.post(
-							'/order/huaTaiApi/submitImage', {
-								companyId: this.companyId
+							`${apiImage}`, {
+								[this.orderInfo.apiType == 2 ? "subOrderNo" : "companyId"]: this.companyId
 							});
 						if (htimage.code == '200') {
+							let apiAudit = this.orderInfo.apiType == "2" ? "/insurance/crawler/audit" :
+								'/order/huaTaiApi/audit';
 							let htaudit = await this.$http.post(
-								'/order/huaTaiApi/audit', {
-									companyId: this.companyId,
+								`${apiAudit}`, {
+									[this.orderInfo.apiType == 2 ? "subOrderNo" : "companyId"]: this.companyId,
 									engageList: this.huaTaiengageList,
 								});
 							if (htaudit.code == '200') {
@@ -2568,6 +2580,7 @@
 			},
 			// 上传影像并提交核保
 			async submitAudit() {
+
 				if (!this.agree) {
 					return uni.showToast({
 						title: '请阅读并同意协议',
@@ -2925,34 +2938,77 @@
 				}
 			},
 			async huaTaigetPolicyPrint() {
-				this.policyList = [];
-				this.policyList1 = [];
-				if (this.orderInfo.jqpolicyno) {
-					let res = await this.$http.post('/order/huaTaiApi/getPolicyPrint', {
-						companyId: this.companyId,
-						riskCode: "0507",
-					});
-					if (res.code == '200') {
-						this.policyList = [];
-						this.policyList1 = [];
-						this.policyList.push({
-							fileTitle: "交强电子保单",
-							filename: this.orderInfo.jqpolicyno,
-							fileurl: res.data.jqxPolicyUrl,
-						})
-						this.policyList1.push({
-							fileTitle: "交强电子标志",
-							filename: this.orderInfo.jqpolicyno,
-							fileurl: res.data.jqxFlagUrl,
-						})
-						if (res.data.syxPolicyUrl) {
-							this.policyList.push({
-								fileTitle: "商业电子保单",
-								filename: this.orderInfo.sypolicyno,
-								fileurl: res.data.syxPolicyUrl,
+				let apiType = this.orderInfo.apiType;
+				switch (apiType) {
+					case 1:
+						if (this.orderInfo.jqpolicyno) {
+							let res = await this.$http.post('/order/huaTaiApi/getPolicyPrint', {
+								companyId: this.companyId,
+								riskCode: "0507",
 							});
+							if (res.code == '200') {
+								this.policyList = [];
+								this.policyList1 = [];
+								this.policyList.push({
+									fileTitle: "交强电子保单",
+									filename: this.orderInfo.jqpolicyno,
+									fileurl: res.data.jqxPolicyUrl,
+								})
+								this.policyList1.push({
+									fileTitle: "交强电子标志",
+									filename: this.orderInfo.jqpolicyno,
+									fileurl: res.data.jqxFlagUrl,
+								})
+								if (res.data.syxPolicyUrl) {
+									this.policyList.push({
+										fileTitle: "商业电子保单",
+										filename: this.orderInfo.sypolicyno,
+										fileurl: res.data.syxPolicyUrl,
+									});
+								}
+							}
 						}
-					}
+						break;
+					case 2:
+						if (this.orderInfo.jqpolicyno) {
+							let params = {
+								subOrderNo: this.companyId,
+							};
+							let res1 = await this.$http.post('/insurance/crawler/getPolicyPrint', params);
+							if (res1.code == '200') {
+								this.policyList = [];
+								this.policyList1 = [];
+								this.policyList.push({
+									fileTitle: "交强电子保单",
+									filename: this.orderInfo.jqpolicyno,
+									fileurl: res1.data.jqxPolicyUrl,
+								})
+								this.policyList1.push({
+									fileTitle: "交强电子标志",
+									filename: this.orderInfo.jqpolicyno,
+									fileurl: res1.data.jqxFlagUrl,
+								})
+								if (res1.data.syxPolicyUrl) {
+									this.policyList.push({
+										fileTitle: "商业电子保单",
+										filename: this.orderInfo.sypolicyno,
+										fileurl: res1.data.syxPolicyUrl,
+									});
+								}
+								if (res1.data.jyxInfoList.length > 0) {
+									res1.data.jyxInfoList.map(ele => {
+										this.policyList.push({
+											fileTitle: "驾意险保单",
+											filename: ele.application,
+											fileurl: ele.jyx_policy_url,
+										});
+										return ele;
+									})
+
+								}
+							}
+						}
+						break;
 				}
 			},
 			async guoRengetPolicyPrint() {

+ 50 - 26
pages/login/login.vue

@@ -75,7 +75,7 @@
 				<view class="third_party_title"><text>第三方登录</text></view>
 				<view class="third_party_content flex-wrap">
 					<image src="/static/icon/weixin.png" @click="onWxAppLogin" mode="aspectFit"></image>
-					<!-- <image src="/static/icon/zhifubao.png" mode="aspectFit"></image> -->
+					<image src="/static/icon/zhifubao.png" @click="onzfbAppLogin" mode="aspectFit"></image>
 				</view>
 			</view>
 			<!-- #endif -->
@@ -163,29 +163,7 @@
 			// this.deleteTableData();
 			// #endif
 		},
-		//页面显示   
-		onShow() {
-			this.openSQL();
-			this.selectTableData();
-			uni.getClipboardData({
-				success: (res) => {
-					let id = (res.data.replace(/(^\s*)|(\s*$)/g, "")).toUpperCase();
-					if ((id.length == 17) && (id.indexOf('99') == 0) && (id.indexOf('D') > 0) && (id.indexOf(
-							'M') > 0) && (id !== this.username)) {
-						uni.showModal({
-							content: '是否自动填充会员号',
-							cancelText: '否',
-							confirmText: '是',
-							success: (res1) => {
-								if (res1.confirm) {
-									this.username = id;
-								}
-							}
-						});
-					}
-				}
-			})
-		},
+
 		watch: {
 			username(val) {
 				this.username = this.username.toUpperCase();
@@ -217,7 +195,8 @@
 			uni.getClipboardData({
 				success: (res) => {
 					let id = (res.data.replace(/(^\s*)|(\s*$)/g, "")).toUpperCase();
-					if ((id.length == 17) && (id.indexOf('99') == 0) && (id.indexOf('D') > 0) && (id.indexOf(
+					if ((id.length == 17) && (id.indexOf('99') == 0) && (id.indexOf('D') >
+							0) && (id.indexOf(
 							'M') > 0) && (id !== this.username)) {
 						uni.showModal({
 							content: '是否自动填充会员号',
@@ -233,6 +212,30 @@
 
 				}
 			})
+			let args = plus.runtime.arguments;
+			if (args) {
+
+				plus.runtime.arguments = null; //进入之后就把urlscheme清空要不然下一次oushow时还会执行
+				// 处理args参数,如直达到某新页面等
+				//通过code请求获取user_id
+				var authCode = args.split("=")[1];
+				if (authCode != undefined && authCode != "" && authCode != null) {
+					this.$login({
+						url: "/alipay/login",
+						data: {
+							code: authCode,
+						}
+					}).then(res => {
+						return uni.showToast({
+							title: res.msg,
+							icon: 'none'
+						});
+						socket.init();
+						return;
+					})
+				}
+			}
+
 		},
 		onUnload() {
 			this.closeSQL();
@@ -254,7 +257,8 @@
 			// 图片验证码
 			refreshCaptcha() {
 				let randnum = Math.floor(Math.random() * (1000000 - 1 + 1)) + 1
-				this.imgcodesrc = this.$base.baseUrl + "/captchaById?t=" + new Date().getTime() + '&captchaId=' + randnum;
+				this.imgcodesrc = this.$base.baseUrl + "/captchaById?t=" + new Date().getTime() +
+					'&captchaId=' + randnum;
 				this.captchaId = randnum;
 			},
 			// 切换登录状态
@@ -497,6 +501,26 @@
 					}
 				});
 			},
+			onzfbAppLogin() {
+				let urls =
+					'https://openauth.alipay.com/oauth2/publicAppAuthorize.htm?app_id=2021004153668213&scope=auth_user&redirect_uri=https://test.baoxianzhanggui.com/pay/';
+				urls = encodeURIComponent(urls); //将地址编码成浏览器访问的格式
+				plus.runtime.openURL(
+					'alipays://platformapi/startapp?appId=20000067&url=' + urls,
+					res => {
+						//这里写打开URL地址失败后的处理0
+						uni.showModal({
+							content: '本机未检测到对应客户端,是否打开浏览器访问页面?',
+							success: function(res) {
+								if (res.confirm) {
+									//plus.runtime.openURL();
+								}
+							}
+						});
+					},
+					'com.eg.android.AlipayGphone'
+				);
+			},
 			codeRes(code) {
 				this.$login({
 					url: "/wechat/login",

File diff suppressed because it is too large
+ 81 - 80
pages/login/mimi.vue


File diff suppressed because it is too large
+ 81 - 80
pages/login/minis.vue


+ 124 - 102
pages/login/xieyi.vue

@@ -1,35 +1,44 @@
 <template>
-    <view style="font-size: 14px;line-height: 26px;padding: 32upx;background: #FFFFFF;" class="home1">
+	<view style="font-size: 14px;line-height: 26px;padding: 32upx;background: #FFFFFF;" class="home1">
 		<!-- 公共组件-每个页面必须引入 -->
 		<public-module></public-module>
 		<view class="u-f-ajc" style="font-size: 16px;font-weight: bold">掌柜科技平台服务协议</view>
-		<view style="text-align: left;margin-top: 15upx;">更新日期: 2021年02月02日</view>
-		<view style="text-align: left;margin-bottom: 15upx;">生效日期: 2021年02月02日</view>
-        <view style="text-align: left;text-indent: 2rem;"> 掌柜科技移动设备客户端(掌柜科技APP) 网络运营平台(以下简称“掌柜科技平台) 由山西省掌柜鼎科技有公司(以下简称”我们”或“掌柜科技”。注册地址:山西综改示范区太原阳曲园区五龙口街168号鑫创大厦404室,))运营。掌柜科技是一款为车主提供电商、社交与资讯一体化综合服务的APP。<text style="font-weight: bold;">本服务协议构成我们与掌柜科技用户(以下称“用户"或"您")之间就掌柜科技提供的全部服务(以下称“掌柜科技服务”)等事宜而订立的契约,请仔细阅读本服务协议,特别是以粗体标识的条款(这些条款可能会明确您应履行的义务或对您的权利有所限制)。如您不同意以下任何内容,请立刻停止访问掌柜科技或使用掌柜科技服务。</text>
-        </view>
-        <view style="font-size: 16px;font-weight: bold">1、总则</view>
-        <view style="text-align: left;text-indent: 2rem;">1.1 本协议内容包括协议正文及其他我们已经发布的或将来可能发布的各类规则,包括但不限于隐私政策、规则、页面信息、操作流程、公告、通知等其他协议及条款(“其他条款")。如果本协议与"其他条款”有不一致之处,则以“其他条款"为准。除另行明确声明外,任何掌柜科技服务均受本协议约束。
-        </view>
-		<view style="text-align: left;text-indent: 2rem;">1.2 您应该定期登陆本页面及其他相关页面,了解最新的协议内容。变更后的协议在本页面及相关页面公布后七天,将自动生效。如您不同意相关变更,应当立即停止使用掌柜科技服务。若您在本协议变更七日后继续使用掌柜科技服务的,即表示您接受变更后的协议。
-		</view>
-		<view style="text-align: left;text-indent: 2rem;">1.3  您访问本站,下载并注册成为掌柜科技用户,即表示您确认您自身具备与使用掌柜科技服务相适应的行为能力,同意接受本服务协议及与本服务协议的约束。
-		</view>
-		
+		<view style="text-align: left;margin-top: 15upx;">更新日期: 2024年07月01日</view>
+		<view style="text-align: left;margin-bottom: 15upx;">生效日期: 2024年07月01日</view>
+		<view style="text-align: left;text-indent: 2rem;"> 掌柜科技移动设备客户端(掌柜科技APP) 网络运营平台(以下简称“掌柜科技平台)
+			由山西省掌柜鼎科技有公司(以下简称”我们”或“掌柜科技”。注册地址:山西转型综合改革示范区科技创新城化章北街1号山西数据流量生态园4号楼4层4408-176,))运营。掌柜科技是一款为车主提供电商、社交与资讯一体化综合服务的APP。<text
+				style="font-weight: bold;">本服务协议构成我们与掌柜科技用户(以下称“用户"或"您")之间就掌柜科技提供的全部服务(以下称“掌柜科技服务”)等事宜而订立的契约,请仔细阅读本服务协议,特别是以粗体标识的条款(这些条款可能会明确您应履行的义务或对您的权利有所限制)。如您不同意以下任何内容,请立刻停止访问掌柜科技或使用掌柜科技服务。</text>
+		</view>
+		<view style="font-size: 16px;font-weight: bold">1、总则</view>
+		<view style="text-align: left;text-indent: 2rem;">1.1
+			本协议内容包括协议正文及其他我们已经发布的或将来可能发布的各类规则,包括但不限于隐私政策、规则、页面信息、操作流程、公告、通知等其他协议及条款(“其他条款")。如果本协议与"其他条款”有不一致之处,则以“其他条款"为准。除另行明确声明外,任何掌柜科技服务均受本协议约束。
+		</view>
+		<view style="text-align: left;text-indent: 2rem;">1.2
+			您应该定期登陆本页面及其他相关页面,了解最新的协议内容。变更后的协议在本页面及相关页面公布后七天,将自动生效。如您不同意相关变更,应当立即停止使用掌柜科技服务。若您在本协议变更七日后继续使用掌柜科技服务的,即表示您接受变更后的协议。
+		</view>
+		<view style="text-align: left;text-indent: 2rem;">1.3
+			您访问本站,下载并注册成为掌柜科技用户,即表示您确认您自身具备与使用掌柜科技服务相适应的行为能力,同意接受本服务协议及与本服务协议的约束。
+		</view>
+
 		<view style="font-size: 16px;font-weight: bold">2、掌柜科技账户注册规则</view>
 		<view style="text-align: left;text-indent: 2rem;">2.1按照注册页面提示,完整、准确填写相关信息,阅读并同意本协议且完成注册程序后,您可成为掌柜科技用户。
 		</view>
-        <view style="text-align: left;text-indent: 2rem;">
-            2.2您授权并同意我们依据相关法律法规的规定对您进行基于移动电话号码、微信账户等真实身份信息的认证。<text style="font-weight: bold;">对于拒绝进行真实身份信息认证或以虚假信息骗取账户注册的用户,我们保留拒绝此用户使用掌柜科技服务的权利并有权对用户进行包括但不限于限制服务使用、关闭账号等的处理。</text>
-        </view>
 		<view style="text-align: left;text-indent: 2rem;">
-		    2.3您应妥善保管您的账户(用户名)和密码,通过您的账户(用户名)和密码操作或实施的行为,将视为您本人的行为,由您本人承担相应的责任和后果。<text style="font-weight: bold;">如果您发现他人不当使用您的账户或有任何其他可能危及您的账户安全的情形时,您应当立即以书面、有效方式通知我们,要求我们暂停相关服务。在此,您理解我们对您的请求采取行动需要合理时间,我们对在采取行动前已经产生的后果(包括但不限于您的任何损失)不承担任何责任。</text></view>
+			2.2您授权并同意我们依据相关法律法规的规定对您进行基于移动电话号码、微信账户等真实身份信息的认证。<text
+				style="font-weight: bold;">对于拒绝进行真实身份信息认证或以虚假信息骗取账户注册的用户,我们保留拒绝此用户使用掌柜科技服务的权利并有权对用户进行包括但不限于限制服务使用、关闭账号等的处理。</text>
+		</view>
+		<view style="text-align: left;text-indent: 2rem;">
+			2.3您应妥善保管您的账户(用户名)和密码,通过您的账户(用户名)和密码操作或实施的行为,将视为您本人的行为,由您本人承担相应的责任和后果。<text
+				style="font-weight: bold;">如果您发现他人不当使用您的账户或有任何其他可能危及您的账户安全的情形时,您应当立即以书面、有效方式通知我们,要求我们暂停相关服务。在此,您理解我们对您的请求采取行动需要合理时间,我们对在采取行动前已经产生的后果(包括但不限于您的任何损失)不承担任何责任。</text>
+		</view>
 
 
-        <view style="font-size: 16px;font-weight: bold">3、用户管理</view>
-        <view style="text-align: left;text-indent: 2rem;">
-            3.1用户必须遵守中华人民共和国法律法规的规定,独立对其发布的内容(包括但不限于文字、图片等)承担责任。用户承诺:
-        </view>
-		<view style="text-align: left;text-indent: 2rem;">(1)用户在使用我们提供的服务或在本站发布信息时必须符合中华人民共和国相关法律法规的规定,不得在本站制作、复制、发布、传播以下内容或信息:
+		<view style="font-size: 16px;font-weight: bold">3、用户管理</view>
+		<view style="text-align: left;text-indent: 2rem;">
+			3.1用户必须遵守中华人民共和国法律法规的规定,独立对其发布的内容(包括但不限于文字、图片等)承担责任。用户承诺:
+		</view>
+		<view style="text-align: left;text-indent: 2rem;">
+			(1)用户在使用我们提供的服务或在本站发布信息时必须符合中华人民共和国相关法律法规的规定,不得在本站制作、复制、发布、传播以下内容或信息:
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">(a)违反宪法确定的基本原则的;
 		</view>
@@ -54,121 +63,134 @@
 		<view style="text-align: left;text-indent: 2rem;">(k)含有法律、行政法规禁止的其他内容或违反掌柜科技的其他规定的。
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">
-		    3.3用户不得以任何方式干扰掌柜科技服务且不得通过本站发布任何形式的广告,掌柜科技对用户发布的广告内容有权进行包括但不限于删除内容直至关闭账号的处理。因网络信息传播在时间上的即时性及空间上的广泛性,我们不可能在第一时间对用户发布广告的行为进行处理,在此提请用户需对此种广告的内容自行甄别,因用户受此种广告内容的影响而产生的任何损失,均与我们无关。掌柜科技鼓励用户对上述广告发布行为进行举报,我们会在收到举报后及时处理。
+			3.3用户不得以任何方式干扰掌柜科技服务且不得通过本站发布任何形式的广告,掌柜科技对用户发布的广告内容有权进行包括但不限于删除内容直至关闭账号的处理。因网络信息传播在时间上的即时性及空间上的广泛性,我们不可能在第一时间对用户发布广告的行为进行处理,在此提请用户需对此种广告的内容自行甄别,因用户受此种广告内容的影响而产生的任何损失,均与我们无关。掌柜科技鼓励用户对上述广告发布行为进行举报,我们会在收到举报后及时处理。
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">
-		    3.4用户不得对掌柜科技上的任何数据作商业性利用,包括但不限于在未经我们事先书面同意的情况下,以复制、传播等任何方式使用掌柜科技上展示的资料。
+			3.4用户不得对掌柜科技上的任何数据作商业性利用,包括但不限于在未经我们事先书面同意的情况下,以复制、传播等任何方式使用掌柜科技上展示的资料。
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">
-		    3.5用户不得进行违反诚实信用原则的不正当竞争行为,或恶意下订单或虚假交易等其他恶意扰乱掌柜科技交易秩序的行为。
+			3.5用户不得进行违反诚实信用原则的不正当竞争行为,或恶意下订单或虚假交易等其他恶意扰乱掌柜科技交易秩序的行为。
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">
-		    3.6责任承担
+			3.6责任承担
 		</view>
-		<view style="text-align: left;text-indent: 2rem;">(1)用户须对自己在使用掌柜科技服务过程中的行为承担法律责任。用户承担法律责任的形式包括但不限于:对因用户行为发生被侵害者索赔事件,以及我们因用户行为遭受行政处罚或侵权损害赔偿后,用户应给予我们等额的赔偿。
+		<view style="text-align: left;text-indent: 2rem;">
+			(1)用户须对自己在使用掌柜科技服务过程中的行为承担法律责任。用户承担法律责任的形式包括但不限于:对因用户行为发生被侵害者索赔事件,以及我们因用户行为遭受行政处罚或侵权损害赔偿后,用户应给予我们等额的赔偿。
 		</view>
-		<view style="text-align: left;text-indent: 2rem;">(2)用户理解,如果我们发现其发布的信息明显属于本协议第3.1款所列内容之一,依据中华人民共和国现行相关法律,本站有义务立即停止传输,保存有关记录,向国家有关机关报告,并且删除含有该内容的地址、目录或关闭服务器。
+		<view style="text-align: left;text-indent: 2rem;">
+			(2)用户理解,如果我们发现其发布的信息明显属于本协议第3.1款所列内容之一,依据中华人民共和国现行相关法律,本站有义务立即停止传输,保存有关记录,向国家有关机关报告,并且删除含有该内容的地址、目录或关闭服务器。
 		</view>
-		
-        <view style="font-size: 16px;font-weight: bold">4、 掌柜科技服务</view>
-		
-        <view style="text-align: left;text-indent: 2rem;"> 掌柜科技服务包括但不限于如下内容:
-        </view>
-        <view style="text-align: left;text-indent: 2rem;">
-           (1)保险信息服务 
-        </view>
-        <view style="text-align: left;text-indent: 2rem;">您可以通过掌柜科技获知相关保险机构对于保险产品及推荐套餐的报价,并可通过掌柜科技与保险机构建立联系,以完成保险产品投保,若发生保险事故,您可通过掌柜科技提供的报案电话将出险情况通知保险机构,进行理赔报案。
-        </view>
-        <view style="text-align: left;text-indent: 2rem;"> (2)违章信息、行使信息查询、跟踪
-        </view>
-        <view style="text-align: left;text-indent: 2rem;">您可以通过掌柜科技获取相关违章信息,通过绑定您的爱车,获取您的行驶信息。
-        </view>
-        <view style="text-align: left;text-indent: 2rem;">(3)养车、用车服务</view>
-        <view style="text-align: left;text-indent: 2rem;">您可以通过掌柜科技购买洗车美容、维修保养、加油、代驾、预约停车、一键救援等服务(具体服务内容以掌柜科技上线功能为准)。</view>
-        <view style="text-align: left;text-indent: 2rem;">(4)网上购物</view>
+
+		<view style="font-size: 16px;font-weight: bold">4、 掌柜科技服务</view>
+
+		<view style="text-align: left;text-indent: 2rem;"> 掌柜科技服务包括但不限于如下内容:
+		</view>
+		<view style="text-align: left;text-indent: 2rem;">
+			(1)保险信息服务
+		</view>
+		<view style="text-align: left;text-indent: 2rem;">
+			您可以通过掌柜科技获知相关保险机构对于保险产品及推荐套餐的报价,并可通过掌柜科技与保险机构建立联系,以完成保险产品投保,若发生保险事故,您可通过掌柜科技提供的报案电话将出险情况通知保险机构,进行理赔报案。
+		</view>
+		<view style="text-align: left;text-indent: 2rem;"> (2)违章信息、行使信息查询、跟踪
+		</view>
+		<view style="text-align: left;text-indent: 2rem;">您可以通过掌柜科技获取相关违章信息,通过绑定您的爱车,获取您的行驶信息。
+		</view>
+		<view style="text-align: left;text-indent: 2rem;">(3)养车、用车服务</view>
+		<view style="text-align: left;text-indent: 2rem;">您可以通过掌柜科技购买洗车美容、维修保养、加油、代驾、预约停车、一键救援等服务(具体服务内容以掌柜科技上线功能为准)。
+		</view>
+		<view style="text-align: left;text-indent: 2rem;">(4)网上购物</view>
 		<view style="text-align: left;text-indent: 2rem;">您可以通过掌柜科技进行网上购物。</view>
-		
-		
-        <view style="text-align: left;text-indent: 2rem;"> (5)社交
-        </view>
-        <view style="text-align: left;text-indent: 2rem;">您可通过掌柜科技发布相关信息,与其他用户交流、线上互动,或参与掌柜科技组织的相关活动。
-        </view>
-		
-		
+
+
+		<view style="text-align: left;text-indent: 2rem;"> (5)社交
+		</view>
+		<view style="text-align: left;text-indent: 2rem;">您可通过掌柜科技发布相关信息,与其他用户交流、线上互动,或参与掌柜科技组织的相关活动。
+		</view>
+
+
 		<view style="font-size: 16px;font-weight: bold"> 5、商品与服务的购买
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">
-		    5.1商品/服务信息,包括但不限于数量、内容/性能介绍等随时都有可能发生变动,掌柜科技不作特别通知,请用户至商品销售页面自行查看。我们会尽最大努力保证您所浏览的商品信息的准确性,但由于商品种类繁多且商品信息的数量较大,加之互联网技术因素等客观原因存在,本站显示的信息可能会有一定的滞后性或差错。
+			5.1商品/服务信息,包括但不限于数量、内容/性能介绍等随时都有可能发生变动,掌柜科技不作特别通知,请用户至商品销售页面自行查看。我们会尽最大努力保证您所浏览的商品信息的准确性,但由于商品种类繁多且商品信息的数量较大,加之互联网技术因素等客观原因存在,本站显示的信息可能会有一定的滞后性或差错。
+		</view>
+		<view style="text-align: left;text-indent: 2rem;">
+			5.2在您提交订单时,请仔细确认所购服务/商品的名称、价格、数量、型号、规格、尺寸、收货人、电话、收货地址等信息。您提交订单即表示对订单中所确认的订购服务/商品、收货地址等信息的准确性负责。如果您填写的收货人联系电话、地址等信息错误,导致我们/合作方(或我们/合作方委托的配送公司)无法配送、配送延时、错误的,由此造成的损失需由您自行承担。如收货人与您本人不一致的,收货人的行为与意思表示视为您的行为和意思表示,您对收货人的行为与意思表示的法律后果承担连带责任。
+		</view>
+		<view style="text-align: left;text-indent: 2rem;font-weight: bold;">
+			5.3您理解并同意,掌柜科技展示的商品/服务信息及价格仅作为要约邀请,您提交订单视为您发出了合同要约,只有您支付相应价款后,方视为购买合同成立。
+		</view>
+		<view style="text-align: left;text-indent: 2rem;">
+			5.4您同意,我们拥有通过邮件、短信、电话形式,向在本站注册、交易用户、收货人发送订单信息、促销活动等告知信息的权利。
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">
-		   5.2在您提交订单时,请仔细确认所购服务/商品的名称、价格、数量、型号、规格、尺寸、收货人、电话、收货地址等信息。您提交订单即表示对订单中所确认的订购服务/商品、收货地址等信息的准确性负责。如果您填写的收货人联系电话、地址等信息错误,导致我们/合作方(或我们/合作方委托的配送公司)无法配送、配送延时、错误的,由此造成的损失需由您自行承担。如收货人与您本人不一致的,收货人的行为与意思表示视为您的行为和意思表示,您对收货人的行为与意思表示的法律后果承担连带责任。
+			5.5为回馈用户的支持,我们会不定期向用户发放优惠券或代金券,上述优惠券或代金券的发放数量及规则由掌柜科技自行决定,且由掌柜科技享有解释权和修改权。您有权按照优惠券或代金券的使用规则在本站购物时使用,严禁转卖掌柜科技优惠券或代金券或利用掌柜科技账户进行其他经营性行为等。您理解并认可该等优惠券或代金券以及相关产品具有期限性,超出期限的,您将无法使用该等优惠券或代金券以及相关产品;不论是否过期,您均无权要求我们将该等优惠券或代金券折算为现金向您支付。如您违反本协议约定、优惠券/代金券使用规则或诚实信用原则使用优惠券或代金券的,所涉及的订单/合同无效,我们可不予履行,如因此造成我们损失的,您应承担全部赔偿责任。
 		</view>
-        <view style="text-align: left;text-indent: 2rem;font-weight: bold;">
-            5.3您理解并同意,掌柜科技展示的商品/服务信息及价格仅作为要约邀请,您提交订单视为您发出了合同要约,只有您支付相应价款后,方视为购买合同成立。
-        </view>
-        <view style="text-align: left;text-indent: 2rem;">
-            5.4您同意,我们拥有通过邮件、短信、电话形式,向在本站注册、交易用户、收货人发送订单信息、促销活动等告知信息的权利。
-        </view>
 		<view style="text-align: left;text-indent: 2rem;">
-		    5.5为回馈用户的支持,我们会不定期向用户发放优惠券或代金券,上述优惠券或代金券的发放数量及规则由掌柜科技自行决定,且由掌柜科技享有解释权和修改权。您有权按照优惠券或代金券的使用规则在本站购物时使用,严禁转卖掌柜科技优惠券或代金券或利用掌柜科技账户进行其他经营性行为等。您理解并认可该等优惠券或代金券以及相关产品具有期限性,超出期限的,您将无法使用该等优惠券或代金券以及相关产品;不论是否过期,您均无权要求我们将该等优惠券或代金券折算为现金向您支付。如您违反本协议约定、优惠券/代金券使用规则或诚实信用原则使用优惠券或代金券的,所涉及的订单/合同无效,我们可不予履行,如因此造成我们损失的,您应承担全部赔偿责任
+			5.6关于支付形式、商品退换货、售后服务等相关问题,请以商品销售页面展示信息为准。若您在商品购买过程中遇到任何问题,均可发送邮件至*********,我们的客服人员会及时与您取得联系井帮助您解决问题。
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">
-		    5.6关于支付形式、商品退换货、售后服务等相关问题,请以商品销售页面展示信息为准。若您在商品购买过程中遇到任何问题,均可发送邮件至*********,我们的客服人员会及时与您取得联系井帮助您解决问题。
+			由于掌柜科技上第三方供应商或服务商对您提供产品或服务而产生纠纷均的,均由第三方承担责任,与本站技术提供方和运营主体无关,但我们会进行协助解决。
+		</view>
+
+		<view style="font-size: 16px;font-weight: bold"> 6、用户隐私制度
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">
-		   由于掌柜科技上第三方供应商或服务商对您提供产品或服务而产生纠纷均的,均由第三方承担责任,与本站技术提供方和运营主体无关,但我们会进行协助解决。
+			用户知悉并同意,为了给用户提供更好的使用体验,我们在您自愿的前提下收集您的个人信息并将这些信息进行整合。具体的收集、使用、保护、共享、跨境传输规则详见《掌柜科技平台隐私政策》
 		</view>
 
-        <view style="font-size: 16px;font-weight: bold"> 6、用户隐私制度
-        </view>
-        <view style="text-align: left;text-indent: 2rem;">
-            用户知悉并同意,为了给用户提供更好的使用体验,我们在您自愿的前提下收集您的个人信息并将这些信息进行整合。具体的收集、使用、保护、共享、跨境传输规则详见《掌柜科技平台隐私政策》。
-        </view>
-		
 		<view style="font-size: 16px;font-weight: bold"> 7、所有权及知识产权条款
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">
-		    7.1用户一旦接受本服务协议,即表明该用户主动将其在本站发表的任何形式的信息内容(包括但不限于用户评论、用户咨询、各类话题文章、图片等)的财产性权利等任何可转让的权利,如著作权财产权(包括但不限于:复制权、发行权、出租权、展览权、表演权、放映权、广播权、信息网络传播权、摄制权、改编权、翻译权、汇编权以及应当由著作权人享有<text style="background:red">的其他科转让权</text>利)等,全部免费、永久、独家排他且不可撤销地转让给我们所有,并允许我们再授权,用户同意我们有权就任何主体侵权而单独提起诉讼并获得赔偿
+			7.1用户一旦接受本服务协议,即表明该用户主动将其在本站发表的任何形式的信息内容(包括但不限于用户评论、用户咨询、各类话题文章、图片等)的财产性权利等任何可转让的权利,如著作权财产权(包括但不限于:复制权、发行权、出租权、展览权、表演权、放映权、广播权、信息网络传播权、摄制权、改编权、翻译权、汇编权以及应当由著作权人享有<text
+				style="background:red">的其他科转让权</text>利)等,全部免费、永久、独家排他且不可撤销地转让给我们所有,并允许我们再授权,用户同意我们有权就任何主体侵权而单独提起诉讼并获得赔偿
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">
-		    7. 2本协议已经构成《中华人民共和国著作权法》第二十五条(条文序号依照2011年版著作权法确定)及相关法律规定的著作财产权等权利转让书面协议,其效力及于用户在掌柜科技发布的任何受著作权法保护的作品内容,无论该等内容形成于本协议订立前还是本协议订立后。对于您提供的其他资料及数据信息,您授予掌柜科技及其关联公司全球通用的、永久的、免费的许可使用权利(并有权在多个层面对该权利进行再授权)。此外,掌柜科技及其关联公司有权(<text style="background:red">全部或部份地</text>)使用、复制、修订、改写、发布、翻译、分发、执行和展示您的全部资料数据(包括但不限于交易行为数据及全部展示于掌柜科技的各类信息)或制作其派生作品,并以现在已知或日后开发的任何形式、媒体或技术,将上述信息纳入我们作品内。
+			7.
+			2本协议已经构成《中华人民共和国著作权法》第二十五条(条文序号依照2011年版著作权法确定)及相关法律规定的著作财产权等权利转让书面协议,其效力及于用户在掌柜科技发布的任何受著作权法保护的作品内容,无论该等内容形成于本协议订立前还是本协议订立后。对于您提供的其他资料及数据信息,您授予掌柜科技及其关联公司全球通用的、永久的、免费的许可使用权利(并有权在多个层面对该权利进行再授权)。此外,掌柜科技及其关联公司有权(<text
+				style="background:red">全部或部份地</text>)使用、复制、修订、改写、发布、翻译、分发、执行和展示您的全部资料数据(包括但不限于交易行为数据及全部展示于掌柜科技的各类信息)或制作其派生作品,并以现在已知或日后开发的任何形式、媒体或技术,将上述信息纳入我们作品内。
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">
-		  7.3用户同意并已充分了解本协议的条款,承诺不将已发表于本站的信息,以任何形式发布或授权其它主体以任何方式使用(包括但限于在各类网站、媒体上使用)。
+			7.3用户同意并已充分了解本协议的条款,承诺不将已发表于本站的信息,以任何形式发布或授权其它主体以任何方式使用(包括但限于在各类网站、媒体上使用)。
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">
-		 7.4对于您通过掌柜科技而上传的任何在公开区域可获取的并受著作权保护的内容,您应对该等内容的真实性、合法性负责,保证对该等内容拥有完整的、无瑕疵的所有权和知识产权或拥有完整的授权,并不存在任何侵犯第三方合法权益的情形,包括但不限于著作权、肖像权、商标权、专利权、企业名称权、商号权、商业秘密、个人隐私、合同权利等权利。所有因用户违法上传内容而给任何第三方或我们造成的损害均由用户个人承担全部的责任,我们不承担任何责任,且我们有义务配合第三方、司法机关或行政机关完成相关的取证,并根据法律、主管部门或司法部门的要求将用户注册信息给予披露。
+			7.4对于您通过掌柜科技而上传的任何在公开区域可获取的并受著作权保护的内容,您应对该等内容的真实性、合法性负责,保证对该等内容拥有完整的、无瑕疵的所有权和知识产权或拥有完整的授权,并不存在任何侵犯第三方合法权益的情形,包括但不限于著作权、肖像权、商标权、专利权、企业名称权、商号权、商业秘密、个人隐私、合同权利等权利。所有因用户违法上传内容而给任何第三方或我们造成的损害均由用户个人承担全部的责任,我们不承担任何责任,且我们有义务配合第三方、司法机关或行政机关完成相关的取证,并根据法律、主管部门或司法部门的要求将用户注册信息给予披露。
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">
-		 7.5除明显归属于合作伙伴、第三方所有的信息资料外,我们拥有掌柜科技内所有内容,包括但不限于文字、图片、图形、表格、动画、程序、软件等单独或组合的版权。
+			7.5除明显归属于合作伙伴、第三方所有的信息资料外,我们拥有掌柜科技内所有内容,包括但不限于文字、图片、图形、表格、动画、程序、软件等单独或组合的版权。
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">
-		7.6除法律另有强制性规定外,未经我们明确的特别书面许可,任何单位或个人不得以任何方式非法地全部或部分复制、转载、引用、链接、抓取或以其他方式使用本站的信息内容,否则,我们有权追究其法律责任。
+			7.6除法律另有强制性规定外,未经我们明确的特别书面许可,任何单位或个人不得以任何方式非法地全部或部分复制、转载、引用、链接、抓取或以其他方式使用本站的信息内容,否则,我们有权追究其法律责任。
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">
-		  7.7本站所刊登的资料信息(诸如文字、图表、标识、按钮图标、图像、声音文件片段、数字下载、数据编辑和软件),均是掌柜科技或其内容提供者的财产,受中国和国际版权法的保护。本站上所有内容的汇编是掌柜科技的排他财产,受中国和国际版权法的保护。本站上所有软件都是掌柜科技或其关联公司或其软件供应商的财产,受中国和国际版权法的保护。
+			7.7本站所刊登的资料信息(诸如文字、图表、标识、按钮图标、图像、声音文件片段、数字下载、数据编辑和软件),均是掌柜科技或其内容提供者的财产,受中国和国际版权法的保护。本站上所有内容的汇编是掌柜科技的排他财产,受中国和国际版权法的保护。本站上所有软件都是掌柜科技或其关联公司或其软件供应商的财产,受中国和国际版权法的保护。
 		</view>
-		
+
 		<view style="font-size: 16px;font-weight: bold"> 8、责任限制及不承诺担保</view>
-		<view style="text-align: left;text-indent: 2rem;">8.1除非另有明确的书面说明,本站及其所包含的或以其它方式通过本站提供给您的全部信息、内容、材料、产品(包括软件)和服务,均是在"按现状"和按现有"的基础上提供的。
+		<view style="text-align: left;text-indent: 2rem;">
+			8.1除非另有明确的书面说明,本站及其所包含的或以其它方式通过本站提供给您的全部信息、内容、材料、产品(包括软件)和服务,均是在"按现状"和按现有"的基础上提供的。
 		</view>
-		<view style="text-align: left;text-indent: 2rem;">8.2除非另有明确的书面说明,我们不对本站的运营及其包含在本网站上的信息、内容、材料、产品(包括软件)或服务作任何形式的、明示或默示的声明或担保(根据中华人民共和国法律另有规定的以外)。
+		<view style="text-align: left;text-indent: 2rem;">
+			8.2除非另有明确的书面说明,我们不对本站的运营及其包含在本网站上的信息、内容、材料、产品(包括软件)或服务作任何形式的、明示或默示的声明或担保(根据中华人民共和国法律另有规定的以外)。
 		</view>
-		<view style="text-align: left;text-indent: 2rem;">8.3我们不担保本站所包含的或以其它方式通过本站提供给您的全部信息、内容、材料、产品(包括软件)和服务、其服务器或从本站发出的电子信件、信息没有病毒或其他有害成分。
+		<view style="text-align: left;text-indent: 2rem;">
+			8.3我们不担保本站所包含的或以其它方式通过本站提供给您的全部信息、内容、材料、产品(包括软件)和服务、其服务器或从本站发出的电子信件、信息没有病毒或其他有害成分。
 		</view>
-		<view style="text-align: left;text-indent: 2rem;">8.4如因不可抗力或其它本站无法控制的原因使本站销售系统崩渍或无法正常使用导致网上交易无法完成或丢失有关的信息、记录等,我们会合理地尽力协助处理善后事宜。
+		<view style="text-align: left;text-indent: 2rem;">
+			8.4如因不可抗力或其它本站无法控制的原因使本站销售系统崩渍或无法正常使用导致网上交易无法完成或丢失有关的信息、记录等,我们会合理地尽力协助处理善后事宜。
 		</view>
-		
-		
+
+
 		<view style="font-size: 16px;font-weight: bold"> 9、法律管辖和适用</view>
-		<view style="text-align: left;text-indent: 2rem;">本协议的订立、执行和解释及争议的解决均应适用中华人民共和国法律。<text style="font-weight: bold;">如双方就本协议内容或其执行发生任何争议,双方应尽量友好协商解决;协商不成时,任何方均可向掌柜科技所在地的人民法院提起诉讼。</text>
+		<view style="text-align: left;text-indent: 2rem;">本协议的订立、执行和解释及争议的解决均应适用中华人民共和国法律。<text
+				style="font-weight: bold;">如双方就本协议内容或其执行发生任何争议,双方应尽量友好协商解决;协商不成时,任何方均可向掌柜科技所在地的人民法院提起诉讼。</text>
 		</view>
-		
-		
+
+
 		<view style="font-size: 16px;font-weight: bold"> 10、其他</view>
 		<view style="text-align: left;text-indent: 2rem;">10.1掌柜科技所有者是指在政府部门依法许可或备案的掌柜科技经营主体。
 		</view>
-		<view style="text-align: left;text-indent: 2rem;">10.2我们尊重用户和消费者的合法权利,本协议及本网站上发布的各类规则、声明等其他内容,均是为了更好的、更加便利的为用户和消费者提供服务。本站欢迎用户和社会各界捉出意见和建议,我们将虚心接受并适时修改本协议及本站上的各类规则。
+		<view style="text-align: left;text-indent: 2rem;">
+			10.2我们尊重用户和消费者的合法权利,本协议及本网站上发布的各类规则、声明等其他内容,均是为了更好的、更加便利的为用户和消费者提供服务。本站欢迎用户和社会各界捉出意见和建议,我们将虚心接受并适时修改本协议及本站上的各类规则。
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">10.3本协议内容中以黑体、加租、下划线、斜体等方式显著标识的条款,请用户看重阅读。
 		</view>
@@ -176,27 +198,27 @@
 		</view>
 		<view style="text-align: left;text-indent: 2rem;">10.5如本协议中的任何条款无论因何种原因完全或部分无效或不具有执行力,本协议的其余条软仍应有效并且有约束力。
 		</view>
-        <view style="font-weight: bold;text-align: left;text-indent: 2rem"> 本协议自签订之日起生效。
-            本协议签订之日,即用户注册时,点击‘同意’的当天,视为合同已签订生效。
-        </view>
-        <view style="text-align: right;margin-right: 8px;font-weight: bold;margin-top: 16px"> 山西省掌柜鼎科技有限公司
-        </view>
+		<view style="font-weight: bold;text-align: left;text-indent: 2rem"> 本协议自签订之日起生效。
+			本协议签订之日,即用户注册时,点击‘同意’的当天,视为合同已签订生效。
+		</view>
+		<view style="text-align: right;margin-right: 8px;font-weight: bold;margin-top: 16px"> 山西省掌柜鼎科技有限公司
+		</view>
 
 
-    </view>
+	</view>
 </template>
 
 <script>
-    export default {
-        data() {
-            return {}
-        },
-        methods: {}
-    }
+	export default {
+		data() {
+			return {}
+		},
+		methods: {}
+	}
 </script>
 
 <style>
-	page{
+	page {
 		background: #FFFFFF;
 	}
-</style>
+</style>

+ 25 - 14
pages/orders1/orders.vue

@@ -103,6 +103,7 @@
 						:hair-line="false" :plain="true" @click="CloseEdit(item.orderno)">编辑</u-button>
 				</view>
 			</view>
+			<u-loadmore v-if="pageResult.length!=0" :status="status" />
 		</view>
 		<o-empty v-if="pageResult.length==0" />
 		<!-- 回到顶部 -->
@@ -238,20 +239,27 @@
 				insureMore: false,
 				insureMoreIndex: null,
 				esmInsCompanyList: [],
-
+				status: 'loadmore',
+				totalPages: 0, //订单总页数
 			}
 		},
+		onReachBottom() {
+			if (this.pageRequest.pageNum >= this.totalPages) return;
+			this.status = 'loading';
+			this.pageRequest.pageNum = ++this.pageRequest.pageNum;
+			setTimeout(async () => {
+				let res = await this.$http.post('/insurance/order/queryPageOrder', this.pageRequest);
+				if (res.code == '200') {
+					this.pageResult = [...this.pageResult, ...res.data.content];
+				}
+				if (this.pageRequest.pageNum >= this.totalPages) this.status = 'nomore';
+				else this.status = 'loading';
+			}, 1000)
+		},
 		computed: {
 			...mapState(['userInfo', 'typeIndex', 'stageIndex'])
 		},
 
-		// 页面触底加载
-		onReachBottom() {
-			this.currentPage = this.currentPage + 1;
-			if (this.totalPages >= this.currentPage) {} else {
-				return false;
-			}
-		},
 		// 页面滚动触发
 		onPageScroll(e) { //根据距离顶部距离是否显示回到顶部按钮
 			if (e.scrollTop > 600) { //当距离大于600时显示回到顶部按钮
@@ -265,21 +273,24 @@
 			if (arr) {
 				uni.removeStorageSync('historyInfo');
 			}
-			this.getOrdersList()
+			this.getOrdersList(1, 20)
 			this.esmInsCompany()
 		},
 		async onLoad(e) {
 			this.pageRequest.userId = this.userInfo.sysUser.id;
 			this.pageRequest.deptId = this.userInfo.sysUser.deptId;
-			this.getOrdersList()
+			this.getOrdersList(1, 20)
 
 		},
 		methods: {
 			...mapMutations(['setOrderType', 'setOrderStage']),
-			async getOrdersList() {
+			async getOrdersList(page, size) {
+				this.pageRequest.pageNum = page;
+				this.pageRequest.pageSize = size;
 				let res = await this.$http.post('/insurance/order/queryPageOrder', this.pageRequest);
 				if (res.code == '200') {
 					this.pageResult = res.data.content;
+					this.totalPages = res.data.totalPages;
 				}
 			},
 			async esmInsCompany() {
@@ -302,7 +313,7 @@
 			},
 			//查询事件
 			querysearch() {
-				this.getOrdersList();
+				this.getOrdersList(1, 20);
 				this.showDropdown = false;
 			},
 			//状态筛选
@@ -415,11 +426,11 @@
 			},
 			//回车搜索事件
 			search(val) {
-				this.getOrdersList();
+				this.getOrdersList(1, 20);
 			},
 			//搜索按钮事件
 			custom(val) {
-				this.getOrdersList();
+				this.getOrdersList(1, 20);
 			},
 			//搜索框清除事件
 			clear(val) {

+ 17 - 0
pages/orders1/paymentCode.vue

@@ -193,6 +193,7 @@
 			}
 		},
 		async onLoad(data) {
+			console.log(data);
 			this.texts = [this.userLoginId]
 			if (!!data.companyId) {
 				let params = {
@@ -220,6 +221,22 @@
 							.then(path => {
 								this.paycodeimg = path;
 							})
+					} else if (this.companyName == '华泰财险') {
+						switch (data.apiType) {
+							case 1:
+							case '1':
+								this.paycodeimg = res.data.qrCodeUrl;
+								break;
+							case 2:
+							case '2':
+								let result = res.data.qrCodeUrl.replace(/[\r\n]/g, "");
+								let imgBase64 = `data:image/png;base64,${result}`;
+								base64ToPath(imgBase64)
+									.then(path => {
+										this.paycodeimg = path;
+									})
+								break;
+						}
 					} else {
 						this.paycodeimg = QR.createQrCodeImg(res.data.qrCodeUrl, {
 							size: parseInt(300) //二维码大小  

+ 16 - 0
pages/orders1/paymentCode1.vue

@@ -189,6 +189,22 @@
 							.then(path => {
 								this.paycodeimg = path;
 							})
+					} else if (this.companyName == '华泰财险') {
+						switch (data.apiType) {
+							case 1:
+							case '1':
+								this.paycodeimg = res.data.qrCodeUrl;
+								break;
+							case 2:
+							case '2':
+								let result = res.data.qrCodeUrl.replace(/[\r\n]/g, "");
+								let imgBase64 = `data:image/png;base64,${result}`;
+								base64ToPath(imgBase64)
+									.then(path => {
+										this.paycodeimg = path;
+									})
+								break;
+						}
 					} else {
 						this.paycodeimg = QR.createQrCodeImg(res.data.qrCodeUrl, {
 							size: parseInt(300) //二维码大小  

+ 21 - 16
pages/orders1/quoteHistory.vue

@@ -52,13 +52,13 @@
 					<u-button
 						v-if="item.orderstatus==2 && ['恒邦财险','安盛天平','中国人寿','众安财险','太平财险','紫金财险','永诚财险','国任财险','大家财险','华泰财险','中煤财险','华农财险','渤海财险'].includes(item.inscompany)"
 						size="mini" type="error" :plain="true" style="margin-right:10px;"
-						@click="queryStatus(item.id,item.inscompany)"
-						:custom-style="{fontSize:'14px'}">查询缴费状态</u-button>
+						@click="queryStatus(item.id,item)" :custom-style="{fontSize:'14px'}">查询缴费状态</u-button>
 					<u-button v-if="item.orderstatus==2" size="mini" type="error" style="margin-right:10px;"
-						:custom-style="{fontSize:'14px'}" :plain="true" @click="Payment(item.id)">二维码</u-button>
+						:custom-style="{fontSize:'14px'}" :plain="true"
+						@click="Payment(item.id,item.apiType)">二维码</u-button>
 					<u-button v-if="(item.orderstatus==4 || item.orderstatus==1) && item.inscompany=='华泰财险'" size="mini"
-						:custom-style="{fontSize:'14px'}" type="error" :plain="true"
-						@click="huataiunderwriting(item.id)" style="margin-right:10px;">更新订单</u-button>
+						:custom-style="{fontSize:'14px'}" type="error" :plain="true" @click="huataiunderwriting(item)"
+						style="margin-right:10px;">更新订单</u-button>
 					<u-button
 						v-if="item.orderstatus==1  && ['中煤财险','永诚财险','国任财险','大家财险','渤海财险','恒邦财险','安盛天平','中国人寿','众安财险','太平财险','华农财险'].includes(item.inscompany)"
 						style="margin-right:10px;" size="mini" type="error" :plain="true"
@@ -201,20 +201,20 @@
 				})
 			},
 			//付款码
-			Payment(id) {
+			Payment(id, type) {
 				let pro = this.quotationType.themeCode;
 				if (pro == "QD") {
 					uni.navigateTo({
-						url: "/pages/orders1/paymentCode?companyId=" + id
+						url: "/pages/orders1/paymentCode?companyId=" + id + '&apiType=' + type,
 					})
 				} else {
 					uni.navigateTo({
-						url: "/pages/orders1/paymentCode1?companyId=" + id
+						url: "/pages/orders1/paymentCode1?companyId=" + id + '&apiType=' + type,
 					})
 				}
 			},
 			//报价单
-			bjdpreview(id) {
+			bjdpreview(id, type) {
 				let pro = this.quotationType.themeCode;
 				if (pro == "QD") {
 					uni.navigateTo({
@@ -244,11 +244,13 @@
 					});
 				}
 			},
-			async huataiunderwriting(id) {
+			async huataiunderwriting(item) {
+				let api = item.apiType == '2' ? '/insurance/crawler/auditStatusQuery' :
+					'/order/huaTaiApi/auditStatusQuery';
 				let params = {
-					companyId: id,
+					companyId: item.id,
 				}
-				let res = await this.$http.post('/order/huaTaiApi/auditStatusQuery', params)
+				let res = await this.$http.post(`${api}`, params)
 				if (res.code == '200') {
 					uni.showToast({
 						title: res.msg,
@@ -396,8 +398,9 @@
 					});
 				}
 			},
-			async queryStatus(id, inscompany) {
-				switch (inscompany) {
+			async queryStatus(id, item) {
+
+				switch (item.inscompany) {
 					case "紫金财险":
 						let zjres = await this.$http.post('/order/zijin/getOrderDetail', {
 							companyId: id
@@ -435,8 +438,10 @@
 						}
 						break;
 					case "华泰财险":
-						let htres = await this.$http.post('/order/huaTaiApi/paymentEnquiry', {
-							companyId: id
+						let api = item.apiType == '2' ? '/insurance/crawler/verifyPayment' :
+							'/order/huaTaiApi/paymentEnquiry';
+						let htres = await this.$http.post(`${api}`, {
+							[item.apiType == 2 ? "subOrderNo" : "companyId"]: id
 						});
 						if (htres.code == '200') {
 							uni.showToast({

+ 21 - 15
pages/orders1/subOrders.vue

@@ -53,12 +53,13 @@
 					<u-button
 						v-if="item.orderstatus==2 && ['恒邦财险','安盛天平','中国人寿','众安财险','太平财险','紫金财险','永诚财险','国任财险','大家财险','华泰财险','中煤财险','华农财险','渤海财险'].includes(item.inscompany)"
 						size="mini" :custom-style="{fontSize:'14px'}" type="error" :plain="true"
-						style="margin-right:10px;" @click="queryStatus(item.id,item.inscompany)">查询缴费状态</u-button>
+						style="margin-right:10px;" @click="queryStatus(item.id,item)">查询缴费状态</u-button>
 					<u-button v-if="item.orderstatus==2" size="mini" type="error" style="margin-right:10px;"
-						:custom-style="{fontSize:'14px'}" :plain="true" @click="Payment(item.id)">二维码</u-button>
+						:custom-style="{fontSize:'14px'}" :plain="true"
+						@click="Payment(item.id,item.apiType)">二维码</u-button>
 					<u-button v-if="(item.orderstatus==4 || item.orderstatus==1) && item.inscompany=='华泰财险'" size="mini"
-						:custom-style="{fontSize:'14px'}" type="error" :plain="true"
-						@click="huataiunderwriting(item.id)" style="margin-right:10px;">更新订单</u-button>
+						:custom-style="{fontSize:'14px'}" type="error" :plain="true" @click="huataiunderwriting(item)"
+						style="margin-right:10px;">更新订单</u-button>
 					<u-button
 						v-if="item.orderstatus==1  && ['中煤财险','永诚财险','国任财险','大家财险','渤海财险','恒邦财险','安盛天平','中国人寿','众安财险','太平财险','华农财险'].includes(item.inscompany)"
 						style="margin-right:10px;" size="mini" type="error" :plain="true"
@@ -191,15 +192,16 @@
 				})
 			},
 			//付款码
-			Payment(id) {
+			Payment(id, type) {
+				console.log(type);
 				let pro = this.quotationType.themeCode;
 				if (pro == "QD") {
 					uni.navigateTo({
-						url: "/pages/orders1/paymentCode?companyId=" + id
+						url: "/pages/orders1/paymentCode?companyId=" + id + '&apiType=' + type,
 					})
 				} else {
 					uni.navigateTo({
-						url: "/pages/orders1/paymentCode1?companyId=" + id
+						url: "/pages/orders1/paymentCode1?companyId=" + id + '&apiType=' + type,
 					})
 				}
 			},
@@ -234,11 +236,13 @@
 					});
 				}
 			},
-			async huataiunderwriting(id) {
+			async huataiunderwriting(item) {
+				let api = item.apiType == '2' ? '/insurance/crawler/auditStatusQuery' :
+					'/order/huaTaiApi/auditStatusQuery';
 				let params = {
-					companyId: id,
+					companyId: item.id,
 				}
-				let res = await this.$http.post('/order/huaTaiApi/auditStatusQuery', params)
+				let res = await this.$http.post(`${api}`, params)
 				if (res.code == '200') {
 					uni.showToast({
 						title: res.msg,
@@ -386,8 +390,8 @@
 					});
 				}
 			},
-			async queryStatus(id, inscompany) {
-				switch (inscompany) {
+			async queryStatus(id, item) {
+				switch (item.inscompany) {
 					case "紫金财险":
 						let zjres = await this.$http.post('/order/zijin/getOrderDetail', {
 							companyId: id
@@ -425,8 +429,10 @@
 						}
 						break;
 					case "华泰财险":
-						let htres = await this.$http.post('/order/huaTaiApi/paymentEnquiry', {
-							companyId: id
+						let api = item.apiType == '2' ? '/insurance/crawler/verifyPayment' :
+							'/order/huaTaiApi/paymentEnquiry';
+						let htres = await this.$http.post(`${api}`, {
+							[item.apiType == 2 ? "subOrderNo" : "companyId"]: id
 						});
 						if (htres.code == '200') {
 							uni.showToast({
@@ -438,7 +444,7 @@
 						} else {
 							uni.showToast({
 								title: htres.msg,
-								icon: 'none',
+								icon: 'error',
 							});
 						}
 						break;

+ 66 - 5
pages/set/safe.vue

@@ -3,7 +3,8 @@
 		<!-- 公共组件-每个页面必须引入 -->
 		<public-module></public-module>
 		<block v-for="(item,index) in list" :key="index">
-			<my-list-item :item="item" :index="index" @weixinMsg="weixinMsg" :someData="status"></my-list-item>
+			<my-list-item :item="item" :index="index" @weixinMsg="weixinMsg" @zhifubaoMsg="zhifubaoMsg"
+				:someData="status"></my-list-item>
 		</block>
 	</view>
 </template>
@@ -42,14 +43,51 @@
 						url: "",
 						text: '未绑定',
 					},
+					{
+						icon: "",
+						name: "支付宝",
+						clicktype: "zhifubao",
+						url: "",
+						text: '未绑定',
+					},
 				],
-				status: false,
+				status: {
+					weixinstatus: false,
+					zhifubaostatus: false,
+				}
+
 			}
 		},
 		async onLoad() {
 			this.list[1].text = this.userInfo.sysUser.mobile;
 			this.bindingStatus();
-
+			this.isBindAlipay();
+		},
+		async onShow() {
+			let args = plus.runtime.arguments;
+			if (args) {
+				plus.runtime.arguments = null; //进入之后就把urlscheme清空要不然下一次oushow时还会执行
+				// 处理args参数,如直达到某新页面等
+				//通过code请求获取user_id
+				var authCode = args.split("=")[1];
+				if (authCode != undefined && authCode != "" && authCode != null) {
+					let res = await this.$http.post("/alipay/bind", {
+						code: authCode,
+					})
+					if (res.code == '200') {
+						uni.showToast({
+							title: res.msg,
+							icon: "success"
+						});
+						this.isBindAlipay();
+					} else {
+						uni.showToast({
+							title: res.msg,
+							icon: "none"
+						});
+					}
+				}
+			}
 		},
 		computed: {
 			...mapState(["userInfo"])
@@ -59,9 +97,18 @@
 				let res = await this.$http.get("/user/isBindWechat")
 				if (res.code == '200') {
 					this.list[2].text = "已绑定"
-					this.status = true;
+					this.status.weixinstatus = true;
 				} else {
-					this.status = false;
+					this.status.weixinstatus = false;
+				}
+			},
+			async isBindAlipay() {
+				let res = await this.$http.get("/alipay/isBindAlipay")
+				if (res.code == '200') {
+					this.list[3].text = "已绑定"
+					this.status.zhifubaostatus = true;
+				} else {
+					this.status.zhifubaostatus = false;
 				}
 			},
 			weixinMsg(res) {
@@ -78,6 +125,20 @@
 					});
 				}
 			},
+			zhifubaoMsg(res) {
+				if (res.code == '200') {
+					uni.showToast({
+						title: res.msg,
+						icon: "success"
+					});
+					this.isBindAlipay();
+				} else {
+					uni.showToast({
+						title: res.msg,
+						icon: "none"
+					});
+				}
+			}
 		}
 	}
 </script>

+ 1 - 1
pages/tools/addStaff/authenticationdetails.vue

@@ -36,7 +36,7 @@
 				</view>
 				<view class="pag-data dis j-s a-c">
 					<text>状态:</text>
-					<text v-if="status==1">已认证</text>
+					<text v-if="userData.state==1">已认证</text>
 					<text v-else>未认证</text>
 				</view>
 			</view>

+ 2 - 0
pages/tools/customer/customer.vue

@@ -211,6 +211,8 @@
 		onShow() {},
 		async onLoad(e) {
 			this.pageRequest.userId = this.userInfo.sysUser.id;
+			this.pageRequest.jqEndDate = this.transformTime();
+			this.pageRequest.syEndDate = this.transformTime();
 			this.querylist();
 		},
 		methods: {

+ 123 - 0
pages/tools/messageReminder/details.vue

@@ -0,0 +1,123 @@
+<template>
+	<view class="page">
+		<view class="message dis f-c" v-for="(item,index) in dataList" :key="index">
+			<view class="time dis j-c a-c">{{item.createTime}}</view>
+			<view class="content dis f-c">
+				<view class="dis f-c j-s" style="border-bottom: 1px solid #f2f2f2;padding-bottom: 6px;">
+					<text>消息编号:{{item.id}}</text>
+				</view>
+				<view class="dis f-c j-s" style="border-bottom: 1px solid #f2f2f2;padding: 10px 0;">
+					<text> <text style="color: rgba(35,40,50,0.6);">消息内容:</text>
+						{{item.content}}</text>
+				</view>
+				<view class="details">
+					<u-section title="查看详情" sub-title="" :show-line="false"></u-section>
+				</view>
+			</view>
+		</view>
+		<u-loadmore v-if="dataList.length>0" :status="status" />
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				msgType: "",
+				dataList: [],
+				pageRequest: {
+					pageNum: 1,
+					pageSize: 20,
+				},
+				status: 'loadmore',
+				pages: 0, //订单总页数
+			}
+		},
+		onShow() {
+
+		},
+		onReachBottom() {
+			if (this.pageRequest.pageNum >= this.pages) return;
+			this.status = 'loading';
+			this.pageRequest.pageNum = ++this.pageRequest.pageNum;
+			setTimeout(async () => {
+				let res = await this.$http.post('/api/message/getUserMessageList', {
+					msgType: this.msgType,
+					...this.pageRequest
+				});
+				if (res.code == '200') {
+					this.pageResult = [...this.pageResult, ...res.data.records];
+				}
+				if (this.pageRequest.pageNum >= this.pages) this.status = 'nomore';
+				else this.status = 'loading';
+			}, 1000)
+		},
+		onPullDownRefresh() {
+			// 执行刷新逻辑
+			this.list(1, 20);
+		},
+		onLoad(params) {
+			if (params.msgType) {
+				this.msgType = params.msgType;
+				this.list(1, 20);
+			}
+		},
+		methods: {
+			async list(page, size) {
+				this.pageRequest.pageNum = page;
+				this.pageRequest.pageSize = size;
+				let res = await this.$http.post('/api/message/getUserMessageList', {
+					msgType: this.msgType,
+					...this.pageRequest
+				});
+				if (res.code == '200') {
+					this.dataList = res.data.records;
+					this.pages = res.data.pages;
+					uni.stopPullDownRefresh();
+				}
+			}
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	.page {
+		padding: 16px;
+		background: #F8FAFE;
+	}
+
+	.message {
+		width: 100%;
+		cursor: pointer;
+
+		.time {
+			width: 100%;
+			font-size: 14px;
+			color: rgba(35, 40, 50, 0.6);
+		}
+
+		.content {
+			width: 100%;
+			background: #FFFFFF;
+			box-shadow: 0px 4px 10px 0px #DAE3F4;
+			border-radius: 6px;
+			margin: 15px 0;
+			padding: 6px 16px 16px 16px;
+
+			>view:nth-child(1) {
+				color: #232832;
+				font-size: 14px;
+				font-weight: bold;
+			}
+
+			>view:nth-child(2) {
+				color: #232832;
+				font-size: 14px;
+			}
+		}
+
+		.details {
+			padding-top: 16px;
+		}
+	}
+</style>

+ 75 - 93
pages/tools/messageReminder/messageReminder.vue

@@ -2,26 +2,23 @@
 	<view class="aui-news-box">
 		<!-- 公共组件-每个页面必须引入 -->
 		<public-module></public-module>
-		<uni-swipe-action>
-			<!-- 基础用法 -->
-			<uni-swipe-action-item v-for="(list, index) in lists" :key="index" :right-options="swipeOptions"
-				@click="swipeClick($event, index)">
-				<view class="aui-news-item">
-					<view class="aui-news-item-hd">
-						<image :src="list.img" mode="widthFix" lazy-load class="img" />
-					</view>
-					<view class="aui-news-item-bd">
-						<view class="title">
-							<h4>{{list.titleType}}</h4>
-							<span>{{list.time}}</span>
-						</view>
-						<view class="content">
-							<p>{{list.result.content}}</p>
-						</view>
+		<view class="headers dis a-c j-start ">
+			<u-icon name="arrow-left" size="40" @tap="back"></u-icon>
+			<text style="margin: auto;">掌柜秘书</text>
+		</view>
+		<view class="" style="padding: 98px 16px 16px 16px;">
+			<view class="massage-data dis a-c j-s" v-for="(item,index) in lists" :key="index" @click="swipeClick(item)">
+				<image :src="item.img" mode="" style="width: 46px;height: 41px;"></image>
+				<view class="" style="width: 80%;">
+					<view class="dis j-s a-c">
+						<text>{{item.titleType}}</text>
+						<text>{{item.time}}</text>
 					</view>
+					<view class="ellipsis">{{item.result.content}}</view>
 				</view>
-			</uni-swipe-action-item>
-		</uni-swipe-action>
+			</view>
+		</view>
+
 	</view>
 </template>
 
@@ -29,53 +26,45 @@
 	export default {
 		data() {
 			return {
-				swipeOptions: [{
-					text: '删除',
-					value: '1',
-					style: {
-						backgroundColor: '#dd524d'
-					}
-				}],
-
 				lists: [{
 						id: 1,
 						titleType: "系统消息",
 						time: "08:48",
-						img: '/static/image/messageIcon/icon-item-001.png',
+						img: '/static/image/messageIcon/icon1.png',
 						result: {}
 					},
 					{
 						id: 2,
 						titleType: "服务消息",
 						time: "08:48",
-						img: '/static/image/messageIcon/icon-item-002.png',
+						img: '/static/image/messageIcon/icon2.png',
 						result: {}
 					},
 					{
 						id: 3,
 						titleType: "订单进度",
 						time: "昨天",
-						img: '/static/image/messageIcon/icon-item-003.png',
+						img: '/static/image/messageIcon/icon3.png',
 						result: {}
 					},
 					{
 						id: 4,
 						titleType: "保单提醒",
 						time: "星期六",
-						img: '/static/image/messageIcon/icon-item-004.png',
+						img: '/static/image/messageIcon/icon4.png',
 						result: {}
 					},
 					{
 						id: 5,
 						titleType: "佣金消息",
 						time: "星期六",
-						img: '/static/image/messageIcon/icon-item-005.png',
+						img: '/static/image/messageIcon/icon5.png',
 						result: {}
 					}, {
 						id: 6,
 						titleType: "增员服务",
 						time: "星期五",
-						img: '/static/image/messageIcon/icon-item-001.png',
+						img: '/static/image/messageIcon/icon6.png',
 						result: {}
 					}
 				],
@@ -89,6 +78,13 @@
 			this.getUserMessage();
 		},
 		methods: {
+			//页面返回按钮
+			back() {
+				uni.navigateBack({
+					delta: 1, // 返回的页面数,如果是1表示返回上一页
+					success: function() {}
+				});
+			},
 			async getUserMessage() {
 				let res = await this.$http.get('/api/message/getUserMessage');
 				if (res.code == '200') {
@@ -103,81 +99,67 @@
 					uni.stopPullDownRefresh();
 				}
 			},
+			async swipeClick(item) {
+				uni.navigateTo({
+					url: "/pages/tools/messageReminder/details?msgType=" + item.result.msgType,
+				})
 
+			}
 		}
 	}
 </script>
 
 <style>
-	.aui-news-box {
-		margin-top: 8px;
-		background: #fff;
-	}
-
-	.aui-news-item {
-		padding: 30upx;
-		position: relative;
-		display: flex;
-		align-items: center;
-	}
-
-	.aui-news-item-hd {
-		margin-right: 30upx;
-		width: 110upx;
-		display: flex;
-		flex-shrink: 0;
-		background: #fff;
-		border-radius: 30upx;
-	}
-
-	.aui-news-item-hd .img {
+	.ellipsis {
 		width: 100%;
+		/* 设置一个固定宽度 */
+		white-space: nowrap;
+		/* 确保文本在一行显示 */
+		overflow: hidden;
+		/* 隐藏溢出的内容 */
+		text-overflow: ellipsis;
+		/* 使用省略号表示溢出的文本 */
+		color: rgba(35, 40, 50, 0.6);
+		font-size: 26rpx;
 	}
 
-	.aui-news-item-bd {
-		display: flex;
-		flex-direction: column;
-		width: 550upx;
-	}
+	.headers {
+		position: fixed;
+		top: 0;
+		left: 0;
+		height: auto;
+		width: 100%;
+		z-index: 999999;
+		padding: 16px;
+		padding-top: 50px;
+		background: #fff;
+		background-image: url("/static/image/addStaff/bfg.png");
+		background-size: 100% 100%;
 
-	.aui-news-item-bd .title {
-		display: flex;
-		justify-content: space-between;
-		padding-bottom: 10upx;
+		text {
+			font-size: 18px;
+			font-weight: bold;
+			color: #000;
+		}
 	}
 
-	.aui-news-item-bd .title h4 {
-		font-weight: 400;
-		font-size: 32upx;
-		line-height: 50upx;
-		width: 250upx;
-		overflow: hidden;
-		text-overflow: ellipsis;
-		white-space: nowrap;
-		color: #333;
-	}
+	.massage-data {
+		padding: 16px 0;
+		border-bottom: 1px solid #f2f2f2;
 
-	.aui-news-item-bd .title span {
-		color: #848689;
-	}
+		text:nth-child(1) {
+			color: #232832;
+			font-size: 30rpx;
+		}
 
-	.aui-news-item-bd p {
-		width: 100%;
-		color: #848689;
-		overflow: hidden;
-		text-overflow: ellipsis;
-		white-space: nowrap;
-	}
+		text:nth-child(2) {
+			color: rgba(35, 40, 50, 0.6);
+			font-size: 28rpx;
+		}
 
-	.aui-news-item:before {
-		content: '';
-		position: absolute;
-		z-index: 2;
-		bottom: 0;
-		left: 0;
-		width: 100%;
-		height: 1px;
-		border-bottom: 1px solid #d8d8d8;
-		transform: scaleY(0.5);
+		image {
+			width: 46px;
+			height: 41px;
+		}
 	}
 </style>

+ 8 - 14
pages/tools/team/team.vue

@@ -74,8 +74,8 @@
 						@click="toTeamMember('userPolicyList1',index)">
 						<view class="dis j-start a-c">{{item.username}}</view>
 						<view class="dis j-c a-c">{{item.bjpolicynum}}</view>
-						<view class="dis j-c a-c">{{item.ordernum}}</view>
 						<view class="dis j-c a-c">{{item.policynum}}</view>
+						<view class="dis j-c a-c">{{item.ordernum}}</view>
 						<view class="dis j-end a-c">{{item.sumpremium}}</view>
 					</view>
 					<view v-if="teamTabIndex==1" class="dis j-s a-c team_members-data"
@@ -83,8 +83,8 @@
 						@click="toTeamMember('userPolicyList2',index)">
 						<view class="dis j-start a-c">{{item.username}}</view>
 						<view class="dis j-c a-c">{{item.bjpolicynum}}</view>
-						<view class="dis j-c a-c">{{item.ordernum}}</view>
 						<view class="dis j-c a-c">{{item.policynum}}</view>
+						<view class="dis j-c a-c">{{item.ordernum}}</view>
 						<view class="dis j-end a-c">{{item.sumpremium}}</view>
 					</view>
 					<view v-if="teamTabIndex==2" class="dis j-s a-c team_members-data"
@@ -92,8 +92,8 @@
 						@click="toTeamMember('userPolicyList3',index)">
 						<view class="dis j-start a-c">{{item.username}}</view>
 						<view class="dis j-c a-c">{{item.bjpolicynum}}</view>
-						<view class="dis j-c a-c">{{item.ordernum}}</view>
 						<view class="dis j-c a-c">{{item.policynum}}</view>
+						<view class="dis j-c a-c">{{item.ordernum}}</view>
 						<view class="dis j-end a-c">{{item.sumpremium}}</view>
 					</view>
 					<view v-if="teamTabIndex==3" class="dis j-s a-c team_members-data"
@@ -101,29 +101,23 @@
 						@click="toTeamMember('userPolicyList4',index)">
 						<view class="dis j-start a-c">{{item.username}}</view>
 						<view class="dis j-c a-c">{{item.bjpolicynum}}</view>
-						<view class="dis j-c a-c">{{item.ordernum}}</view>
 						<view class="dis j-c a-c">{{item.policynum}}</view>
+						<view class="dis j-c a-c">{{item.ordernum}}</view>
 						<view class="dis j-end a-c">{{item.sumpremium}}</view>
 					</view>
 					<view v-if="teamTabIndex==4" class="dis j-s a-c team_members-data"
 						v-for="(item,index) in userPolicyList5" :key="index"
 						@click="toTeamMember('userPolicyList5',index)">
-						<view class="dis j-c a-c">{{item.username}}</view>
+						<view class="dis j-start a-c">{{item.username}}</view>
 						<view class="dis j-c a-c">{{item.bjpolicynum}}</view>
-						<view class="dis j-c a-c">{{item.ordernum}}</view>
 						<view class="dis j-c a-c">{{item.policynum}}</view>
-						<view class="dis j-c a-c">{{item.sumpremium}}</view>
+						<view class="dis j-c a-c">{{item.ordernum}}</view>
+						<view class="dis j-end a-c">{{item.sumpremium}}</view>
 					</view>
 				</view>
 
 			</view>
 		</view>
-
-		<!-- <view class="body">
-
-		
-
-		</view> -->
 		<mx-date-picker :show="showDatePicker" type="range" :value="dateRange" :show-tips="true" @confirm="onSelected"
 			@cancel="onSelected" />
 	</view>
@@ -280,7 +274,7 @@
 					this.userPolicyList2 = res.data.userPolicyList0;
 					this.userPolicyList3 = res.data.userPolicyList1;
 					this.userPolicyList4 = res.data.userPolicyList2;
-					this.userPolicyList5 = res.data.userPolicyList9;
+					this.userPolicyList5 = res.data.userPolicyList3;
 					this.SummaryList.map(ele => {
 						this.arrdata.map(val => {
 							if (ele.teamlevel.includes(val.name)) {

+ 7 - 6
pages/tools/team/teamMember.vue

@@ -46,13 +46,13 @@
 			</view>
 			<view class="personInfo_item d-flex a-center j-sb">
 				<view class="d-flex a-center">手机</view>
-				<view @tap="callPhone(info.phone)" style="color: #007AFF;">
-					{{info.phone?(info.phone.substring(0,3)+'****'+info.phone.substring(7)):''}}
+				<view @tap="callPhone(phone)" style="color: #007AFF;">
+					{{phone?(phone.substring(0,3)+'****'+phone.substring(7)):''}}
 				</view>
 			</view>
 			<view class="personInfo_item d-flex a-center j-sb">
 				<view class="d-flex a-center">注册时间</view>
-				<view>{{info.createTime}}</view>
+				<view>{{createTime}}</view>
 			</view>
 
 		</view>
@@ -69,7 +69,8 @@
 		data() {
 			return {
 				info: {},
-
+				phone: "",
+				createTime: "",
 			}
 		},
 		computed: {
@@ -94,8 +95,8 @@
 				this.info = data.item;
 				let res = await this.$http.get('/app/customer/' + this.info.id);
 				if (res.code == '200') {
-					this.info.phone = res.data.phone;
-					this.info.createTime = res.data.createTime;
+					this.phone = res.data.phone;
+					this.createTime = res.data.createTime;
 				}
 			})
 		},

+ 2 - 0
plugins/request/index.js

@@ -6,6 +6,8 @@ import store from '@/store';
 const whiteList = [
 	"/pages/login/login",
 	"/pages/register/register",
+	"/pages/login/xieyi",
+	"/pages/login/mimi",
 ];
 //白名单 不需要登录的页面路径组成的数组
 function hasPermission(url) {

BIN
static/image/messageIcon/icon-item-001.png


BIN
static/image/messageIcon/icon-item-002.png


BIN
static/image/messageIcon/icon-item-003.png


BIN
static/image/messageIcon/icon-item-004.png


BIN
static/image/messageIcon/icon-item-005.png


BIN
static/image/messageIcon/icon1.png


BIN
static/image/messageIcon/icon2.png


BIN
static/image/messageIcon/icon3.png


BIN
static/image/messageIcon/icon4.png


BIN
static/image/messageIcon/icon5.png


BIN
static/image/messageIcon/icon6.png


BIN
static/image/wallet/bankcard.png


BIN
static/image/wallet/bg1.png


BIN
static/image/wallet/bg2.png


BIN
static/image/wallet/bg3.png


BIN
static/image/wallet/bg4.png


BIN
static/image/wallet/bg5.png


BIN
static/image/wallet/bg6.png


BIN
static/image/wallet/gendan.png


BIN
static/image/wallet/gouwu.png


BIN
static/image/wallet/imgbg.jpg


BIN
static/image/wallet/money-bg.png


BIN
static/image/wallet/qianbao.png


BIN
static/image/wallet/shouxu.png


BIN
static/image/wallet/shouzhi.png


BIN
static/image/wallet/tixian.png


BIN
static/image/wallet/tuiguang.png


BIN
static/image/wallet/yushou.png


BIN
static/image/wallet/zengzhifuwu.png


Some files were not shown because too many files changed in this diff