Commit d4ed96c8 authored by 罗林杰's avatar 罗林杰

修改查询

parent 1fb7d598
......@@ -93,14 +93,14 @@ export const options = {
{ label: '仫佬', value: 55 }
],
height: [
{ label: '不限', value: '不限' },
{ label: '不限', value: '' },
{ label: '150-160', value: '150-160' },
{ label: '160-170', value: '160-170' },
{ label: '170-180', value: '170-180' },
{ label: '180以上', value: '180以上' }
],
weight: [
{ label: '不限', value: '不限' },
{ label: '不限', value: '' },
{ label: '30-40', value: '30-40' },
{ label: '50-60', value: '50-60' },
{ label: '70-80', value: '70-80' },
......
......@@ -32,7 +32,7 @@
@click="showHeight = true; hideKeyboard()"
>
<u--input
v-model="queryParams.memHeight"
v-model="queryParams.memHeightText"
disabled
disabledColor="#ffffff"
placeholder="请选择身高"
......@@ -47,7 +47,7 @@
@click="showWeight = true; hideKeyboard()"
>
<u--input
v-model="queryParams.memWeight"
v-model="queryParams.memWeightText"
disabled
disabledColor="#ffffff"
placeholder="请选择体重"
......
......@@ -75,12 +75,28 @@ export default {
},
//获取用户信息列表
queryList(pageNo, pageSize) {
let minHeight = ''
let maxHeight = ''
let minWeight = ''
let maxWeight = ''
if (this.queryParams.memHeight !== ''){
minHeight = this.queryParams.memHeight.split('-')[0]
maxHeight = this.queryParams.memHeight.split('-')[1]
}
if (this.queryParams.memWeight !== ''){
minWeight = this.queryParams.memWeight.split('-')[0]
maxWeight = this.queryParams.memWeight.split('-')[1]
}
const params = {
page: pageNo,
rows: pageSize,
memSex: this.queryParams.memSex,
memHeight: this.queryParams.memHeight,
memWeight: this.queryParams.memWeight,
minHeight: minHeight,
maxHeight: maxHeight,
minWeight: minWeight,
maxWeight: maxWeight,
memHeight: '',
memWeight: '',
memResidenceProvince: this.queryParams.memResidenceProvince,
memResidenceCity: this.queryParams.memResidenceCity,
memConstellationList: this.queryParams.memConstellationList
......
......@@ -246,11 +246,6 @@ export default {
item.actionTypeName = '接收微信请求'
}
})
this.queryParam = {
beginTime: '',
endTime: '',
type: ''
}
this.$refs.paging.completeByTotal(this.record,res.data.total);
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment