Commit 723025ae authored by 黄奎's avatar 黄奎

页面修改

parent b96644f9
<style> <style>
@import "../../../assets/css/newTravelManager.css"; @import "../../../assets/css/newTravelManager.css";
</style> </style>
<template> <template>
<div> <div>
...@@ -9,9 +10,11 @@ ...@@ -9,9 +10,11 @@
<li> <li>
<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')" @change="getLineTeamList()"> <el-select class='w150' v-model="queryMsg.LineId" filterable :placeholder="$t('pub.pleaseSel')"
@change="getLineTeamList()" clearable>
<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' :key='item.LineID'> <el-option v-for="item in queryCommonData.LineList" :label='item.LineName' :value='item.LineID'
:key='item.LineID'>
</el-option> </el-option>
</el-select> </el-select>
</span> </span>
...@@ -19,9 +22,10 @@ ...@@ -19,9 +22,10 @@
<li> <li>
<span> <span>
<em>{{$t('active.ad_xlmc')}}</em> <em>{{$t('active.ad_xlmc')}}</em>
<el-select class='w150' v-model="queryMsg.LineteamId" filterable :placeholder="$t('pub.pleaseSel')"> <el-select class='w150' v-model="queryMsg.LineteamId" filterable :placeholder="$t('pub.pleaseSel')" clearable>
<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.LineTeamList" :label='item.LtName' :value='item.LtID' :key='item.LtID'> <el-option v-for="item in queryCommonData.LineTeamList" :label='item.LtName' :value='item.LtID'
:key='item.LtID'>
</el-option> </el-option>
</el-select> </el-select>
</span> </span>
...@@ -29,8 +33,15 @@ ...@@ -29,8 +33,15 @@
<li> <li>
<span> <span>
<em>{{$t('visa.v_tuanhao')}}</em> <em>{{$t('visa.v_tuanhao')}}</em>
<el-input maxlength="50" v-model="queryMsg.TCNUMS" class="permiss-input w150" <el-input maxlength="50" v-model="queryMsg.TCNUMS" class="permiss-input w150"
:placeholder="$t('pub.pleaseImport')"></el-input> :placeholder="$t('pub.pleaseImport')" clearable></el-input>
</span>
</li>
<li>
<span>
<em>团名</em>
<el-input v-model="queryMsg.KeyWords" class="permiss-input w150" :placeholder="$t('pub.pleaseImport')"
maxlength="50" clearable></el-input>
</span> </span>
</li> </li>
<li> <li>
...@@ -47,10 +58,10 @@ ...@@ -47,10 +58,10 @@
<li> <li>
<span> <span>
<em>{{$t('scen.sc_ftTime')}}</em> <em>{{$t('scen.sc_ftTime')}}</em>
<el-date-picker class="w150" type="date" v-model="queryMsg.StartGroupDate" :picker-options="pickerBeginDateBefore" <el-date-picker class="w150" type="date" v-model="queryMsg.StartGroupDate"
value-format="yyyy-MM-dd" placeholder></el-date-picker> :picker-options="pickerBeginDateBefore" value-format="yyyy-MM-dd" placeholder></el-date-picker>
<el-date-picker class="w150" type="date" v-model="queryMsg.EndGroupDate" :picker-options="pickerBeginDateAfter" <el-date-picker class="w150" type="date" v-model="queryMsg.EndGroupDate"
value-format="yyyy-MM-dd" placeholder></el-date-picker> :picker-options="pickerBeginDateAfter" value-format="yyyy-MM-dd" placeholder></el-date-picker>
</span> </span>
</li> </li>
<li> <li>
...@@ -58,12 +69,14 @@ ...@@ -58,12 +69,14 @@
</li> </li>
</ul> </ul>
</div> </div>
<div class="TravelTclList" v-loading="queryCommonData.loading" :element-loading-text="queryCommonData.loadingText"> <div class="TravelTclList" v-loading="queryCommonData.loading"
:element-loading-text="queryCommonData.loadingText">
<ul> <ul>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="queryMsg.currentPage" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="queryMsg.currentPage"
layout="total,prev, pager, next, jumper" :page-size='queryMsg.pageSize' :total='queryMsg.total'> layout="total,prev, pager, next, jumper" :page-size='queryMsg.pageSize' :total='queryMsg.total'>
</el-pagination> </el-pagination>
<li v-for="(item,index) in queryCommonData.dataList" :key="index" :class="{'TC_hasContent':item.OPInnerRemark==''&&item.OPRemark==''}"> <li v-for="(item,index) in queryCommonData.dataList" :key="index"
:class="{'TC_hasContent':item.OPInnerRemark==''&&item.OPRemark==''}">
<div :data-id="item.ID"> <div :data-id="item.ID">
<div class="el-col" style="position:relative;width:200px"> <div class="el-col" style="position:relative;width:200px">
<div v-if="item.IsWarning===1" class="travel_warning"></div> <div v-if="item.IsWarning===1" class="travel_warning"></div>
...@@ -101,9 +114,11 @@ ...@@ -101,9 +114,11 @@
</div> </div>
<div class="el-col"> <div class="el-col">
<div class="d7"> <div class="d7">
<el-button @click="goToOpenTravel('TravelManager5',item.ID)" type="primary">{{$t('Operation.Op_tripUpdate')}}</el-button> <el-button @click="goToOpenTravel('TravelManager',item.ID)" type="primary">
{{$t('Operation.Op_tripUpdate')}}</el-button>
<el-button @click="copyTravelInfo(item.ID)" type="primary">{{$t('Operation.Op_tripCopy')}}</el-button> <el-button @click="copyTravelInfo(item.ID)" type="primary">{{$t('Operation.Op_tripCopy')}}</el-button>
<el-button v-if="item.TCNUMS==''" @click="delConfig(item.ID)" type="primary">{{$t('system.ph_shanchu')}}</el-button> <el-button v-if="item.TCNUMS==''" @click="delConfig(item.ID)" type="primary">
{{$t('system.ph_shanchu')}}</el-button>
</div> </div>
</div> </div>
</div> </div>
...@@ -152,10 +167,11 @@ ...@@ -152,10 +167,11 @@
LineId: 0, LineId: 0,
LineteamId: 0, LineteamId: 0,
CreateBy: 0, CreateBy: 0,
TeamType:2, TeamType: 2,
TCNUMS:"", TCNUMS: "",
StartGroupDate: "", StartGroupDate: "",
EndGroupDate: "", EndGroupDate: "",
KeyWords: "", //团名
}, },
remarkMsg: { remarkMsg: {
TCID: 0, TCID: 0,
...@@ -224,7 +240,9 @@ ...@@ -224,7 +240,9 @@
}, },
//获取线路列表 //获取线路列表
getLineList() { getLineList() {
this.apipost("line_post_GetList", {"LineDirection":3}, res => { this.apipost("line_post_GetList", {
"LineDirection": 3
}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.queryCommonData.LineList = res.data.data; this.queryCommonData.LineList = res.data.data;
} }
...@@ -303,7 +321,6 @@ ...@@ -303,7 +321,6 @@
err => {} err => {}
); );
}); });
} }
}, },
//根据当前员工所在部门获取该部门及子部门员工信息 //根据当前员工所在部门获取该部门及子部门员工信息
......
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