Преглед на файлове

Merge branch 'deploy' of http://git.chelingzhu.com/chelingzhu-web/storeCheck-app into deploy

lilei преди 4 години
родител
ревизия
09d6d661d9

+ 2 - 1
pages.json

@@ -46,7 +46,8 @@
 		{
 			"path": "pages/searchPage/searchPage",
 			"style": {
-				"navigationBarTitleText": "查询"
+				"navigationStyle": "custom", // 隐藏系统导航栏
+				"navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
 			}
 		},
 		{

+ 35 - 12
pages/myShopTour/myShopTour.vue

@@ -25,35 +25,35 @@
 							<view class="record-item" v-for="(item,index) in list" :key="index">
 								<view class="item-head">
 									<text class="item-c-tit">{{item.name}}</text>
-									<u-tag class="item-c-type" :text="item.orderStatus" type="primary" />
+									<u-tag class="item-c-type" :text="item.status" type="primary" />
 								</view>
 								<view class="item-main">
 									<text class="item-tit">创建时间:</text>
-									<text class="item-val">{{item.creatTime}}</text>
+									<text class="item-val">{{item.startTime}}</text>
 								</view>
 								<view class="item-main">
 									<text class="item-tit">完成时间:</text>
-									<text class="item-val">{{item.completionTime}}</text>
+									<text class="item-val">{{item.endTime}}</text>
 								</view>
 								<view class="item-main">
 									<text class="item-tit">巡店耗时:</text>
-									<text class="item-val">{{item.timeConsuming}}</text>
+									<text class="item-val">{{item.spendTime}}秒</text>
 								</view>
 								<u-grid class="item-grid" :col="4" hover-class="none">
 									<u-grid-item>
-										<text class="grid-num text-blue">18</text>
+										<text class="grid-num text-blue">{{item.totalTargetCount}}</text>
 										<text class="grid-text">检查项</text>
 									</u-grid-item>
 									<u-grid-item>
-										<text class="grid-num text-green">13</text>
+										<text class="grid-num text-green">{{item.passTargetCount}}</text>
 										<text class="grid-text">合格</text>
 									</u-grid-item>
 									<u-grid-item>
-										<text class="grid-num text-red">3</text>
+										<text class="grid-num text-red">{{item.notPassTargetCount}}</text>
 										<text class="grid-text">不合格</text>
 									</u-grid-item>
 									<u-grid-item>
-										<text class="grid-num text-yellow">2</text>
+										<text class="grid-num text-yellow">{{item.notWorkTargetCount}}</text>
 										<text class="grid-text">不适用</text>
 									</u-grid-item>
 								</u-grid>
@@ -96,6 +96,7 @@
 
 <script>
 	import MxDatePicker from "@/components/mx-datepicker/mx-datepicker.vue"
+	import { queryMyTask } from '@/api/task.js'
 	export default {
 		components: { MxDatePicker },
 		data() {
@@ -116,8 +117,7 @@
 				pageNo: 1,  //  当前页码
 				pageSize: 15,  //  一页多少条
 				total: 0,  //  总条数
-				// status: 'loading',  //  加载状态
-				status: 'loadmore',  //  加载状态
+				status: 'loading',  //  加载状态
 				noDataText: '暂无数据',  //  列表数据为空时提示文字
 				list: [  //  数据列表
 					{ name: '常青二店', creatTime: '2020-09-08 09:16', orderStatus: 'haveInHand', completionTime: '2020-09-08 09:16', timeConsuming: '5小时18分钟', inspectionItems: 18, qualified: 14, unqualified: 2, notApplicable: 2 },
@@ -151,8 +151,30 @@
 			pageInit(){
 				this.range = [ this.get7day(-6), this.get7day(0) ]
 				this.searchForm.creatTime = [ this.get7day(-6), this.get7day(0) ]
-				this.total = 0
-				this.pageNo = 1
+				this.status = 'loading'
+				queryMyTask({
+					pageNo: this.pageNo,
+					pageSize: this.pageSize,
+					beginDate: this.searchForm.creatTime[0],
+					endDate: this.searchForm.creatTime[1],
+					storeName: this.searchForm.store
+				}).then(res => {
+					console.log(res)
+					if(res.status == 200){
+						if(this.pageNo>1){
+							this.list = this.list.concat(res.data.list || [])
+						}else{
+							this.list = res.data.list || []
+						}
+						this.noDataText = '暂无数据'  //  有列表数据时不显示,因此只用默认设置为无数据时所需显示的'暂无数据'即可
+						this.total = res.data.count || 0
+					}else{
+						this.list = []
+						this.noDataText = res.message
+						this.total = 0
+					}
+					this.status = 'loadmore'
+				})
 			},
 			// tabs通知swiper切换
 			tabsChange(index) {
@@ -236,6 +258,7 @@
 				this.searchForm.creatTime = this.range
 				this.searchForm.store = this.storeName
 				this.openScreen = false
+				this.pageInit()
 			},
 		}
 	}

+ 101 - 37
pages/organization/organization.vue

@@ -11,7 +11,7 @@
 			</view>
 			<!-- 组织结构子节点 -->
 			<view class="organization-node-con">
-				<view class="organization-node-item" v-for="(item, index) in organizationNowList" :key="index" @click="clickOrganization(item)">
+				<view class="organization-node-item" v-for="(item, index) in organizationNowList" :key="index" @click="clickOrganization(item, index)">
 					<text class="organization-node-item-name">{{item.name}}</text>
 					<u-icon class="organization-node-item-icon" name="arrow-right" color="#999" size="28"></u-icon>
 				</view>
@@ -22,7 +22,7 @@
 			<view class="list-tit">门店列表</view>
 			<!-- 列表数据 -->
 			<view class="listData-con">
-				<view class="listData-item" v-for="(item, index) in list" :key="index">
+				<view class="listData-item" v-for="(item, index) in list" :key="index" @click="goPage(item)">
 					<view class="listData-item-l">
 						<u-icon class="listData-item-l-icon" name="mendian" custom-prefix="xd-icon" size="40" color="#888"></u-icon>
 						<text class="listData-item-l-name">{{item.name}}</text>
@@ -31,70 +31,134 @@
 						<u-icon class="listData-item-r-icon" name="yuanchengxundian" custom-prefix="xd-icon" size="40" color="#2b85e4"></u-icon>
 					</view>
 				</view>
+				<u-empty :text="noDataText" img-width="120" v-if="list.length == 0 && status != 'loading'" :margin-top="120" style="padding-bottom: 100px;" mode="list"></u-empty>
 			</view>
 		</view>
 	</view>
 </template>
 
 <script>
+	import { clzConfirm } from '@/libs/tools.js'
+	import { findStoreList } from '@/api/store.js'
+	import { queryCurrentTaskUsing } from '@/api/task.js'
+	import { findUserInfo } from '@/api/atorg.js'
 	export default{
 		data(){
 			return{
-				list: [  //  门店列表
-					{ name: '常青二路店' },
-					{ name: '常青二路店常青青二路店常路店' },
-					{ name: '常青二路店' },
-					{ name: '常青二路店' },
-					{ name: '常青二路店' },
-					{ name: '常青二路店' },
-					{ name: '常青二路店' },
-					{ name: '常青二路店常青青二路店常路店' },
-					{ name: '常青二路店' },
-					{ name: '常青二路店' },
-					{ name: '常青二路店' },
-					{ name: '常青二路店' },
-					{ name: '常青二路店' },
-					{ name: '常青二路店常青青二路店常路店' },
-					{ name: '常青二路店' },
-					{ name: '常青二路店' },
-					{ name: '常青二路店' },
-					{ name: '常青二路店' },
-				],
-				organizationNowList: [  //  组织机构  当前显示 列表数据
-					{ name: '陕西区域', id: 1, children: [{name: '西安', id: 11},{name: '咸阳', id: 111},{name: '宝鸡', id: 1111},{name: '渭南', id: 11111},] },
-					{ name: '宁夏区域', id: 2, children: [{name: '银川', id: 21},{name: '中卫', id: 211},{name: '固原', id: 2111},] },
-					{ name: '甘肃区域', id: 3, children: [{name: '兰州', id: 31},{name: '金昌', id: 311},{name: '白银', id: 3111},{name: '天水', id: 31111},] },
-				],
-				organizationList: [  //  组织机构  总列表数据
-					{ name: '陕西区域', id: 1, children: [{name: '西安', id: 11},{name: '咸阳', id: 111},{name: '宝鸡', id: 1111},{name: '渭南', id: 11111},] },
-					{ name: '宁夏区域', id: 2, children: [{name: '银川', id: 21},{name: '中卫', id: 211},{name: '固原', id: 2111},] },
-					{ name: '甘肃区域', id: 3, children: [{name: '兰州', id: 31},{name: '金昌', id: 311},{name: '白银', id: 3111},{name: '天水', id: 31111},] },
-				],
+				organizationNowList: [],  //  组织机构  当前显示 列表数据
+				organizationList: [],  //  组织机构  总列表数据
 				nowStructure: [  //  面包屑
 					'西安车领主网络科技有限公司'
 				],
-				nowInd: []
+				nowInd: [],
+				status: 'loading',  //  加载中状态
+				noDataText: '暂无数据',  //  数据异常提示
+				list: [],  //  门店数据列表
+				organizationData: []
 			}
 		},
+		onLoad() {
+			//  权限下所有门店数据
+			this.getStoreList()
+			//  权限下的组织机构数据
+			this.getOrgList()
+		},
 		methods: {
+			//  权限下所有门店数据
+			getStoreList(orgCode){
+				this.status = 'loading'
+				// 获取门店列表
+				findStoreList({ orgCode: orgCode ? orgCode : '' }).then(res => {
+					if(res.status == 200){
+						this.list = res.data.list
+						this.noDataText = '暂无数据'  //  有列表数据时不显示,因此只用默认设置为无数据时所需显示的'暂无数据'即可
+					}else{
+						this.list = []
+						this.noDataText = res.message
+					}
+					this.status = 'loadmore'
+				})
+			},
+			//  组织机构数据
+			getOrgList(){
+				findUserInfo().then(res => {
+					if(res.status == 200){
+						this.organizationList = res.data.list
+						this.organizationNowList = res.data.list
+					}else{
+						this.organizationList = []
+						this.organizationNowList = []
+					}
+				})
+			},
 			//  组织机构  click
-			clickOrganization(item){
+			clickOrganization(item, ind){
+				this.nowInd.push(ind)
 				if(item.children){
 					this.organizationNowList = item.children
 				}else{
 					this.organizationNowList = []
 				}
 				this.nowStructure.push(item.name)
+				this.getStoreList(item.code)
 			},
 			//  切换至当前所选的组织结构
 			checkedStructure(ind){
-				
 				if(ind == 0){
+					this.nowInd = []
+					this.organizationNowList = this.organizationList
 					this.nowStructure = ['西安车领主网络科技有限公司']
+					this.getStoreList()
 				}else{
-					this.organizationNowList = this.organizationList[ind - 1].children
-					this.nowStructure = this.nowStructure.slice(0,ind+1)
+					let subInd = JSON.parse(JSON.stringify(this.nowInd)).splice(0, ind)
+					this.nowInd = subInd
+					let code = ''  //  组织机构编码
+					for(let i=0; i< subInd.length;i++){
+						if(i==0){
+							this.organizationNowList = this.organizationList[subInd[i]].children
+							code = this.organizationList[subInd[i]].code
+						}else{
+							this.organizationNowList = this.organizationNowList[subInd[i]].children
+							code = this.organizationNowList[subInd[i]].code
+						}
+					}
+					this.nowStructure = JSON.parse(JSON.stringify(this.nowStructure)).splice(0, ind+1)
+					this.getStoreList(code)
 				}
+			},
+			//  选择门店
+			goPage(item){
+				//  校验是否有历史巡店记录
+				queryCurrentTaskUsing({ storeId: item.tenantId }).then(res => {
+					if(res.status == 200){
+						if(res.data.state){  //  为true有历史巡店记录
+							clzConfirm({
+							    title: '提示',
+							    content: '有进行中的巡店任务,是否继续?',
+								confirmText: '继续巡店',
+								cancelText: '重新开始',
+								buttons: ['继续巡店','重新开始'],
+							    success: function (result) {
+							        if (result.confirm || result.index==0) {  //  继续巡店
+										uni.navigateTo({
+											url: '/pages/shopTour/shopTour?storeId=' + item.tenantId + '&taskId='+ res.data.taskId + '&restart=0&types=video'
+										})
+							        }else{  //  重新开始
+										uni.navigateTo({
+											url: '/pages/shopTour/shopTour?storeId=' + item.tenantId + '&taskId='+ res.data.taskId + '&restart=1&types=video'
+										})
+							        }
+							    }
+							})
+						}else{
+							uni.navigateTo({
+								url: '/pages/shopTour/shopTour?storeId=' + item.tenantId + '&types=video'
+							})
+						}
+					}else{
+						uni.showToast({icon: 'none', title: res.message})
+					}
+				})
 			}
 		},
 		watch: {

+ 85 - 33
pages/searchPage/searchPage.vue

@@ -1,7 +1,11 @@
 <template>
 	<view class="searchPage-wrap">
-		<!-- 搜索 -->
-		<u-search shape="square" placeholder="请输入门店名称搜索" v-model="keyword" action-text="取消" @change="change" @search="search" @custom="custom"></u-search>
+		<!-- 自定义标题 -->
+		<u-navbar :is-back="false" :border-bottom="false" id="navbar">
+			<view class="slot-wrap">
+				<u-search class="left-icon" shape="square" placeholder="请输入门店名称搜索" v-model="keyword" action-text="取消" @change="change" @search="search" @custom="custom"></u-search>
+			</view>
+		</u-navbar>
 		<!-- 列表数据 -->
 		<view class="listData-con">
 			<view class="listData-item" v-for="(item, index) in list" :key="index" @click="goPage(item)">
@@ -13,59 +17,85 @@
 					<u-icon class="listData-item-r-icon" name="yuanchengxundian" custom-prefix="xd-icon" size="40" color="#2b85e4"></u-icon>
 				</view>
 			</view>
-			<u-empty :text="noDataText" img-width="120" v-if="list.length == 0 && status != 'loading'" :margin-top="80" mode="list"></u-empty>
+			<u-empty :text="noDataText" img-width="120" v-if="list.length == 0 && status != 'loading'" :margin-top="400" mode="list"></u-empty>
 		</view>
 	</view>
 </template>
 
 <script>
+	import { clzConfirm } from '@/libs/tools.js'
+	import { findStoreList } from '@/api/store.js'
+	import { queryCurrentTaskUsing } from '@/api/task.js'
 	export default{
 		data(){
 			return{
 				keyword: '',  //  关键字
-				list: [  //  数据列表
-					{ name: '常青二路店' },
-					{ name: '常青二路店常青青二路店常路店' },
-					{ name: '常青二路店' },
-					{ name: '常青二路店' },
-					{ name: '常青二路店' },
-					{ name: '常青二路店' },
-				],
+				list: [],  //  数据列表
 				noDataText: '暂无数据',  //  数据异常提示
+				status: 'loading',  //  加载状态
 			}
 		},
 		methods: {
 			//  用户点击右侧控件时触发
 			custom(val){
-				
+				// 关闭当前页面 返回列表页面
+				uni.navigateBack()
 			},
 			//  输入框内容发生变化时触发
 			change(val){
-				let i = this.throttle(this.handle(), 1000)
-				// console.log(i)
+				// `debounce` 是一个限制操作频率的函数。防抖操作,在0.5秒内连续更改数据不进行查询
+				this.$u.debounce(this.getStoreList, 500)
 			},
 			//  用户确定搜索时触发,用户按回车键,或者手机键盘右下角的"搜索"键时触发
 			search(val){
-				
+				this.getStoreList()
 			},
-			// 节流throttle代码(时间戳+定时器)
-			throttle(fn,delay){
-			    let valid = true
-			    return function() {
-			       if(!valid){
-			           //休息时间 暂不接客
-			           return false 
-			       }
-			       // 工作时间,执行函数并且在间隔期内把状态位设为无效
-			        valid = false
-			        setTimeout(() => {
-			            fn()
-			            valid = true;
-			        }, delay)
-			    }
+			getStoreList(){
+				this.status = 'loading'
+				findStoreList({ name: this.keyword }).then(res => {
+					if(res.status == 200){
+						this.list = res.data.list
+						this.noDataText = '暂无数据'  //  有列表数据时不显示,因此只用默认设置为无数据时所需显示的'暂无数据'即可
+					}else{
+						this.list = []
+						this.noDataText = res.message
+					}
+					this.status = 'loadmore'
+				})
 			},
-			handle(){
-				console.log(12)
+			//  选择门店
+			goPage(item){
+				//  校验是否有历史巡店记录
+				queryCurrentTaskUsing({ storeId: item.tenantId }).then(res => {
+					if(res.status == 200){
+						if(res.data.state){  //  为true有历史巡店记录
+							clzConfirm({
+							    title: '提示',
+							    content: '有进行中的巡店任务,是否继续?',
+								confirmText: '继续巡店',
+								cancelText: '重新开始',
+								buttons: ['继续巡店','重新开始'],
+							    success: function (result) {
+							        if (result.confirm || result.index==0) {  //  继续巡店
+										uni.navigateTo({
+											url: '/pages/shopTour/shopTour?storeId=' + item.tenantId + '&taskId='+ res.data.taskId + '&restart=0&types=video'
+										})
+							        }else{  //  重新开始
+										uni.navigateTo({
+											url: '/pages/shopTour/shopTour?storeId=' + item.tenantId + '&taskId='+ res.data.taskId + '&restart=1&types=video'
+										})
+							        }
+							    }
+							})
+						}else{
+							uni.navigateTo({
+								url: '/pages/shopTour/shopTour?storeId=' + item.tenantId + '&types=video'
+							})
+						}
+					}else{
+						uni.showToast({icon: 'none', title: res.message})
+					}
+				})
 			}
 		}
 	}
@@ -77,7 +107,29 @@
 		height: calc(100vh - 44px);
 	}
 	.searchPage-wrap{
-		padding: 20upx 30upx 0;
+		padding: 0 30upx;
+		/* 自定义导航栏样式 */
+		.slot-wrap {
+			display: flex;
+			align-items: center;
+			/* 如果您想让slot内容占满整个导航栏的宽度 */
+			flex: 1;
+			/* 如果您想让slot内容与导航栏左右有空隙 */
+			padding: 0 30rpx;
+			font-size: 28upx;
+			.left-icon {
+				flex-grow: 1;
+				font-size: 32upx;
+				margin-right: 10upx;
+				text-align: center;
+			}
+			.right-icon {
+				padding-left: 50upx;
+			}
+			.uni-icons {
+				margin-right: 10upx;
+			}
+		}
 		.listData-con{
 			.listData-item{
 				display: flex;

+ 8 - 1
pages/signIn/signIn.vue

@@ -36,7 +36,7 @@ import { validTaskPosition } from '@/api/task.js';
 export default {
 	data() {
 		return {
-			stores: null,
+			stores: null,  //  门店信息
 			location: '', //  当前位置地址
 			photograph: '', //  拍照
 			position: null // 位置信息
@@ -83,6 +83,13 @@ export default {
 		},
 		//  签到
 		signInFun() {
+			if(!this.position.latitude || !this.position.longitude){
+				uni.showToast({ icon: 'none', title: '位置获取失败,请重新定位后再进行签到' })
+				return
+			}else if(!this.photograph){
+				uni.showToast({ icon: 'none', title: '请拍照后再进行签到' })
+				return
+			}
 			//  判断是否超出签到范围
 			validTaskPosition({
 				storeId: this.stores.id,

+ 12 - 15
pages/siteInspection/siteInspection.vue

@@ -2,7 +2,7 @@
 	<view class="siteInspection-wrap">
 		<!-- 搜索框 -->
 		<view class="search-con">
-			<u-search placeholder="查找全部门店" v-model="queryValue" @custom="searchHandle(1)" @search="searchHandle(1)" bg-color="#fff" :action-style="{background: '#2979ff',color: '#fff', borderRadius: '6upx',padding: '6upx 0', fontSize: '26upx'}"></u-search>
+			<u-search placeholder="查找全部门店" v-model="queryValue" @custom="searchHandle" @search="searchHandle" bg-color="#fff" :action-style="{background: '#2979ff',color: '#fff', borderRadius: '6upx',padding: '6upx 0', fontSize: '26upx'}"></u-search>
 		</view>
 		<!-- 定位 -->
 		<view class="location-con" ref="location">
@@ -23,11 +23,10 @@
 							<u-icon class="company-icon" name="mendian" custom-prefix="xd-icon" size="40" color="#888"></u-icon>
 							<text>{{item.name}}</text>
 						</view>
-						<u-icon class="listData-item-r-icon" name="xianchangrenwu" custom-prefix="xd-icon" size="40" color="#2b85e4"></u-icon>
+						<u-icon class="listData-item-r-icon" name="yuanchengxundian" custom-prefix="xd-icon" size="40" color="#2b85e4"></u-icon>
 					</view>
 				</view>
 				<u-empty class="nodata" :text="noDataText" v-if="listdata.length==0 && status!='loading'" mode="list"></u-empty>
-				<u-loadmore bg-color="#f8f8f8" v-if="listdata.length < total || status == 'loading'" :status="status" class="loadmore" />
 			</scroll-view>
 		</view>
 	</view>
@@ -40,14 +39,13 @@
 		data(){
 			return{
 				queryValue: '',
-				location: '陕西西安未央区北二环信息机大厦100号',
+				location: '',
 				noDataText: '未查找到附近门店',  //  列表请求状态提示语
 				status: 'loading',  //  加载中状态
 				listdata: [],  //  列表数据
-				pageNo: 1,  //  当前页码
-				pageSize: 10,  //  每页条数
-				total: 0,  //  数据总条数
 				Height: 200,  //  滚动区域  元素dom高度
+				lat: '',  //  纬度
+				lng: '',  //  经度
 			}
 		},
 		onReady() {
@@ -66,6 +64,8 @@
 					geocode: true,
 				    success: function (res) {
 						console.log(res)
+						_this.lng = res.longitude
+						_this.lat = res.latitude
 						// _this.location = res.address.province + res.address.city + res.address.district + res.address.street + res.address.streetNum +'靠近' + res.address.poiName
 						setTimeout(()=>{
 							_this.searchHandle(res)
@@ -74,22 +74,19 @@
 				})
 			},
 			//查询门店列表
-			searchHandle(res){
-				this.listdata = []
+			searchHandle(){
 				this.status = "loading"
 				findStoreList({
-					lng:res.longitude,
-					lat:res.latitude,
+					lng: this.lng,
+					lat: this.lat,
 					queryWord: this.queryValue
 				}).then(res => {
 					if (res.status == 200) {
 						this.listdata = res.data.list || []
-						this.total = this.listdata.length
-						this.listdata.length == 0 && this.queryValue != '' ? this.noDataText = '没有搜索到相关结果' : this.noDataText = '暂无数据'
+						this.noDataText = this.listdata.length == 0 && this.queryValue != '' ? '没有搜索到相关结果' : '未查找到附近门店'
 					} else {
-						this.noDataText = res.message
 						this.listdata = []
-						this.total = 0
+						this.noDataText = res.message
 					}
 					this.status = "loadmore"
 				})

+ 4 - 9
pages/videoShopTour/videoShopTour.vue

@@ -27,8 +27,7 @@
 						<u-icon class="listData-item-r-icon" name="yuanchengxundian" custom-prefix="xd-icon" size="40" color="#2b85e4"></u-icon>
 					</view>
 				</view>
-				<u-empty :text="noDataText" img-width="120" v-if="list.length == 0 && status != 'loading'" :margin-top="20" mode="list"></u-empty>
-				<u-loadmore bg-color="#f8f8f8" v-if="list.length < total || status == 'loading'" :status="status" class="loadmore" />
+				<u-empty :text="noDataText" img-width="120" v-if="list.length == 0 && status != 'loading'" :margin-top="220" style="padding-bottom: 120px;" mode="list"></u-empty>
 			</view>
 		</view>
 	</view>
@@ -44,9 +43,6 @@
 				noDataText: '暂无数据',  //  数据异常提示
 				status: 'loadmore',  //  加载中状态
 				list: [],  //  数据列表
-				total: 0,  //  数据总条数
-				pageNo: 1,  //  当前页码
-				pageSize: 10,  //  每页条数
 			}
 		},
 		onLoad() {
@@ -59,11 +55,11 @@
 				// 获取门店列表
 				findStoreList().then(res => {
 					if(res.status == 200){
-						this.list = res.data.list
-						this.total = this.list.length
+						this.list = res.data.list || []
+						this.noDataText = '暂无数据'  //  有列表数据时不显示,因此只用默认设置为无数据时所需显示的'暂无数据'即可
 					}else{
 						this.list = []
-						this.total = 0
+						this.noDataText = res.message
 					}
 					this.status = 'loadmore'
 				})
@@ -84,7 +80,6 @@
 			goPage(item){
 				//  校验是否有历史巡店记录
 				queryCurrentTaskUsing({ storeId: item.tenantId }).then(res => {
-					console.log(res)
 					if(res.status == 200){
 						if(res.data.state){  //  为true有历史巡店记录
 							clzConfirm({