Commit c5f1b9de authored by 黄奎's avatar 黄奎

页面修改

parent afc9d08b
......@@ -6,7 +6,7 @@ import md5 from 'js-md5'
Vue.prototype.domainManager = function () {
let domainUrl = '';
domainUrl = "http://192.168.2.214:8082";
domainUrl = "http://127.0.0.1";
//domainUrl = "http://127.0.0.1";
//domainUrl = "http://reborn.oytour.com";
//let locationName = location.hostname;
// if (locationName.indexOf('testerp.oytour') !== -1) {
......
......@@ -574,7 +574,7 @@
<template v-slot:append>
<q-icon name="event" class="cursor-pointer">
<q-popup-proxy ref="qStartDateProxy" transition-show="scale" transition-hide="scale">
<q-date v-model="qMsg.startDate" @input="() => $refs.qStartDateProxy.hide()" />
<q-date v-model="qMsg.startDate" @input="() => $refs.qStartDateProxy.hide(),changeData()" />
</q-popup-proxy>
</q-icon>
</template>
......@@ -586,14 +586,14 @@
<template v-slot:append>
<q-icon name="event" class="cursor-pointer">
<q-popup-proxy ref="qDateProxy" transition-show="scale" transition-hide="scale">
<q-date v-model="qMsg.endDate" @input="() => $refs.qDateProxy.hide()" />
<q-date v-model="qMsg.endDate" @input="() => $refs.qDateProxy.hide(),changeData()" />
</q-popup-proxy>
</q-icon>
</template>
</q-input>
</div>
<div class="col-2" style="margin-left:10px;">
<q-select filled v-model="sortNum" :options="sortArray" emit-value map-options />
<q-select filled v-model="sortNum" :options="sortArray" @input="changeData" emit-value map-options />
</div>
<div class="col-2" style="margin-left:10px;">
<span style="margin-top:15px;display:inline-block;cursor:pointer;" @click="fullHeight = true">更多篩選條件</span>
......@@ -661,11 +661,11 @@
</div>
<div class="range-text">
<div class="min">
<q-input class="full_price" v-model="qMsg.minPrice" filled autogrow />
<q-input class="full_price" v-model="qMsg.minPrice" @input="changeData" filled autogrow />
</div>
<div class="max">
<q-input class="full_price" v-model="qMsg.maxPrice" filled autogrow />
<q-input class="full_price" v-model="qMsg.maxPrice" @input="changeData" filled autogrow />
</div>
</div>
</div>
......@@ -675,7 +675,7 @@
<span class="clear-filter">清除篩選</span>
</div>
<q-checkbox right-label v-model="dayNum" v-for="(item,index) in dayArray" :label="item.text"
:key="index" :val="item.id" />
:key="index" :val="item.id" @input="changeData" />
</div>
<div class="search-type">
<div class="search-title">
......@@ -697,7 +697,7 @@
</div>
<div class="q-gutter-sm">
<q-checkbox v-model="WeekDay" v-for="(item,index) in weekList" :val="item.value" :label="item.label"
:key="index" color="teal" />
:key="index" color="teal" @input="changeData" />
</div>
</div>
</div>
......@@ -715,7 +715,7 @@
class="keyword-input">
</div>
<div class="sortDiv">
<q-select filled style="width:50%" v-model="sortNum" :options="sortArray" emit-value map-options />
<q-select filled style="width:50%" v-model="sortNum" :options="sortArray" emit-value map-options @input="changeData" />
<div class="sortShaixuan" @click="fullHeight = true">更多篩選條件</div>
</div>
</div>
......@@ -726,14 +726,14 @@
<div class="moreTiaojiao">更多篩選條件</div>
<div class="full_listDiv" style="padding-bottom:0">
<span>價格:</span>
<q-input class="full_price" v-model="qMsg.minPrice" filled autogrow />
<q-input class="full_price" v-model="qMsg.maxPrice" filled autogrow />
<q-input class="full_price" v-model="qMsg.minPrice" @input="changeData" filled autogrow />
<q-input class="full_price" v-model="qMsg.maxPrice" @input="changeData" filled autogrow />
</div>
<div class="full_listDiv">
<div class="full_title">天數</div>
<div class="q-gutter-sm">
<q-checkbox right-label v-model="dayNum" v-for="(item,index) in dayArray" :label="item.text" :key="index"
:val="item.id" />
:val="item.id" @input="changeData" />
</div>
</div>
<!-- <div class="full_listDiv">
......@@ -746,7 +746,7 @@
<div class="full_title">出發星期</div>
<div class="q-gutter-sm">
<q-checkbox v-model="WeekDay" v-for="(item,index) in weekList" :val="item.value" :label="item.label"
:key="index" color="teal" />
:key="index" color="teal" @input="changeData" />
</div>
</div>
<div class="full_btndiv">
......@@ -782,7 +782,7 @@
</div>
</div>
<div v-show="tab=='kw'" class="q-mb-md">
<q-input filled id="search_key" v-model="qMsg.searchKey" class="bg-grey-1" :label="$t('search')" />
<q-input filled id="search_key" v-model="qMsg.searchKey" @input="changeData" class="bg-grey-1" :label="$t('search')" />
</div>
<div class="q-mb-md row">
<div class="col">
......@@ -791,7 +791,7 @@
<q-icon name="event" class="cursor-pointer">
<q-popup-proxy ref="qDateProxy">
<q-date mask="YYYY-MM-DD" :title="$t('search_date_begin')" subtitle="選擇" v-model="searchDate"
@input="() => $refs.qDateProxy.hide()" />
@input="() => $refs.qDateProxy.hide(),changeData()" />
</q-popup-proxy>
</q-icon>
</template>
......@@ -804,7 +804,7 @@
<q-icon name="event" class="cursor-pointer">
<q-popup-proxy ref="qDateProxy">
<q-date mask="YYYY-MM-DD" :title="$t('search_date_begin')" subtitle="選擇" v-model="searchEndDate"
@input="() => $refs.qDateProxy.hide()" />
@input="() => $refs.qDateProxy.hide(),changeData()" />
</q-popup-proxy>
</q-icon>
</template>
......
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