Commit a0aad2f0 authored by 华国豪's avatar 华国豪 🙄

新增销售排行弹窗组件

parent 914f55e2
...@@ -906,6 +906,9 @@ export default { ...@@ -906,6 +906,9 @@ export default {
next() next()
} }
}); });
this.$nextTick(function(){
  document.title = this.$route.meta.title ? this.$route.meta.title + '-四川和平国际旅行社' : '四川和平国际旅行社'
 })
} }
}, },
beforeDestroy() { beforeDestroy() {
...@@ -914,5 +917,8 @@ export default { ...@@ -914,5 +917,8 @@ export default {
if(this.tabs.length>0) if(this.tabs.length>0)
window.localStorage.navTabs=JSON.stringify(this.tabs) window.localStorage.navTabs=JSON.stringify(this.tabs)
}, },
created(){
// document.title = this.$route.meta.title ? this.$route.meta.title + '-四川和平国际旅行社' : '四川和平国际旅行社'
}
}; };
</script> </script>
<style>
</style>
<template>
<el-row>
<el-row>
<el-tabs type="card">
<el-tab-pane
v-for="(item, index) in companyList"
:key="item.Id"
:label="item.BName"
:name="item.BName"
>
{{item.content}}
</el-tab-pane>
</el-tabs>
</el-row>
</el-row>
</template>
<script>
export default {
data(){
return {
companyList: []
}
},
mounted(){
this.getCompanyList()
},
methods:{
getCompanyList() {
let userInfo = this.getLocalStorage();
let RB_Group_id = userInfo.RB_Group_id;
let msg = {
Status: 0,
is_show: 0,
RB_Group_Id: RB_Group_id
}
this.apipost('admin_get_BranchGetList', msg, res => {
if (res.data.resultCode == 1) {
res.data.data.forEach(x => {
var obj = {
Id: '',
BName: ''
}
obj.Id = x.Id.toString();
obj.BName = x.BName;
this.companyList.push(obj);
})
}
}, err => {})
},
goUrl (path,id) {
this.$router.push({ path: "Details",query:{path,id} })
},
}
}
</script>
...@@ -377,7 +377,7 @@ ...@@ -377,7 +377,7 @@
<td v-if="OrderSource==9&&GetDetail.SourceID>0" @click="jumpPage('FinancialOrder',GetDetail,2)"> <span class="_jump_page _font_bold">国内票务</span> </td> <td v-if="OrderSource==9&&GetDetail.SourceID>0" @click="jumpPage('FinancialOrder',GetDetail,2)"> <span class="_jump_page _font_bold">国内票务</span> </td>
<td v-else-if="OrderSource==10&&GetDetail.SourceID>0" @click="jumpPage('FinancialOrder',GetDetail,3)"> <span class="_jump_page _font_bold">签证收支</span> </td> <td v-else-if="OrderSource==10&&GetDetail.SourceID>0" @click="jumpPage('FinancialOrder',GetDetail,3)"> <span class="_jump_page _font_bold">签证收支</span> </td>
<td v-else-if="OrderSource==4&&GetDetail.SourceID>0"@click="jumpPage('FinancialOrder',GetDetail,4)"> <span class="_jump_page _font_bold">机票收支</span> </td> <td v-else-if="OrderSource==4&&GetDetail.SourceID>0"@click="jumpPage('FinancialOrder',GetDetail,4)"> <span class="_jump_page _font_bold">机票收支</span> </td>
<td v-if="GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48" @click="jumpPlanPage('leaderReimbursement',o.TCID)"> <span class="_jump_page _font_bold">用款计划</span> </td> <td v-if="GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53" @click="jumpPlanPage('leaderReimbursement',o.TCID)"> <span class="_jump_page _font_bold">用款计划</span> </td>
</tr> </tr>
</table> </table>
<table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-else-if="OrderSource==10"> <table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-else-if="OrderSource==10">
......
<style>
.saleRankDialog .top{
}
</style>
<template>
<el-row class="saleRankDialog">
<el-row class="top">
<img src="../../assets/img/saleRank/bg.png" alt="">
</el-row>
</el-row>
</template>
<script>
export default {
data(){
return {
}
},
mounted(){
},
methods:{
}
}
</script>
<style>
</style>
<template>
<div id="showPDF">
</div>
</template>
<script>
export default {
data(){
return{
}
},created(){
alert(123)
},methods:{
},mounted(){
let mynode = document.getElementById("showPDF");
PDFObject.embed("https://reborndev.oss-cn-hangzhou.aliyuncs.com/Upload/Cloud/2019-02/dYdRFRrBtA8Cb5mR8NEdamwCwdfzMQ8F.pdf", mynode);
}
}
</script>
...@@ -840,7 +840,9 @@ ...@@ -840,7 +840,9 @@
</div> </div>
</el-dialog> </el-dialog>
<a class="weOytour" ref="weOytour" href="http://we.oytour.com:8110/" target="view_window">Preface</a> <a class="weOytour" ref="weOytour" href="http://we.oytour.com:8110/" target="view_window">Preface</a>
<el-dialog custom-class='w800 PingFangSC _saleRnk' title="销售排行" :visible.sync="saleRnkShow" center :before-close="closeChangeMachie">
<saleRnk/>
</el-dialog>
<div v-show="mazip==0" id="downzip"> <div v-show="mazip==0" id="downzip">
<div> <div>
<div> <div>
...@@ -868,15 +870,18 @@ import emojiObj from "../configs/emoji"; ...@@ -868,15 +870,18 @@ import emojiObj from "../configs/emoji";
import loading from "./commonPage/loading"; import loading from "./commonPage/loading";
import VueDraggableResizable from "vue-draggable-resizable"; import VueDraggableResizable from "vue-draggable-resizable";
import { setInterval, clearInterval } from 'timers'; import { setInterval, clearInterval } from 'timers';
import saleRnk from "./SalesModule/saleRnk";
export default { export default {
components: { components: {
ChatList, ChatList,
ChatEditor, ChatEditor,
loading, loading,
VueDraggableResizable VueDraggableResizable,
saleRnk
}, },
data() { data() {
return { return {
saleRnkShow: false,
dialogTitleNot: '', dialogTitleNot: '',
outerVisibleNot: false, outerVisibleNot: false,
downmz:false, downmz:false,
...@@ -4225,5 +4230,7 @@ export default { ...@@ -4225,5 +4230,7 @@ export default {
margin-top:-30px; margin-top:-30px;
margin-left:155px; margin-left:155px;
} }
._saleRnk.el-dialog--center .el-dialog__body{
padding: 0;
}
</style> </style>
...@@ -201,10 +201,10 @@ input[type="number"] { ...@@ -201,10 +201,10 @@ input[type="number"] {
<td>自费收入</td> <td>自费收入</td>
<td>{{moneyFormat(totalList.SelfPayingIncomeTotalPrice)}}</td> <td>{{moneyFormat(totalList.SelfPayingIncomeTotalPrice)}}</td>
</tr> </tr>
<tr v-show="totalList.IncomeTotalPrice>0"> <!-- <tr v-show="totalList.IncomeTotalPrice>0">
<td>消费收入</td> <td>消费收入</td>
<td>{{moneyFormat(totalList.IncomeTotalPrice)}}</td> <td>{{moneyFormat(totalList.IncomeTotalPrice)}}</td>
</tr> </tr> -->
<tr <tr
v-show="(totalList.ExpendTotalPrice-totalScenicPrice-totalTrafficPrice-totalDinnerPrice-totalHotelPrice)>0" v-show="(totalList.ExpendTotalPrice-totalScenicPrice-totalTrafficPrice-totalDinnerPrice-totalHotelPrice)>0"
> >
...@@ -269,7 +269,7 @@ input[type="number"] { ...@@ -269,7 +269,7 @@ input[type="number"] {
<span>{{subItem.Money}}</span> <span>{{subItem.Money}}</span>
</td> </td>
<td> <td>
<span>{{subItem.HangingAccountsTypeStr}}</span> <span>{{subItem.TypeName}}</span>
</td> </td>
<td> <td>
<span>{{subItem.RemitterName}}{{subItem.AccountNumber}}</span> <span>{{subItem.RemitterName}}{{subItem.AccountNumber}}</span>
...@@ -278,10 +278,10 @@ input[type="number"] { ...@@ -278,10 +278,10 @@ input[type="number"] {
<span>{{subItem.StatusStr}}</span> <span>{{subItem.StatusStr}}</span>
</td> </td>
<td> <td>
<span>{{subItem.CreateDateStr}}</span> <span>{{subItem.CreateDate}}</span>
</td> </td>
<td> <td>
<span>{{subItem.createByStr}}</span> <span>{{subItem.CreateByStr}}</span>
</td> </td>
</tr> </tr>
</template> </template>
......
...@@ -6,12 +6,14 @@ ...@@ -6,12 +6,14 @@
<template> <template>
<div> <div>
<leftNav></leftNav> <leftNav></leftNav>
<!-- <FinanceHome/> -->
</div> </div>
</template> </template>
<script> <script>
import leftNav from '../public/leftNav.vue' import leftNav from '../public/leftNav.vue'
import FinanceHome from '../FinanceHome/index.vue'
export default { export default {
data (){ data (){
return{ return{
...@@ -19,7 +21,8 @@ ...@@ -19,7 +21,8 @@
} }
}, },
components:{ components:{
leftNav leftNav,
FinanceHome
}, },
mounted(){ mounted(){
......
...@@ -1875,6 +1875,14 @@ export default { ...@@ -1875,6 +1875,14 @@ export default {
title: '签证产品' title: '签证产品'
}, },
}, },
{ // 销售 排行榜
path: '/saleRnk',
name: 'saleRnk',
component: resolve => require(['@/components/SalesModule/saleRnk'], resolve),
meta: {
title: '签证产品'
},
},
{ //配置签证产品 { //配置签证产品
path: '/ModifyVisaProduct', path: '/ModifyVisaProduct',
name: 'ModifyVisaProduct', name: 'ModifyVisaProduct',
......
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