Commit 921e7142 authored by youjie's avatar youjie

no message

parent 1675cb2c
...@@ -314,10 +314,10 @@ ...@@ -314,10 +314,10 @@
goSearchHandler() { goSearchHandler() {
$q.loading.show(); $q.loading.show();
data.DataList = []; data.DataList = [];
let minTripDay = -1, let minTripDay = -1
maxTripDay = -1, let maxTripDay = -1
minPrice = -1, let minPrice = -1
maxPrice = -1; let maxPrice = -1
if (data.qMsg.minPrice != "") { if (data.qMsg.minPrice != "") {
minPrice = parseFloat(data.qMsg.minPrice); minPrice = parseFloat(data.qMsg.minPrice);
} }
...@@ -344,7 +344,7 @@ ...@@ -344,7 +344,7 @@
$q.loading.hide(); $q.loading.hide();
if (r.data.resultCode == ApiResult.SUCCESS) { if (r.data.resultCode == ApiResult.SUCCESS) {
if (r.data.data) { if (r.data.data) {
data.msg.pageIndex = 1 // data.msg.pageIndex = 1
data.PageCount = r.data.data.pageCount; data.PageCount = r.data.data.pageCount;
data.TotalCount = r.data.data.count; data.TotalCount = r.data.data.count;
var tempArray = r.data.data.pageData; var tempArray = r.data.data.pageData;
......
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
:min="1" :min="1"
:max="100000" :max="100000"
:step="1" :step="1"
@input="testHandler" @change="testHandler"
color="primary" color="primary"
class="q-mt-md" class="q-mt-md"
/> />
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</q-card> </q-card>
</q-popup-proxy> </q-popup-proxy>
</q-btn> </q-btn>
<q-btn color="primary" unelevated :label="$t('query')" @click="search.RetrievalState=true"/> <q-btn color="primary" unelevated :label="$t('query')" @click="queryList"/>
</div> </div>
<template v-if="$q.platform.is.desktop"> <template v-if="$q.platform.is.desktop">
<q-card flat class="rounded-borders q-py-md"> <q-card flat class="rounded-borders q-py-md">
...@@ -448,7 +448,7 @@ ...@@ -448,7 +448,7 @@
:min="1" :min="1"
:max="100000" :max="100000"
:step="1" :step="1"
@input="testHandler" @change="testHandler"
color="primary" color="primary"
class="q-mt-md" class="q-mt-md"
/> />
...@@ -626,7 +626,7 @@ ...@@ -626,7 +626,7 @@
d++ d++
d=d>12?d-12:d d=d>12?d-12:d
let obj = { let obj = {
Name: `${d}`, Name: `${d}${t('v103.scheduledTrip.month')}`,
id: 1+i, id: 1+i,
MM: d MM: d
} }
...@@ -957,8 +957,16 @@ ...@@ -957,8 +957,16 @@
data.searchClone.maxTripDay == "0" ? "" : data.searchClone.maxTripDay; data.searchClone.maxTripDay == "0" ? "" : data.searchClone.maxTripDay;
}, },
testHandler(e) { testHandler(e) {
search.msg.minPrice = data.searchClone.minPrice = e.min; data.searchClone.minPrice = e.min;
search.msg.maxPrice = data.searchClone.maxPrice = e.max; data.searchClone.maxPrice = e.max;
search.msg.priceRange.min = e.min;
search.msg.priceRange.max = e.max;
search.msg.minPrice = e.min;
search.msg.maxPrice = e.max;
// methods.queryList()
},
queryList(){
search.RetrievalState=true
}, },
// 选择时间区间 // 选择时间区间
optionsFn(cd) { optionsFn(cd) {
......
...@@ -1163,7 +1163,8 @@ export default { ...@@ -1163,7 +1163,8 @@ export default {
arrive: '返回抵达城市', arrive: '返回抵达城市',
surplus: '剩余席位', surplus: '剩余席位',
nosupport: '暂不支持候补', nosupport: '暂不支持候补',
passenger: '旅客資料' passenger: '旅客資料',
month: '月'
}, },
scheduledTripDetails:{ scheduledTripDetails:{
since: '起', since: '起',
......
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