Commit 2a1cdd14 authored by 黄奎's avatar 黄奎

搜索修改

parent e01acdc6
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
<div class="webSiteBg"> <div class="webSiteBg">
<el-button :disabled="chooseTAArray.length>0?false:true" @click="setTravelagencyArea(1)">批次設定區域</el-button> <el-button :disabled="chooseTAArray.length>0?false:true" @click="setTravelagencyArea(1)">批次設定區域</el-button>
<el-table ref="multipleTable" :data="PostMsg.TravelagencyList" tooltip-effect="dark" style="width: 100%" <el-table ref="multipleTable" :data="PostMsg.TravelagencyList" tooltip-effect="dark" style="width: 100%"
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange" height="550">
<el-table-column type="selection" width="100px"> <el-table-column type="selection" width="100px">
</el-table-column> </el-table-column>
<el-table-column prop="IsOpenSearch" label="開放搜尋" width="100px"> <el-table-column prop="IsOpenSearch" label="開放搜尋" width="100px">
...@@ -331,7 +331,7 @@ ...@@ -331,7 +331,7 @@
sureTAArea() { sureTAArea() {
var tempAreaIds = ""; var tempAreaIds = "";
if (this.taAreaArr && this.taAreaArr.length > 0) { if (this.taAreaArr && this.taAreaArr.length > 0) {
this.taAreaArr.forEach(item => { this.taAreaArr.sort().forEach(item => {
tempAreaIds += item + ","; tempAreaIds += item + ",";
}); });
if (tempAreaIds && tempAreaIds.length > 0) { if (tempAreaIds && tempAreaIds.length > 0) {
......
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