Merge branch 'lx-online' of gitee.com:cabbage_qd/web-base-admin into bd-dev
This commit is contained in:
commit
60632fa055
|
@ -8,6 +8,9 @@
|
|||
<div class="thetopbox">
|
||||
<el-form ref="form" :model="queryParams" label-width="100px">
|
||||
<el-row>
|
||||
<el-col :span="4">
|
||||
<TopMemberSelect ref="topMemberSelect" @change="TopMemberHandleChange" />
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item :label="'会员编号'" prop="memberCode">
|
||||
<el-input
|
||||
|
@ -45,9 +48,13 @@
|
|||
</el-select> </el-form-item></el-col>
|
||||
<el-col :span="4" style="margin-left: 30px">
|
||||
<div class="searchbox">
|
||||
<el-button class="searchbtn" @click="getSearch"> {{ '搜索' }}</el-button>
|
||||
<el-button @click="reChongzhi"> {{ '重置' }}</el-button>
|
||||
<el-button @click="goback"> {{ '返回' }}</el-button>
|
||||
<el-button
|
||||
:loading="loading"
|
||||
class="searchbtn"
|
||||
@click="getSearch"
|
||||
> 搜索</el-button>
|
||||
<el-button @click="resetHandle"> 重置</el-button>
|
||||
<el-button @click="goback"> 返回</el-button>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row></el-form>
|
||||
|
@ -238,11 +245,13 @@ import {
|
|||
getMemberSettlePeriod,
|
||||
getUrlBase
|
||||
} from '@/api/archityecture'
|
||||
import TopMemberSelect from './components/top-member-select.vue'
|
||||
import { isLocals } from '../../../utils/numberToCurrency'
|
||||
export default {
|
||||
name: 'Azjg2',
|
||||
components: {
|
||||
topBar
|
||||
topBar,
|
||||
TopMemberSelect
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
@ -287,7 +296,8 @@ export default {
|
|||
{ value: 1, label: '否' }
|
||||
],
|
||||
cantz: 1, // 0不可拖拽,1可拖拽
|
||||
scale: 1
|
||||
scale: 1,
|
||||
loading: false
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
@ -295,6 +305,12 @@ export default {
|
|||
this.getAvarerInfo()
|
||||
},
|
||||
methods: {
|
||||
TopMemberHandleChange(val) {
|
||||
if (val) {
|
||||
this.queryParams.memberCode = val
|
||||
this.getSearch()
|
||||
}
|
||||
},
|
||||
handleWheel(event) {
|
||||
if (this.cantz == 1) {
|
||||
event.preventDefault()
|
||||
|
@ -522,12 +538,16 @@ export default {
|
|||
}
|
||||
},
|
||||
getSearch() {
|
||||
this.loading = true
|
||||
getAzFramework(this.queryParams).then((res) => {
|
||||
this.data = res.data[0]
|
||||
this.toggleExpand(this.data, true)
|
||||
}).finally(() => {
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
reChongzhi() {
|
||||
resetHandle() {
|
||||
this.$refs.topMemberSelect.reset()
|
||||
this.queryParams = {
|
||||
memberSettlePeriodId: '', // 期数
|
||||
memberCode: '', // 会员编号
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
<div class="thetopbox">
|
||||
<el-form ref="form" :model="queryParams" label-width="100px">
|
||||
<el-row>
|
||||
<el-col :span="4">
|
||||
<TopMemberSelect ref="topMemberSelect" @change="TopMemberHandleChange" />
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item :label="'会员编号'" prop="memberCode">
|
||||
<el-input
|
||||
|
@ -45,8 +48,12 @@
|
|||
</el-select> </el-form-item></el-col>
|
||||
<el-col :span="4" style="margin-left: 30px">
|
||||
<div class="searchbox">
|
||||
<el-button class="searchbtn" @click="getSearch"> {{ '搜索' }}</el-button>
|
||||
<el-button @click="reChongzhi"> {{ '重置' }}</el-button>
|
||||
<el-button
|
||||
:loading="loading"
|
||||
class="searchbtn"
|
||||
@click="getSearch"
|
||||
> {{ '搜索' }}</el-button>
|
||||
<el-button @click="resetHandle"> {{ '重置' }}</el-button>
|
||||
<el-button @click="goback"> {{ '返回' }}</el-button>
|
||||
</div>
|
||||
</el-col>
|
||||
|
@ -233,10 +240,12 @@ import {
|
|||
getUrlBase
|
||||
} from '@/api/archityecture'
|
||||
import { isLocals } from '../../../utils/numberToCurrency'
|
||||
import TopMemberSelect from './components/top-member-select.vue'
|
||||
export default {
|
||||
name: 'Azjg3',
|
||||
components: {
|
||||
topBar
|
||||
topBar,
|
||||
TopMemberSelect
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
@ -280,7 +289,8 @@ export default {
|
|||
],
|
||||
cantz: 1, // 0不可拖拽,1可拖拽
|
||||
popdata: {},
|
||||
scale: 1
|
||||
scale: 1,
|
||||
loading: false
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
@ -288,6 +298,12 @@ export default {
|
|||
this.getAvarerInfo()
|
||||
},
|
||||
methods: {
|
||||
TopMemberHandleChange(val) {
|
||||
if (val) {
|
||||
this.queryParams.memberCode = val
|
||||
this.getSearch()
|
||||
}
|
||||
},
|
||||
handleWheel(event) {
|
||||
if (this.cantz == 1) {
|
||||
event.preventDefault()
|
||||
|
@ -565,6 +581,7 @@ export default {
|
|||
}
|
||||
},
|
||||
getSearch() {
|
||||
this.loading = true
|
||||
getAzFramework(this.queryParams).then((res) => {
|
||||
res.data.forEach((ele) => {
|
||||
ele.countryUrl2Base64 = ''
|
||||
|
@ -573,11 +590,12 @@ export default {
|
|||
})
|
||||
this.data = res.data[0]
|
||||
this.toggleExpand(this.data, true)
|
||||
|
||||
console.log('🌈this.data', this.data)
|
||||
}).finally(() => {
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
reChongzhi() {
|
||||
resetHandle() {
|
||||
this.$refs.topMemberSelect.reset()
|
||||
this.queryParams = {
|
||||
memberSettlePeriodId: '', // 期数
|
||||
memberCode: '', // 会员编号
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
<div class="thetopbox">
|
||||
<el-form ref="form" :model="queryParams" label-width="100px">
|
||||
<el-row>
|
||||
<el-col :span="4">
|
||||
<TopMemberSelect ref="topMemberSelect" @change="TopMemberHandleChange" />
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item :label="'会员编号'" prop="memberCode">
|
||||
<el-input
|
||||
|
@ -39,8 +42,12 @@
|
|||
</el-select> </el-form-item></el-col>
|
||||
<el-col :span="4" style="margin-left: 30px">
|
||||
<div class="searchbox">
|
||||
<el-button class="searchbtn" @click="getSearch"> {{ '搜索' }}</el-button>
|
||||
<el-button @click="reChongzhi"> {{ '重置' }}</el-button>
|
||||
<el-button
|
||||
:loading="loading"
|
||||
class="searchbtn"
|
||||
@click="getSearch"
|
||||
> {{ '搜索' }}</el-button>
|
||||
<el-button @click="resetHandle"> {{ '重置' }}</el-button>
|
||||
<el-button @click="goback"> {{ '返回' }}</el-button>
|
||||
</div>
|
||||
</el-col>
|
||||
|
@ -221,10 +228,12 @@ import {
|
|||
getUrlBase
|
||||
} from '@/api/archityecture'
|
||||
import { isLocals } from '../../../utils/numberToCurrency'
|
||||
import TopMemberSelect from './components/top-member-select.vue'
|
||||
export default {
|
||||
name: 'Azjg4',
|
||||
components: {
|
||||
topBar
|
||||
topBar,
|
||||
TopMemberSelect
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
@ -268,7 +277,8 @@ export default {
|
|||
{ value: 1, label: '否' }
|
||||
],
|
||||
cantz: 1, // 0不可拖拽,1可拖拽
|
||||
scale: 1
|
||||
scale: 1,
|
||||
loading: false
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
@ -276,6 +286,12 @@ export default {
|
|||
this.getAvarerInfo()
|
||||
},
|
||||
methods: {
|
||||
TopMemberHandleChange(val) {
|
||||
if (val) {
|
||||
this.queryParams.memberCode = val
|
||||
this.getSearch()
|
||||
}
|
||||
},
|
||||
// 拖拽移动
|
||||
move(e) {
|
||||
if (this.cantz == 0) {
|
||||
|
@ -490,13 +506,17 @@ export default {
|
|||
}
|
||||
},
|
||||
getSearch() {
|
||||
this.loading = true
|
||||
getAzFramework(this.queryParams).then((res) => {
|
||||
this.data = res.data[0]
|
||||
// 默认是否展开
|
||||
this.toggleExpand(this.data, false)
|
||||
}).finally(() => {
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
reChongzhi() {
|
||||
resetHandle() {
|
||||
this.$refs.topMemberSelect.reset()
|
||||
this.queryParams = {
|
||||
memberSettlePeriodId: '', // 期数
|
||||
memberCode: '', // 会员编号
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
<div class="thetopbox">
|
||||
<el-form ref="form" :model="queryParams" label-width="100px">
|
||||
<el-row>
|
||||
<el-col :span="4">
|
||||
<TopMemberSelect ref="topMemberSelect" @change="TopMemberHandleChange" />
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item :label="'会员编号'" prop="memberCode">
|
||||
<el-input
|
||||
|
@ -35,8 +38,12 @@
|
|||
/></el-form-item></el-col>
|
||||
<el-col :span="4" style="margin-left: 30px">
|
||||
<div class="searchbox">
|
||||
<el-button class="searchbtn" @click="getSearch"> {{ '搜索' }}</el-button>
|
||||
<el-button @click="reChongzhi"> {{ '重置' }}</el-button>
|
||||
<el-button
|
||||
:loading="loading"
|
||||
class="searchbtn"
|
||||
@click="getSearch"
|
||||
> {{ '搜索' }}</el-button>
|
||||
<el-button @click="resetHandle"> {{ '重置' }}</el-button>
|
||||
<el-button @click="goback"> {{ '返回' }}</el-button>
|
||||
</div>
|
||||
</el-col>
|
||||
|
@ -229,10 +236,12 @@ import {
|
|||
getUrlBase
|
||||
} from '@/api/archityecture'
|
||||
import { isLocals } from '../../../utils/numberToCurrency'
|
||||
import TopMemberSelect from './components/top-member-select.vue'
|
||||
export default {
|
||||
name: 'Azjg5',
|
||||
components: {
|
||||
topBar
|
||||
topBar,
|
||||
TopMemberSelect
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
@ -272,7 +281,8 @@ export default {
|
|||
memberSettlePeriodList: [], // 期数
|
||||
|
||||
cantz: 1, // 0不可拖拽,1可拖拽
|
||||
scale: 1
|
||||
scale: 1,
|
||||
loading: false
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
@ -280,6 +290,12 @@ export default {
|
|||
this.getAvarerInfo()
|
||||
},
|
||||
methods: {
|
||||
TopMemberHandleChange(val) {
|
||||
if (val) {
|
||||
this.queryParams.memberCode = val
|
||||
this.getSearch()
|
||||
}
|
||||
},
|
||||
handleWheel(event) {
|
||||
if (this.cantz == 1) {
|
||||
event.preventDefault()
|
||||
|
@ -507,12 +523,16 @@ export default {
|
|||
}
|
||||
},
|
||||
getSearch() {
|
||||
this.loading = true
|
||||
getAzFramework5(this.queryParams).then((res) => {
|
||||
this.data = res.data[0]
|
||||
this.toggleExpand(this.data, true)
|
||||
}).finally(() => {
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
reChongzhi() {
|
||||
resetHandle() {
|
||||
this.$refs.topMemberSelect.reset()
|
||||
this.queryParams = {
|
||||
memberSettlePeriodId: '', // 期数
|
||||
memberCode: '', // 会员编号
|
||||
|
|
|
@ -0,0 +1,55 @@
|
|||
<template>
|
||||
<el-form-item label="顶点会员">
|
||||
<el-select
|
||||
v-model="pkVertex"
|
||||
clearable
|
||||
@change="handleChange"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in verList"
|
||||
:key="item.pkVertex"
|
||||
:label="`${item.memberCode} (${item.memberName})`"
|
||||
:value="item.memberCode"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import * as api from '@/api/settle.js'
|
||||
export default {
|
||||
name: 'TopMemberSelect',
|
||||
props: {
|
||||
model: {
|
||||
type: Object,
|
||||
default: () => {}
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
pkVertex: '',
|
||||
verList: []
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getList()
|
||||
},
|
||||
methods: {
|
||||
handleChange() {
|
||||
this.$emit('change', this.pkVertex)
|
||||
},
|
||||
getList() {
|
||||
api.topVertexList().then((res) => {
|
||||
this.verList = res.rows
|
||||
})
|
||||
},
|
||||
reset() {
|
||||
this.pkVertex = ''
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
|
@ -8,12 +8,16 @@
|
|||
<div class="thetopbox">
|
||||
<el-form ref="form" :model="queryParams" label-width="100px">
|
||||
<el-row>
|
||||
<el-col :span="4">
|
||||
<TopMemberSelect ref="topMemberSelect" @change="TopMemberHandleChange" />
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item :label="'会员编号'" prop="memberCode">
|
||||
<el-input
|
||||
v-model="queryParams.memberCode"
|
||||
clearable
|
||||
/></el-form-item></el-col>
|
||||
/></el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item :label="'结算期数'" prop="memberSettlePeriodId">
|
||||
<el-select
|
||||
|
@ -28,11 +32,8 @@
|
|||
:value="item.pkId"
|
||||
/>
|
||||
</el-select>
|
||||
<!-- <el-input
|
||||
clearable
|
||||
v-model="queryParams.memberSettlePeriodId"
|
||||
></el-input> -->
|
||||
</el-form-item></el-col>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item :label="'展示层数'" prop="level">
|
||||
<el-input
|
||||
|
@ -51,12 +52,17 @@
|
|||
</el-select> </el-form-item></el-col>
|
||||
<el-col :span="4" style="margin-left: 30px">
|
||||
<div class="searchbox">
|
||||
<el-button class="searchbtn" @click="getSearch"> {{ '搜索' }}</el-button>
|
||||
<el-button @click="reChongzhi"> {{ '重置' }}</el-button>
|
||||
<el-button
|
||||
:loading="loading"
|
||||
class="searchbtn"
|
||||
@click="getSearch"
|
||||
> {{ '搜索' }}</el-button>
|
||||
<el-button @click="resetHandle"> {{ '重置' }}</el-button>
|
||||
<el-button @click="goback"> {{ '返回' }}</el-button>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row></el-form>
|
||||
</el-row>
|
||||
</el-form>
|
||||
</div>
|
||||
<div class="lefttop">
|
||||
<div v-for="(item, index) in avaerInfoList" :key="index" class="single">
|
||||
|
@ -244,11 +250,13 @@ import {
|
|||
getMemberSettlePeriod,
|
||||
getUrlBase
|
||||
} from '@/api/archityecture'
|
||||
import TopMemberSelect from './components/top-member-select.vue'
|
||||
import { isLocals } from '../../../utils/numberToCurrency'
|
||||
export default {
|
||||
name: 'Azjg',
|
||||
components: {
|
||||
topBar
|
||||
topBar,
|
||||
TopMemberSelect
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
@ -293,7 +301,8 @@ export default {
|
|||
{ value: 0, label: '是' },
|
||||
{ value: 1, label: '否' }
|
||||
],
|
||||
scale: 1
|
||||
scale: 1,
|
||||
loading: false
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
@ -301,6 +310,12 @@ export default {
|
|||
this.getAvarerInfo()
|
||||
},
|
||||
methods: {
|
||||
TopMemberHandleChange(val) {
|
||||
if (val) {
|
||||
this.queryParams.memberCode = val
|
||||
this.getSearch()
|
||||
}
|
||||
},
|
||||
handleWheel(event) {
|
||||
if (this.cantz == 1) {
|
||||
event.preventDefault()
|
||||
|
@ -525,12 +540,16 @@ export default {
|
|||
// }
|
||||
},
|
||||
getSearch() {
|
||||
this.loading = true
|
||||
getAzFramework(this.queryParams).then((res) => {
|
||||
this.data = res.data[0]
|
||||
this.toggleExpand(this.data, true)
|
||||
}).finally(() => {
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
reChongzhi() {
|
||||
resetHandle() {
|
||||
this.$refs.topMemberSelect.reset()
|
||||
this.queryParams = {
|
||||
memberSettlePeriodId: '', // 期数
|
||||
memberCode: '', // 会员编号
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
<div class="page">
|
||||
<topBar
|
||||
v-if="topList.length > 0"
|
||||
:topList="topList"
|
||||
:top-list="topList"
|
||||
:moren="moren"
|
||||
></topBar>
|
||||
/>
|
||||
<div class="main">
|
||||
<el-form
|
||||
ref="select"
|
||||
|
@ -49,14 +49,13 @@
|
|||
<el-form-item :label="'业绩时间'">
|
||||
<el-date-picker
|
||||
v-model="creationTime"
|
||||
@change="changeTime"
|
||||
value-format="yyyy-MM-dd"
|
||||
type="daterange"
|
||||
:range-separator="'至'"
|
||||
:start-placeholder="'开始日期'"
|
||||
:end-placeholder="'结束日期'"
|
||||
>
|
||||
</el-date-picker>
|
||||
@change="changeTime"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
|
@ -67,21 +66,19 @@
|
|||
:key="item.pkVertex"
|
||||
:label="`${item.memberCode} (${item.memberName})`"
|
||||
:value="item.pkVertex"
|
||||
></el-option>
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4" style="margin-left: 10px">
|
||||
<el-button type="primary" @click="getDataList">
|
||||
{{ '搜索' }}</el-button
|
||||
>
|
||||
{{ '搜索' }}</el-button>
|
||||
<el-button type="primary" @click="reset">
|
||||
{{ '重置' }}</el-button
|
||||
>
|
||||
<el-button type="primary" v-hasButtons="['TopPerformanceTotal']" @click="getNewData"> 统计</el-button>
|
||||
{{ '重置' }}</el-button>
|
||||
<el-button v-hasButtons="['TopPerformanceTotal']" type="primary" @click="getNewData"> 统计</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row> </el-row>
|
||||
<el-row />
|
||||
<!-- <el-row>
|
||||
<el-col>
|
||||
<el-form-item :label="'隶属体系'">
|
||||
|
@ -120,13 +117,12 @@
|
|||
<div class="maintop">
|
||||
<div class="mainbtn">
|
||||
<el-button
|
||||
size="small"
|
||||
@click="handleExport"
|
||||
v-hasButtons="['TopPerformanceExport']"
|
||||
size="small"
|
||||
class="thebtn2"
|
||||
@click="handleExport"
|
||||
>
|
||||
{{ '导出' }}</el-button
|
||||
>
|
||||
{{ '导出' }}</el-button>
|
||||
</div>
|
||||
<!-- <div>
|
||||
<el-dropdown :hide-on-click="false" placement="top">
|
||||
|
@ -145,9 +141,9 @@
|
|||
<div class="maintable">
|
||||
<!-- <div class="itemTrading"> -->
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="tableData"
|
||||
ref="mainTable"
|
||||
v-loading="loading"
|
||||
:data="tableData"
|
||||
height="700px"
|
||||
:header-cell-style="{ background: '#EEEEEE' }"
|
||||
:summary-method="getSummaries"
|
||||
|
@ -155,13 +151,13 @@
|
|||
:row-class-name="tableRowClassName"
|
||||
@selection-change="handleSelectionChange"
|
||||
>
|
||||
<el-table-column type="selection" width="60"> </el-table-column>
|
||||
<el-table-column type="selection" width="60" />
|
||||
<el-table-column
|
||||
v-for="(item, index) in menuList"
|
||||
v-if="item.id != 0"
|
||||
:key="item.id"
|
||||
align="center"
|
||||
width="120"
|
||||
v-if="item.id != 0"
|
||||
:prop="item.prop"
|
||||
:label="item.text"
|
||||
>
|
||||
|
@ -187,217 +183,217 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import topBar from "@/components/topBar";
|
||||
import * as api from "@/api/settle.js";
|
||||
import { classifyUpdate, classifySave } from "@/api/product";
|
||||
import { getRouters } from "@/api/settle.js";
|
||||
import { isOther, numberToCurrencyNo } from "@/utils/numberToCurrency";
|
||||
import topBar from '@/components/topBar'
|
||||
import * as api from '@/api/settle.js'
|
||||
import { classifyUpdate, classifySave } from '@/api/product'
|
||||
import { getRouters } from '@/api/settle.js'
|
||||
import { isOther, numberToCurrencyNo } from '@/utils/numberToCurrency'
|
||||
export default {
|
||||
name: "Bzpz",
|
||||
name: 'Bzpz',
|
||||
components: {
|
||||
topBar,
|
||||
topBar
|
||||
},
|
||||
filters: {
|
||||
isAgree(val) {
|
||||
if (!val) {
|
||||
return '允许';
|
||||
return '允许'
|
||||
} else {
|
||||
return '禁止';
|
||||
return '禁止'
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
loading:false,
|
||||
loading: false,
|
||||
typeList: [
|
||||
{
|
||||
value: 0,
|
||||
label: '前台',
|
||||
label: '前台'
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: '后台',
|
||||
},
|
||||
label: '后台'
|
||||
}
|
||||
],
|
||||
digList: [
|
||||
{
|
||||
value: 0,
|
||||
label: '允许',
|
||||
label: '允许'
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: '禁止',
|
||||
},
|
||||
label: '禁止'
|
||||
}
|
||||
],
|
||||
menuList: [
|
||||
{
|
||||
id: 0,
|
||||
text: '全选',
|
||||
checked: false,
|
||||
checked: false
|
||||
},
|
||||
{
|
||||
id: 1,
|
||||
text: '顶点编号',
|
||||
checked: true,
|
||||
prop: "memberCode",
|
||||
prop: 'memberCode'
|
||||
},
|
||||
{
|
||||
id: 31,
|
||||
text: '顶点名称',
|
||||
checked: true,
|
||||
prop: "memberName",
|
||||
prop: 'memberName'
|
||||
},
|
||||
{
|
||||
id: 27,
|
||||
text: '业绩时间',
|
||||
checked: false,
|
||||
prop: "creationTime",
|
||||
prop: 'creationTime'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
text: '隶属团队',
|
||||
checked: true,
|
||||
prop: "teamName",
|
||||
prop: 'teamName'
|
||||
},
|
||||
{
|
||||
id: 28,
|
||||
text: "首购PV拨比(%)",
|
||||
text: '首购PV拨比(%)',
|
||||
checked: true,
|
||||
prop: "mainBonusPvRate",
|
||||
total: "mainBonusPvRateSum",
|
||||
prop: 'mainBonusPvRate',
|
||||
total: 'mainBonusPvRateSum'
|
||||
},
|
||||
{
|
||||
id: 29,
|
||||
text: "复购PV拨比(%)",
|
||||
text: '复购PV拨比(%)',
|
||||
checked: true,
|
||||
prop: "repurBonusPvRate",
|
||||
total: "repurBonusPvRateSum",
|
||||
prop: 'repurBonusPvRate',
|
||||
total: 'repurBonusPvRateSum'
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
text: `${'注册专区'}(¥)`,
|
||||
checked: true,
|
||||
prop: "mainRegAmount",
|
||||
total: "mainRegAmountSum",
|
||||
prop: 'mainRegAmount',
|
||||
total: 'mainRegAmountSum'
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
text: `${'升级专区'}(¥)`,
|
||||
checked: true,
|
||||
prop: "mainUpAmount",
|
||||
total: "mainUpAmountSum",
|
||||
prop: 'mainUpAmount',
|
||||
total: 'mainUpAmountSum'
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
text: `${'云代注册'}(¥)`,
|
||||
checked: true,
|
||||
prop: "agentRegAmount",
|
||||
total: "agentRegAmountSum",
|
||||
prop: 'agentRegAmount',
|
||||
total: 'agentRegAmountSum'
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
text: `${'云代升级'}(¥)`,
|
||||
checked: true,
|
||||
prop: "agentUpAmount",
|
||||
total: "agentUpAmountSum",
|
||||
prop: 'agentUpAmount',
|
||||
total: 'agentUpAmountSum'
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
text: `${'首购金额'}(¥)`,
|
||||
checked: true,
|
||||
prop: "firstPurchaseAll",
|
||||
total: "firstPurchaseAllSum",
|
||||
prop: 'firstPurchaseAll',
|
||||
total: 'firstPurchaseAllSum'
|
||||
},
|
||||
{
|
||||
id: 30,
|
||||
text: `能量舱金额(¥)`,
|
||||
checked: true,
|
||||
prop: "energyAmountAll",
|
||||
total: "energyAmountAllSum",
|
||||
prop: 'energyAmountAll',
|
||||
total: 'energyAmountAllSum'
|
||||
},
|
||||
{
|
||||
id: 8,
|
||||
text: `${'直推收益'}(¥)`,
|
||||
checked: true,
|
||||
prop: "introduceBonus",
|
||||
total: "introduceBonusSum",
|
||||
prop: 'introduceBonus',
|
||||
total: 'introduceBonusSum'
|
||||
},
|
||||
{
|
||||
id: 9,
|
||||
text: `${'拓展收益'}(¥)`,
|
||||
checked: true,
|
||||
prop: "orgBonus",
|
||||
total: "orgBonusSum",
|
||||
prop: 'orgBonus',
|
||||
total: 'orgBonusSum'
|
||||
},
|
||||
{
|
||||
id: 10,
|
||||
text: `${'辅导收益'}(¥)`,
|
||||
checked: true,
|
||||
prop: "leaderBonus",
|
||||
total: "leaderBonusSum",
|
||||
prop: 'leaderBonus',
|
||||
total: 'leaderBonusSum'
|
||||
},
|
||||
{
|
||||
id: 11,
|
||||
text: `${'分红收益'}(¥)`,
|
||||
checked: true,
|
||||
prop: "shareBonus",
|
||||
total: "shareBonusSum",
|
||||
prop: 'shareBonus',
|
||||
total: 'shareBonusSum'
|
||||
},
|
||||
{
|
||||
id: 12,
|
||||
text: `${'服务补贴'}(¥)`,
|
||||
checked: true,
|
||||
prop: "serviceBonus",
|
||||
total: "serviceBonusSum",
|
||||
prop: 'serviceBonus',
|
||||
total: 'serviceBonusSum'
|
||||
},
|
||||
{
|
||||
id: 33,
|
||||
text: `创客空间直推收益(¥)`,
|
||||
checked: true,
|
||||
prop: "makerDirect",
|
||||
total: "makerDirectSum",
|
||||
prop: 'makerDirect',
|
||||
total: 'makerDirectSum'
|
||||
},
|
||||
{
|
||||
id: 32,
|
||||
text: `创客空间共享收益(¥)`,
|
||||
checked: true,
|
||||
prop: "makerShare",
|
||||
total: "makerShareSum",
|
||||
prop: 'makerShare',
|
||||
total: 'makerShareSum'
|
||||
},
|
||||
{
|
||||
id: 13,
|
||||
text: `${'云代直推'}(¥)`,
|
||||
checked: true,
|
||||
prop: "agentIntroduceBonus",
|
||||
total: "agentIntroduceBonusSum",
|
||||
prop: 'agentIntroduceBonus',
|
||||
total: 'agentIntroduceBonusSum'
|
||||
},
|
||||
{
|
||||
id: 14,
|
||||
text: `${'云代首购'}(¥)`,
|
||||
checked: true,
|
||||
prop: "agentFirstAmount",
|
||||
total: "agentFirstAmountSum",
|
||||
prop: 'agentFirstAmount',
|
||||
total: 'agentFirstAmountSum'
|
||||
},
|
||||
{
|
||||
id: 15,
|
||||
text: `${'云代复购'}(¥)`,
|
||||
checked: true,
|
||||
prop: "agentRepurAmount",
|
||||
total: "agentRepurAmountSum",
|
||||
prop: 'agentRepurAmount',
|
||||
total: 'agentRepurAmountSum'
|
||||
},
|
||||
{
|
||||
id: 16,
|
||||
text: `${'复购专区'}(¥)`,
|
||||
checked: true,
|
||||
prop: "mainRepurAmount",
|
||||
total: "mainRepurAmountSum",
|
||||
prop: 'mainRepurAmount',
|
||||
total: 'mainRepurAmountSum'
|
||||
},
|
||||
{
|
||||
id: 17,
|
||||
text: `${'海粉专区'}(¥)`,
|
||||
checked: true,
|
||||
prop: "hifansRegAmount",
|
||||
total: "hifansRegAmountSum",
|
||||
prop: 'hifansRegAmount',
|
||||
total: 'hifansRegAmountSum'
|
||||
},
|
||||
// {
|
||||
// id: 16,
|
||||
|
@ -409,65 +405,65 @@ export default {
|
|||
id: 18,
|
||||
text: `${'复购金额'}(¥)`,
|
||||
checked: false,
|
||||
prop: "repurchaseAllAmount",
|
||||
total: "repurchaseAllAmountSum",
|
||||
prop: 'repurchaseAllAmount',
|
||||
total: 'repurchaseAllAmountSum'
|
||||
},
|
||||
{
|
||||
id: 19,
|
||||
text: `${'复购极差收益'}(¥)`,
|
||||
checked: false,
|
||||
prop: "repurRangeBonus",
|
||||
total: "repurRangeBonusSum",
|
||||
prop: 'repurRangeBonus',
|
||||
total: 'repurRangeBonusSum'
|
||||
},
|
||||
{
|
||||
id: 20,
|
||||
text: `${'复购拓展收益'}(¥)`,
|
||||
checked: false,
|
||||
prop: "repurOrgBonus",
|
||||
total: "repurOrgBonusSum",
|
||||
prop: 'repurOrgBonus',
|
||||
total: 'repurOrgBonusSum'
|
||||
},
|
||||
{
|
||||
id: 21,
|
||||
text: `${'首购拨出金额'}(¥)`,
|
||||
checked: false,
|
||||
prop: "mainBonus",
|
||||
total: "mainBonusSum",
|
||||
prop: 'mainBonus',
|
||||
total: 'mainBonusSum'
|
||||
},
|
||||
{
|
||||
id: 22,
|
||||
text: '首购拨出比例' + "(%)",
|
||||
text: '首购拨出比例' + '(%)',
|
||||
checked: false,
|
||||
prop: "mainBonusRate",
|
||||
total: "mainBonusRateSum",
|
||||
prop: 'mainBonusRate',
|
||||
total: 'mainBonusRateSum'
|
||||
},
|
||||
{
|
||||
id: 23,
|
||||
text: `${'复购拨出金额'}(¥)`,
|
||||
checked: false,
|
||||
prop: "repurBonus",
|
||||
total: "repurBonusSum",
|
||||
prop: 'repurBonus',
|
||||
total: 'repurBonusSum'
|
||||
},
|
||||
{
|
||||
id: 24,
|
||||
text: '复购拨出比例' + "(%)",
|
||||
text: '复购拨出比例' + '(%)',
|
||||
checked: false,
|
||||
prop: "repurBonusRate",
|
||||
total: "repurBonusRateSum",
|
||||
prop: 'repurBonusRate',
|
||||
total: 'repurBonusRateSum'
|
||||
},
|
||||
{
|
||||
id: 25,
|
||||
text: `${'总拨出金额'}(¥)`,
|
||||
checked: false,
|
||||
prop: "totalBonus",
|
||||
total: "totalBonusSum",
|
||||
prop: 'totalBonus',
|
||||
total: 'totalBonusSum'
|
||||
},
|
||||
{
|
||||
id: 26,
|
||||
text: '总拨出比例' + "(%)",
|
||||
text: '总拨出比例' + '(%)',
|
||||
checked: false,
|
||||
prop: "totalBonusRate",
|
||||
total: "totalBonusRateSum",
|
||||
},
|
||||
prop: 'totalBonusRate',
|
||||
total: 'totalBonusRateSum'
|
||||
}
|
||||
|
||||
// {
|
||||
// id: 28,
|
||||
|
@ -480,26 +476,26 @@ export default {
|
|||
creationTime1: [],
|
||||
select: {
|
||||
pkVertexList: [],
|
||||
pkMemberTeamList: [],
|
||||
pkMemberTeamList: []
|
||||
},
|
||||
// 查询参数
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 50,
|
||||
pageSize: 50
|
||||
},
|
||||
addOrEdit: "",
|
||||
addOrEdit: '',
|
||||
total: 0,
|
||||
dialogVisible: false,
|
||||
tableData: [],
|
||||
moren: "/settlementCenter/topPerformance",
|
||||
moren: '/settlementCenter/topPerformance',
|
||||
topList: [
|
||||
{
|
||||
name: '顶点奖金拨比列表统计',
|
||||
path: "/settlementCenter/topPerformance",
|
||||
url: "topPerformance",
|
||||
changed: false,
|
||||
},
|
||||
|
||||
path: '/settlementCenter/topPerformance',
|
||||
url: 'topPerformance',
|
||||
changed: false
|
||||
}
|
||||
|
||||
],
|
||||
form: {},
|
||||
verList: [],
|
||||
|
@ -508,25 +504,25 @@ export default {
|
|||
tableList: {},
|
||||
props: {
|
||||
multiple: true,
|
||||
expandTrigger: "hover",
|
||||
value: "pkId",
|
||||
label: "vertexName",
|
||||
children: "childList",
|
||||
},
|
||||
};
|
||||
expandTrigger: 'hover',
|
||||
value: 'pkId',
|
||||
label: 'vertexName',
|
||||
children: 'childList'
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
// 获取下拉
|
||||
this.getData();
|
||||
this.getData()
|
||||
// 获取列表
|
||||
this.getDataList();
|
||||
this.getDataList()
|
||||
// this.getUserRoute();
|
||||
},
|
||||
methods: {
|
||||
getPkBdVertexStr(e) {
|
||||
let arr = e.map((item) => item[1]);
|
||||
let pkBdVertexStr = arr.join(",");
|
||||
this.$set(this.select, "pkBdVertexStr", pkBdVertexStr);
|
||||
const arr = e.map((item) => item[1])
|
||||
const pkBdVertexStr = arr.join(',')
|
||||
this.$set(this.select, 'pkBdVertexStr', pkBdVertexStr)
|
||||
},
|
||||
// getpkVertex() {
|
||||
// let pkBdVertexStr = this.select.pkVertexList.join(',')
|
||||
|
@ -541,25 +537,25 @@ export default {
|
|||
.topSubtotal(Object.assign({}, this.queryParams, this.select))
|
||||
.then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.tableList = res.data;
|
||||
this.tableList = res.data
|
||||
}
|
||||
});
|
||||
})
|
||||
},
|
||||
getSummaries(param) {
|
||||
let arr = [];
|
||||
const arr = []
|
||||
this.menuList.forEach((item) => {
|
||||
for (var i in this.tableList) {
|
||||
if (i == item.total) {
|
||||
arr.push(numberToCurrencyNo(this.tableList[i]));
|
||||
arr.push(numberToCurrencyNo(this.tableList[i]))
|
||||
}
|
||||
}
|
||||
});
|
||||
arr.unshift("合计", "", "", "", "");
|
||||
arr.push("");
|
||||
})
|
||||
arr.unshift('合计', '', '', '', '')
|
||||
arr.push('')
|
||||
this.$nextTick(() => {
|
||||
this.$refs.mainTable.doLayout();
|
||||
});
|
||||
return arr;
|
||||
this.$refs.mainTable.doLayout()
|
||||
})
|
||||
return arr
|
||||
// return []
|
||||
},
|
||||
getUserRoute() {
|
||||
|
@ -567,25 +563,25 @@ export default {
|
|||
res.data.forEach((item) => {
|
||||
this.topList.forEach((items) => {
|
||||
if (item.routeName == items.url) {
|
||||
items.changed = true;
|
||||
items.changed = true
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
})
|
||||
})
|
||||
})
|
||||
},
|
||||
reset() {
|
||||
this.select = {
|
||||
pkVertexList: [],
|
||||
pkMemberTeamList: [],
|
||||
pkTeamCodeStr: "",
|
||||
pkBdVertexStr: "",
|
||||
};
|
||||
this.creationTime = [];
|
||||
pkTeamCodeStr: '',
|
||||
pkBdVertexStr: ''
|
||||
}
|
||||
this.creationTime = []
|
||||
},
|
||||
getData() {
|
||||
api.accountList().then((res) => {
|
||||
this.acList = res.data;
|
||||
});
|
||||
this.acList = res.data
|
||||
})
|
||||
// api.vertexList().then((res) => {
|
||||
// this.verList = res.data
|
||||
// })
|
||||
|
@ -593,24 +589,24 @@ export default {
|
|||
// this.memberList = res.rows
|
||||
// })
|
||||
api.topVertexList().then((res) => {
|
||||
this.verList = res.rows;
|
||||
});
|
||||
this.verList = res.rows
|
||||
})
|
||||
},
|
||||
changeTime(val) {
|
||||
this.select.startDate = val ? val[0] : "";
|
||||
this.select.endDate = val ? val[1] : "";
|
||||
this.select.startDate = val ? val[0] : ''
|
||||
this.select.endDate = val ? val[1] : ''
|
||||
},
|
||||
changeTime1(val) {
|
||||
this.select.startEffectDate = val ? val[0] : "";
|
||||
this.select.endEffectDate = val ? val[1] : "";
|
||||
this.select.startEffectDate = val ? val[0] : ''
|
||||
this.select.endEffectDate = val ? val[1] : ''
|
||||
},
|
||||
getNewData() {
|
||||
this.loading = true
|
||||
api
|
||||
.topBonusListHistory(Object.assign({}, this.queryParams, this.select))
|
||||
.then((res) => {
|
||||
this.getDataList();
|
||||
});
|
||||
this.getDataList()
|
||||
})
|
||||
},
|
||||
getDataList() {
|
||||
api
|
||||
|
@ -618,11 +614,11 @@ export default {
|
|||
.then((res) => {
|
||||
this.loading = false
|
||||
if (res.code == 200) {
|
||||
this.tableData = res.rows;
|
||||
this.total = res.total;
|
||||
this.getTotal();
|
||||
this.tableData = res.rows
|
||||
this.total = res.total
|
||||
this.getTotal()
|
||||
}
|
||||
});
|
||||
})
|
||||
},
|
||||
handleSelectionChange(val) {},
|
||||
/** 导出按钮操作 */
|
||||
|
@ -630,25 +626,25 @@ export default {
|
|||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
type: 'warning'
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
"/member/manage/bonus-vertex-statis/export",
|
||||
'/member/manage/bonus-vertex-statis/export',
|
||||
Object.assign({}, this.queryParams, this.select),
|
||||
`顶点奖金拨比列表统计-${new Date().getTime()}.xlsx`
|
||||
);
|
||||
});
|
||||
)
|
||||
})
|
||||
},
|
||||
tableRowClassName({ row, rowIndex }) {
|
||||
if (rowIndex % 2 == 1) {
|
||||
return "warning-row";
|
||||
return 'warning-row'
|
||||
} else if (rowIndex % 2 == 0) {
|
||||
return "success-row";
|
||||
return 'success-row'
|
||||
}
|
||||
return "";
|
||||
},
|
||||
},
|
||||
};
|
||||
return ''
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped lang="scss">
|
||||
::v-deep .el-table .warning-row {
|
||||
|
|
|
@ -126,22 +126,6 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item :label="'考核通过'" prop="isAssess">
|
||||
<el-select
|
||||
v-model="queryParams.isAssess"
|
||||
clearable
|
||||
:placeholder="'请选择'"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in yesornoList"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="4">
|
||||
<div class="searchbox">
|
||||
|
@ -209,11 +193,6 @@
|
|||
prop="pkGradeVal"
|
||||
:label="'结算等级'"
|
||||
/>
|
||||
<el-table-column
|
||||
align="center"
|
||||
prop="oldAwardsName"
|
||||
label="历史荣誉奖衔"
|
||||
/>
|
||||
<el-table-column
|
||||
align="center"
|
||||
prop="pkAwardsVal"
|
||||
|
@ -271,12 +250,6 @@
|
|||
prop="bBalance"
|
||||
:label="'右区结余'"
|
||||
/>
|
||||
<el-table-column
|
||||
align="center"
|
||||
prop="assessStatusVal"
|
||||
min-width="100px"
|
||||
:label="'考核状态'"
|
||||
/>
|
||||
<el-table-column
|
||||
align="center"
|
||||
prop="payTime"
|
||||
|
@ -337,7 +310,6 @@ export default {
|
|||
gradeRangList: [],
|
||||
|
||||
enumsUpdownList: [],
|
||||
yesornoList: [],
|
||||
placeDeptList: []
|
||||
}
|
||||
},
|
||||
|
@ -362,9 +334,7 @@ export default {
|
|||
getgradeRanglist().then((res) => {
|
||||
this.gradeRangList = res.data
|
||||
})
|
||||
sta.getYesornoList().then((res) => {
|
||||
this.yesornoList = res.data
|
||||
})
|
||||
|
||||
sta.getEnumsUpDown().then((res) => {
|
||||
this.enumsUpdownList = res.data
|
||||
})
|
||||
|
|
|
@ -110,22 +110,6 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item :label="'考核通过'" prop="isAssess">
|
||||
<el-select
|
||||
v-model="queryParams.isAssess"
|
||||
clearable
|
||||
:placeholder="'请选择'"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in yesornoList"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="4">
|
||||
<div class="searchbox">
|
||||
|
@ -240,12 +224,6 @@
|
|||
prop="categoryVal"
|
||||
:label="'会员类型'"
|
||||
/>
|
||||
<el-table-column
|
||||
align="center"
|
||||
prop="assessStatusVal"
|
||||
min-width="100px"
|
||||
:label="'考核状态'"
|
||||
/>
|
||||
<el-table-column
|
||||
align="center"
|
||||
prop="payTime"
|
||||
|
@ -324,9 +302,6 @@ export default {
|
|||
getgradeRanglist().then((res) => {
|
||||
this.gradeRangList = res.data
|
||||
})
|
||||
sta.getYesornoList().then((res) => {
|
||||
this.yesornoList = res.data
|
||||
})
|
||||
sta.getEnumsUpDown().then(res => {
|
||||
this.enumsUpdownList = res.data
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue