Browse Source

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

gjy 1 year ago
parent
commit
e2ee500fba

+ 14 - 9
pages/clock/the_clock.vue

@@ -160,15 +160,20 @@
 								that.detailData.clockDistance = that.clockDistance.replace("m","")
 							}
 							console.log(that.detailData)
-							that.$api.doRequest('post', '/clockInfo/api/addClock', that.detailData)
-								.then(res => {
-									console.log(res.data)
-									if (res.data.code == 200) {
-										that.$api.msg('提交成功')
-									} else {
-										that.$api.msg('提交失败')
-									}
-								})
+							// if(that.detailData.clockDistance > 1500){
+							// 	that.$api.msg('请在目标位置1.5km范围内进行打卡')
+							// 	return
+							// }else{
+								that.$api.doRequest('post', '/clockInfo/api/addClock', that.detailData)
+									.then(res => {
+										console.log(res.data)
+										if (res.data.code == 200) {
+											that.$api.msg('提交成功')
+										} else {
+											that.$api.msg('提交失败')
+										}
+									})
+							// }
 						}
 					}
 				})

+ 20 - 7
pages/clock/the_clock_record.vue

@@ -15,34 +15,47 @@
 				</uni-tr>
 				<!-- 表格数据行 -->
 				<uni-tr v-for="(item, index) in tableData" :key="index">
-					<uni-td align="center" style="height: 30px;">{{ item.createDate.split(" ")[0]  }}</uni-td>
+					<uni-td align="center" style="height: 30px;">{{ item.clockDay }}</uni-td>
+					<!-- {{ item.createDate.split(" ")[0]  }} -->
 					<uni-td align="center">
-						<view class="toClockDate" v-if="item.toClockDate">{{ item.toClockDate.split(" ")[1] }}</view>
-						<view class="toClockDate" v-else-if="!item.toClockDate">
+						<view class="toClockDate" v-if="item.toClockDate">{{ item.toClockDate.split(" ")[1] }}
+							<view style="color: red;" v-if="item.lateFlag == 1">迟
+							</view>
+						</view>
+						<view class="toClockDate" v-else-if="!item.toClockDate && !item.leaveType">
 							<button v-if='item.approveStatus ==null && item.status == null' @click='supp(item)'
 								class="uni-button" size="mini" type="primary" align="center"
 								style="height: 30px;">补卡</button>
-							<button v-if='item.approveStatus=="待人事审核"' class='listitemStatus audit Regular' size="mini"
+							<button v-if="item.approveStatus" class='listitemStatus audit Regular' size="mini"
 								type="primary" align="center" style="height: 30px;">审核中</button>
 							<button v-if='item.status=="补卡失败"' class='listitemStatus notPass Regular' size="mini"
 								type="primary" align="center" style="height: 30px;">补卡失败</button>
 							<button v-if='item.status=="补卡成功"' class='listitemStatus pass Regular' size="mini"
 								type="primary" align="center" style="height: 30px;">补卡成功</button>
 						</view>
+						<view class="toClockDate" v-if="!item.toClockDate && item.leaveType">
+							{{item.leaveType}}
+						</view>
 					</uni-td>
 					<uni-td align="center">
-						<view class="offClockDate" v-if="item.offClockDate">{{ item.offClockDate.split(" ")[1] }}</view>
-						<view class="offClockDate" v-else-if="!item.offClockDate">
+						<view class="offClockDate" v-if="item.offClockDate">{{ item.offClockDate.split(" ")[1] }}
+							<view style="color: red;" v-if="item.leaveEarlyFlag == 1">迟
+							</view>
+						</view>
+						<view class="offClockDate" v-else-if="!item.offClockDate && !item.leaveType">
 							<button v-if='item.approveStatus ==null && item.status == null' @click='supp(item)'
 								class="uni-button" size="mini" type="primary" align="center"
 								style="height: 30px;">补卡</button>
-							<button v-if='item.approveStatus=="待人事审核"' class='listitemStatus audit Regular' size="mini"
+							<button v-if="item.approveStatus" class='listitemStatus audit Regular' size="mini"
 								type="primary" align="center" style="height: 30px;">审核中</button>
 							<button v-if='item.status=="补卡失败"' class='listitemStatus notPass Regular' size="mini"
 								type="primary" align="center" style="height: 30px;">补卡失败</button>
 							<button v-if='item.status=="补卡成功"' class='listitemStatus pass Regular' size="mini"
 								type="primary" align="center" style="height: 30px;">补卡成功</button>
 						</view>
+						<view class="offClockDate" v-if="!item.offClockDate && item.leaveType">
+							{{item.leaveType}}
+						</view>
 					</uni-td>
 				</uni-tr>
 			</uni-table>

+ 4 - 8
pages/leave/the_leave.vue

@@ -51,11 +51,7 @@
 		<view class="" v-else>
 
 			<view class='wrap' v-for="(item, index) in tableData" :key="index">
-				<view class="wenzi audit1" v-if="item.approveStatus == '待人事审核'">待人事审核
-				</view>
-				<view class="wenzi audit1" v-if="item.approveStatus == '待主管审核'">待主管审核
-				</view>
-				<view class="wenzi audit1" v-if="item.approveStatus == '待决策人审核'">待决策人审核
+				<view class="wenzi audit1" v-if="item.approveStatus">审核中
 				</view>
 				<view class="wenzi audit2" v-if="item.status == '已通过'">已通过</view>
 				<view class="wenzi audit3" v-if="item.status == '未通过'">未通过</view>
@@ -422,9 +418,9 @@
 										uni.hideLoading()
 										that.value = 1
 										that.getList()
-										// uni.navigateTo({
-										// 	url: '/pages/leave/the_leave_record'
-										// })
+										uni.navigateTo({
+											url: '/pages/leave/the_leave_record' 
+										})
 									} else {
 										that.$api.msg('提交失败')
 									}

+ 4 - 1
pages/leave/the_leave_record.vue

@@ -2,7 +2,7 @@
 	<view>
 
 		<view class='wrap' v-for="(item, index) in tableData" :key="index">
-			<view class="wenzi audit1" v-if="item.approveStatus == '待人事审核' || item.approveStatus == '待主管审核' ">审核中</view>
+			<view class="wenzi audit1" v-if="item.approveStatus">审核中</view>
 			<view class="wenzi audit2" v-if="item.status == '已通过'">已通过</view>
 			<view class="wenzi audit3" v-if="item.status == '已驳回'">未通过</view>
 			<view class="c-row">
@@ -67,6 +67,9 @@
 		onShow() {
 			this.getList()
 		},
+		onLoad(options) {
+			this.getList()
+		},
 		//下拉刷新
 		onPullDownRefresh() {
 			this.currentPage = 1

+ 87 - 77
pages/task/audit/leave_approve.vue

@@ -4,11 +4,10 @@
 			<view class="topInfo-item">
 				<view class="flex info">
 					<view class="logo">
-						<image src="../../../static/img/reject.png" mode=""
-							v-if="dataList.status == '已驳回'" style="height: 40rpx;">
+						<image src="../../../static/img/reject.png" mode="" v-if="dataList.status == '已驳回'"
+							style="height: 40rpx;">
 						</image><!-- 驳回 -->
-						<image src="../../../static/img/tongguo.png" mode=""
-							v-else-if="dataList.status == '已通过'"
+						<image src="../../../static/img/tongguo.png" mode="" v-else-if="dataList.status == '已通过'"
 							style="height: 40rpx;"></image><!-- 通过 -->
 						<image src="../../../static/img/daishenhe.png" mode=""
 							v-else-if="dataList.approveStatus == '待人事审核' || dataList.approveStatus == '待主管审核'"
@@ -22,55 +21,55 @@
 		</view>
 		<view class="content1">
 			<!-- :model="OutList" -->
-			<u-form  ref="uForm">
+			<u-form ref="uForm">
 				<u-form-item label="请假类型" prop="leaveType" label-width="140" class="uForm_item">
-					<u-input v-model="dataList.leaveType" input-align="right" disabled v-if="dataList.leaveType"/>
+					<u-input v-model="dataList.leaveType" input-align="right" disabled v-if="dataList.leaveType" />
 				</u-form-item>
-					<view class="uForm_item">
-						<view class='row'>
-							<view class="left">开始时间</view>
-							<view class="right">{{dataList.startDate}}</view>
-						</view>
-						<view class='row'>
-							<view class="left">结束时间</view>
-							<view class="right">{{dataList.endDate}}</view>
-						</view>
-						<view class='row'>
-							<view class="left">请假时长</view>
-							<view class="right">{{dataList.leaveDuration}}</view>
-						</view>
-						<u-form-item label="请假事由" prop="reasonForLeave" label-width="160" label-position="top">
-							<u-input v-model="dataList.reasonForLeave" input-align="left" placeholder="请输入请假事由"
-								type="textarea" class="textarea" maxlength="150" />
-						</u-form-item>
+				<view class="uForm_item">
+					<view class='row'>
+						<view class="left">开始时间</view>
+						<view class="right">{{dataList.startDate}}</view>
 					</view>
+					<view class='row'>
+						<view class="left">结束时间</view>
+						<view class="right">{{dataList.endDate}}</view>
+					</view>
+					<view class='row'>
+						<view class="left">请假时长</view>
+						<view class="right">{{dataList.leaveDuration}}</view>
+					</view>
+					<u-form-item label="请假事由" prop="reasonForLeave" label-width="160" label-position="top">
+						<u-input v-model="dataList.reasonForLeave" input-align="left" placeholder="请输入请假事由"
+							type="textarea" class="textarea" maxlength="150" />
+					</u-form-item>
+				</view>
 			</u-form>
 		</view>
-	<view v-if='show' class="shade1">
-		<view class="wrap1">
-			<view class="alert-top1">
-				<view class="title1">
-					{{title}}
+		<view v-if='show' class="shade1">
+			<view class="wrap1">
+				<view class="alert-top1">
+					<view class="title1">
+						{{title}}
+					</view>
+					<u-icon name="close" class="close1" color="#8890B1" @click="close()"></u-icon>
 				</view>
-				<u-icon name="close" class="close1" color="#8890B1" @click="close()"></u-icon>
-			</view>
-			<view class="u-textarea-style1">
-				
-				<u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
-					maxlength="1000" />
+				<view class="u-textarea-style1">
+
+					<u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
+						maxlength="1000" />
 					<view class="right-bottom1">
 						{{auditMind.length}}/1000个字
 					</view>
+				</view>
+				<view @click='close()' class="cancel1">取消</view>
+				<view @click='passSubmit()' class="confirm1">确定</view>
 			</view>
-			<view @click='close()' class="cancel1">取消</view>
-			<view @click='passSubmit()' class="confirm1">确定</view>
 		</view>
-	</view>
-	<u-toast ref="uToast" />
-	<view style='padding:10px;' class='flex bottom-btn'>
-		<u-button @click='reject' type="error" class="btn1" hover-class='none'>驳回</u-button>
-		<u-button @click='pass' type="success" class="btn2">通过</u-button>
-	</view>
+		<u-toast ref="uToast" />
+		<view style='padding:10px;' class='flex bottom-btn'>
+			<u-button @click='reject' type="error" class="btn1" hover-class='none'>驳回</u-button>
+			<u-button @click='pass' type="success" class="btn2">通过</u-button>
+		</view>
 	</view>
 
 </template>
@@ -90,16 +89,19 @@
 				id: "",
 				show: false,
 				auditMind: '',
-				leaveType:'',
-				reasonForLeave:'',
-				startDate:'',
-				endDate:'',
-				leaveDuration:'',
-				leaveType:'',
-				approveStatus:'',
-				status:'',
-				updateDate:'',
-				dataList:{},
+				leaveType: '',
+				reasonForLeave: '',
+				startDate: '',
+				endDate: '',
+				leaveDuration: '',
+				leaveType: '',
+				approveStatus: '',
+				status: '',
+				leaveInfo: {
+					id:'',
+				},
+				updateDate: '',
+				dataList: {},
 			}
 		},
 		onBackPress(e) {
@@ -125,7 +127,7 @@
 				}).then(res => {
 					if (res.data.code == 200) {
 						this.dataList = res.data.data
-					
+
 					}
 				})
 				// this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
@@ -173,10 +175,18 @@
 								if (res.data.code == 200) {
 									uni.hideLoading()
 									that.$api.msg('审核成功!')
-									uni.navigateTo({
-										url: "/pages/task/my_task"
-									})
-									
+									that.leaveInfo.id = that.id 
+									that.$api.doRequest('post', '/leaveInfo/api/generateClock', that.leaveInfo
+									).then(res => {
+											if (res.data.code == 200) {
+												that.$api.msg('审核成功!')
+												uni.navigateTo({
+													url: "/pages/task/my_task"
+												})
+											} else {
+												that.$api.msg('提交失败')
+											}
+										})
 								} else {
 									that.$api.msg('审核失败!')
 								}
@@ -391,7 +401,7 @@
 			margin: auto;
 			background: #fff;
 			width: calc(100% - 198rpx);
-		    height: 355px;
+			height: 355px;
 			border-radius: 20rpx;
 
 			.alert-top1 {
@@ -463,28 +473,28 @@
 			color: #22C572;
 		}
 
-			.bottom-btn1 {
+		.bottom-btn1 {
+			width: 100%;
+			// position: fixed;
+			bottom: 0;
+			display: flex;
+			z-index: 2;
+			left: 0;
+			background-color: #f8f8f8;
+			flex-direction: column;
+
+			.btn1,
+			.btn2 {
 				width: 100%;
-				// position: fixed;
-				bottom: 0;
-				display: flex;
-				z-index: 2;
-				left: 0;
-				background-color: #f8f8f8;
-				flex-direction: column;
-
-				.btn1,
-				.btn2 {
-					width: 100%;
-					margin-bottom: 26rpx;
-					border-radius: 90rpx;
-				}
+				margin-bottom: 26rpx;
+				border-radius: 90rpx;
+			}
 
-				.btn1 {
-					background: white;
-					color: #00C265;
-				}
+			.btn1 {
+				background: white;
+				color: #00C265;
 			}
+		}
 	}
 
 	/deep/.u-input__textarea {

+ 3 - 3
pages/task/my_task.vue

@@ -494,9 +494,9 @@
 							// 	_str.showRow = false
 							// }.split(' ')[0]
 							this.taskInfo[i].department = this.taskInfo[i].messageTitle
-							// if (this.taskInfo[i].messageContent.split(' ').length > 1) {
-							// 	this.taskInfo[i].messageContent = this.taskInfo[i].messageContent.split(' ')[1]
-							// }
+							if (this.taskInfo[i].messageContent.includes('##')) {
+								this.taskInfo[i].messageContent = this.taskInfo[i].messageContent.substring(0,this.taskInfo[i].messageContent.lastIndexOf("##"))
+							}
 							if (this.taskInfo[i].businessType == 'WAREHOUSE') {
 								if (this.taskInfo[i].businessCode == 'INOUTTASK-TASK-APPROVE') {
 									this.taskInfo[i].messageTitle = '出入库任务'

+ 62 - 188
pages/user/newReport.vue

@@ -180,6 +180,17 @@
 						单位:吨
 					</view>
 				</view>
+				<view class="btn">
+					<view class="btn-in" :class='btnIndex==1?"btn-active":""' @click="changeWeight(1)">
+						折算纯重
+					</view>
+					<view class="btn-in" :class='btnIndex==2?"btn-active":""' @click="changeWeight(2)">
+						实际重量
+					</view>
+
+
+				</view>
+
 				<view class="row2">
 					<view class="" v-for="(item,index) in clList">
 						<view class="name">
@@ -377,6 +388,7 @@
 
 		data() {
 			return {
+				btnIndex: "2",
 				rkList: [],
 				ztList: [],
 				ztColor: ['#38CA80', '#8D9EE9', '#FFBB6E'],
@@ -862,6 +874,10 @@
 			this.getServerData();
 		},
 		methods: {
+			changeWeight(index) {
+				this.btnIndex = index
+				this.makeDate4(this.chartList, index)
+			},
 			color4(index) {
 				console.log(index)
 				index = index + 1
@@ -1178,47 +1194,44 @@
 				this.chartData3 = JSON.parse(JSON.stringify(res3));
 
 			},
-			makeDate4(val) {
-
+			makeDate4(val, type) {
+				let _data = []
+				// 合计储量
+				let _count = 0
+				this.clList = []
+				if (type == 1) {
+					_data = val[14].biViewInfoList
+				} else {
+					_data = val[8].biViewInfoList
+				}
 				let _categorieslr = []
 				let _countlr = []
 				// this.clList =
 				let _weightList = []
 				let _maxWeight = ''
-				if (val[8].biViewInfoList && val[8].biViewInfoList.length > 0) {
-					for (let i = 0; i < val[8].biViewInfoList.length; i++) {
-						_weightList.push(Number(val[8].biViewInfoList[i].weight).toFixed(0) ? Number(val[8].biViewInfoList[
-								i]
+				if (_data && _data.length > 0) {
+					for (let i = 0; i < _data.length; i++) {
+						_weightList.push(Number(_data.weight).toFixed(0) ? Number(_data[i]
 							.weight).toFixed(0) : 0)
 					}
 					_maxWeight = Math.max(..._weightList) + Math.max(..._weightList) * 0.05
-					for (let i = 0; i < val[8].biViewInfoList.length; i++) {
+					for (let i = 0; i < _data.length; i++) {
+						console.log("_data", _data)
+						_count += _data[i].weight
 						let _obj = {
-							percent: Number(val[8].biViewInfoList[i].weight).toFixed(0) / _maxWeight * 100,
-							name: val[8].biViewInfoList[i].name,
-							weight: Number(val[8].biViewInfoList[i].weight).toFixed(0)
+							percent: Number(_data[i].weight).toFixed(0) / _maxWeight * 100,
+							name: _data[i].name,
+							weight: Number(_data[i].weight).toFixed(0)
 						}
 						console.log("库存储量", _obj)
 						this.clList.push(_obj)
-						// _categorieslr.push(val[8].biViewInfoList[i].name)
-						// _countlr.push(Number(val[8].biViewInfoList[i].weight).toFixed(0) ? Number(val[8]
-						// 	.biViewInfoList[i]
-						// 	.weight).toFixed(0) : 0)
 					}
 				}
-				// let res4 = {
-				// 	categories: _categorieslr,
-				// 	series: [{
-				// 		name: '库存储量',
-				// 		data: _countlr
-				// 	}]
-				// };
-				// this.chartData4 = JSON.parse(JSON.stringify(res4));
-				let _tc = Number(val[6].biViewInfoList[0].count) + Number(val[6].biViewInfoList[1].count) - Number(
+				let _tc = Number(_count) + Number(val[6].biViewInfoList[1].count) - Number(
 					val[6].biViewInfoList[2].count)
 				this.InventoryList = [{
 						name: '合计储量',
-						number: Number(val[6].biViewInfoList[0].count).toFixed(3),
+						number: Number(_count).toFixed(3),
 						src: '../../static/img/cl.png'
 					}, {
 						name: '采购待执行',
@@ -1451,6 +1464,7 @@
 					.compId + '&seachMoth=' + this.seachMoth + '&seachYear=' + this.seachYear).then(
 					res => {
 						console.log("数据报表", res)
+
 						uni.hideLoading()
 						this.chartList = res.data.data
 						// 收支核算数据处理
@@ -1470,171 +1484,7 @@
 						//APP注册
 						this.makeDate8(res.data.data)
 						// uni.hideLoading()
-
-
 					})
-				//模拟从服务器获取数据时的延时
-				setTimeout(() => {
-						//模拟服务器返回数据,如果数据格式和标准格式不同,需自行按下面的格式拼接
-						// let res = {
-						// 	categories: ["2016", "2017", "2018", "2019", "2020", "2021", "2022", "2023"],
-						// 	series: [{
-						// 			name: "收入",
-						// 			data: [70, 40, 65, 100, 44, 68, 90, 240]
-						// 		}, {
-						// 			name: "支出",
-						// 			data: [35, 8, 25, 37, 4, 20, 56, 30]
-						// 		}
-
-						// 	]
-						// };
-						// this.chartData = JSON.parse(JSON.stringify(res));
-						// let res1 = {
-						// 	categories: ["2016", "2017", "2018", "2019", "2020", "2021"],
-						// 	series: [{
-						// 			name: this.index == 1 ? '过去12个月累计签订数量' : '本季累计签订合同数量',
-						// 			data: [35, 36, 31, 33, 13, 34],
-						// 			legendShape: "circle",
-						// 		},
-						// 		{
-						// 			name: this.index == 1 ? '当前执行中数量' : '本季执行中数量',
-						// 			data: [18, 27, 21, 24, 6, 28],
-						// 			legendShape: "circle"
-						// 		}
-
-						// 	]
-						// };
-						// this.chartData1 = JSON.parse(JSON.stringify(res1));
-						// let res3 = {
-						// 	categories: ["销售", "采购", "收购", "代收", "代储"],
-						// 	series: [{
-						// 		name: "利润金额",
-						// 		data: [35, 36, 31, 33, 13]
-						// 	}]
-						// };
-						// this.chartData3 = JSON.parse(JSON.stringify(res3));
-						let res4 = {
-							categories: ["小麦", "高粱(潮粮)", "高粱", "玉米(潮粮)", "玉米"],
-							series: [{
-								name: '库存储量',
-								data: [{
-										value: 35,
-										color: "#FFBB6E"
-									},
-									{
-										value: 36,
-										color: "#8D9EE9"
-									}, {
-										value: 31,
-										color: "#FF8B95"
-									}, {
-										value: 33,
-										color: "#38CA80"
-									},
-									{
-										color: "#FFDD85"
-									}
-								]
-							}]
-						};
-						this.chartData4 = JSON.parse(JSON.stringify(res4));
-						// let res5 = {
-						// 	categories: ["小麦", "高粱(潮粮)", "高粱", "玉米(潮粮)", "玉米"],
-						// 	series: [{
-						// 		name: "利润金额",
-						// 		data: [{
-						// 				value: 10000,
-						// 				color: "#FFBB6E"
-						// 			},
-						// 			{
-						// 				value: 40000,
-						// 				color: "#8D9EE9"
-						// 			}, {
-						// 				value: 70000,
-						// 				color: "#FF8B95"
-						// 			}, {
-						// 				value: 90000,
-						// 				color: "#38CA80"
-						// 			},
-						// 			{
-						// 				value: 100000,
-						// 				color: "#FFDD85"
-						// 			}
-						// 		]
-						// 	}]
-						// };
-						// this.chartData5 = JSON.parse(JSON.stringify(res5));
-						// let res6 = {
-						// 	series: [{
-						// 		data: [{
-						// 			"name": "一班",
-						// 			"value": 50
-						// 		}, {
-						// 			"name": "二班",
-						// 			"value": 30
-						// 		}, {
-						// 			"name": "三班",
-						// 			"value": 20
-						// 		}, {
-						// 			"name": "四班",
-						// 			"value": 18
-						// 		}, {
-						// 			"name": "五班",
-						// 			"value": 8
-						// 		}]
-						// 	}]
-						// };
-						// this.chartData6 = JSON.parse(JSON.stringify(res6));
-						// let res7 = {
-						// 	series: [{
-						// 		data: [{
-						// 			"name": "一班",
-						// 			"value": 50
-						// 		}, {
-						// 			"name": "二班",
-						// 			"value": 30
-						// 		}, {
-						// 			"name": "三班",
-						// 			"value": 20
-						// 		}, {
-						// 			"name": "四班",
-						// 			"value": 18
-						// 		}, {
-						// 			"name": "五班",
-						// 			"value": 8
-						// 		}]
-						// 	}]
-						// };
-						// this.chartData7 = JSON.parse(JSON.stringify(res7));
-						// let res8 = {
-						// 	categories: ["2016", "2017", "2018", "2019", "2020", "2021"],
-						// 	series: [{
-						// 			name: "成交量A",
-						// 			data: [35, 8, 25, 37, 4, 20]
-						// 		}
-
-						// 	]
-						// };
-						// this.chartData8 = JSON.parse(JSON.stringify(res8));
-						// let res9 = {
-						// 	categories: ["2016", "2017", "2018", "2019", "2020", "2021"],
-						// 	series: [{
-						// 			name: "成交量A",
-						// 			data: [35, 8, 25, 37, 4, 20]
-						// 		},
-						// 		{
-						// 			name: "成交量B",
-						// 			data: [70, 40, 65, 100, 44, 68]
-						// 		},
-						// 		{
-						// 			name: "成交量C",
-						// 			data: [100, 80, 95, 150, 112, 132]
-						// 		}
-						// 	]
-						// };
-						// this.chartData9 = JSON.parse(JSON.stringify(res9));
-					},
-					500);
 			},
 			back() {
 				uni.navigateBack()
@@ -1942,6 +1792,30 @@
 	}
 
 	.content3 {
+		.btn {
+			display: flex;
+			font-size: 24rpx;
+			background: #F5F6FA;
+			padding: 8rpx;
+			border-radius: 10rpx;
+			width: 332rpx;
+
+			.btn-in {
+				text-align: center;
+				width: 400rpx;
+				padding: 10rpx 0;
+			}
+
+			.btn-active {
+				padding: 10rpx 0;
+				text-align: center;
+				width: 400rpx;
+				background: #fff;
+				font-weight: 700;
+				border-radius: 12rpx;
+			}
+		}
+
 		.right {
 			color: #9E9E9E;
 		}