feat(global): 移除创客空间相关代码
This commit is contained in:
parent
bfa35f13b6
commit
f23e09aabf
|
@ -415,33 +415,6 @@ export function superStudioSpaceUpload(data) {
|
|||
})
|
||||
}
|
||||
|
||||
// 创客空间推荐
|
||||
export function recommendSub(data) {
|
||||
return request({
|
||||
url: '/member/manage/maker-space/recommend',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 创客空间上传
|
||||
export function recommendSubUpload(data) {
|
||||
return request({
|
||||
url: '/member/manage/maker-space/upload-data-submit',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 创客空间取消推荐
|
||||
export function recommendCancel(data) {
|
||||
return request({
|
||||
url: '/member/manage/maker-space/recommend-cancel',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改政策币发起签呈
|
||||
export function updatePolicy(data) {
|
||||
return request({
|
||||
|
@ -874,33 +847,6 @@ export function submitMemberRenewal(data) {
|
|||
})
|
||||
}
|
||||
|
||||
// 创客空间有舱发起签呈
|
||||
export function cabinSubmit(data) {
|
||||
return request({
|
||||
url: 'member/manage/maker-space/cabinSubmit',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 创客空间新协议发起签呈
|
||||
export function accordSubmit(data) {
|
||||
return request({
|
||||
url: '/member/manage/maker-space/accordSubmit',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 沙棘权益赠送
|
||||
export function submitSeabuckEquityGift(data) {
|
||||
return request({
|
||||
url: '/activity/manage/equity-config/online-petition',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 免密登录
|
||||
export function freeLogin(data) {
|
||||
return request({
|
||||
|
|
|
@ -74,87 +74,6 @@ export function productUpdate(data) {
|
|||
})
|
||||
}
|
||||
|
||||
// 获取创客空间列表
|
||||
export function markerSpace(params) {
|
||||
return request({
|
||||
url: '/member/manage/maker-space/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 超级工作室空间驳回
|
||||
export function superStudioReject(data) {
|
||||
return request({
|
||||
url: '/member/manage/super-studio/reject',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 经销商驳回
|
||||
export function dealerReject(data) {
|
||||
return request({
|
||||
url: '/member/manage/dealer/reject',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 创客空间驳回
|
||||
export function makerSpaceReject(data) {
|
||||
return request({
|
||||
url: '/member/manage/maker-space/reject',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取创客空间详情
|
||||
export function markerSpaceDetail(params) {
|
||||
return request({
|
||||
url: '/member/manage/maker-space/detail',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 获取超级工作室列表
|
||||
export function superStudioList(params) {
|
||||
return request({
|
||||
url: '/member/manage/super-studio/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 获取超级工作室详情
|
||||
export function superStudioDetails(params) {
|
||||
return request({
|
||||
url: '/member/manage/super-studio/detail',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 获取经销商工作室列表
|
||||
export function dealerList(params) {
|
||||
return request({
|
||||
url: '/member/manage/dealer/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 获取经销商详情
|
||||
export function dealerDetails(params) {
|
||||
return request({
|
||||
url: '/member/manage/dealer/detail',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 更新团队信息
|
||||
export function updateTeams(data) {
|
||||
return request({
|
||||
|
@ -294,24 +213,6 @@ export function placeImg(data) {
|
|||
})
|
||||
}
|
||||
|
||||
// 创客空间发起人修改关联编码
|
||||
export function upCabinCode(data) {
|
||||
return request({
|
||||
url: '/member/manage/maker-space/upCabinCode',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 创客空间发起人修改关联编码确认接口
|
||||
export function upCabinCodeConfirm(data) {
|
||||
return request({
|
||||
url: '/member/manage/maker-space/upCabinCode-confirm',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 隶属团队
|
||||
export function listNoPage(params) {
|
||||
return request({
|
||||
|
|
|
@ -246,38 +246,6 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<!-- <el-col :span="4">-->
|
||||
<!-- <el-form-item label="营业执照" prop="isBusLicense">-->
|
||||
<!-- <el-select-->
|
||||
<!-- clearable-->
|
||||
<!-- :placeholder="'请选择'"-->
|
||||
<!-- v-model="queryParams.isBusLicense"-->
|
||||
<!-- >-->
|
||||
<!-- <el-option-->
|
||||
<!-- v-for="item in yesnouploadsList"-->
|
||||
<!-- :key="item.value"-->
|
||||
<!-- :label="item.label"-->
|
||||
<!-- :value="item.value"-->
|
||||
<!-- ></el-option>-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- </el-col>-->
|
||||
<!-- <el-col :span="4">
|
||||
<el-form-item :label="'讲师等级'" prop="isMakerSpace">
|
||||
<el-select
|
||||
v-model="queryParams.lecturerLevel"
|
||||
clearable
|
||||
:placeholder="'请选择'"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in lecturerLevel"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col> -->
|
||||
<el-col :span="4">
|
||||
<el-form-item :label="'订单类型'" prop="orderSource">
|
||||
<el-select
|
||||
|
@ -392,22 +360,6 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<!-- <el-col :span="4">
|
||||
<el-form-item label="创客合伙人">
|
||||
<el-select
|
||||
v-model="queryParams.isMakerGift"
|
||||
clearable
|
||||
:placeholder="'请选择'"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in this.dealerList"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col> -->
|
||||
|
||||
<el-col :span="8">
|
||||
<el-form-item :label="'创建日期'" prop="code">
|
||||
|
@ -1077,7 +1029,6 @@ export default {
|
|||
isRealName: '', // 实名认证
|
||||
isBusLicense: '', // 营业执照
|
||||
orderSource: '', // 订单状态
|
||||
isMakerSpace: '', // 创客空间
|
||||
centerMemberCode: '', // 服务中心编号
|
||||
centerMemberName: '', // 服务中心姓名
|
||||
parMemberCode: '', // 推荐编号
|
||||
|
|
|
@ -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,39 +49,36 @@
|
|||
<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">
|
||||
<el-form-item :label="'隶属体系'">
|
||||
<el-cascader
|
||||
:options="verList"
|
||||
v-model="select.pkBdVertexStred"
|
||||
@change="getPkBdVertexStr"
|
||||
:options="verList"
|
||||
:props="props"
|
||||
collapse-tags
|
||||
clearable
|
||||
></el-cascader>
|
||||
@change="getPkBdVertexStr"
|
||||
/>
|
||||
</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="['performanceListTotal']" @click="getNewData"> 统计</el-button>
|
||||
{{ '重置' }}</el-button>
|
||||
<el-button v-hasButtons="['performanceListTotal']" 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="['performanceListExport']"
|
||||
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,211 +183,197 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import topBar from "@/components/topBarRole";
|
||||
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/topBarRole'
|
||||
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: "vertexName",
|
||||
prop: 'vertexName'
|
||||
},
|
||||
{
|
||||
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",
|
||||
},
|
||||
{
|
||||
id: 31,
|
||||
text: `创客空间直推收益(¥)`,
|
||||
checked: true,
|
||||
prop: "makerDirect",
|
||||
total: "makerDirectSum",
|
||||
},
|
||||
{
|
||||
id: 32,
|
||||
text: `创客空间共享收益(¥)`,
|
||||
checked: true,
|
||||
prop: "makerShare",
|
||||
total: "makerShareSum",
|
||||
prop: 'serviceBonus',
|
||||
total: 'serviceBonusSum'
|
||||
},
|
||||
{
|
||||
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,
|
||||
|
@ -403,65 +385,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,
|
||||
|
@ -474,43 +456,43 @@ export default {
|
|||
creationTime1: [],
|
||||
select: {
|
||||
pkVertexList: [],
|
||||
pkMemberTeamList: [],
|
||||
pkMemberTeamList: []
|
||||
},
|
||||
// 查询参数
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 50,
|
||||
pageSize: 50
|
||||
},
|
||||
addOrEdit: "",
|
||||
addOrEdit: '',
|
||||
total: 0,
|
||||
dialogVisible: false,
|
||||
tableData: [],
|
||||
moren: "/settlementCenter/performanceList",
|
||||
moren: '/settlementCenter/performanceList',
|
||||
topList: [
|
||||
{
|
||||
name: '拨比图型',
|
||||
path: "/settlementCenter/performanceRatio",
|
||||
url: "performanceRatio",
|
||||
changed: false,
|
||||
path: '/settlementCenter/performanceRatio',
|
||||
url: 'performanceRatio',
|
||||
changed: false
|
||||
},
|
||||
{
|
||||
name: '拨比图表',
|
||||
path: "/settlementCenter/performanceChart",
|
||||
url: "performanceChart",
|
||||
changed: false,
|
||||
path: '/settlementCenter/performanceChart',
|
||||
url: 'performanceChart',
|
||||
changed: false
|
||||
},
|
||||
{
|
||||
name: '拨比列表',
|
||||
path: "/settlementCenter/performanceList",
|
||||
url: "performanceList",
|
||||
changed: false,
|
||||
path: '/settlementCenter/performanceList',
|
||||
url: 'performanceList',
|
||||
changed: false
|
||||
},
|
||||
{
|
||||
name: '个人伞下拨比查询',
|
||||
path: "/settlementCenter/personalAllocation",
|
||||
url: "PersonalAllocation",
|
||||
changed: false,
|
||||
},
|
||||
path: '/settlementCenter/personalAllocation',
|
||||
url: 'PersonalAllocation',
|
||||
changed: false
|
||||
}
|
||||
],
|
||||
form: {},
|
||||
verList: [],
|
||||
|
@ -519,25 +501,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.getUserRoute();
|
||||
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(',')
|
||||
|
@ -552,25 +534,25 @@ export default {
|
|||
.subtotal(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() {
|
||||
|
@ -578,36 +560,36 @@ 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 = []
|
||||
},
|
||||
getMenu(e, id) {
|
||||
if (e && id == 0) {
|
||||
this.menuList.forEach((item) => {
|
||||
this.$set(item, "checked", true);
|
||||
});
|
||||
this.$set(item, 'checked', true)
|
||||
})
|
||||
} else if (!e && id == 0) {
|
||||
this.menuList.forEach((item) => {
|
||||
this.$set(item, "checked", false);
|
||||
});
|
||||
this.$set(item, 'checked', false)
|
||||
})
|
||||
}
|
||||
},
|
||||
getData() {
|
||||
api.accountList().then((res) => {
|
||||
this.acList = res.data;
|
||||
});
|
||||
this.acList = res.data
|
||||
})
|
||||
// api.vertexList().then((res) => {
|
||||
// this.verList = res.data
|
||||
// })
|
||||
|
@ -615,24 +597,24 @@ export default {
|
|||
// this.memberList = res.rows
|
||||
// })
|
||||
api.vertexChild().then((res) => {
|
||||
this.verList = res.data;
|
||||
});
|
||||
this.verList = res.data
|
||||
})
|
||||
},
|
||||
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
|
||||
.bonusListHistory(Object.assign({}, this.queryParams, this.select))
|
||||
.then((res) => {
|
||||
this.getDataList();
|
||||
});
|
||||
this.getDataList()
|
||||
})
|
||||
},
|
||||
getDataList() {
|
||||
api
|
||||
|
@ -640,11 +622,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) {},
|
||||
/** 导出按钮操作 */
|
||||
|
@ -652,25 +634,25 @@ export default {
|
|||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
type: 'warning'
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
"/member/manage/bonus-statis/export",
|
||||
'/member/manage/bonus-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 {
|
||||
|
|
|
@ -346,20 +346,6 @@ export default {
|
|||
prop: 'serviceBonus',
|
||||
total: 'serviceBonusSum'
|
||||
},
|
||||
{
|
||||
id: 33,
|
||||
text: `创客空间直推收益(¥)`,
|
||||
checked: true,
|
||||
prop: 'makerDirect',
|
||||
total: 'makerDirectSum'
|
||||
},
|
||||
{
|
||||
id: 32,
|
||||
text: `创客空间共享收益(¥)`,
|
||||
checked: true,
|
||||
prop: 'makerShare',
|
||||
total: 'makerShareSum'
|
||||
},
|
||||
{
|
||||
id: 13,
|
||||
text: `${'云代直推'}(¥)`,
|
||||
|
|
|
@ -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,17 +66,15 @@
|
|||
: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>
|
||||
<!-- <el-button
|
||||
type="primary"
|
||||
v-hasButtons="['TopPerformanceTotal']"
|
||||
|
@ -87,7 +84,7 @@
|
|||
> -->
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row> </el-row>
|
||||
<el-row />
|
||||
<!-- <el-row>
|
||||
<el-col>
|
||||
<el-form-item :label="'隶属体系'">
|
||||
|
@ -126,13 +123,12 @@
|
|||
<div class="maintop">
|
||||
<div class="mainbtn">
|
||||
<el-button
|
||||
size="small"
|
||||
@click="handleExport"
|
||||
v-hasButtons="['topPerformanceTotalExport']"
|
||||
size="small"
|
||||
class="thebtn2"
|
||||
@click="handleExport"
|
||||
>
|
||||
{{ '导出' }}</el-button
|
||||
>
|
||||
{{ '导出' }}</el-button>
|
||||
</div>
|
||||
<!-- <div>
|
||||
<el-dropdown :hide-on-click="false" placement="top">
|
||||
|
@ -151,9 +147,9 @@
|
|||
<div class="maintable">
|
||||
<!-- <div class="itemTrading"> -->
|
||||
<el-table
|
||||
ref="mainTable"
|
||||
v-loading="loading"
|
||||
:data="tableData"
|
||||
ref="mainTable"
|
||||
height="700px"
|
||||
:header-cell-style="{ background: '#EEEEEE' }"
|
||||
:summary-method="getSummaries"
|
||||
|
@ -161,7 +157,7 @@
|
|||
: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"
|
||||
:key="index"
|
||||
|
@ -192,24 +188,24 @@
|
|||
</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 {
|
||||
|
@ -217,126 +213,122 @@ export default {
|
|||
typeList: [
|
||||
{
|
||||
value: 0,
|
||||
label: '前台',
|
||||
label: '前台'
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: '后台',
|
||||
},
|
||||
label: '后台'
|
||||
}
|
||||
],
|
||||
digList: [
|
||||
{
|
||||
value: 0,
|
||||
label: '允许',
|
||||
label: '允许'
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: '禁止',
|
||||
},
|
||||
label: '禁止'
|
||||
}
|
||||
],
|
||||
menuList: [
|
||||
{
|
||||
text: "系统编号",
|
||||
prop: "memberCode",
|
||||
text: '系统编号',
|
||||
prop: 'memberCode'
|
||||
},
|
||||
{
|
||||
text: "顶点名称",
|
||||
prop: "memberName",
|
||||
text: '顶点名称',
|
||||
prop: 'memberName'
|
||||
},
|
||||
{
|
||||
text: `${'首购金额'}(¥)`,
|
||||
prop: "firstPurchaseAll",
|
||||
prop: 'firstPurchaseAll'
|
||||
},
|
||||
{
|
||||
text: `首购金额占比(%)`,
|
||||
prop: "firstPurchaseRatio",
|
||||
prop: 'firstPurchaseRatio'
|
||||
},
|
||||
{
|
||||
text: `能量舱金额(¥)`,
|
||||
prop: "energyAmountAll",
|
||||
prop: 'energyAmountAll'
|
||||
},
|
||||
{
|
||||
text: `能量舱金额占比(%)`,
|
||||
prop: "energyAmountRatio",
|
||||
prop: 'energyAmountRatio'
|
||||
},
|
||||
{
|
||||
text: `首购奖金(¥)`,
|
||||
prop: "mainBonus",
|
||||
prop: 'mainBonus'
|
||||
},
|
||||
{
|
||||
text: `首购金额拨比(%)`,
|
||||
prop: "mainBonusRate",
|
||||
prop: 'mainBonusRate'
|
||||
},
|
||||
{
|
||||
text: "首购PV拨比(%)",
|
||||
prop: "mainBonusPvRate",
|
||||
text: '首购PV拨比(%)',
|
||||
prop: 'mainBonusPvRate'
|
||||
},
|
||||
{
|
||||
text: "直推拨比(%)",
|
||||
prop: "introduceBonusRate",
|
||||
text: '直推拨比(%)',
|
||||
prop: 'introduceBonusRate'
|
||||
},
|
||||
{
|
||||
text: "拓展拨比(%)",
|
||||
prop: "orgBonusRate",
|
||||
text: '拓展拨比(%)',
|
||||
prop: 'orgBonusRate'
|
||||
},
|
||||
{
|
||||
text: "服务补贴拨比(%)",
|
||||
prop: "serviceBonusRate",
|
||||
text: '服务补贴拨比(%)',
|
||||
prop: 'serviceBonusRate'
|
||||
},
|
||||
{
|
||||
text: "创客空间拨比(%)",
|
||||
prop: "makerRate",
|
||||
text: '复购金额(¥)',
|
||||
prop: 'repurchaseAllAmount'
|
||||
},
|
||||
{
|
||||
text: "复购金额(¥)",
|
||||
prop: "repurchaseAllAmount",
|
||||
text: '复购奖金(¥)',
|
||||
prop: 'repurBonus'
|
||||
},
|
||||
{
|
||||
text: "复购奖金(¥)",
|
||||
prop: "repurBonus",
|
||||
text: '复购金额拨比(%)',
|
||||
prop: 'repurBonusRate'
|
||||
},
|
||||
{
|
||||
text: "复购金额拨比(%)",
|
||||
prop: "repurBonusRate",
|
||||
},
|
||||
{
|
||||
text: "复购PV拨比(%)",
|
||||
prop: "repurBonusPvRate",
|
||||
text: '复购PV拨比(%)',
|
||||
prop: 'repurBonusPvRate'
|
||||
},
|
||||
{
|
||||
text: `拓展平均碰次`,
|
||||
prop: "orgAvTouch",
|
||||
prop: 'orgAvTouch'
|
||||
},
|
||||
{
|
||||
text: `拓展最高碰次`,
|
||||
prop: "orgMaxTouch",
|
||||
prop: 'orgMaxTouch'
|
||||
},
|
||||
{
|
||||
text: `拓展封顶人数`,
|
||||
prop: "orgTopNumber",
|
||||
},
|
||||
prop: 'orgTopNumber'
|
||||
}
|
||||
],
|
||||
creationTime: [],
|
||||
creationTime1: [],
|
||||
select: {
|
||||
pkVertexList: [],
|
||||
pkMemberTeamList: [],
|
||||
pkMemberTeamList: []
|
||||
},
|
||||
// 查询参数
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 50,
|
||||
pageSize: 50
|
||||
},
|
||||
addOrEdit: "",
|
||||
addOrEdit: '',
|
||||
total: 0,
|
||||
dialogVisible: false,
|
||||
tableData: [],
|
||||
moren: "topPerformanceTotal",
|
||||
moren: 'topPerformanceTotal',
|
||||
topList: [
|
||||
{
|
||||
name: "顶点奖金拨比汇总",
|
||||
path: "topPerformanceTotal",
|
||||
},
|
||||
name: '顶点奖金拨比汇总',
|
||||
path: 'topPerformanceTotal'
|
||||
}
|
||||
],
|
||||
form: {},
|
||||
verList: [],
|
||||
|
@ -345,18 +337,18 @@ 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: {
|
||||
|
@ -365,46 +357,44 @@ export default {
|
|||
.topSubtotal(Object.assign({}, this.queryParams, this.select))
|
||||
.then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.tableList = res.data;
|
||||
this.tableList = res.data
|
||||
}
|
||||
});
|
||||
})
|
||||
},
|
||||
getSummaries({ columns, data }) {
|
||||
this.$nextTick(() => {
|
||||
this.$refs.mainTable.doLayout();
|
||||
});
|
||||
const lastRecord = data[data.length - 1];
|
||||
this.$refs.mainTable.doLayout()
|
||||
})
|
||||
const lastRecord = data[data.length - 1]
|
||||
return columns.map((column, index) => {
|
||||
const { property } = column;
|
||||
const { property } = column
|
||||
if (index === 0) {
|
||||
// 合计列的第一列显示合计文本
|
||||
return '合计';
|
||||
}
|
||||
else if (index === 1) {
|
||||
return '合计'
|
||||
} else if (index === 1) {
|
||||
// 合计列的第一列显示合计文本
|
||||
return '';
|
||||
}
|
||||
else if (index === 2) {
|
||||
return ''
|
||||
} else if (index === 2) {
|
||||
// 合计列的第一列显示合计文本
|
||||
return '';
|
||||
return ''
|
||||
}
|
||||
// 使用最后一条数据的对应属性来计算合计
|
||||
return lastRecord[property];
|
||||
});
|
||||
return lastRecord[property]
|
||||
})
|
||||
},
|
||||
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
|
||||
// })
|
||||
|
@ -412,32 +402,32 @@ 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] : ''
|
||||
},
|
||||
getNewData() {
|
||||
this.loading = true;
|
||||
this.loading = true
|
||||
api
|
||||
.topBonusListHistory(Object.assign({}, this.queryParams, this.select))
|
||||
.then((res) => {
|
||||
this.getDataList();
|
||||
});
|
||||
this.getDataList()
|
||||
})
|
||||
},
|
||||
getDataList() {
|
||||
api
|
||||
.bonusVertex(Object.assign({}, this.queryParams, this.select))
|
||||
.then((res) => {
|
||||
this.loading = false;
|
||||
this.loading = false
|
||||
if (res.code == 200) {
|
||||
this.tableData = res.rows;
|
||||
this.total = res.total;
|
||||
this.tableData = res.rows
|
||||
this.total = res.total
|
||||
// this.getTotal();
|
||||
}
|
||||
});
|
||||
})
|
||||
},
|
||||
handleSelectionChange(val) {},
|
||||
/** 导出按钮操作 */
|
||||
|
@ -445,25 +435,25 @@ export default {
|
|||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
type: 'warning'
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
"/member/manage/bonus-vertex-total-statis/export",
|
||||
'/member/manage/bonus-vertex-total-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 {
|
||||
|
|
|
@ -368,48 +368,7 @@
|
|||
:label="'车奖积分'"
|
||||
:formatter="stateFormat"
|
||||
/>
|
||||
<!-- <el-table-column
|
||||
v-if="allTxt.carAwardPoints"
|
||||
align="center"
|
||||
prop="carAwardPoints"
|
||||
width="130"
|
||||
:label="'车奖积分' + '($)'"
|
||||
:formatter="stateFormat"
|
||||
/> -->
|
||||
|
||||
<!-- <el-table-column
|
||||
v-if="allTxt.hiFunIncome"
|
||||
align="center"
|
||||
prop="hiFunIncome"
|
||||
width="130"
|
||||
:label="'嗨粉推荐收益' + `($)`"
|
||||
:formatter="stateFormat"
|
||||
/> -->
|
||||
|
||||
<!-- <el-table-column
|
||||
v-if="allTxt.makerDirectIncome"
|
||||
align="center"
|
||||
prop="makerDirectIncome"
|
||||
width="160"
|
||||
:label="'创客空间直推收益' + `($)`"
|
||||
:formatter="stateFormat"
|
||||
/> -->
|
||||
<!-- <el-table-column
|
||||
v-if="allTxt.makerShareIncomeOri"
|
||||
align="center"
|
||||
prop="makerShareIncomeOri"
|
||||
width="130"
|
||||
:label="'创客共享收益' + `(${isLocalSymbol()})`"
|
||||
:formatter="stateFormat"
|
||||
/>
|
||||
<el-table-column
|
||||
v-if="allTxt.makerShareIncome"
|
||||
align="center"
|
||||
prop="makerShareIncome"
|
||||
width="130"
|
||||
:label="'创客共享收益' + `($)`"
|
||||
:formatter="stateFormat"
|
||||
/> -->
|
||||
<el-table-column
|
||||
v-if="allTxt.purRealSubtotalOri"
|
||||
align="center"
|
||||
|
@ -418,23 +377,7 @@
|
|||
:label="'首购实发小计' + `(${isLocalSymbol()})`"
|
||||
:formatter="stateFormat"
|
||||
/>
|
||||
<!-- <el-table-column
|
||||
v-if="allTxt.purRealSubtotal"
|
||||
align="center"
|
||||
prop="purRealSubtotal"
|
||||
width="130"
|
||||
:label="'首购实发小计' + '($)'"
|
||||
:formatter="stateFormat"
|
||||
/> -->
|
||||
|
||||
<!-- <el-table-column
|
||||
v-if="allTxt.cloudRealSubtotal"
|
||||
align="center"
|
||||
prop="cloudRealSubtotal"
|
||||
width="130"
|
||||
:label="'云代实发小计' + '($)'"
|
||||
:formatter="stateFormat"
|
||||
/> -->
|
||||
<el-table-column
|
||||
v-if="allTxt.repurRealSubtotalOri"
|
||||
align="center"
|
||||
|
@ -467,22 +410,7 @@
|
|||
:label="'复购券实发小计' + `($)`"
|
||||
:formatter="stateFormat"
|
||||
/> -->
|
||||
<!-- <el-table-column
|
||||
v-if="allTxt.makerRealSubtotalOri"
|
||||
align="center"
|
||||
prop="makerRealSubtotalOri"
|
||||
width="160"
|
||||
:label="'创客空间实发小计' + `(${isLocalSymbol()})`"
|
||||
:formatter="stateFormat"
|
||||
/>
|
||||
<el-table-column
|
||||
v-if="allTxt.makerRealSubtotal"
|
||||
align="center"
|
||||
prop="makerRealSubtotal"
|
||||
width="160"
|
||||
:label="'创客空间实发小计' + `($)`"
|
||||
:formatter="stateFormat"
|
||||
/> -->
|
||||
|
||||
<el-table-column
|
||||
v-if="allTxt.realIncomeTotalOri"
|
||||
align="center"
|
||||
|
|
|
@ -401,11 +401,7 @@ export default {
|
|||
routeName: 'agentGradeVal',
|
||||
changed: false
|
||||
},
|
||||
// {
|
||||
// menuName: '荣誉奖衔',
|
||||
// routeName: 'pkMaxAwardsVal',
|
||||
// changed: false
|
||||
// },
|
||||
|
||||
{
|
||||
menuName: '历史荣誉',
|
||||
routeName: 'histroyAwardsName',
|
||||
|
@ -431,11 +427,7 @@ export default {
|
|||
routeName: 'lecturerLevelVal',
|
||||
changed: false
|
||||
},
|
||||
// {
|
||||
// menuName: '系统级别',
|
||||
// routeName: 'systemLevelVal',
|
||||
// changed: false
|
||||
// },
|
||||
|
||||
{
|
||||
menuName: '注册等级',
|
||||
routeName: 'pkRegisterGradeVal',
|
||||
|
@ -481,16 +473,7 @@ export default {
|
|||
routeName: 'isDealerVal',
|
||||
changed: false
|
||||
},
|
||||
// {
|
||||
// menuName: '超级工作室',
|
||||
// routeName: 'superStudioVal',
|
||||
// changed: false
|
||||
// },
|
||||
// {
|
||||
// menuName: '创客空间',
|
||||
// routeName: 'isMakerSpaceVal',
|
||||
// changed: false
|
||||
// },
|
||||
|
||||
{
|
||||
menuName: '账户状态',
|
||||
routeName: 'accountStatusVal',
|
||||
|
@ -988,16 +971,7 @@ export default {
|
|||
routeName: 'register_power_state',
|
||||
changed: false
|
||||
},
|
||||
// {
|
||||
// menuName: '修改创客空间权限',
|
||||
// routeName: 'maker_space_power_state',
|
||||
// changed: false
|
||||
// },
|
||||
// {
|
||||
// menuName: '超级工作室认证',
|
||||
// routeName: 'super_studio_attest',
|
||||
// changed: false
|
||||
// },
|
||||
|
||||
{
|
||||
menuName: '经销商认证',
|
||||
routeName: 'dealer_attest',
|
||||
|
@ -1167,36 +1141,7 @@ export default {
|
|||
routeName: 'tripartitePvLocality',
|
||||
changed: false
|
||||
},
|
||||
// {
|
||||
// menuName: '直供金额' + '(¥)',
|
||||
// routeName: 'directSupplyAmount',
|
||||
// changed: false,
|
||||
// },
|
||||
// {
|
||||
// menuName: '直供金额' + '($)',
|
||||
// routeName: 'directSupplyAmountDollar',
|
||||
// changed: false,
|
||||
// },
|
||||
// {
|
||||
// menuName: '直供金额' + `(${isLocalSymbol()})`,
|
||||
// routeName: 'directSupplyAmountLocality',
|
||||
// changed: false,
|
||||
// },
|
||||
// {
|
||||
// menuName: '直供业绩' + '(¥)',
|
||||
// routeName: 'directSupplyPv',
|
||||
// changed: false,
|
||||
// },
|
||||
// {
|
||||
// menuName: '直供业绩' + '($)',
|
||||
// routeName: 'directSupplyPvDollar',
|
||||
// changed: false,
|
||||
// },
|
||||
// {
|
||||
// menuName: '直供业绩' + `(${isLocalSymbol()})`,
|
||||
// routeName: 'directSupplyPvLocality',
|
||||
// changed: false,
|
||||
// },
|
||||
|
||||
{
|
||||
menuName: '海粉金额' + '(¥)',
|
||||
routeName: 'fansAmount',
|
||||
|
@ -1667,16 +1612,7 @@ export default {
|
|||
routeName: 'hiFunIncomeOri',
|
||||
changed: false
|
||||
},
|
||||
// {
|
||||
// menuName: '创客空间直推收益' + '(¥)',
|
||||
// routeName: 'makerDirectIncomeOri',
|
||||
// changed: false
|
||||
// },
|
||||
// {
|
||||
// menuName: '创客共享收益' + '(¥)',
|
||||
// routeName: 'makerShareIncomeOri',
|
||||
// changed: false
|
||||
// },
|
||||
|
||||
{
|
||||
menuName: '首购实发小计' + '(¥)',
|
||||
routeName: 'purRealSubtotalOri',
|
||||
|
@ -1712,11 +1648,7 @@ export default {
|
|||
routeName: 'repurCouponSubtotalOri',
|
||||
changed: false
|
||||
},
|
||||
// {
|
||||
// menuName: '创客空间实发小计' + '(¥)',
|
||||
// routeName: 'makerRealSubtotalOri',
|
||||
// changed: false
|
||||
// },
|
||||
|
||||
{
|
||||
menuName: '实发收益总计' + '(¥)',
|
||||
routeName: 'realIncomeTotalOri',
|
||||
|
@ -1769,26 +1701,13 @@ export default {
|
|||
routeName: 'repurCouponShare',
|
||||
changed: false
|
||||
},
|
||||
// {
|
||||
// menuName: '创客空间直推收益' + `($)`,
|
||||
// routeName: 'makerDirectIncome',
|
||||
// changed: false
|
||||
// },
|
||||
// {
|
||||
// menuName: '创客共享收益' + `($)`,
|
||||
// routeName: 'makerShareIncome',
|
||||
// changed: false
|
||||
// },
|
||||
|
||||
{
|
||||
menuName: '复购券实发小计' + `($)`,
|
||||
routeName: 'repurCouponSubtotal',
|
||||
changed: false
|
||||
}
|
||||
// {
|
||||
// menuName: '创客空间实发小计' + `($)`,
|
||||
// routeName: 'makerRealSubtotal',
|
||||
// changed: false
|
||||
// }
|
||||
|
||||
]
|
||||
}
|
||||
// 结算中心-奖金明细
|
||||
|
@ -2014,26 +1933,7 @@ export default {
|
|||
routeName: 'hiFunIncome',
|
||||
changed: false
|
||||
},
|
||||
// {
|
||||
// menuName: '创客空间直推收益' + '(¥)',
|
||||
// routeName: 'makerDirectIncomeOri',
|
||||
// changed: false
|
||||
// },
|
||||
// {
|
||||
// menuName: '创客空间直推收益' + '($)',
|
||||
// routeName: 'makerDirectIncome',
|
||||
// changed: false
|
||||
// },
|
||||
// {
|
||||
// menuName: '创客共享收益' + '(¥)',
|
||||
// routeName: 'makerShareIncomeOri',
|
||||
// changed: false
|
||||
// },
|
||||
// {
|
||||
// menuName: '创客共享收益' + '($)',
|
||||
// routeName: 'makerShareIncome',
|
||||
// changed: false
|
||||
// },
|
||||
|
||||
{
|
||||
menuName: '首购实发小计' + '(¥)',
|
||||
routeName: 'purRealSubtotalOri',
|
||||
|
|
Loading…
Reference in New Issue