Răsfoiți Sursa

fix:bug修复

刘恒 10 luni în urmă
părinte
comite
77270214dc

+ 3 - 1
config/baseUrl.js

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

+ 1 - 0
manifest.json

@@ -48,6 +48,7 @@
 					"prompt": "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"
 				},
 				"permissions": [
+					
 					"<uses-feature android:name=\"android.hardware.camera\"/>",
 					"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
 					"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",

+ 68 - 2
node_modules/uview-ui/components/u-steps/u-steps.vue

@@ -3,7 +3,7 @@
 		<view class="u-steps" :style="{
 				flexDirection: direction
 			}">
-			<view class="u-steps__item" :class="['u-steps__item--' + direction]" v-for="(item, index) in list"
+			<view v-if="viewType!=='order'" class="u-steps__item" :class="['u-steps__item--' + direction]" v-for="(item, index) in list"
 				:key="index">
 				<view class="u-steps__item__num" v-if="mode == 'number' && item.processingStatus!=3" :style="{
 						backgroundColor: current < index ? 'transparent' : activeColor,
@@ -32,7 +32,10 @@
 				<view class="u-steps__item__dot" v-if="mode == 'dot'" :style="{ 
 					backgroundColor: index <= current ? activeColor : unActiveColor 
 				}"></view>
-				<view class="dis f-c ">
+				<!-- <template slot-scope="name" v-if="item.name">
+					<view>123456</view>
+				</template> -->
+				<view class="dis f-c " >
 					<text class="u-line-1" :style="{
 							color: index <= current ? activeColor : unActiveColor,
 						}" :class="['u-steps__item__text--' + direction]">
@@ -43,8 +46,67 @@
 						}" :class="['u-steps__item__text--' + direction]">
 						<text class="dis f-c a-start pathTraceColor" :key="index">{{item.processingDate}}</text>
 					</text>
+					
 				</view>
+				<!-- {{viewType}} -->
+				
+				
 
+				<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"
+						margin="10px 0"></u-line>
+				</view>
+			</view>
+			<view v-if="viewType==='order'" class="u-steps__item" :class="['u-steps__item--' + direction]" v-for="(item, index) in list"
+				:key="index">
+				<view class="u-steps__item__num" v-if="mode == 'number' && item.processingStatus!=3" :style="{
+						backgroundColor: current < index ? 'transparent' : activeColor,
+						borderColor: current < index ? unActiveColor : activeColor
+					}">
+					<text v-if="current < index" :style="{
+						color: current < index ? unActiveColor : activeColor,
+					}">
+						{{ index+1 }}
+					</text>
+					<u-icon v-else size="22" color="#ffffff" :name="item.processingStatus==3?icon1:icon"></u-icon>
+			
+				</view>
+				<view class="u-steps__item__num" v-if="mode == 'number' && item.processingStatus==3" :style="{
+						backgroundColor: current < index ? 'transparent' : 'red',
+						borderColor: current < index ? unActiveColor : 'red'
+					}">
+					<text v-if="current < index" :style="{
+						color: current < index ? unActiveColor : activeColor,
+					}">
+						{{ index+1 }}
+					</text>
+					<u-icon v-else size="22" color="#ffffff" :name="icon1"></u-icon>
+			
+				</view>
+				<view class="u-steps__item__dot" v-if="mode == 'dot'" :style="{ 
+					backgroundColor: index <= current ? activeColor : unActiveColor 
+				}"></view>
+				<!-- <template slot-scope="name" v-if="item.name">
+					<view>123456</view>
+				</template> -->
+				<view class="dis f-c " >
+					<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" :key="index">{{item.name}}</text>
+					</text>
+					<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" :key="index">{{item.date}}</text>
+					</text>
+					
+				</view>
+				<!-- {{viewType}} -->
+				
+				
+			
 				<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"
@@ -117,6 +179,10 @@
 			direction: {
 				type: String,
 				default: 'row'
+			},
+			viewType:{
+				type:String,
+				default:''
 			}
 		},
 		data() {

+ 804 - 750
pages/orders1/orders.vue

@@ -1,751 +1,805 @@
-<template>
-	<view class="parent">
-		<!-- 查询区域Start -->
-		<view>
-			<view class=" flexd " style="z-index: 99;">
-				<view class="search dis a-c j-s"
-					style="background: linear-gradient( 90deg, #0052FF 0%, #6697FF 100%);padding-top:55px;">
-					<u-search v-model="pageRequest.licenseNo" @custom="custom" @search="search" :shape="shape"
-						:height='68' bg-color="rgba(255,255,255,0.5)" color="#fff"
-						:input-style="{background:'transparent'}" placeholder-color="#fff" :clearabled="clearabled"
-						:show-action="showAction" :input-align="inputAlign" @clear="clear"
-						:action-style="{background:'#fff'}" placeholder="请输入车牌号"></u-search>
-					<image src="/static/image/car-insure/dropdown.png" mode="" @tap="searchPopup"></image>
-				</view>
-				<view :class="['dropdown-content', { 'show': showDropdown }]" @tap="searchPopup">
-					<view :class="['dropdown-content1','dis','f-c','j-s', { 'show1': showDropdown }]" @tap.stop.prevent>
-						<view style="padding: 0 16px; box-sizing: border-box;">
-							<view class="term">
-								<text>订单状态</text>
-								<view class="dis  a-c f-wrap j-s" style="margin-top: 10px;">
-									<view class="status-data" :class="item.value==pageRequest.orderStatus? 'active':''"
-										v-for="(item,index) in statusList" @tap.stop.prevent="statusclick(index)"
-										:key="index">
-										{{item.label}}
-									</view>
-								</view>
-							</view>
-							<view class="term">
-								<text>投保险种</text>
-								<view class="dis  a-c f-wrap j-s" style="margin-top: 10px;">
-									<view class="status-data"
-										:class="item.dictValue==pageRequest.productid? 'active':''"
-										v-for="(item,index) in productsTypeoptions"
-										@tap="productstatusclick(item.dictValue)" :key="index">
-										{{item.dictTag}}
-									</view>
-								</view>
-							</view>
-							<view class="term">
-								<text>保险公司</text>
-								<view class="dis  a-c f-wrap j-s" style="margin-top: 10px;">
-									<view class="status-data" :class="item.id==pageRequest.companyId? 'active':''"
-										v-for="(item,index) in esmInsCompanyList" @tap="companystatusclick(item.id)"
-										:key="index">
-										{{item.namesimple}}
-									</view>
-								</view>
-							</view>
-							<view class="term">
-								<text>订单日期</text>
-								<view class="dis  a-c f-wrap j-s" style="margin-top: 10px;">
-									<view class="status-data" :class="item.value==timespecifications? 'active':''"
-										v-for="(item,index) in dateList" @tap="dateclick(index)" :key="index">
-										{{item.label}}
-									</view>
-									<view class="dis a-c">
-										<view class="status-data" :class="startShow? 'active' :''"
-											@tap="startShowmethod()">
-											<text v-if="pageRequest.startDate!=''">{{pageRequest.startDate}}</text>
-											<text v-else>{{transformTime()}}</text>
-										</view>
-										<text style="margin: 0 8px;font-size: 12px;">至</text>
-										<view class="status-data" :class="endShow? 'active' :''" @tap="endShowmethod()">
-											<text v-if="pageRequest.endDate!=''">{{pageRequest.endDate}}</text>
-											<text v-else>{{transformTime()}}</text>
-										</view>
-									</view>
-								</view>
-							</view>
-						</view>
-						<view class="operateBtn dis ">
-							<view class="cancel dis a-c j-c" @click="showDropdown=false">
-								取消
-							</view>
-							<view class="confirm dis a-c j-c" @click="querysearch">
-								确定
-							</view>
-						</view>
-					</view>
-				</view>
-			</view>
-		</view>
-		<view style="padding: 110px 16px 50px 16px;">
-			<view class=" orderItemPane" v-for="(item,index) in pageResult" :key="index" @click="querydetail(item)">
-				<view class="orderItemPane-upper dis j-s a-c ">
-					<view v-for="(statusitem, statusindex) in statusList" :key="statusindex" class="dis a-c"
-						style="font-weight: bold;" v-if="item.orderstatus == statusitem.value">
-						<image :src="statusitem.src" mode="" style="width: 22px;height: 22px;margin-right: 5px;">
-						</image>
-						<text :style="{color: statusitem.color}">{{statusitem.label}}</text>
-					</view>
-					<text class="upper-time moosize">{{item.createtime}}</text>
-				</view>
-				<view class="orderItemPane-centre ">
-					<view class="dis f-c">
-						<view class="dis a-c j-s " style="padding:4px 0;">
-							<text>{{item.licenseno}}</text>
-							<u-icon name="arrow-right" size="14px"
-								style="margin-left: 5px;color: #C7C6CA;"></u-icon></text>
-						</view>
-
-						<text>订单号:{{item.orderno}}</text>
-						<text>业务员:{{item.username}}({{item.userid}})</text>
-						<text>投保人:{{item.insuredname}}</text>
-						<text>投保险种:{{item.product}}</text>
-						<text v-if="item.orderstatus=='3'">承保公司:{{item.insCompany}}</text>
-
-					</view>
-				</view>
-				<view class="orderItemPane-below dis a-c  j-end ">
-					<u-button v-if="item.orderstatus!='3'" type="primary" size="mini" :hair-line="false"
-						:custom-style="{fontSize:'15px'}" :plain="true" @click="quotehistory(item)">报价历史</u-button>
-					<u-button v-if="item.orderstatus!='3'" :custom-style="{fontSize:'15px'}" type="warning" size="mini"
-						: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" />
-		<!-- 回到顶部 -->
-		<u-picker v-model="startShow" mode="time" :params="params" @confirm="startconfirm"></u-picker>
-		<u-picker v-model="endShow" mode="time" :params="params" @confirm="endconfirm"></u-picker>
-	</view>
-</template>
-
-<script>
-	import {
-		mapState,
-		mapMutations
-	} from "vuex"
-	// import carOrders from "@/components/modules/orders/carOrders.vue";
-	import {
-		watch
-	} from "vue";
-	export default {
-		components: {},
-		watch: {
-			stageIndex(newVal, oldVal) {
-				if (newVal !== oldVal) {
-					this.pageRequest.orderStatus = newVal;
-				}
-			}
-		},
-		data() {
-			return {
-				productsTypeoptions: [],
-				show: true,
-				showDropdown: false,
-				/* 时间筛选相关 */
-				startShow: false,
-				endShow: false,
-				params: {
-					year: true, //年
-					month: true, //月
-					day: true, //日
-				},
-				/* 时间筛选相关 */
-				pageRequest: { //查询的默认条件
-					companyId: "",
-					orderNo: "",
-					frameNo: "",
-					insuredName: "",
-					licenseNo: "",
-					orderStatus: "",
-					userId: "",
-					deptId: "",
-					endDate: "",
-					startDate: "",
-					productid: "",
-					pageNum: 1,
-					pageSize: 20,
-				},
-				timespecifications: null,
-				pageResult: [], //列表数据
-				/* 搜索框配置 */
-				shape: 'square',
-				clearabled: true,
-				showAction: false,
-				inputAlign: 'left',
-				/* 搜索框配置 */
-				//状态筛选list
-				statusList: [{
-						label: '报价中',
-						value: 0,
-						color: "#229805",
-						src: "/static/image/car-insure/state1.png"
-					},
-					{
-						label: '待核保',
-						value: 1,
-						color: "#FF5600",
-						src: "/static/image/car-insure/state2.png"
-					},
-					{
-						label: '已核保待缴费',
-						value: 2,
-						color: "#FF0F00",
-						src: "/static/image/car-insure/state3.png"
-					},
-					{
-						label: '已承保',
-						value: 3,
-						color: "#0052FF",
-						src: "/static/image/car-insure/state4.png"
-					},
-					{
-						label: '核保退回',
-						value: 4,
-						color: "#727272",
-						src: "/static/image/car-insure/state5.png"
-					}
-				],
-				//日期筛选list
-				dateList: [{
-						label: '全部',
-						value: 0,
-					},
-					{
-						label: '一周内',
-						value: 1,
-					},
-					{
-						label: '一个月内',
-						value: 2,
-					},
-					{
-						label: '三个月内',
-						value: 3,
-					},
-					{
-						label: '六个月内',
-						value: 4,
-					},
-
-				],
-				typeArray: [{
-						label: '车险',
-						value: 0,
-					},
-					{
-						label: '意外险',
-						value: 1,
-					},
-					{
-						label: '寿险',
-						value: 2,
-					}
-				], //订单的类型
-				toTopFlag: false, //显示回到顶部按钮
-				queryLicenseNo: "",
-				queryFrameNo: "",
-				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'])
-		},
-
-		// 页面滚动触发
-		onPageScroll(e) { //根据距离顶部距离是否显示回到顶部按钮
-			if (e.scrollTop > 600) { //当距离大于600时显示回到顶部按钮
-				this.toTopFlag = true
-			} else { //当距离小于600时显示回到顶部按钮
-				this.toTopFlag = false
-			}
-		},
-		onShow() {
-			const arr = uni.getStorageSync('historyInfo');
-			if (arr) {
-				uni.removeStorageSync('historyInfo');
-			}
-			this.getOrdersList(1, 20)
-			this.esmInsCompany()
-
-		},
-		onPullDownRefresh() {
-			this.getOrdersList(1, 20)
-			setTimeout(function() {
-				uni.stopPullDownRefresh();
-			}, 1000);
-		},
-		async onLoad(e) {
-			this.pageRequest.userId = this.userInfo.sysUser.id;
-			this.pageRequest.deptId = this.userInfo.sysUser.deptId;
-			this.getOrdersList(1, 20)
-			this.getDicType("productsType"); //车船税类型
-		},
-		methods: {
-			...mapMutations(['setOrderType', 'setOrderStage']),
-			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 getDicType(type) {
-				let res = await this.$http.get('/sysDict/dictDetails/' + type);
-				if (res.code == 200) {
-					this[type + 'options'] = res.data.ddList;
-				}
-			},
-			async esmInsCompany() {
-				let commpanykad = await this.$http.get('/insurance/order/getAgreementInsCompany');
-				if (commpanykad.code == '200') {
-					this.esmInsCompanyList = commpanykad.data;
-				}
-			},
-			searchPopup() {
-				this.showDropdown = !this.showDropdown;
-			},
-			//展开
-			selectMore(val) {
-				this.insureMore = true;
-				this.insureMoreIndex = val;
-			},
-			packup(val) {
-				this.insureMore = false;
-				this.insureMoreIndex = val;
-			},
-			//查询事件
-			querysearch() {
-				this.getOrdersList(1, 20);
-				this.showDropdown = false;
-			},
-			//状态筛选
-			statusclick(e) {
-				this.pageRequest.orderStatus = e;
-			},
-			//保险公司筛选
-			companystatusclick(e) {
-				this.pageRequest.companyId = e;
-			},
-			//投保险种筛选
-			productstatusclick(e) {
-				this.pageRequest.productid = e;
-			},
-			startShowmethod() {
-				this.startShow = true;
-				this.timespecifications = null;
-			},
-			endShowmethod() {
-				this.endShow = true;
-				this.timespecifications = null;
-			},
-			//日期筛选
-			dateclick(e) {
-				/* 0:全部  1:一周内 2:一个月内 3:三个月内  4:六个月内*/
-				switch (e) {
-					case 0:
-						this.pageRequest.startDate = "";
-						this.pageRequest.endDate = "";
-						break;
-					case 1:
-						this.pageRequest.startDate = this.transformTime(7);
-						this.pageRequest.endDate = this.transformTime();
-						break;
-					case 2:
-						this.pageRequest.startDate = this.transformTime1(1);
-						this.pageRequest.endDate = this.transformTime();
-						break;
-					case 3:
-						this.pageRequest.startDate = this.transformTime1(3);
-						this.pageRequest.endDate = this.transformTime();
-						break;
-					case 4:
-						this.pageRequest.startDate = this.transformTime1(6);
-						this.pageRequest.endDate = this.transformTime();
-						break;
-					default:
-				}
-				this.timespecifications = e;
-			},
-			startconfirm(e) {
-				this.pageRequest.startDate = e.year + '-' + e.month + '-' + e.day;
-			},
-			endconfirm(e) {
-				this.pageRequest.endDate = e.year + '-' + e.month + '-' + e.day;
-			},
-			//验证车架号
-			isFrameno(str) {
-				let mPattern = /^([0-9A-Z]){17}$/;
-				return mPattern.test(str);
-			},
-			isCarBrand(str) {
-				let mPattern = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼A-Z]{1}[A-Z]{1}[A-Z0-9]{4,5}([A-Z0-9挂学警港澳使领]{1}|应急)$/ ||
-					/^沪[0-9A-Z]{5}$/ || /^陆丰[0-9A-Z]{4}临$/;
-				return mPattern.test(str.trim())
-				// return /^陆丰[0-9A-Z]{4}临$/.test(str.trim())
-			},
-			//查看子订单
-			async querydetail(val) {
-				let params = {
-					orderno: val.orderno,
-					insuredname: val.insuredname,
-					licenseno: val.licenseno,
-					modelcname: val.carinfo.modelcname,
-				}
-				uni.navigateTo({
-					url: `/pages/orders1/subOrders?orderno=${JSON.stringify(params)}`
-				})
-			},
-			//报价历史
-			quotehistory(val) {
-				let params = {
-					orderno: val.orderno,
-					insuredname: val.insuredname,
-					licenseno: val.licenseno,
-					modelcname: val.carinfo.modelcname,
-				}
-				uni.navigateTo({
-					url: `/pages/orders1/quoteHistory?orderno=${JSON.stringify(params)}`
-				})
-			},
-			//编辑
-			CloseEdit(val) {
-				uni.navigateTo({
-					url: "/pages/carInsure2/quote?orderno=" + val
-				})
-				// this.navigate({
-				// 	url: '/pages/carInsure1/quote1',
-				// 	success: (res) => {
-				// 		res.eventChannel.emit("acceptData", {
-				// 			carInfo: val.carinfo, //车辆信息
-				// 			ownerInfo: val.ownerinfo, //车主信息
-				// 			policyHolderInfo: val.applyinfo, //
-				// 			insuredPersonInfo: val.insureinfo,
-				// 			riskList: val.risk,
-				// 			kindList: val.king,
-				// 			orderno: val.orderno, //车辆
-				// 			quoteno: val.quoteno, //车主
-				// 			vehicleAndVesselTaxForm: val.vehicleAndVesselTax, //车船税
-
-				// 		})
-				// 	}
-				// }, "navigateTo", true);
-			},
-			//回车搜索事件
-			search(val) {
-				this.getOrdersList(1, 20);
-			},
-			//搜索按钮事件
-			custom(val) {
-				this.getOrdersList(1, 20);
-			},
-			//搜索框清除事件
-			clear(val) {
-
-			},
-			//关闭订单后查询
-			closeOrders() {
-				this.totalSize = 0;
-				this.ordersList = []; //获取到的订单列表
-				this.currentPage = 1; //当前的页数
-				this.totalPages = 1; //总共的页数
-			},
-			//当前时间
-			transformTime(day) {
-				var date = new Date();
-				date.setFullYear(date.getFullYear());
-				date.setTime(date.getTime());
-				var strYear = date.getFullYear();
-				var strDay = day ? date.getDate() - day : date.getDate();
-				var strMonth = date.getMonth() + 1;
-				if (strMonth < 10) {
-					strMonth = "0" + strMonth;
-				}
-				if (strDay < 10) {
-					strDay = "0" + strDay;
-				}
-				var datastr = strYear + "-" + strMonth + "-" + strDay;
-				return datastr;
-			},
-			transformTime1(month) {
-				var date = new Date();
-				date.setFullYear(date.getFullYear());
-				date.setTime(date.getTime());
-				var strYear = date.getFullYear();
-				var strDay = date.getDate();
-				var strMonth = month ? (date.getMonth() + 1) - month : date.getMonth() + 1;
-				if (strMonth < 10) {
-					strMonth = "0" + strMonth;
-				}
-				if (strDay < 10) {
-					strDay = "0" + strDay;
-				}
-				var datastr = strYear + "-" + strMonth + "-" + strDay;
-				return datastr;
-			},
-		}
-	}
-</script>
-<style>
-	page {
-		background-color: #F8FAFE;
-	}
-</style>
-<style lang="scss" scoped>
-	@import '@/style/mixin.scss';
-
-	/deep/ uni-tabbar .uni-tabbar-bottom {
-		position: fixed;
-		left: 0;
-		right: 0;
-		bottom: 0;
-	}
-
-	/deep/ .u-action[data-v-1a326067] {
-		color: #FFFFFF;
-	}
-
-	/deep/ .u-dropdown__menu__item__arrow[data-v-01c0c507] uni-text {
-		color: #FFFFFF !important;
-	}
-
-	.dropdown-content {
-		background-color: rgba(0, 0, 0, 0.6);
-		height: 0px;
-		opacity: 0;
-		transition: opacity 0.3s ease;
-
-		.title {
-			font-size: 14px;
-			color: #232832;
-			font-weight: bold;
-			border-bottom: 1px solid #E1E1E1;
-		}
-
-		.term {
-			padding-top: 10px;
-
-			>text {
-				color: #232832;
-				font-weight: bold;
-				font-size: 13px;
-			}
-		}
-
-		.operateBtn {
-			font-weight: bold;
-			font-size: 16px;
-
-			.cancel {
-				width: 50%;
-				height: 46px;
-				color: #0052FF;
-				background-color: #EAEAEA;
-			}
-
-			.confirm {
-				width: 50%;
-				height: 46px;
-				color: #fff;
-				background-color: #0052FF;
-			}
-		}
-	}
-
-	.dropdown-content1 {
-		background-color: #fff;
-		height: 0px;
-		overflow: hidden;
-		transition: height 0.4s ease;
-	}
-
-	.show {
-		height: 100vh;
-		opacity: 1;
-		/* 下拉菜单内容的最大高度 */
-	}
-
-	.show1 {
-		height: auto;
-		/* 下拉菜单遮罩最大高度 */
-	}
-
-	.headers {
-		background-color: rgba(199, 198, 202, 0.4);
-		width: 100%;
-		height: 0;
-		position: absolute;
-		z-index: 999;
-	}
-
-	.parent {
-		position: relative;
-
-	}
-
-	.search-condition {
-		padding: 0 16px;
-
-		.title {
-			font-size: 14px;
-			color: #232832;
-			font-weight: bold;
-			border-bottom: 1px solid #E1E1E1;
-		}
-
-		.term {
-			padding-top: 10px;
-
-			>text {
-				color: #232832;
-				font-weight: bold;
-				font-size: 13px;
-			}
-		}
-	}
-
-
-
-	.search {
-		padding: 13px 16px;
-
-		image {
-			width: 22px;
-			height: 22px;
-			margin-left: 20px;
-		}
-	}
-
-	.slot-content1 {
-		background-color: #FFFFFF;
-		padding: 24rpx;
-	}
-
-	.title {
-		font-weight: bold;
-		color: #333;
-	}
-
-	.status-data {
-		padding: 4px 10px;
-		box-sizing: border-box;
-		margin: 0 4px 4px 0;
-		font-size: 12px;
-		border: 1px solid #eee;
-		cursor: pointer;
-	}
-
-	.active {
-		position: relative;
-		background: rgba(0, 82, 255, 0.1);
-		color: #0052FF;
-		border: 1px solid #0052FF;
-		font-weight: 700;
-	}
-
-	.active::before {
-		content: "";
-		position: absolute;
-		top: 0;
-		left: 0;
-		width: 10px;
-		height: 10px;
-		background-image: url("/static/image/car-insure/before.png");
-		background-size: cover;
-	}
-
-
-	.orderItemPane {
-		width: 100%;
-		height: auto;
-		margin: 10px 0;
-		border-radius: 10px;
-		background: #FFFFFF;
-		box-shadow: 0px 4px 10px 0px #DAE3F4;
-		border-radius: 12px;
-		cursor: pointer;
-		padding: 10px;
-	}
-
-	.orderItemPane-upper {
-		padding-bottom: 8px;
-		border-bottom: 1px solid #D4D0D0;
-	}
-
-	.orderItemPane .orderItemPane-centre,
-	.inscommny-sum>text {
-		color: rgba(51, 51, 51, 0.8);
-		font-weight: 400;
-	}
-
-	.orderItemPane-centre text:first-child {
-		font-weight: bold;
-		color: #232832;
-	}
-
-	.orderItemPane-below {
-		height: auto;
-
-		&>button {
-			margin-left: 10px;
-		}
-	}
-
-
-	.orderItemPane-extend .extend-button>text {
-		color: #ff9000;
-		font-size: 12px;
-	}
-
-	.orderItemPane-extend {
-		border-bottom-right-radius: 10px;
-		border-bottom-left-radius: 10px;
-	}
-
-	.classes::before {
-		content: "·";
-		color: #ff9000;
-		margin-right: 10px;
-	}
-
-	.flexd {
-		position: fixed;
-		left: 0;
-		right: 0;
-	}
-
-	.moosize {
-		font-size: 12px;
-		color: rgba(51, 51, 51, 0.6);
-		font-weight: 400;
-	}
-
-	.color {
-		color: #ff9000;
-	}
-
-	/* 查询区域End */
+<template>
+	<view class="parent">
+		<!-- 查询区域Start -->
+		<view>
+			<view class=" flexd " style="z-index: 99;">
+				<view class="search dis a-c j-s"
+					style="background: linear-gradient( 90deg, #0052FF 0%, #6697FF 100%);padding-top:55px;">
+					<u-search v-model="pageRequest.licenseNo" @custom="custom" @search="search" :shape="shape"
+						:height='68' bg-color="rgba(255,255,255,0.5)" color="#fff"
+						:input-style="{background:'transparent'}" placeholder-color="#fff" :clearabled="clearabled"
+						:show-action="showAction" :input-align="inputAlign" @clear="clear"
+						:action-style="{background:'#fff'}" placeholder="请输入车牌号"></u-search>
+					<image src="/static/image/car-insure/dropdown.png" mode="" @tap="searchPopup"></image>
+				</view>
+				<view :class="['dropdown-content', { 'show': showDropdown }]" @tap="searchPopup">
+					<view :class="['dropdown-content1','dis','f-c','j-s', { 'show1': showDropdown }]" @tap.stop.prevent>
+						<view style="padding: 0 16px; box-sizing: border-box;">
+							<view class="term">
+								<text>订单状态</text>
+								<view class="dis  a-c f-wrap j-s" style="margin-top: 10px;">
+									<view class="status-data" :class="item.value===pageRequest.orderStatus? 'active':''"
+										v-for="(item,index) in statusList" @tap.stop.prevent="statusclick(index)"
+										:key="index">
+										{{item.label}}
+									</view>
+								</view>
+							</view>
+							<view class="term">
+								<text>投保险种</text>
+								<view class="dis  a-c f-wrap j-s" style="margin-top: 10px;">
+									<view class="status-data"
+										:class="item.dictValue==pageRequest.productid? 'active':''"
+										v-for="(item,index) in productsTypeoptions"
+										@tap="productstatusclick(item.dictValue)" :key="index">
+										{{item.dictTag}}
+									</view>
+								</view>
+							</view>
+							<view class="term">
+								<text>保险公司</text>
+								<view class="dis  a-c f-wrap j-s" style="margin-top: 10px;">
+									<view class="status-data" :class="item.id==pageRequest.companyId? 'active':''"
+										v-for="(item,index) in esmInsCompanyList" @tap="companystatusclick(item.id)"
+										:key="index">
+										{{item.namesimple}}
+									</view>
+								</view>
+							</view>
+							<view class="term">
+								<text>订单日期</text>
+								<view class="dis  a-c f-wrap j-s" style="margin-top: 10px;">
+									<view class="status-data" :class="item.value==timespecifications? 'active':''"
+										v-for="(item,index) in dateList" @tap="dateclick(index)" :key="index">
+										{{item.label}}
+									</view>
+									<view class="dis a-c">
+										<view class="status-data" :class="startShow? 'active' :''"
+											@tap="startShowmethod()">
+											<text v-if="pageRequest.startDate!=''">{{pageRequest.startDate}}</text>
+											<text v-else>{{transformTime()}}</text>
+										</view>
+										<text style="margin: 0 8px;font-size: 12px;">至</text>
+										<view class="status-data" :class="endShow? 'active' :''" @tap="endShowmethod()">
+											<text v-if="pageRequest.endDate!=''">{{pageRequest.endDate}}</text>
+											<text v-else>{{transformTime()}}</text>
+										</view>
+									</view>
+								</view>
+							</view>
+						</view>
+						<view class="operateBtn dis ">
+							<view class="cancel dis a-c j-c" @click="showDropdown=false">
+								取消
+							</view>
+							<view class="confirm dis a-c j-c" @click="querysearch">
+								确定
+							</view>
+						</view>
+					</view>
+				</view>
+			</view>
+		</view>
+		<view style="padding: 110px 16px 50px 16px;">
+			<view class=" orderItemPane" v-for="(item,index) in pageResult" :key="index" @click="querydetail(item)">
+				<view class="orderItemPane-upper dis j-s a-c ">
+					<view v-for="(statusitem, statusindex) in statusList" :key="statusindex" class="dis a-c"
+						style="font-weight: bold;" v-if="item.orderstatus == statusitem.value">
+						<image :src="statusitem.src" mode="" style="width: 22px;height: 22px;margin-right: 5px;">
+						</image>
+						<text :style="{color: statusitem.color}">{{statusitem.label}}</text>
+					</view>
+					<text class="upper-time moosize">{{item.createtime}}</text>
+				</view>
+				<view class="orderItemPane-centre ">
+					<view class="dis f-c">
+						<view class="dis a-c j-s " style="padding:4px 0;">
+							<text>{{item.licenseno}}</text>
+							<u-icon name="arrow-right" size="14px"
+								style="margin-left: 5px;color: #C7C6CA;"></u-icon></text>
+						</view>
+
+						<text>订单号:{{item.orderno}}</text>
+						<text>业务员:{{item.username}}({{item.userid}})</text>
+						<text>投保人:{{item.insuredname}}</text>
+						<text>投保险种:{{item.product}}</text>
+						<text v-if="item.orderstatus=='3'">承保公司:{{item.insCompany}}</text>
+
+					</view>
+				</view>
+				<view class="orderItemPane-below dis a-c  j-end ">
+					<u-button v-if="item.orderstatus!='3'" type="error" size="mini" :hair-line="false"
+						:custom-style="{fontSize:'15px'}" :plain="true" @click="openSteps(item)">订单轨迹</u-button>
+					<u-button v-if="item.orderstatus!='3'" type="primary" size="mini" :hair-line="false"
+						:custom-style="{fontSize:'15px'}" :plain="true" @click="quotehistory(item)">报价历史</u-button>
+					<u-button v-if="item.orderstatus!='3'" :custom-style="{fontSize:'15px'}" type="warning" size="mini"
+						: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" />
+		<!-- 回到顶部 -->
+		<u-picker v-model="startShow" mode="time" :params="params" @confirm="startconfirm"></u-picker>
+		<u-picker v-model="endShow" mode="time" :params="params" @confirm="endconfirm"></u-picker>
+		<u-mask :show="stepShow" @click="stepShow = false">
+			<view class="warp">
+				<view class="rect" @tap.stop>
+					<u-steps :list="numList" :current="4" direction="column" mode="number" :viewType="'order'">
+						<template v-slot:header>
+							<view>这是父组件传递给子组件的头部插槽内容</view>
+						</template>
+
+					</u-steps>
+				</view>
+				
+			</view>
+		</u-mask>
+	</view>
+</template>
+
+<script>
+	import {
+		mapState,
+		mapMutations
+	} from "vuex"
+	// import carOrders from "@/components/modules/orders/carOrders.vue";
+	import {
+		watch
+	} from "vue";
+	export default {
+		components: {},
+		watch: {
+			stageIndex(newVal, oldVal) {
+				if (newVal !== oldVal) {
+					this.pageRequest.orderStatus = newVal;
+				}
+			}
+		},
+		data() {
+			return {
+				productsTypeoptions: [],
+				show: true,
+				showDropdown: false,
+				/* 时间筛选相关 */
+				startShow: false,
+				endShow: false,
+				params: {
+					year: true, //年
+					month: true, //月
+					day: true, //日
+				},
+				/* 时间筛选相关 */
+				pageRequest: { //查询的默认条件
+					companyId: "",
+					orderNo: "",
+					frameNo: "",
+					insuredName: "",
+					licenseNo: "",
+					orderStatus: "",
+					userId: "",
+					deptId: "",
+					endDate: "",
+					startDate: "",
+					productid: "",
+					pageNum: 1,
+					pageSize: 20,
+				},
+				timespecifications: null,
+				pageResult: [], //列表数据
+				/* 搜索框配置 */
+				shape: 'square',
+				clearabled: true,
+				showAction: false,
+				inputAlign: 'left',
+				/* 搜索框配置 */
+				//状态筛选list
+				statusList: [{
+						label: '报价中',
+						value: 0,
+						color: "#229805",
+						src: "/static/image/car-insure/state1.png"
+					},
+					{
+						label: '待核保',
+						value: 1,
+						color: "#FF5600",
+						src: "/static/image/car-insure/state2.png"
+					},
+					{
+						label: '已核保待缴费',
+						value: 2,
+						color: "#FF0F00",
+						src: "/static/image/car-insure/state3.png"
+					},
+					{
+						label: '已承保',
+						value: 3,
+						color: "#0052FF",
+						src: "/static/image/car-insure/state4.png"
+					},
+					{
+						label: '核保退回',
+						value: 4,
+						color: "#727272",
+						src: "/static/image/car-insure/state5.png"
+					}
+				],
+				//日期筛选list
+				dateList: [{
+						label: '全部',
+						value: 0,
+					},
+					{
+						label: '一周内',
+						value: 1,
+					},
+					{
+						label: '一个月内',
+						value: 2,
+					},
+					{
+						label: '三个月内',
+						value: 3,
+					},
+					{
+						label: '六个月内',
+						value: 4,
+					},
+
+				],
+				typeArray: [{
+						label: '车险',
+						value: 0,
+					},
+					{
+						label: '意外险',
+						value: 1,
+					},
+					{
+						label: '寿险',
+						value: 2,
+					}
+				], //订单的类型
+				toTopFlag: false, //显示回到顶部按钮
+				queryLicenseNo: "",
+				queryFrameNo: "",
+				insureMore: false,
+				insureMoreIndex: null,
+				esmInsCompanyList: [],
+				status: 'loadmore',
+				totalPages: 0, //订单总页数
+				stepShow:false,//步骤条弹框
+				numList: [
				  {
					"processingStatus": "1",
					"processingStatusFlag": true,
					"name": "提现申请",
					"date": "2024-07-31 19:25:12"
				  },
				  {
					"processingStatus": "2",
					"processingStatusFlag": true,
					"name": "处理中",
					"date": "2024-07-31 19:25:12"
				  },
				  {
					"processingStatus": "4",
					"processingStatusFlag": true,
					"name": "提现成功",
					"date": "2024-08-01 08:49:12"
				  }
				] ,
+			}
+		},
+		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'])
+		},
+
+		// 页面滚动触发
+		onPageScroll(e) { //根据距离顶部距离是否显示回到顶部按钮
+			if (e.scrollTop > 600) { //当距离大于600时显示回到顶部按钮
+				this.toTopFlag = true
+			} else { //当距离小于600时显示回到顶部按钮
+				this.toTopFlag = false
+			}
+		},
+		onShow() {
+			const arr = uni.getStorageSync('historyInfo');
+			if (arr) {
+				uni.removeStorageSync('historyInfo');
+			}
+			this.getOrdersList(1, 20)
+			this.esmInsCompany()
+
+		},
+		onPullDownRefresh() {
+			this.getOrdersList(1, 20)
+			setTimeout(function() {
+				uni.stopPullDownRefresh();
+			}, 1000);
+		},
+		async onLoad(e) {
+			this.pageRequest.userId = this.userInfo.sysUser.id;
+			this.pageRequest.deptId = this.userInfo.sysUser.deptId;
+			this.getOrdersList(1, 20)
+			this.getDicType("productsType"); //车船税类型
+		},
+		methods: {
+			...mapMutations(['setOrderType', 'setOrderStage']),
+			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 getDicType(type) {
+				let res = await this.$http.get('/sysDict/dictDetails/' + type);
+				if (res.code == 200) {
+					this[type + 'options'] = res.data.ddList;
+				}
+			},
+			async esmInsCompany() {
+				let commpanykad = await this.$http.get('/insurance/order/getAgreementInsCompany');
+				if (commpanykad.code == '200') {
+					this.esmInsCompanyList = commpanykad.data;
+				}
+			},
+			searchPopup() {
+				this.showDropdown = !this.showDropdown;
+			},
+			//展开
+			selectMore(val) {
+				this.insureMore = true;
+				this.insureMoreIndex = val;
+			},
+			packup(val) {
+				this.insureMore = false;
+				this.insureMoreIndex = val;
+			},
+			//查询事件
+			querysearch() {
+				this.getOrdersList(1, 20);
+				this.showDropdown = false;
+			},
+			//状态筛选
+			statusclick(e) {
+				
+				if(e===this.pageRequest.orderStatus){
+					this.pageRequest.orderStatus=''
+				}else{
+					this.pageRequest.orderStatus = e;
+				}
+				// console.log(this.pageRequest.orderStatus)
+				
+			},
+			//保险公司筛选
+			companystatusclick(e) {
+				// this.pageRequest.companyId = e;
+				if(e==this.pageRequest.companyId){
+					this.pageRequest.companyId=''
+				}else{
+					this.pageRequest.companyId = e;
+				}
+				
+			},
+			//投保险种筛选
+			productstatusclick(e) {
+				
+				if(e==this.pageRequest.productid){
+					this.pageRequest.productid=''
+				}else{
+					this.pageRequest.productid = e;
+				}
+			},
+			startShowmethod() {
+				this.startShow = true;
+				this.timespecifications = null;
+			},
+			endShowmethod() {
+				this.endShow = true;
+				this.timespecifications = null;
+			},
+			//日期筛选
+			dateclick(e) {
+				/* 0:全部  1:一周内 2:一个月内 3:三个月内  4:六个月内*/
+				switch (e) {
+					case 0:
+						this.pageRequest.startDate = "";
+						this.pageRequest.endDate = "";
+						break;
+					case 1:
+						this.pageRequest.startDate = this.transformTime(7);
+						this.pageRequest.endDate = this.transformTime();
+						break;
+					case 2:
+						this.pageRequest.startDate = this.transformTime1(1);
+						this.pageRequest.endDate = this.transformTime();
+						break;
+					case 3:
+						this.pageRequest.startDate = this.transformTime1(3);
+						this.pageRequest.endDate = this.transformTime();
+						break;
+					case 4:
+						this.pageRequest.startDate = this.transformTime1(6);
+						this.pageRequest.endDate = this.transformTime();
+						break;
+					default:
+				}
+				this.timespecifications = e;
+			},
+			startconfirm(e) {
+				this.pageRequest.startDate = e.year + '-' + e.month + '-' + e.day;
+			},
+			endconfirm(e) {
+				this.pageRequest.endDate = e.year + '-' + e.month + '-' + e.day;
+			},
+			//验证车架号
+			isFrameno(str) {
+				let mPattern = /^([0-9A-Z]){17}$/;
+				return mPattern.test(str);
+			},
+			isCarBrand(str) {
+				let mPattern = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼A-Z]{1}[A-Z]{1}[A-Z0-9]{4,5}([A-Z0-9挂学警港澳使领]{1}|应急)$/ ||
+					/^沪[0-9A-Z]{5}$/ || /^陆丰[0-9A-Z]{4}临$/;
+				return mPattern.test(str.trim())
+				// return /^陆丰[0-9A-Z]{4}临$/.test(str.trim())
+			},
+			//查看子订单
+			async querydetail(val) {
+				let params = {
+					orderno: val.orderno,
+					insuredname: val.insuredname,
+					licenseno: val.licenseno,
+					modelcname: val.carinfo.modelcname,
+				}
+				uni.navigateTo({
+					url: `/pages/orders1/subOrders?orderno=${JSON.stringify(params)}`
+				})
+			},
+			//报价历史
+			quotehistory(val) {
+				let params = {
+					orderno: val.orderno,
+					insuredname: val.insuredname,
+					licenseno: val.licenseno,
+					modelcname: val.carinfo.modelcname,
+				}
+				uni.navigateTo({
+					url: `/pages/orders1/quoteHistory?orderno=${JSON.stringify(params)}`
+				})
+			},
+			//打开步骤条弹框
+			async openSteps(val){
+				console.log(val)
+				// this.stepShow=true
+				// let stepList = this.$http.get("/insurance/track/queryBySuborder?suborder="+val.orderno)
+				// console.log(stepList)
+			},
+			//编辑
+			CloseEdit(val) {
+				uni.navigateTo({
+					url: "/pages/carInsure2/quote?orderno=" + val
+				})
+				// this.navigate({
+				// 	url: '/pages/carInsure1/quote1',
+				// 	success: (res) => {
+				// 		res.eventChannel.emit("acceptData", {
+				// 			carInfo: val.carinfo, //车辆信息
+				// 			ownerInfo: val.ownerinfo, //车主信息
+				// 			policyHolderInfo: val.applyinfo, //
+				// 			insuredPersonInfo: val.insureinfo,
+				// 			riskList: val.risk,
+				// 			kindList: val.king,
+				// 			orderno: val.orderno, //车辆
+				// 			quoteno: val.quoteno, //车主
+				// 			vehicleAndVesselTaxForm: val.vehicleAndVesselTax, //车船税
+
+				// 		})
+				// 	}
+				// }, "navigateTo", true);
+			},
+			//回车搜索事件
+			search(val) {
+				this.getOrdersList(1, 20);
+			},
+			//搜索按钮事件
+			custom(val) {
+				this.getOrdersList(1, 20);
+			},
+			//搜索框清除事件
+			clear(val) {
+
+			},
+			//关闭订单后查询
+			closeOrders() {
+				this.totalSize = 0;
+				this.ordersList = []; //获取到的订单列表
+				this.currentPage = 1; //当前的页数
+				this.totalPages = 1; //总共的页数
+			},
+			//当前时间
+			transformTime(day) {
+				var date = new Date();
+				date.setFullYear(date.getFullYear());
+				date.setTime(date.getTime());
+				var strYear = date.getFullYear();
+				var strDay = day ? date.getDate() - day : date.getDate();
+				var strMonth = date.getMonth() + 1;
+				if (strMonth < 10) {
+					strMonth = "0" + strMonth;
+				}
+				if (strDay < 10) {
+					strDay = "0" + strDay;
+				}
+				var datastr = strYear + "-" + strMonth + "-" + strDay;
+				return datastr;
+			},
+			transformTime1(month) {
+				var date = new Date();
+				date.setFullYear(date.getFullYear());
+				date.setTime(date.getTime());
+				var strYear = date.getFullYear();
+				var strDay = date.getDate();
+				var strMonth = month ? (date.getMonth() + 1) - month : date.getMonth() + 1;
+				if (strMonth < 10) {
+					strMonth = "0" + strMonth;
+				}
+				if (strDay < 10) {
+					strDay = "0" + strDay;
+				}
+				var datastr = strYear + "-" + strMonth + "-" + strDay;
+				return datastr;
+			},
+		}
+	}
+</script>
+<style>
+	page {
+		background-color: #F8FAFE;
+	}
+	.warp {
+			display: flex;
+			align-items: center;
+			justify-content: center;
+			height: 100%;
+		}
+	
+		.rect {
+			width: 90%;
+			height: 80%;
+			background-color: #fff;
+		}
+</style>
+<style lang="scss" scoped>
+	@import '@/style/mixin.scss';
+
+	/deep/ uni-tabbar .uni-tabbar-bottom {
+		position: fixed;
+		left: 0;
+		right: 0;
+		bottom: 0;
+	}
+
+	/deep/ .u-action[data-v-1a326067] {
+		color: #FFFFFF;
+	}
+
+	/deep/ .u-dropdown__menu__item__arrow[data-v-01c0c507] uni-text {
+		color: #FFFFFF !important;
+	}
+
+	.dropdown-content {
+		background-color: rgba(0, 0, 0, 0.6);
+		height: 0px;
+		opacity: 0;
+		transition: opacity 0.3s ease;
+
+		.title {
+			font-size: 14px;
+			color: #232832;
+			font-weight: bold;
+			border-bottom: 1px solid #E1E1E1;
+		}
+
+		.term {
+			padding-top: 10px;
+
+			>text {
+				color: #232832;
+				font-weight: bold;
+				font-size: 13px;
+			}
+		}
+
+		.operateBtn {
+			font-weight: bold;
+			font-size: 16px;
+
+			.cancel {
+				width: 50%;
+				height: 46px;
+				color: #0052FF;
+				background-color: #EAEAEA;
+			}
+
+			.confirm {
+				width: 50%;
+				height: 46px;
+				color: #fff;
+				background-color: #0052FF;
+			}
+		}
+	}
+
+	.dropdown-content1 {
+		background-color: #fff;
+		height: 0px;
+		overflow: hidden;
+		transition: height 0.4s ease;
+	}
+
+	.show {
+		height: 100vh;
+		opacity: 1;
+		/* 下拉菜单内容的最大高度 */
+	}
+
+	.show1 {
+		height: auto;
+		/* 下拉菜单遮罩最大高度 */
+	}
+
+	.headers {
+		background-color: rgba(199, 198, 202, 0.4);
+		width: 100%;
+		height: 0;
+		position: absolute;
+		z-index: 999;
+	}
+
+	.parent {
+		position: relative;
+
+	}
+
+	.search-condition {
+		padding: 0 16px;
+
+		.title {
+			font-size: 14px;
+			color: #232832;
+			font-weight: bold;
+			border-bottom: 1px solid #E1E1E1;
+		}
+
+		.term {
+			padding-top: 10px;
+
+			>text {
+				color: #232832;
+				font-weight: bold;
+				font-size: 13px;
+			}
+		}
+	}
+
+
+
+	.search {
+		padding: 13px 16px;
+
+		image {
+			width: 22px;
+			height: 22px;
+			margin-left: 20px;
+		}
+	}
+
+	.slot-content1 {
+		background-color: #FFFFFF;
+		padding: 24rpx;
+	}
+
+	.title {
+		font-weight: bold;
+		color: #333;
+	}
+
+	.status-data {
+		padding: 4px 10px;
+		box-sizing: border-box;
+		margin: 0 4px 4px 0;
+		font-size: 12px;
+		border: 1px solid #eee;
+		cursor: pointer;
+	}
+
+	.active {
+		position: relative;
+		background: rgba(0, 82, 255, 0.1);
+		color: #0052FF;
+		border: 1px solid #0052FF;
+		font-weight: 700;
+	}
+
+	.active::before {
+		content: "";
+		position: absolute;
+		top: 0;
+		left: 0;
+		width: 10px;
+		height: 10px;
+		background-image: url("/static/image/car-insure/before.png");
+		background-size: cover;
+	}
+
+
+	.orderItemPane {
+		width: 100%;
+		height: auto;
+		margin: 10px 0;
+		border-radius: 10px;
+		background: #FFFFFF;
+		box-shadow: 0px 4px 10px 0px #DAE3F4;
+		border-radius: 12px;
+		cursor: pointer;
+		padding: 10px;
+	}
+
+	.orderItemPane-upper {
+		padding-bottom: 8px;
+		border-bottom: 1px solid #D4D0D0;
+	}
+
+	.orderItemPane .orderItemPane-centre,
+	.inscommny-sum>text {
+		color: rgba(51, 51, 51, 0.8);
+		font-weight: 400;
+	}
+
+	.orderItemPane-centre text:first-child {
+		font-weight: bold;
+		color: #232832;
+	}
+
+	.orderItemPane-below {
+		height: auto;
+
+		&>button {
+			margin-left: 10px;
+		}
+	}
+
+
+	.orderItemPane-extend .extend-button>text {
+		color: #ff9000;
+		font-size: 12px;
+	}
+
+	.orderItemPane-extend {
+		border-bottom-right-radius: 10px;
+		border-bottom-left-radius: 10px;
+	}
+
+	.classes::before {
+		content: "·";
+		color: #ff9000;
+		margin-right: 10px;
+	}
+
+	.flexd {
+		position: fixed;
+		left: 0;
+		right: 0;
+	}
+
+	.moosize {
+		font-size: 12px;
+		color: rgba(51, 51, 51, 0.6);
+		font-weight: 400;
+	}
+
+	.color {
+		color: #ff9000;
+	}
+
+	/* 查询区域End */
 </style>

+ 12 - 0
pages/tools/addStaff/authenticationdetails.vue

@@ -39,6 +39,18 @@
 					<text v-if="userData.state==1">已认证</text>
 					<text v-else>未认证</text>
 				</view>
+				<view class="pag-data dis j-s a-c" >
+					<text>注册时间:</text>
+					<text>{{userData.createTime}}</text>
+				</view>
+				<view class="pag-data dis j-s a-c" v-if="userData.state==1">
+					<text>认证时间:</text>
+					<text>{{userData.approveTime}}</text>
+				</view>
+				<view class="pag-data dis j-s a-c" v-if="userData.state==1">
+					<text>认证人:</text>
+					<text>{{userData.approveBy}}</text>
+				</view>
 			</view>
 		</view>
 

+ 65 - 9
pages/tools/customer/customer.vue

@@ -28,16 +28,25 @@
 									<view class="dis a-c j-c">
 										<text>交强终保日期:</text>
 										<view class="status-data" @tap="jqShowmethod()">
-											<text v-if="pageRequest.jqEndDate!=''">{{pageRequest.jqEndDate}}</text>
+											<text v-if="pageRequest.jqStartDate!=''">{{pageRequest.jqStartDate}}</text>
 											<text v-else>{{transformTime()}}</text>
 										</view>
+										
+										<view class="status-data" @tap="jqEndShowmethod()" style="margin-left: 10px;">
+											<text v-if="pageRequest.jqEndDate!=''">{{pageRequest.jqEndDate}}</text>
+											<text v-else>{{transformTimeEnd()}}</text>
+										</view>
 									</view>
 									<view class="dis a-c j-c mt-2">
 										<text>商业终保日期:</text>
 										<view class="status-data" @tap="syShowmethod()">
-											<text v-if="pageRequest.syEndDate!=''">{{pageRequest.syEndDate}}</text>
+											<text v-if="pageRequest.syStartDate!=''">{{pageRequest.syStartDate}}</text>
 											<text v-else>{{transformTime()}}</text>
 										</view>
+										<view class="status-data" @tap="syEndShowmethod()" style="margin-left: 10px;">
+											<text v-if="pageRequest.syEndDate!=''">{{pageRequest.syEndDate}}</text>
+											<text v-else>{{transformTimeEnd()}}</text>
+										</view>
 
 									</view>
 								</view>
@@ -72,12 +81,17 @@
 					</view>
 					<text v-if="item.jqenddate">交强险终保日期:{{item.jqenddate}}</text>
 					<text v-if="item.syenddate">商业险终保日期:{{item.syenddate}}</text>
+					<text v-if="item.jqDiff" :class="item.jqDiff<=30 ? 'on':''">交强保期剩余:{{item.jqDiff}}天</text>
+					<text v-if="item.syDiff" :class="item.syDiff<=30 ? 'on':''">商业保期剩余:{{item.syDiff}}天</text>
 				</view>
 			</view>
 		</view>
 		<!-- 回到顶部 -->
-		<u-picker v-model="jqendShow" mode="time" :params="params" @confirm="jqconfirm"></u-picker>
-		<u-picker v-model="syendShow" mode="time" :params="params" @confirm="syconfirm"></u-picker>
+		<u-picker v-model="jqstartShow" mode="time" :params="params" @confirm="jqconfirm"></u-picker>
+		<u-picker v-model="systartShow" mode="time" :params="params" @confirm="syconfirm"></u-picker>
+		
+		<u-picker v-model="jqendShow" mode="time" :params="params" @confirm="jqEndConfirm"></u-picker>
+		<u-picker v-model="syendShow" mode="time" :params="params" @confirm="syEndConfirm"></u-picker>
 	</view>
 </template>
 
@@ -98,6 +112,8 @@
 				/* 时间筛选相关 */
 				jqendShow: false,
 				syendShow: false,
+				jqstartShow:false,
+				systartShow:false,
 				endShow: false,
 				params: {
 					year: true, //年
@@ -109,7 +125,9 @@
 				},
 				/* 时间筛选相关 */
 				pageRequest: { //查询的默认条件
+					jqStartDate:"",
 					jqEndDate: "",
+					syStartDate:"",
 					syEndDate: "",
 					userId: "",
 					param: "",
@@ -155,8 +173,11 @@
 		onShow() {},
 		async onLoad(e) {
 			this.pageRequest.userId = this.userInfo.sysUser.id;
-			this.pageRequest.jqEndDate = this.transformTime();
-			this.pageRequest.syEndDate = this.transformTime();
+			this.pageRequest.jqEndDate = this.transformTimeEnd();
+			this.pageRequest.syEndDate = this.transformTimeEnd();
+			this.pageRequest.syStartDate = this.transformTime();
+			this.pageRequest.jqStartDate = this.transformTime();
+			
 			this.querylist();
 		},
 		methods: {
@@ -188,9 +209,15 @@
 			},
 
 			jqShowmethod() {
-				this.jqendShow = true;
+				this.jqstartShow = true;
 			},
 			syShowmethod() {
+				this.systartShow = true;
+			},
+			jqEndShowmethod() {
+				this.jqendShow = true;
+			},
+			syEndShowmethod() {
 				this.syendShow = true;
 			},
 			searchPopup() {
@@ -207,10 +234,18 @@
 			},
 
 			jqconfirm(e) {
-				this.pageRequest.jqEndDate = e.year + '-' + e.month + '-' + e.day + " " + e.hour + ":" + e.minute + ":" + e
+				this.pageRequest.jqStartDate = e.year + '-' + e.month + '-' + e.day + " " + e.hour + ":" + e.minute + ":" + e
 					.second;
 			},
 			syconfirm(e) {
+				this.pageRequest.syStartDate = e.year + '-' + e.month + '-' + e.day + " " + e.hour + ":" + e.minute + ":" + e
+					.second;
+			},
+			jqEndConfirm(e) {
+				this.pageRequest.jqEndDate = e.year + '-' + e.month + '-' + e.day + " " + e.hour + ":" + e.minute + ":" + e
+					.second;
+			},
+			syEndConfirm(e) {
 				this.pageRequest.syEndDate = e.year + '-' + e.month + '-' + e.day + " " + e.hour + ":" + e.minute + ":" + e
 					.second;
 			},
@@ -231,6 +266,25 @@
 				var datastr = strYear + "-" + strMonth + "-" + strDay + ' 00:00:00';
 				return datastr;
 			},
+			//往后一月时间
+			transformTimeEnd(day) {
+				let current= new Date().getTime()
+				let monthInms=30*24*60*60*1000
+				var date = new Date(monthInms+current);
+				date.setFullYear(date.getFullYear());
+				date.setTime(date.getTime());
+				var strYear = date.getFullYear();
+				var strDay = day ? date.getDate() - day : date.getDate();
+				var strMonth = date.getMonth() + 1;
+				if (strMonth < 10) {
+					strMonth = "0" + strMonth;
+				}
+				if (strDay < 10) {
+					strDay = "0" + strDay;
+				}
+				var datastr = strYear + "-" + strMonth + "-" + strDay + ' 00:00:00';
+				return datastr;
+			},
 			//回车搜索事件
 			search(val) {
 				this.querylist();
@@ -253,7 +307,9 @@
 </style>
 <style lang="scss" scoped>
 	@import '@/style/mixin.scss';
-
+	.pa-cent .on{
+		color: red !important;
+	}
 	/deep/ uni-tabbar .uni-tabbar-bottom {
 		position: fixed;
 		left: 0;

+ 42 - 5
pages/tools/insuranceClaims/insuranceClaims.vue

@@ -24,7 +24,13 @@
 			<view class="claimmobile">
 				<view class="claimmobiletitle  d-flex a-center">
 					<p>各大保险公司理赔报案电话</p>
+					
+				</view>
+				<view class=" search-input d-flex a-center">
+					<u-input v-model="value" type="text" :border="true" @confirm="onConfirm"/>
+					
 				</view>
+				
 				<view class="claimmobilecontent">
 					<view class="claimmobileitem d-flex a-center j-center" v-for="(item,index) in claimmobiles" :key="index">
 						<view class="companyicon  d-flex a-center j-center">
@@ -261,9 +267,13 @@
 						mobile:"95505"
 					}
 					
-				]
+				],
+				companyList:[],
 			}
 		},
+		created() {
+			this.companyList=[...this.claimmobiles]
+		},
 		computed: {
 			getHeight() {
 				let height = uni.getSystemInfoSync().windowHeight;
@@ -296,15 +306,37 @@
 			
 		},
 		methods: {
+			// 搜索电话
+			onConfirm(e){
+				// console.log(e)
+				let arr=[...this.companyList]
+				let newAarr=[]
+					
+				arr.forEach((v,i)=>{
+					if(v.mobile.includes(e)){
+						newAarr.push(v)
+					}
+				})
+				this.claimmobiles=e!=''?[...newAarr]:[...this.companyList]
+			},
 			// 电话咨询
 			mobileCall(mobile){
 				// #ifdef APP-PLUS
-				uni.makePhoneCall({
-					phoneNumber: mobile,
+				uni.authorize({
+					scope: 'scope.makePhoneCall',
 					success: () => {
-						console.log("成功拨打电话")
+					  uni.makePhoneCall({
+						phoneNumber: mobile,
+						success: () => {
+							console.log("成功拨打电话")
+						}
+					  })
+					},
+					fail: () => {
+					  console.error('授权失败,请允许拨打电话权限!');
 					}
-				})
+				  });
+				
 				// #endif
 			},
 		}
@@ -364,6 +396,11 @@
 .claimmobile{
 	margin: 15upx 0;
 }
+.claimmobile .search-input{
+	padding: 10px;
+	box-sizing: border-box;
+	background: #FFFFFF;
+}
 .claimmobile .claimmobiletitle{
 	height: 80upx;
 	background: #FFFFFF;

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

@@ -14,7 +14,7 @@
 				<view :class="['dropdown-content', { 'show': showDropdown }]" @tap="searchPopup">
 					<view :class="['dropdown-content1','dis','f-c','j-s', { 'show1': showDropdown }]" @tap.stop.prevent>
 						<view style="padding: 0 16px; box-sizing: border-box;">
-							<view class="term">
+							<!-- <view class="term">
 								<text>订单状态</text>
 								<view class="dis  a-c f-wrap j-s" style="margin-top: 10px;">
 									<view class="status-data" :class="item.value==pageRequest.orderStatus? 'active':''"
@@ -23,7 +23,7 @@
 										{{item.label}}
 									</view>
 								</view>
-							</view>
+							</view> -->
 							<view class="term">
 								<text>保险公司</text>
 								<view class="dis  a-c f-wrap j-s" style="margin-top: 10px;">
@@ -89,7 +89,7 @@
 
 						<text>订单号:{{item.orderno}}</text>
 						<text>业务员:{{item.username}}({{item.userid}})</text>
-						<text>投保人:{{item.insuredname}}</text>
+						<text>被保人:{{item.insureinfo.name}}</text>
 						<text>投保险种:{{item.product}}</text>
 						<text v-if="item.orderstatus=='3'">承保公司:{{item.insCompany}}</text>
 

+ 91 - 0
pages/tools/team/teamMember.vue

@@ -56,6 +56,38 @@
 			</view>
 
 		</view>
+		<view class="team_members">
+			<view class="team_member d-flex">
+				<view class="d-flex a-center j-center flex-1">
+					<view>保险公司</view>
+				</view>
+				<view class="d-flex a-center j-center flex-1">
+					<view>报价笔数</view>
+				</view>
+				<view class="d-flex a-center j-center flex-1">
+					<view>核保笔数</view>
+				</view>
+				<view class="d-flex a-center j-center flex-1">
+					<view>出单笔数</view>
+				</view>
+				<view class="d-flex a-center j-center flex-1">
+					<view>签单保费</view>
+				</view>
+			</view>
+			<view class="dataOver">
+				<view class="dis j-s a-c team_members-data"
+					v-for="(item,index) in list" :key="index"
+					@click="toTeamMember('list',index)">
+					<view class="dis j-start a-c">{{item.companyName}}</view>
+					<view class="dis j-c a-c">{{item.bjpolicynum}}</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>
+		
+		</view>
 
 
 	</view>
@@ -71,6 +103,10 @@
 				info: {},
 				phone: "",
 				createTime: "",
+				list:[],
+				dateRange: [new Date().getFullYear() + '-' + (new Date().getMonth() + 1) + '-01', new Date()
+					.getFullYear() + '-' + (new Date().getMonth() + 1) + '-' + new Date().getDate()
+				],
 			}
 		},
 		computed: {
@@ -93,6 +129,7 @@
 			// 监听acceptData事件,获取上一页面通过eventChannel传送到当前页面的数据
 			eventChannel.on('acceptData', async (data) => {
 				this.info = data.item;
+				this.getCompanyList()
 				let res = await this.$http.get('/app/customer/' + this.info.id);
 				if (res.code == '200') {
 					this.phone = res.data.phone;
@@ -109,6 +146,20 @@
 					}
 				})
 			},
+				
+			async getCompanyList(){
+				let params={
+					id:this.info.id,
+					"enddate": this.dateRange[1],
+					"startdate": this.dateRange[0]
+				}
+				let res = await this.$http.post('/esm/user/queryUserCountForUser' ,params);
+				if (res.code == '200') {
+					console.log(res)
+					// this.phone = res.data.phone;
+					this.list = res.data;
+				}
+			}
 			// toTeam() {
 			// 	this.navigate({
 			// 		url: '/pages/tools/team/team?id=' + this.staffInfo.sysUser.id + '&name=' + this.staffInfo
@@ -222,4 +273,44 @@
 	.personInfo_item>view:last-child {
 		color: #6A6A6A;
 	}
+	/* 团队成员列表Start */
+	.team_members {
+		width: 100%;
+		height: auto;
+		background: #FFFFFF;
+		box-shadow: 0px 4px 10px 0px #DAE3F4;
+		border-radius: 6px;
+		margin-top: 10px;
+	}
+	
+	.team_members .team_member {
+		min-height: 70upx;
+		box-sizing: border-box;
+		line-height: 70upx;
+		width: 100%;
+		height: 34px;
+		background: #E7ECFD;
+		border-radius: 6px 6px 0px 0px;
+	}
+	
+	/* .team_members .team_member:nth-of-type(1){
+		background: #CCCCCC;
+	} */
+	.team_members .team_member>view {
+		flex-wrap: nowrap;
+	}
+	
+	.team_members-data {
+		padding: 0 8px;
+		border-bottom: 1px solid #ddd;
+	}
+	
+	.team_members-data>view {
+		width: 25%;
+		padding: 4px;
+	
+	}
+	
+	
+	/* 团队成员列表End */
 </style>