chenrui 4 éve
szülő
commit
f2080d7ddc

+ 1 - 1
components/w-picker/w-picker.vue

@@ -224,7 +224,7 @@
 		},
 		},
 		data() {
 		data() {
 			return {
 			return {
-				itemHeight:`height: ${uni.rpx2px(88)}px;`,
+				itemHeight:`height: ${uni.upx2px(88)}px;`,
 				result:{},
 				result:{},
 				confirmFlag:true
 				confirmFlag:true
 			};
 			};

+ 3 - 3
pages/index/index.vue

@@ -70,7 +70,7 @@ export default {
 				beginDate: '', //  创建时间默认筛选近7天
 				beginDate: '', //  创建时间默认筛选近7天
 				endDate: '', //  创建时间默认筛选近7天
 				endDate: '', //  创建时间默认筛选近7天
 				bundleName: '',  //  套餐名称
 				bundleName: '',  //  套餐名称
-				queryWord: '', // 客户手机
+				custMobile: '', // 客户手机
 			},
 			},
 			scrollTop: 0, //  滚动条位置
 			scrollTop: 0, //  滚动条位置
 			totalObj: null,
 			totalObj: null,
@@ -104,7 +104,7 @@ export default {
 				beginDate: this.searchForm.beginDate,
 				beginDate: this.searchForm.beginDate,
 				endDate: this.searchForm.endDate,
 				endDate: this.searchForm.endDate,
 				bundleName: this.searchForm.bundleName,
 				bundleName: this.searchForm.bundleName,
-				queryWord: this.searchForm.queryWord
+				custMobile: this.searchForm.custMobile
 			}).then(res => {
 			}).then(res => {
 				if (res.status == 200) {
 				if (res.status == 200) {
 					this.totalObj = res.data
 					this.totalObj = res.data
@@ -131,7 +131,7 @@ export default {
 				beginDate: this.searchForm.beginDate,
 				beginDate: this.searchForm.beginDate,
 				endDate: this.searchForm.endDate,
 				endDate: this.searchForm.endDate,
 				bundleName: this.searchForm.bundleName,
 				bundleName: this.searchForm.bundleName,
-				queryWord: this.searchForm.queryWord
+				custMobile: this.searchForm.custMobile
 			}).then(res => {
 			}).then(res => {
 				if (res.status == 200) {
 				if (res.status == 200) {
 					if (this.pageNo > 1) {
 					if (this.pageNo > 1) {

+ 6 - 6
pages/index/searchModal.vue

@@ -4,12 +4,12 @@
 		<u-popup v-model="isShow" class="search-popup" mode="right" @close="handleClose" length="85%">
 		<u-popup v-model="isShow" class="search-popup" mode="right" @close="handleClose" length="85%">
 			<view class="search-title">筛选</view>
 			<view class="search-title">筛选</view>
 			<u-form class="form-content" :model="form" ref="uForm" label-width="150">
 			<u-form class="form-content" :model="form" ref="uForm" label-width="150">
-				<u-form-item label="创建时间" prop="time" class="form-item">
-					<u-input clearable v-model="form.time" disabled placeholder="请选择创建时间区间" class="form-item-inp" @click="openPicker" />
+				<u-form-item label="下单时间" prop="time" class="form-item">
+					<u-input clearable v-model="form.time" disabled placeholder="请选择下单时间区间" class="form-item-inp" @click="openPicker" />
 					<u-icon v-show="form.time.length != 0" name="close-circle-fill" color="#c8c0cc" size="32" class="close-circle" @click="clearTime"></u-icon>
 					<u-icon v-show="form.time.length != 0" name="close-circle-fill" color="#c8c0cc" size="32" class="close-circle" @click="clearTime"></u-icon>
 				</u-form-item>
 				</u-form-item>
 				<u-form-item label="套餐名称" prop="bundleName" class="form-item"><u-input v-model="form.bundleName" :maxlength="30" placeholder="请输入套餐名称" /></u-form-item>
 				<u-form-item label="套餐名称" prop="bundleName" class="form-item"><u-input v-model="form.bundleName" :maxlength="30" placeholder="请输入套餐名称" /></u-form-item>
-				<u-form-item label="客户手机" prop="queryWord" class="form-item"><u-input v-model="form.queryWord" :maxlength="11" placeholder="请输入客户手机" /></u-form-item>
+				<u-form-item label="客户手机" prop="custMobile" class="form-item"><u-input v-model="form.custMobile" :maxlength="11" placeholder="请输入客户手机" /></u-form-item>
 			</u-form>
 			</u-form>
 			<view class="uni-list-btns">
 			<view class="uni-list-btns">
 				<u-button class="handle-btn search-btn" size="medium" hover-class="none" :custom-style="customBtnStyle" @click="handleSearch">查询</u-button>
 				<u-button class="handle-btn search-btn" size="medium" hover-class="none" :custom-style="customBtnStyle" @click="handleSearch">查询</u-button>
@@ -72,7 +72,7 @@ export default {
 			form: {
 			form: {
 				time: '', // 发起时间区间
 				time: '', // 发起时间区间
 				bundleName: '',  //  套餐名称
 				bundleName: '',  //  套餐名称
-				queryWord: '', // 客户手机
+				custMobile: '', // 客户手机
 			},
 			},
 			beginDate: null, // 开始时间
 			beginDate: null, // 开始时间
 			endDate: null // 结束时间
 			endDate: null // 结束时间
@@ -90,7 +90,7 @@ export default {
 			this.beginDate = this.defaultParams.beginDate ? this.defaultParams.beginDate : ''
 			this.beginDate = this.defaultParams.beginDate ? this.defaultParams.beginDate : ''
 			this.endDate = this.defaultParams.endDate ? this.defaultParams.endDate : ''
 			this.endDate = this.defaultParams.endDate ? this.defaultParams.endDate : ''
 			this.form.bundleName = this.defaultParams.bundleName ? this.defaultParams.bundleName : ''
 			this.form.bundleName = this.defaultParams.bundleName ? this.defaultParams.bundleName : ''
-			this.form.queryWord = this.defaultParams.queryWord ? this.defaultParams.queryWord : ''
+			this.form.custMobile = this.defaultParams.custMobile ? this.defaultParams.custMobile : ''
 		},
 		},
 		//  清空创建时间
 		//  清空创建时间
 		clearTime(){
 		clearTime(){
@@ -119,7 +119,7 @@ export default {
 				beginDate: this.beginDate,
 				beginDate: this.beginDate,
 				endDate: this.endDate,
 				endDate: this.endDate,
 				bundleName: this.form.bundleName,
 				bundleName: this.form.bundleName,
-				queryWord: this.form.queryWord,
+				custMobile: this.form.custMobile,
 			};
 			};
 			this.$emit('refresh', params)
 			this.$emit('refresh', params)
 			this.isShow = false
 			this.isShow = false