Commit 5afe2f26 authored by 黄奎's avatar 黄奎

新增关键字查询

parent 87b7a8f5
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<span> <span>
<em>{{$t('system.table_ssLine')}}</em> <em>{{$t('system.table_ssLine')}}</em>
<el-select class='w150' v-model="queryMsg.LineId" filterable :placeholder="$t('pub.pleaseSel')" <el-select class='w150' v-model="queryMsg.LineId" filterable :placeholder="$t('pub.pleaseSel')"
@change="getLinePlaceList()"> @change="getLinePlaceList()">
<el-option :label="$t('pub.unlimitedSel')" :value='queryCommonData.SelectDefaultValue'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='queryCommonData.SelectDefaultValue'></el-option>
<el-option v-for="item in queryCommonData.LineList" :label='item.LineName' :value='item.LineID' <el-option v-for="item in queryCommonData.LineList" :label='item.LineName' :value='item.LineID'
:key='item.LineID'> :key='item.LineID'>
...@@ -22,9 +22,11 @@ ...@@ -22,9 +22,11 @@
<li> <li>
<span> <span>
<em>{{$t('Operation.Op_Country')}}/{{$t('system.query_dest')}}</em> <em>{{$t('Operation.Op_Country')}}/{{$t('system.query_dest')}}</em>
<el-select class="w150" v-model="queryMsg.PlaceID" filterable :placeholder="$t('pub.pleaseSel')" @change="getLineTeamList()"> <el-select class="w150" v-model="queryMsg.PlaceID" filterable :placeholder="$t('pub.pleaseSel')"
@change="getLineTeamList()">
<el-option :label="$t('pub.unlimitedSel')" :value="queryCommonData.SelectDefaultValue"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="queryCommonData.SelectDefaultValue"></el-option>
<el-option v-for="item in queryCommonData.PlaceList" :label="item.PlaceName" :value="item.PlaceID" :key="item.LtID"></el-option> <el-option v-for="item in queryCommonData.PlaceList" :label="item.PlaceName" :value="item.PlaceID"
:key="item.LtID"></el-option>
</el-select> </el-select>
</span> </span>
</li> </li>
...@@ -57,6 +59,13 @@ ...@@ -57,6 +59,13 @@
</el-select> </el-select>
</span> </span>
</li> </li>
<li>
<span>
<em>关键字</em>
<el-input maxlength="50" v-model="queryMsg.KeyWords" class="permiss-input w150"
:placeholder="$t('pub.pleaseImport')"></el-input>
</span>
</li>
<li> <li>
<span> <span>
<em>{{$t('scen.sc_ftTime')}}</em> <em>{{$t('scen.sc_ftTime')}}</em>
...@@ -177,12 +186,13 @@ ...@@ -177,12 +186,13 @@
pageSize: 10, pageSize: 10,
LineId: 0, LineId: 0,
LineteamId: 0, LineteamId: 0,
PlaceID:0, PlaceID: 0,
CreateBy: 0, CreateBy: 0,
TeamType: 0, TeamType: 0,
TCNUMS: "", TCNUMS: "",
StartGroupDate: "", StartGroupDate: "",
EndGroupDate: "", EndGroupDate: "",
KeyWords: "", //关键字
}, },
//当前登录人员信息 //当前登录人员信息
CurrentUserInfo: {}, CurrentUserInfo: {},
...@@ -251,50 +261,49 @@ ...@@ -251,50 +261,49 @@
); );
}); });
}, },
//获取线路列表 //获取线路列表
getLineList() { getLineList() {
this.apipost( this.apipost(
"line_post_GetList", "line_post_GetList", {
{ LineDirection: 2
LineDirection: 2 },
}, res => {
res => { if (res.data.resultCode == 1) {
if (res.data.resultCode == 1) { this.queryCommonData.LineList = res.data.data;
this.queryCommonData.LineList = res.data.data; this.queryCommonData.PlaceList = [];
this.queryCommonData.PlaceList = []; this.queryCommonData.LineTeamList = [];
this.queryCommonData.LineTeamList = []; }
} }
} );
); },
}, //获取目的地列表
//获取目的地列表 getLinePlaceList() {
getLinePlaceList() { this.queryMsg.PlaceID = 0;
this.queryMsg.PlaceID = 0; this.queryMsg.LineteamId = 0;
this.queryMsg.LineteamId = 0; let msg = {
let msg = { lineID: this.queryMsg.LineId
lineID: this.queryMsg.LineId };
}; this.apipost("team_post_GetLinePlace", msg, res => {
this.apipost("team_post_GetLinePlace", msg, res => { if (res.data.resultCode == 1) {
if (res.data.resultCode == 1) { this.queryCommonData.PlaceList = res.data.data;
this.queryCommonData.PlaceList = res.data.data; this.queryCommonData.LineTeamList = [];
this.queryCommonData.LineTeamList = []; }
} });
}); },
}, //获取系列列表
//获取系列列表 getLineTeamList() {
getLineTeamList() { this.queryMsg.LineteamId = 0;
this.queryMsg.LineteamId = 0; let msg = {
let msg = { lineID: this.queryMsg.LineId,
lineID: this.queryMsg.LineId, placeID: this.queryMsg.PlaceID,
placeID: this.queryMsg.PlaceID, isTOOP: 1
isTOOP: 1 };
}; this.apipost("team_post_GetList", msg, res => {
this.apipost("team_post_GetList", msg, res => { if (res.data.resultCode == 1) {
if (res.data.resultCode == 1) { this.queryCommonData.LineTeamList = res.data.data;
this.queryCommonData.LineTeamList = res.data.data; }
} });
}); },
},
//新获取列表数据 //新获取列表数据
getControlList() { getControlList() {
var msg = JSON.parse(JSON.stringify(this.queryMsg)); var msg = JSON.parse(JSON.stringify(this.queryMsg));
...@@ -404,7 +413,7 @@ ...@@ -404,7 +413,7 @@
vshowL: false, vshowL: false,
vshowM: false, vshowM: false,
vshowTCNUM: true, vshowTCNUM: true,
isClick:1,//不计算点击 isClick: 1, //不计算点击
} }
}) })
window.open(routeData.href, '_blank') window.open(routeData.href, '_blank')
......
...@@ -43,6 +43,13 @@ ...@@ -43,6 +43,13 @@
</el-option> </el-option>
</el-select> </el-select>
</span> </span>
</li>
<li>
<span>
<em>关键字</em>
<el-input maxlength="50" v-model="queryMsg.KeyWords" class="permiss-input w150"
:placeholder="$t('pub.pleaseImport')"></el-input>
</span>
</li> </li>
<li> <li>
<button class="hollowFixedBtn" @click="getControlList(),resetPageIndex()">{{$t('pub.searchBtn')}}</button> <button class="hollowFixedBtn" @click="getControlList(),resetPageIndex()">{{$t('pub.searchBtn')}}</button>
...@@ -144,7 +151,8 @@ ...@@ -144,7 +151,8 @@
LineteamId: 0, LineteamId: 0,
CreateBy: 0, CreateBy: 0,
TeamType: 1, TeamType: 1,
TCNUMS:"" TCNUMS:"",
KeyWords:"",//关键字
}, },
//当前用户id //当前用户id
CurrentUserId: 0, CurrentUserId: 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