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

页面修改

parent 48584a9f
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
.el-table th { .el-table th {
padding: 5px 0; padding: 5px 0;
} }
</style> </style>
<template> <template>
<div class="page-body ReturnperiodsList"> <div class="page-body ReturnperiodsList">
...@@ -69,7 +68,7 @@ ...@@ -69,7 +68,7 @@
<el-table-column prop="BatchName" label="周期"></el-table-column> <el-table-column prop="BatchName" label="周期"></el-table-column>
<el-table-column v-if="isReturnperiods" prop="TotalMoney" label="累计金额"> </el-table-column> <el-table-column v-if="isReturnperiods" prop="TotalMoney" label="累计金额"> </el-table-column>
<el-table-column v-if="isReturnperiods"prop="TotalEmployee" label="个人直客累计金额"> </el-table-column> <el-table-column v-if="isReturnperiods" prop="TotalEmployee" label="个人直客累计金额"> </el-table-column>
<el-table-column prop="TotalCustomer" label="同业录入累计金额"> </el-table-column> <el-table-column prop="TotalCustomer" label="同业录入累计金额"> </el-table-column>
<el-table-column v-if="isReturnperiods" prop="TotalInternal" label="内部介绍累计金额"> </el-table-column> <el-table-column v-if="isReturnperiods" prop="TotalInternal" label="内部介绍累计金额"> </el-table-column>
<el-table-column v-if="isReturnperiods" prop="TotalTrans" label="学员转介绍累计金额"> </el-table-column> <el-table-column v-if="isReturnperiods" prop="TotalTrans" label="学员转介绍累计金额"> </el-table-column>
...@@ -78,7 +77,8 @@ ...@@ -78,7 +77,8 @@
<el-table-column v-if="isReturnperiods" label="财务单据"> <el-table-column v-if="isReturnperiods" label="财务单据">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="scope.row.FinanceIdList" v-for="item in scope.row.FinanceIdList"> <template v-if="scope.row.FinanceIdList" v-for="item in scope.row.FinanceIdList">
<a @click="goDetails(item)" style="cursor:pointer;color:blue;text-decoration:underline;display:inline-block;margin-right:10px;">{{item}}</a> <a @click="goDetails(item)"
style="cursor:pointer;color:blue;text-decoration:underline;display:inline-block;margin-right:10px;">{{item}}</a>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
...@@ -89,12 +89,12 @@ ...@@ -89,12 +89,12 @@
<i class="iconfont icon-sousuo" @click="goUrl(scope.row.Id)"></i> <i class="iconfont icon-sousuo" @click="goUrl(scope.row.Id)"></i>
</el-tooltip> </el-tooltip>
<templat v-if="isReturnperiods"> <templat v-if="isReturnperiods">
<el-tooltip class="item" effect="dark" v-if="scope.row.FinanceIds==''||scope.row.FinanceIds==null" <el-tooltip class="item" effect="dark" v-if="scope.row.FinanceIds==''||scope.row.FinanceIds==null"
content="生成财务单据" placement="top"> content="生成财务单据" placement="top">
<i class="iconfont icon-add" @click="setCommissionFinanace(scope.row.Id)"></i> <i class="iconfont icon-add" @click="setCommissionFinanace(scope.row.Id)"></i>
</el-tooltip> </el-tooltip>
</templat> </templat>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
getSellAchievementsSendEmployeeList, getSellAchievementsSendEmployeeList,
setSellAchievementsSendEmployee setSellAchievementsSendEmployee
} from '../../../api/finance/index' } from '../../../api/finance/index'
import { import {
mapState mapState
} from "vuex"; } from "vuex";
export default { export default {
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
CheckID: 0, CheckID: 0,
} }
}, },
computed: mapState({ computed: mapState({
//是否有下载权限 //是否有下载权限
isReturnperiods(state) { isReturnperiods(state) {
if (state.user.userInfo && state.user.userInfo.ActionMenuList && state.user.userInfo.ActionMenuList.length > if (state.user.userInfo && state.user.userInfo.ActionMenuList && state.user.userInfo.ActionMenuList.length >
...@@ -229,13 +229,13 @@ ...@@ -229,13 +229,13 @@
SetCommissionPeriodsFinanace(this.msgFinance).then(res => { SetCommissionPeriodsFinanace(this.msgFinance).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.getList(); this.getList();
this.$q.notify({ this.$q.notify({
icon: 'iconfont icon-chenggong', icon: 'iconfont icon-chenggong',
color: 'accent', color: 'accent',
timeout: 2000, timeout: 2000,
message: res.Message, message: res.Message,
position: 'top' position: 'top'
}) })
} }
this.loading1 = false; this.loading1 = false;
}).catch(err => { }).catch(err => {
...@@ -297,9 +297,7 @@ ...@@ -297,9 +297,7 @@
}, },
}, },
} }
</script> </script>
<style lang="sass"> <style lang="sass">
@import url('~assets/css/table.sass') @import url('~assets/css/table.sass')
</style>
</style> \ No newline at end of file
...@@ -210,7 +210,6 @@ ...@@ -210,7 +210,6 @@
this.getInfo(); this.getInfo();
}, },
methods: { methods: {
//获取教师下拉 //获取教师下拉
GetTeacherList() { GetTeacherList() {
var qMsg = { var qMsg = {
......
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