Commit f3dae7f9 authored by 黄奎's avatar 黄奎

页面修改

parent 723025ae
<style>
@import "../../../assets/css/newTravelManager.css";
</style>
<template>
<div>
......@@ -9,9 +10,11 @@
<li>
<span>
<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()">
<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-select>
</span>
......@@ -21,7 +24,8 @@
<em>{{$t('active.ad_xlmc')}}</em>
<el-select class='w150' v-model="queryMsg.LineteamId" filterable :placeholder="$t('pub.pleaseSel')">
<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-select>
</span>
......@@ -29,7 +33,7 @@
<li>
<span>
<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>
</span>
</li>
......@@ -44,7 +48,7 @@
</el-select>
</span>
</li>
<li>
<li>
<span>
<em>关键字</em>
<el-input maxlength="50" v-model="queryMsg.KeyWords" class="permiss-input w150"
......@@ -56,12 +60,14 @@
</li>
</ul>
</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>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="queryMsg.currentPage"
layout="total,prev, pager, next, jumper" :page-size='queryMsg.pageSize' :total='queryMsg.total'>
</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 class="el-col" style="position:relative;width:200px">
<div v-if="item.IsWarning===1" class="travel_warning"></div>
......@@ -100,9 +106,12 @@
</div>
<div class="el-col">
<div class="d7">
<el-button v-if="item.CreateBy==CurrentUserId && item.ShareTeamType<0" @click="goToOpenTravel('TravelManager3',item.ID)" type="primary">{{$t('Operation.Op_tripUpdate')}}</el-button>
<el-button v-if="item.CreateBy==CurrentUserId"
@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 v-if="item.TCNUMS==''&&item.CreateBy==CurrentUserId" @click="delConfig(item.ID)" type="primary">{{$t('system.table_delete')}}</el-button>
<el-button v-if="item.TCNUMS==''&&item.CreateBy==CurrentUserId" @click="delConfig(item.ID)"
type="primary">{{$t('system.table_delete')}}</el-button>
<el-button @click="goUrlR(item)" type="primary">
{{$t('Operation.Op_tripDownLoad')}}</el-button>
</div>
......@@ -153,8 +162,8 @@
LineteamId: 0,
CreateBy: 0,
TeamType: 1,
TCNUMS:"",
KeyWords:"",//关键字
TCNUMS: "",
KeyWords: "", //关键字
},
//当前用户id
CurrentUserId: 0,
......@@ -201,7 +210,7 @@
this.queryMsg.pageIndex = 1;
this.queryMsg.currentPage = 1;
},
//删除行程
//删除行程
delConfig(ID) {
var that = this;
this.Confirm(that.$t('sm.schbnhfjscz'), function () {
......@@ -329,17 +338,17 @@
);
},
//跳转至下载
goUrlR(item){
let routeData = this.$router.resolve({
goUrlR(item) {
let routeData = this.$router.resolve({
name: 'confirmationOrderDownLoadNew',
query: {
configId:item.ID,
configId: item.ID,
cityId: 0,
tcid: item.TCID,
orderId:0,
vshowL:false,
vshowM:false,
vshowTCNUM:true,
orderId: 0,
vshowL: false,
vshowM: false,
vshowTCNUM: true,
}
})
window.open(routeData.href, '_blank')
......
......@@ -364,7 +364,6 @@
</li>
<li>
<button class="hollowFixedBtn" @click="resetPageIndex(),getControlList()">{{$t('pub.searchBtn')}}</button>
<!-- <button class="hollowFixedBtn" @click='goToOpenTravel("TravelManager5")'>{{$t('sm.kaituan')}}</button> -->
</li>
</ul>
</div>
......
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