|
@@ -8,39 +8,35 @@
|
|
|
</div>
|
|
|
<div style="display: flex;justify-content: space-between;">
|
|
|
<div style="width: 70%;display: flex;">
|
|
|
- <div style="width: 25%;">
|
|
|
- <el-select v-model="DiId" placeholder="团组选择" clearable filterable
|
|
|
- @change="AirTicketResSelectChange">
|
|
|
- <el-option v-for="item in AirTicketResSelectData" :key="item.id" :label="item.teamName"
|
|
|
- :value="item.id">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </div>
|
|
|
- <div style="width: 25%;"><el-input v-model="inviter" placeholder="请输入邀请方名称" clearable></el-input>
|
|
|
- </div>
|
|
|
- <div style="width: 50%;"><el-date-picker v-model="InviteTime" type="daterange" align="right"
|
|
|
- unlink-panels format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至"
|
|
|
- start-placeholder="邀请开始日期" end-placeholder="邀请结束日期" :picker-options="pickerOptions">
|
|
|
- </el-date-picker>
|
|
|
- <el-button type="primary" @click="ConditionsQuery">查询</el-button>
|
|
|
- </div>
|
|
|
+ <el-select style="width:300px;margin-right:10px" v-model="DiId" placeholder="团组选择" clearable filterable
|
|
|
+ @change="AirTicketResSelectChange">
|
|
|
+ <el-option v-for="item in AirTicketResSelectData" :key="item.id" :label="item.teamName"
|
|
|
+ :value="item.id">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ <el-input style="width:400px;margin-right:10px" v-model="inviter" placeholder="请输入邀请方名称" clearable></el-input>
|
|
|
+ <el-date-picker style="width:400px;margin-right:10px" v-model="InviteTime" type="daterange" align="right"
|
|
|
+ unlink-panels format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至"
|
|
|
+ start-placeholder="邀请开始日期" end-placeholder="邀请结束日期" :picker-options="pickerOptions">
|
|
|
+ </el-date-picker>
|
|
|
+ <el-button type="primary" @click="ConditionsQuery">查询</el-button>
|
|
|
</div>
|
|
|
- <div style="widows: 30%;">
|
|
|
+ <div style="width: 30%;text-align: right;">
|
|
|
<el-button type="primary" style="margin-left: 10px;" @click="addIf">新增</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div style="margin:10px 0;color:#606266;">
|
|
|
- <span style="font-weight: bold;font-size:17px;">团队名称:</span>
|
|
|
+ <span style="font-weight: bold;font-size:16px;">团队名称:</span>
|
|
|
<span style="color:#606266;">{{ delegationInfo.teamName }} </span>
|
|
|
- <span style="font-weight: bold;font-size:17px;">客户:</span>
|
|
|
+ <span style="font-weight: bold;font-size:16px;">客户:</span>
|
|
|
<span style="color:#606266;">{{ delegationInfo.clientName }} {{
|
|
|
}} </span>
|
|
|
- <span style="font-weight: bold;font-size:17px;">出访国家:</span>
|
|
|
+ <span style="font-weight: bold;font-size:16px;">出访国家:</span>
|
|
|
<span style="color:#606266;">{{ delegationInfo.visitCountry }} </span>
|
|
|
- <span style="font-weight: bold;font-size:17px;">起止日期:</span>
|
|
|
+ <span style="font-weight: bold;font-size:16px;">起止日期:</span>
|
|
|
<span style="color:#606266;">{{ delegationInfo.visitStartDate }}—{{ delegationInfo.visitEndDate
|
|
|
}} </span>
|
|
|
- <span style="font-weight: bold;font-size:17px;">天数/人数:</span>
|
|
|
+ <span style="font-weight: bold;font-size:16px;">天数/人数:</span>
|
|
|
<span style="color:#606266;">{{ delegationInfo.visitDays }}天/{{ delegationInfo.visitPNumber }}人</span>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -56,7 +52,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="inviter" label="邀请方" width="335">
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="inviteTime" label="邀请时间" width="200">
|
|
|
+ <el-table-column prop="inviteTime" label="邀请时间" width="160">
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="inviteCost,currency" label="邀请费用" width="150" sortable>
|
|
|
<template slot-scope="scope">
|
|
@@ -69,7 +65,7 @@
|
|
|
<span v-else>否</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="isAudit" label="是否审核" width="120">
|
|
|
+ <el-table-column prop="isAudit" label="是否审核" width="90">
|
|
|
<template slot-scope="isAudit">
|
|
|
<span v-if="isAudit.row.isAudit == 1">已通过</span>
|
|
|
<span v-else-if="isAudit.row.isAudit == 0">未审核</span>
|
|
@@ -89,7 +85,7 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
</template>
|
|
|
- <div class="block">
|
|
|
+ <div class="block" style="margin-top:15px;">
|
|
|
<el-pagination align='center' @size-change="handleSizeChange" @current-change="handleCurrentChange"
|
|
|
:current-page="currentPage" :page-sizes="[10, 12, 15, 20]" :page-size="pageSize"
|
|
|
layout="total, sizes, prev, pager, next" :total="tableDatas.length">
|
|
@@ -100,6 +96,14 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
export default {
|
|
|
+ beforeRouteLeave(to, from, next) {
|
|
|
+ console.log(to)
|
|
|
+ console.log(from)
|
|
|
+ if(to.name!='OpInvitationOfficialActivities'){
|
|
|
+ from.meta.keepAlive = false;
|
|
|
+ }
|
|
|
+ next()
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
loading: false,
|
|
@@ -198,7 +202,6 @@ export default {
|
|
|
for (let index = 0; index < this.AirTicketResSelectData.length; index++) {
|
|
|
|
|
|
if (this.AirTicketResSelectData[index].id == parseInt(this.DiId)) {
|
|
|
- debugger
|
|
|
this.delegationInfo = this.AirTicketResSelectData[index];
|
|
|
break;
|
|
|
}
|
|
@@ -252,7 +255,6 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
addIf() {
|
|
|
- debugger
|
|
|
if (this.DiId != 0 && this.DiId != '' && this.DiId != undefined) {
|
|
|
this.$router.push({
|
|
|
path: "/home/OpInvitationOfficialActivities",
|
|
@@ -330,6 +332,8 @@ export default {
|
|
|
padding: 10px;
|
|
|
box-shadow: 0 0 5px #0005;
|
|
|
border-radius: 10px;
|
|
|
+ min-height: 830px;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
.communal-title {
|