Forráskód Böngészése

Merge branch 'master' of http://git.zthymaoyi.com/gdc/yiliangyiyun-app

gjy 2 éve
szülő
commit
61d96a4392

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "易粮易运",
     "appid" : "__UNI__7297DA2",
     "description" : "易粮易运——为天下粮食人服务的App",
-    "versionName" : "2.1.135",
-    "versionCode" : 21135,
+    "versionName" : "2.1.137",
+    "versionCode" : 21137,
     "transformPx" : false,
     /* SDK配置 */
     "quickapp" : {},

+ 14 - 0
pages.json

@@ -1271,7 +1271,21 @@
 				"enablePullDownRefresh": false
 			}
 
+		},{
+			"path": "pages/erpbusiness/customerAudit",
+			"style": {
+				"navigationBarTitleText": "客户审核",
+				"enablePullDownRefresh": false
+			}
+
 		}, {
+			"path": "pages/erpbusiness/customerSee",
+			"style": {
+				"navigationBarTitleText": "客户详情",
+				"enablePullDownRefresh": false
+			}
+
+		},{
 			"path": "pages/user/depotAcquisition/depotAcquisition",
 			"style": {
 				"navigationBarTitleText": "库点收购",

+ 1 - 5
pages/erpbusiness/add_quality_testing.vue

@@ -736,7 +736,6 @@
 		},
 		onLoad(options) {
 			console.log( this.cangid)
-			debugger
 			this.commonWarehouseNo = options.commonWarehouseNo
 			this.warehouseCount = Number(options.warehouseCount) + 1
 			this.warehouseTradeCount = Number(options.warehouseTradeCount) + 1
@@ -1273,14 +1272,11 @@
 				}
 
 				
-				var numReg = /^[0-9]*$/
-				var numRe = new RegExp(numReg)
 				//潮粮单价改变事件
 				if (
 					this.gridList.goodsName &&
 					this.gridList.waterContent &&
-					this.gridList.grade &&
-					numRe.test(this.gridList.waterContent)
+					this.gridList.grade 
 				) {
 					this.$api.doRequest('get', '/purchasePrice/tidalGrainPrice', {
 						warehouseId: this.cangid,

+ 148 - 0
pages/erpbusiness/customerAudit.vue

@@ -0,0 +1,148 @@
+<template>
+	<view class="content">
+		<view class="datalist" v-for="(item,index) in dataList">
+			<view class="item">
+				<view class="item_top">
+					<view class="item_name">{{item.customerName}}</view>
+					<view class="item_audit" ><span @click="auditSubmit(item)">审核</span></view>
+				</view>
+				<view class="item_lower">
+					<view class="item_phone">{{item.customerPhone}}</view>
+					<view class="item_date">{{item.updateDate}}</view>
+				</view>
+			</view>
+		</view>
+		<view v-show="isLoadMore">
+			<uni-load-more :status="loadStatus"></uni-load-more>
+		</view>
+	</view>
+</template>
+
+<script>
+	import {
+		mapState
+	} from 'vuex';
+	export default {
+		data() {
+			return {
+				dataList: [],
+				currentPage:1,
+				pageSize:10,
+				isLoadMore: false, //是否加载中
+				loadStatus: 'loading', //加载样式:more-加载前样式,loading-加载中样式,nomore-没有数据样式
+			}
+		},
+		onShow() {
+			this.getList()
+		},
+		onLoad() {},
+		computed: {
+			...mapState(['hasLogin', 'userInfo']),
+		},
+		//下拉刷新
+		onPullDownRefresh() {
+			this.currentPage = 1
+			this.pageSize = 10
+			this.isLoadMore = false
+			this.loadStatus = 'loading'
+			this.getList()
+			setTimeout(function() {
+				uni.stopPullDownRefresh();
+			}, 1000);
+		},
+		onReachBottom() { //上拉触底函数
+			if (!this.isLoadMore) { //此处判断,上锁,防止重复请求
+				this.isLoadMore = true
+				this.currentPage += 1
+				this.getList()
+			}
+		},
+		methods: {
+			getList() {
+				uni.showLoading({
+					title: '加载中',
+					mask: true
+				})
+				this.$api.doRequest('get', '/identityAuthenticationInfo/selectIdentityAuthenticationInfoPc', {
+					currentPage: this.currentPage,
+					pageSize: this.pageSize,
+					searchType: 1, //searchType:1待审核
+					compId: uni.getStorageSync('pcUserInfo').compId,
+					searchKeyWord: "个人"
+				}).then(res1 => {
+					uni.hideLoading()
+					if (res1.data.code == 200) {
+						if (res1.data.data.records.length > 0) {
+							this.isLoadMore = false
+							this.loadStatus = 'loading'
+						} else {
+							this.isLoadMore = true
+							this.loadStatus = 'nomore'
+						}
+						if (this.currentPage == 1) {
+							this.dataList = res1.data.data.records
+						} else {
+							this.dataList = this.dataList.concat(res1.data.data.records)
+						}
+					}
+				})
+			},
+			auditSubmit(val) {
+				let obj = JSON.stringify(val)
+				uni.navigateTo({
+					url: '/pages/erpbusiness/customerSee?data=' + obj
+				})
+			}
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	.content {
+		padding: 30rpx 20rpx;
+	}
+
+	.datalist {
+		.item {
+			margin-bottom: 20rpx;
+			background-color: #ffffff;
+			padding: 30rpx 20rpx;
+			border-radius: 10rpx;
+			height: 200rpx;
+			padding: 40rpx 40rpx;
+		}
+
+		.item_top,
+		.item_lower {
+			display: flex;
+		}
+		.item_lower{
+			margin-top: 30rpx;
+		}
+
+		.item_name,
+		.item_phone,
+		.item_date,
+		.item_audit {
+			width: 50%;
+		}
+		.item_name{
+			font-size: 36rpx;
+			font-weight: 600;
+		}
+		.item_audit{
+			font-size: 36rpx;
+			font-weight: 600;
+			color: #5C76DF ;
+		}
+		.item_phone,.item_date{
+			color: #878C9C;
+			font-size: 28rpx;
+		}
+
+		.item_date,
+		.item_audit {
+			text-align: right;
+		}
+	}
+</style>

+ 331 - 0
pages/erpbusiness/customerSee.vue

@@ -0,0 +1,331 @@
+<template>
+	<view class="content">
+		<view class="data_css">
+			<view class="wrap">
+				<view class="c-row">
+					<view class="title">客户姓名</view>
+					<view class="con-list">
+						{{dataInfo.customerName}}
+					</view>
+				</view>
+				<view class="c-row" v-show="dataInfo.customerPhone">
+					<view class="title">手机号</view>
+					<view class="con-list">
+						{{dataInfo.customerPhone}}
+					</view>
+				</view>
+				<view class="c-row" v-show="dataInfo.compAddress">
+					<view class="title">联系地址</view>
+					<view class="con-list">
+						{{dataInfo.compAddress}}
+					</view>
+				</view>
+				<view class="c-row">
+					<view class="title">身份证号</view>
+					<view class="con-list">
+						{{dataInfo.customerNumberCard}}
+					</view>
+				</view>
+			</view>
+			<view class="wrap">
+				<view class="tips">身份证照片</view>
+				<view class="img" v-if="dataInfo.cardAddressUrl.length > 0">
+					<u-swiper :list="dataInfo.cardAddressUrl" @change="e => currentNum = e.current" radius="10"
+						indicatorMode="dot" height="360" img-mode="true" :autoplay="true" @click="openDocument1">
+					</u-swiper>
+				</view>
+			</view>
+			<view class="wrap">
+				<view class="c-row ">
+					<view class="title">银行卡号</view>
+					<view class="con-list">
+						{{dataInfo.bankCard}}
+					</view>
+				</view>
+				<view class="c-row ">
+					<view class="title">开户行</view>
+					<view class="con-list">
+						{{dataInfo.bankDeposit}}
+					</view>
+				</view>
+				<view class="c-row ">
+					<view class="title">开户支行</view>
+					<view class="con-list">
+						{{dataInfo.bankDepositBranch}}
+					</view>
+				</view>
+			</view>
+			<view class="wrap">
+				<view class="tips">银行卡照片</view>
+				<view class="img" v-if="dataInfo.payeeAddressUrl.length > 0">
+					<u-swiper :list="dataInfo.payeeAddressUrl" @change="e => currentNum = e.current" radius="10"
+						indicatorMode="dot" height="360" img-mode="true" :autoplay="true" @click="openDocument2">
+					</u-swiper>
+				</view>
+			</view>
+			<view class="wrap">
+				<view class="c-row ">
+					<view class="title">供应商</view>
+					<view class="con-list">
+						{{dataInfo.supplier?dataInfo.supplier:"暂无"}}
+					</view>
+				</view>
+				<view class="c-row ">
+					<view class="title">供应商电话</view>
+					<view class="con-list">
+						{{dataInfo.supplierPhone?dataInfo.supplierPhone:"暂无"}}
+					</view>
+				</view>
+			</view>
+		</view>
+		<view class="btn">
+			<view class="btn_left">
+				<view class="noway" @click="submit(1)">
+					驳回
+				</view>
+			</view>
+			<view class="btn_right">
+				<view class="sure" @click="submit(2)">
+					通过
+				</view>
+			</view>
+		</view>
+		<u-modal v-model="auditShow" confirm-color='#22C572' confirm-text='确定' title='提示' showCancelButton='false'
+			:content="content" @confirm="next" @cancel="cancel"></u-modal>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				dataInfo: {},
+				auditShow: false,
+				title: "提示",
+				content: "",
+				tips: "",
+				currentNum: "",
+				list3: [
+					'https://cdn.uviewui.com/uview/swiper/swiper3.png',
+					'https://cdn.uviewui.com/uview/swiper/swiper2.png',
+					'https://cdn.uviewui.com/uview/swiper/swiper1.png',
+				],
+			}
+		},
+		onShow() {
+
+		},
+		onLoad(options) {
+			if (options.data) {
+				this.dataInfo = JSON.parse(options.data)
+				if (this.dataInfo.cardAddressUrl) {
+					this.dataInfo.cardAddressUrl = this.dataInfo.cardAddressUrl.split(",")
+				}
+				if (this.dataInfo.payeeAddressUrl) {
+					this.dataInfo.payeeAddressUrl = this.dataInfo.payeeAddressUrl.split(",")
+				}
+			}
+		},
+		methods: {
+			cancel() {
+				this.auditShow = false
+			},
+			next() {
+				if (this.tips == 1) {
+					this.reject()
+				} else if (this.tips == 2) {
+					this.adopt()
+				}
+			},
+			openDocument1(e) {
+				let imgUrl = this.dataInfo.cardAddressUrl[e]
+				uni.downloadFile({
+					url: imgUrl,
+					success: function(res) {
+						var filePath = res.tempFilePath;
+						uni.openDocument({
+							filePath: filePath,
+							showMenu: true,
+							success: function(res) {
+								console.log('打开文档成功');
+							}
+						});
+					}
+				});
+			},
+			openDocument2(e) {
+				let imgUrl = this.dataInfo.payeeAddressUrl[e]
+				uni.downloadFile({
+					url: imgUrl,
+					success: function(res) {
+						var filePath = res.tempFilePath;
+						uni.openDocument({
+							filePath: filePath,
+							showMenu: true,
+							success: function(res) {
+								console.log('打开文档成功');
+							}
+						});
+					}
+				});
+			},
+			submit(num) {
+				if (num == 1) {
+					this.tips = 1
+					this.content = "确定驳回客户信息?"
+				} else {
+					this.tips = 2
+					this.content = "确定通过客户信息?"
+				}
+				this.auditShow = true
+			},
+			reject() {
+				uni.showLoading({
+					title: '加载中',
+					mask: true
+				})
+				this.$api.doRequest('post', '/identityAuthenticationInfo/api/examine', {
+					id: this.dataInfo.id,
+					flag: 2,
+					examiner: uni.getStorageSync('userInfo').userName
+				}).then(res1 => {
+					uni.hideLoading()
+					this.$api.msg('驳回成功!')
+					setTimeout(function() {
+						uni.navigateBack({
+							delta: 1
+						});
+					}, 2000);
+				})
+			},
+			adopt() {
+				uni.showLoading({
+					title: '加载中',
+					mask: true
+				})
+				this.$api.doRequest('post', '/identityAuthenticationInfo/api/examine', {
+					id: this.dataInfo.id,
+					flag: 1,
+					examiner: uni.getStorageSync('userInfo').userName
+				}).then(res1 => {
+					uni.hideLoading()
+					this.$api.msg('通过成功!')
+
+					setTimeout(function() {
+						uni.navigateBack({
+							delta: 1
+						});
+					}, 2000);
+				})
+			}
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	.data_css {
+		margin-bottom: 220rpx;
+	}
+
+	.wrap {
+		padding-bottom: 10px;
+		font-size: 14px;
+		background: #fff;
+		margin: 10px;
+		border-radius: 10px;
+		padding: 30rpx 30rpx;
+
+		input {
+			font-size: 14px;
+		}
+
+		.title {
+			font-size: 28rpx;
+		}
+
+		.tips {
+			font-size: 34rpx;
+			font-weight: 600;
+			border-bottom: 1px solid #EEEEEE;
+			padding-bottom: 30rpx;
+		}
+
+		.c-row {
+			display: -webkit-box;
+			display: -webkit-flex;
+			display: flex;
+			-webkit-box-align: center;
+			-webkit-align-items: center;
+			align-items: center;
+			padding: 40rpx 0;
+			position: relative;
+			border-bottom: 1px solid #EEEEEE;
+		}
+
+		.con-list {
+			-webkit-box-flex: 1;
+			-webkit-flex: 1;
+			flex: 1;
+			display: -webkit-box;
+			display: -webkit-flex;
+			display: flex;
+			-webkit-box-orient: vertical;
+			-webkit-box-direction: normal;
+			-webkit-flex-direction: column;
+			flex-direction: column;
+			color: #AFB3BF;
+			line-height: 40rpx;
+			text-align: right;
+			padding-right: 20rpx;
+		}
+	}
+
+	.btn {
+		width: 100%;
+		height: 200rpx;
+		background-color: #ffffff;
+		position: fixed;
+		bottom: 0px;
+		display: flex;
+		padding-top: 40rpx;
+
+		.btn_left,
+		.btn_right {
+			width: 50%;
+			text-align: center;
+			// line-height: 160rpx;
+			margin: 0 auto;
+		}
+
+		.noway,
+		.sure {
+			width: 80%;
+			height: 90rpx;
+			line-height: 90rpx;
+			margin: 0 auto;
+			border-radius: 45rpx;
+			font-size: 32rpx;
+		}
+
+		.sure {
+			background-color: #5C76DF;
+			color: #ffffff;
+		}
+
+		.noway {
+			background-color: #F7F8FA;
+			color: #AFB3BF;
+		}
+	}
+
+	.img {
+		width: 100%;
+		margin: 20rpx auto;
+		text-align: center;
+
+		// .img_css {
+		// 	width: 96%;
+		// 	height: 440rpx;
+		// }
+	}
+</style>

+ 12 - 6
pages/erpbusiness/edit_quality_testing.vue

@@ -531,6 +531,7 @@
 			this.cangid = options.cangid
 			this.warehouseName=options.warehouseName
 			this.managementType = options.managementType
+			
 			console.log(this.flag)
 			var that = this
 			this.$api.doRequest('get', '/qualityInspectionManagement/api/getQualityInspection', {
@@ -588,8 +589,14 @@
 				warehouseId: this.cangid
 			}).then(res => {
 				if (res.data.data) {
-					this.goodsList = res.data.data
+					that.goodsList = res.data.data
+					if (that.goodsList.length > 0) {
+						that.gridList.goodsName = that.goodsList[0].goodsName
+						uni.setStorageSync('purchasePriceList', that.goodsList)
+						that.purchasePriceList = uni.getStorageSync('purchasePriceList')
+					}
 				}
+				
 			})
 			this.gridList.grade = this.gradeList[0].value
 			this.gridList.gradeKey = this.gradeList[0].key
@@ -807,7 +814,8 @@
 						}
 					}
 				}
-				if(this.gridList.serviceManagementType == 3){ //收购入库 不需在获取价格
+				console.log(this.gridList.serviceManagementType)
+				if(this.gridList.serviceManagementType != 3){ //非收购入库 不需在获取价格
 					return
 				}
 				if (this.gridList.goodsName && this.cangid) {
@@ -821,15 +829,13 @@
 					}
 				}
 				
-				var numReg = /^[0-9]*$/
-				var numRe = new RegExp(numReg)
 				//潮粮单价改变事件
 				if (
 					this.gridList.goodsName &&
 					this.gridList.waterContent &&
-					this.gridList.grade &&
-					numRe.test(this.gridList.waterContent)
+					this.gridList.grade 
 				) {
+				console.log('123123')
 					this.$api.doRequest('get', '/purchasePrice/tidalGrainPrice', {
 						warehouseId: this.cangid,
 						goodsName: this.gridList.goodsName,

+ 11 - 9
pages/erpbusiness/index.vue

@@ -99,9 +99,7 @@
 						tips: 0,
 						url: '/pages/erpbusiness/quality_testing?managementType=1',
 						show: true
-					},
-
-					{
+					},{
 						num: 2,
 						// name: '入库检斤',
 						name: '收购检斤',
@@ -110,10 +108,7 @@
 						tips: 0,
 						url: '/pages/erpbusiness/acquisitionInspection/acquisitionInspection',
 						show: true
-					}
-,
-
-					{
+					},{
 						num: 3,
 						name: '收购信息',
 						// icon: 'cuIcon-copy',
@@ -121,6 +116,14 @@
 						tips: 0,
 						url: '/pages/erpbusiness/acquisitionInformation',
 						show: true
+					},{
+						num: 4,
+						name: '客户审核',
+						// icon: 'cuIcon-copy',
+						src: '../../static/img/erp/customerAudit.png',
+						tips: 0,
+						url: '/pages/erpbusiness/customerAudit',
+						show: true
 					}
 					// {
 					// 	num: 5,
@@ -327,8 +330,7 @@
 						this.gridList[i].show = this.getRoles('acquisitionQuality.view')
 					} else if (i == 2) {
 						this.gridList[i].show = this.getRoles('acquisitionWeight.view')
-					}
-					else if (i == 3) {
+					} else if (i == 3) {
 						this.gridList[i].show = this.utils.getRoles('acquisitionInfor.view')
 					}
 				}

+ 29 - 27
pages/task/my_task.vue

@@ -3,7 +3,7 @@
 		<view class="content1-top">
 			<view class="search-form round">
 				<u-search placeholder-color='#AFB3BF' search-icon-color='#AFB3BF' bg-color='#F5F6F9'
-					placeholder="请输入合同编号、车牌号或派车编号" v-model="keyword" @search="searchKeyWord()"
+					placeholder="请输入任务日期或任务标题" v-model="keyword" @search="searchKeyWord()"
 					@custom="searchKeyWord()"></u-search>
 			</view>
 			<view class="top2">
@@ -313,32 +313,33 @@
 				if (!this.keyword) {
 					this.$api.msg('关键字不能为空')
 				}
-				uni.showLoading({
-					title: "正在加载"
-				})
-				this.$api.doRequest('get', '/warehouseInOutInfo/selectInfoByKeyWord', this.warehouseInOutInfo).then(
-					res => {
-						if (res.data.code == 200) {
-							this.taskInfo = res.data.data
-							uni.hideLoading()
-						} else {
-							uni.showToast({
-								title: res.data.message,
-								icon: 'none',
-								duration: 2000
-							})
-							uni.hideLoading(this.taskInfo, "信息")
-						}
-					}).catch(res => {
-					uni.showToast({
-						title: res.data.message,
-						icon: 'none',
-						duration: 2000
-					})
-					uni.hideLoading()
-				})
+				this.getIndexBuyData('',this.keyword)
+				// uni.showLoading({
+				// 	title: "正在加载"
+				// })
+				// this.$api.doRequest('get', '/warehouseInOutInfo/selectInfoByKeyWord', this.warehouseInOutInfo).then(
+				// 	res => {
+				// 		if (res.data.code == 200) {
+				// 			this.taskInfo = res.data.data
+				// 			uni.hideLoading()
+				// 		} else {
+				// 			uni.showToast({
+				// 				title: res.data.message,
+				// 				icon: 'none',
+				// 				duration: 2000
+				// 			})
+				// 			uni.hideLoading(this.taskInfo, "信息")
+				// 		}
+				// 	}).catch(res => {
+				// 	uni.showToast({
+				// 		title: res.data.message,
+				// 		icon: 'none',
+				// 		duration: 2000
+				// 	})
+				// 	uni.hideLoading()
+				// })
 			},
-			getIndexBuyData(status) {
+			getIndexBuyData(status,searchKeyword) {
 				const that = this
 				var pages = that.pages
 				var limit = that.limit
@@ -348,13 +349,13 @@
 				})
 				var data = {}
 				if (this.statusFlag == 1) {
-					// data = this.warehouseInOutInfo
 					url = '/newNoticeTask/query/noticeTasks'
 				} else if (this.statusFlag == 3) {
 					data.currentPage = pages
 					data.pageSize = limit
 					data.roleId = this.userInfo.roleIds
 					data.userId = this.userInfo.id
+					data.searchKeyword = searchKeyword
 					url = '/commonUser/query/findHisPageNoticeTasks'
 				}
 				else if (this.statusFlag == 5) {
@@ -362,6 +363,7 @@
 					data.pageSize = limit
 					data.roleId = this.userInfo.roleIds
 					data.userId = this.userInfo.id
+					data.searchKeyword = searchKeyword
 					url = '/commonUser/query/findHisPageNoticeTasksMy'
 				}
 

+ 56 - 27
pages/user/setUp.vue

@@ -63,6 +63,16 @@
 				</view>
 			</view>
 		</view>
+		<view class="agreement">
+			<view class="text">
+				<navigator
+					url="/pages/sale/webview?can_share=false&url=https://liangxin.zthymaoyi.com/userAgreement.html"
+					class="path" hover-class="navigator-hover">《服务协议》</navigator>和<navigator
+					url="/pages/sale/webview?can_share=false&url=https://liangxin.zthymaoyi.com/screctAgreement.html"
+					class="path" hover-class="navigator-hover">《隐私政策》</navigator>
+			</view>
+
+		</view>
 		<view class='exitloginwrap'>
 			<button @click='logout()' class='exitlogin'>退出登录</button>
 		</view>
@@ -99,7 +109,7 @@
 					url: '',
 					show: true
 				}, ],
-				version:"1.1.0"
+				version: "1.1.0"
 			}
 		},
 		computed: {
@@ -109,7 +119,7 @@
 			this.getList()
 			// #ifdef APP-PLUS
 			this.version = plus.runtime.version
-			console.log("当前版本为:",plus.runtime.version)
+			console.log("当前版本为:", plus.runtime.version)
 			this.checkVersion()
 			// #endif
 		},
@@ -162,7 +172,7 @@
 								plus.runtime.getProperty(plus.runtime.appid, function(wgtinfo) {
 									let client_version = wgtinfo.version
 									var flag_update = client_version.split(".").splice(0, 2).join(
-										".") != res.data.data.version.split(".").splice(0, 2)
+											".") != res.data.data.version.split(".").splice(0, 2)
 										.join(".")
 									var flag_hot = (Number(client_version.split(".")[2]) < Number(res
 										.data.data.version.split(".")[2])) & !flag_update
@@ -182,21 +192,22 @@
 													console.log(res.data.data.url, )
 													var dtask = plus.downloader
 														.createDownload(res.data.data
-														.url, {
-															method: 'GET',
-															filename: '_doc/update/'
-														}, function(d, status) {
-															if (status == 200) {
-																var path = d
-																.filename; //下载apk
-																plus.runtime.install(
-																	path); // 自动安装apk文件
-															} else {
-																plus.nativeUI.alert(
-																	'版本更新失败:' +
-																	status);
-															}
-														});
+															.url, {
+																method: 'GET',
+																filename: '_doc/update/'
+															},
+															function(d, status) {
+																if (status == 200) {
+																	var path = d
+																		.filename; //下载apk
+																	plus.runtime.install(
+																		path); // 自动安装apk文件
+																} else {
+																	plus.nativeUI.alert(
+																		'版本更新失败:' +
+																		status);
+																}
+															});
 													dtask.start();
 												}
 											}
@@ -204,7 +215,7 @@
 									} else if (flag_hot) {
 										console.log("热更新")
 										uni.showLoading({
-											title:'正在热更新'
+											title: '正在热更新'
 										})
 										uni.downloadFile({
 											url: res.data.data.wgtUrl,
@@ -213,7 +224,7 @@
 												if (downloadResult.statusCode === 200) {
 													plus.nativeUI.toast(
 														`正在热更新!${res.data.data.versionCode}`
-														);
+													);
 													plus.runtime.install(downloadResult
 														.tempFilePath, {
 															force: false
@@ -233,19 +244,19 @@
 																		that.$store
 																			.commit(
 																				'logout'
-																				)
+																			)
 																		that.$api
 																			.logout()
 																		plus.nativeUI
 																			.toast(
 																				"登出成功"
-																				);
+																			);
 																		plus.runtime
 																			.restart();
 																		plus.nativeUI
 																			.toast(
 																				"重启成功"
-																				);
+																			);
 																	}
 																})
 															plus.runtime.restart();
@@ -255,7 +266,7 @@
 															console.log(e)
 															plus.nativeUI.toast(
 																`热更新失败:${e.message}`
-																);
+															);
 														});
 												}
 											}
@@ -337,8 +348,8 @@
 					url: `/pages/user/fankui`
 				})
 			},
-			unsubscribe(){
-				var that=this
+			unsubscribe() {
+				var that = this
 				uni.clearStorage({
 					success: function(res) {
 						console.log('success');
@@ -347,7 +358,7 @@
 						})
 						that.$api.doRequest('post', '/auth/api/logout').then(res => {
 							if (res.data.data) {
-						
+
 							}
 						})
 						that.$store.commit('logout')
@@ -468,10 +479,28 @@
 	.exitlogin:after {
 		border: none;
 	}
+
 	.version_css {
 		// margin-right: 10rpx;
 		color: #9D9D9D;
 		font-size: 32rpx;
 		text-align: center;
 	}
+
+	.agreement {
+		display: flex;
+		margin: 0 auto;
+		text-align: center;
+
+		.text {
+			margin: 0 auto;
+			text-align: center;
+			display: flex;
+		}
+
+		.path {
+			color: #22C572;
+			text-align: center;
+		}
+	}
 </style>

BIN
static/img/erp/customerAudit.png