Commit deb1cf39 authored by 黄奎's avatar 黄奎

页面修改

parent e16b61bc
<style> <style>
.baseSet_Title { .baseSet_Title {
width: 120px !important; width: 120px !important;
padding: 18px 0 0 16px; padding: 18px 0 0 16px;
text-align: right; text-align: right;
} }
.CommissionDetail .border-bottom { .CommissionDetail .border-bottom {
padding-bottom: 5px; padding-bottom: 5px;
margin-bottom: 5px; margin-bottom: 5px;
} }
.CommissionDetail .text-bottom { .CommissionDetail .text-bottom {
height: 32px; height: 32px;
line-height: 32px; line-height: 32px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.CommissionDetail ._icon_btn i.icon-sousuo { .CommissionDetail ._icon_btn i.icon-sousuo {
background-color: #47bf8c; background-color: #47bf8c;
} }
.CommissionDetail ._icon_btn i { .CommissionDetail ._icon_btn i {
width: 26px; width: 26px;
height: 26px; height: 26px;
display: inline-block; display: inline-block;
color: white !important; color: white !important;
border-radius: 50%; border-radius: 50%;
text-align: center; text-align: center;
line-height: 26px; line-height: 26px;
margin-right: 10px; margin-right: 10px;
cursor: pointer; cursor: pointer;
outline: none; outline: none;
} }
.CommissionDetail .el-table td,
.el-table th {
padding: 5px 0;
}
.CommissionDetail .el-table td,
.el-table th {
padding: 5px 0;
}
</style> </style>
<template> <template>
<div class="page-body CommissionDetail"> <div class="page-body CommissionDetail">
<div class="page-search row items-center"> <div class="page-search row items-center">
<div class="col row wrap q-mr-lg q-col-gutter-md"> <div class="col row wrap q-mr-lg q-col-gutter-md">
<div style="margin-right: 10px;"> <div style="margin-right: 10px;">
<q-btn <q-btn color="primary" size="11px" label="返回" @click="goreturn" style="margin-left:10px" />
color="primary"
size="11px"
label="返回"
@click="goreturn"
style="margin-left:10px"
/>
</div> </div>
<div class="col row wrap q-mr-lg q-col-gutter-md"> <div class="col row wrap q-mr-lg q-col-gutter-md">
<div class="col-3" v-if="isShowFrom"> <div class="col-3" v-if="isShowFrom">
<q-select <q-select filled stack-label :disable="!isShowFrom" input-debounce="0" option-value="Id" @input="getlaiyuan"
filled option-label="Name" v-model="msg.OrderSourceType" :options="customFromList" label="返佣类型" dense emit-value
stack-label map-options>
:disable="!isShowFrom"
input-debounce="0"
option-value="Id"
@input="getlaiyuan"
option-label="Name"
v-model="msg.OrderSourceType"
:options="customFromList"
label="返佣类型"
dense
emit-value
map-options
>
</q-select> </q-select>
</div> </div>
<div <div class="col-3" v-if="msg.OrderSourceType == 1 || msg.OrderSourceType == 3">
class="col-3" <q-select filled stack-label clearable v-model="msg.UserDept" dense :options="DepartmentList" use-input
v-if="msg.OrderSourceType == 1 || msg.OrderSourceType == 3" @input="getList(), getEmployeeList()" label="部门" @filter="filterEmployee" option-label="DeptName"
> option-value="DeptId" emit-value map-options>
<q-select
filled
stack-label
clearable
v-model="msg.UserDept"
dense
:options="DepartmentList"
use-input
@input="getList(), getEmployeeList()"
label="部门"
@filter="filterEmployee"
option-label="DeptName"
option-value="DeptId"
emit-value
map-options
>
<template v-slot:no-option> <template v-slot:no-option>
<q-item> <q-item>
<q-item-section class="text-grey" <q-item-section class="text-grey">未找到相关数据</q-item-section>
>未找到相关数据</q-item-section
>
</q-item> </q-item>
</template> </template>
</q-select> </q-select>
</div> </div>
<div <div class="col-3" v-if="msg.OrderSourceType == 1 || msg.OrderSourceType == 3">
class="col-3" <q-select filled stack-label clearable v-model="msg.OrderSourceId" dense :options="myEmployeeList" use-input
v-if="msg.OrderSourceType == 1 || msg.OrderSourceType == 3" @input="getList" label="人员" @filter="filterEmployee" option-label="EmployeeName" option-value="Id"
> emit-value map-options>
<q-select
filled
stack-label
clearable
v-model="msg.OrderSourceId"
dense
:options="myEmployeeList"
use-input
@input="getList"
label="人员"
@filter="filterEmployee"
option-label="EmployeeName"
option-value="Id"
emit-value
map-options
>
<template v-slot:no-option> <template v-slot:no-option>
<q-item> <q-item>
<q-item-section class="text-grey" <q-item-section class="text-grey">未找到相关数据</q-item-section>
>未找到相关数据</q-item-section
>
</q-item> </q-item>
</template> </template>
</q-select> </q-select>
</div> </div>
<div class="col-3" v-if="msg.OrderSourceType == 2"> <div class="col-3" v-if="msg.OrderSourceType == 2">
<q-select <q-select filled stack-label v-model="msg.OrderSourceId" clearable dense :options="customList" use-input
filled @input="getList" label="关联同行" @filter="filterFn" option-label="CustomerName" option-value="CustomerId"
stack-label emit-value map-options>
v-model="msg.OrderSourceId"
clearable
dense
:options="customList"
use-input
@input="getList"
label="关联同行"
@filter="filterFn"
option-label="CustomerName"
option-value="CustomerId"
emit-value
map-options
>
<template v-slot:no-option> <template v-slot:no-option>
<q-item> <q-item>
<q-item-section class="text-grey" <q-item-section class="text-grey">未找到相关数据</q-item-section>
>未找到相关数据</q-item-section
>
</q-item> </q-item>
</template> </template>
</q-select> </q-select>
</div> </div>
<div class="col-3" v-if="msg.OrderSourceType == 4"> <div class="col-3" v-if="msg.OrderSourceType == 4">
<q-select <q-select filled clearable stack-label v-model="msg.OrderSourceId" dense :options="InvitationList" use-input
filled @input="getList" label="转介人" @filter="filterFnStudent" option-label="StuName" option-value="StuId"
clearable emit-value map-options>
stack-label
v-model="msg.OrderSourceId"
dense
:options="InvitationList"
use-input
@input="getList"
label="转介人"
@filter="filterFnStudent"
option-label="StuName"
option-value="StuId"
emit-value
map-options
>
<template v-slot:no-option> <template v-slot:no-option>
<q-item> <q-item>
<q-item-section class="text-grey" <q-item-section class="text-grey">未找到相关数据</q-item-section>
>未找到相关数据</q-item-section
>
</q-item> </q-item>
</template> </template>
</q-select> </q-select>
</div> </div>
<div class="col-3" style="float:right;"> <div class="col-3" style="float:right;">
<q-btn <q-btn color="accent" class="q-mr-md" size="sm" icon="download" style="margin-top:6px;"
color="accent" @click="DownLoadCommissionUserList" label="下载" />
class="q-mr-md"
size="sm"
icon="download"
style="margin-top:6px;"
@click="DownLoadCommissionUserList"
label="下载"
/>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<template> <template>
<el-table <el-table ref="filterTable" :data="tableData" v-loading="loading"
ref="filterTable" :header-cell-style="{ backgroundColor: '#f5f6f7', color: '#a8a8b3' }" border style="width: 100%">
:data="tableData"
v-loading="loading"
:header-cell-style="{ backgroundColor: '#f5f6f7', color: '#a8a8b3' }"
border
style="width: 100%"
>
<el-table-column prop="SchoolName" label="校区"></el-table-column> <el-table-column prop="SchoolName" label="校区"></el-table-column>
<el-table-column prop="UserDeptName" label="部门"></el-table-column> <el-table-column prop="UserDeptName" label="部门"></el-table-column>
<el-table-column <el-table-column prop="UserName" label="人员" :filters="UserNamelist" :filter-method="filterHandler">
prop="UserName"
label="人员"
:filters="UserNamelist"
:filter-method="filterHandler"
>
</el-table-column> </el-table-column>
<el-table-column label="类型"> <el-table-column label="类型">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -223,33 +122,15 @@ ...@@ -223,33 +122,15 @@
{{ scope.row.OrderSourceType == 4 ? "学员" : "" }} {{ scope.row.OrderSourceType == 4 ? "学员" : "" }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="StudentCount" label="学生数量" sortable :sort-method="StudentCount"></el-table-column>
prop="StudentCount" <el-table-column prop="CommissionMoeny" label="提成金额" sortable :sort-method="CommissionMoeny"></el-table-column>
label="学生数量"
sortable
:sort-method="StudentCount"
></el-table-column>
<el-table-column
prop="CommissionMoeny"
label="提成金额"
sortable
:sort-method="CommissionMoeny"
></el-table-column>
<el-table-column label="操作"> <el-table-column label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="_icon_btn"> <div class="_icon_btn">
<el-tooltip <el-tooltip class="item" effect="dark" content="查看" placement="top">
class="item" <i class="iconfont icon-sousuo" @click="
effect="dark"
content="查看"
placement="top"
>
<i
class="iconfont icon-sousuo"
@click="
goUrl('returnPassbook/returnpassbookStatistics', scope.row) goUrl('returnPassbook/returnpassbookStatistics', scope.row)
" "></i>
></i>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>
...@@ -259,324 +140,342 @@ ...@@ -259,324 +140,342 @@
</div> </div>
</template> </template>
<script> <script>
import { GetClassTypePageList } from "../../../api/system/index"; import {
import { GetStudentList } from "../../../api/course/class"; GetClassTypePageList
import { getCommissionUserList } from "../../../api/finance/index"; } from "../../../api/system/index";
import { getStudentDorpDownList } from "../../../api/school/index"; import {
GetStudentList
} from "../../../api/course/class";
import {
getCommissionUserList
} from "../../../api/finance/index";
import {
getStudentDorpDownList
} from "../../../api/school/index";
import { getDeptList } from "../../../api/system/dept"; import {
getDeptList
} from "../../../api/system/dept";
import { queryEmployee } from "../../../api/users/user"; import {
import { CreateTypeList, GetCustomerList } from "../../../api/sale/sale"; queryEmployee
import { EduDownLoad } from "../../../api/common/common"; } from "../../../api/users/user";
import { mapState } from "vuex"; import {
export default { CreateTypeList,
meta: { GetCustomerList
title: "销售提成详情" } from "../../../api/sale/sale";
}, import {
props: {}, EduDownLoad
components: {}, } from "../../../api/common/common";
data() { import {
return { mapState
loading: false, } from "vuex";
//列表数据参数 export default {
msg: { meta: {
BatchId: 0, title: "销售提成详情"
SchoolId: "-1", },
Status: "-2", props: {},
OrderSourceType: "-1", components: {},
OrderSourceId: "", data() {
Q_SelectNormal: "2", return {
UserDept: "" loading: false,
}, //列表数据参数
pageCount: 0, msg: {
persistent: false, BatchId: 0,
tableData: [], SchoolId: "-1",
StatusList: [ Status: "-2",
{ OrderSourceType: "-1",
Id: "-2", OrderSourceId: "",
Name: "不限" Q_SelectNormal: "2",
}, UserDept: ""
{
Id: "-1",
Name: "不返佣"
},
{
Id: "0",
Name: "待返佣"
},
{
Id: "1",
Name: "已返佣到账户"
}, },
{ pageCount: 0,
Id: "2", persistent: false,
Name: "佣金已提现" tableData: [],
} StatusList: [{
], Id: "-2",
see_tcdetailed: false, Name: "不限"
customFromList: [], },
UserNamelist: [], {
employeeList: [], Id: "-1",
myEmployeeList: [], Name: "不返佣"
TransListData: [], //转介人数据 },
MyTransListData: [], {
customList: [], //同行列表 Id: "0",
allCustomList: [], //所有同行列表 Name: "待返佣"
InvitationList: [], //学员下拉数据 },
AllInvitationList: [], {
isShowFrom: true, Id: "1",
DepartmentList: [] //部门列表 Name: "已返佣到账户"
}; },
}, {
computed: mapState({ Id: "2",
//是否有下载权限 Name: "佣金已提现"
isReturnperiods(state) {
if (
state.user.userInfo &&
state.user.userInfo.ActionMenuList &&
state.user.userInfo.ActionMenuList.length > 0
) {
let action = state.user.userInfo.ActionMenuList.find(x => {
if (x.FunctionCode == "Edit_Returnperiods") {
return x;
} }
}); ],
return action && action.FunctionCode; see_tcdetailed: false,
} customFromList: [],
return false; UserNamelist: [],
} employeeList: [],
}), myEmployeeList: [],
created() { TransListData: [], //转介人数据
this.getCustomFrom(); MyTransListData: [],
this.queryDeptList(); customList: [], //同行列表
this.getEmployeeList(); allCustomList: [], //所有同行列表
this.getStudentDorpDown(); InvitationList: [], //学员下拉数据
this.GetCustomerList(); AllInvitationList: [],
this.getStudentList(); //学员下拉 isShowFrom: true,
if (!this.isReturnperiods) { DepartmentList: [] //部门列表
this.msg.OrderSourceType = 2; };
}
},
mounted() {
if (this.$route.query && this.$route.query.id) {
this.msg.BatchId = this.$route.query.id;
}
if (this.$route.query.ReFinanceId2) {
this.msg.UserDept = this.$route.query.ReFinanceId2;
}
if (this.$route.query && this.$route.query.ReFinanceId2 == 0) {
this.msg.OrderSourceType = 4;
this.isShowFrom = false;
}
this.getList();
},
methods: {
getList() {
this.loading = true;
let msg = JSON.parse(JSON.stringify(this.msg));
if (msg.OrderSourceId == "" || msg.OrderSourceId == null) {
msg.OrderSourceId = 0;
}
getCommissionUserList(msg).then(res => {
if (res.Code == 1) {
this.loading = false;
this.tableData = res.Data;
this.UserNamelist = [];
this.tableData.forEach(x => {
let obj3 = {
text: x.UserName,
value: x.UserName
};
this.UserNamelist.push(obj3);
});
this.UserNamelist = this.unique(this.UserNamelist);
}
});
}, },
//现在 computed: mapState({
DownLoadCommissionUserList() { //是否有下载权限
this.loading = true; isReturnperiods(state) {
var msg = JSON.parse(JSON.stringify(this.msg)); if (
EduDownLoad( state.user.userInfo &&
"/CustomerCommission/DownLoadCommissionUserList", state.user.userInfo.ActionMenuList &&
msg, state.user.userInfo.ActionMenuList.length > 0
"用户返佣.xls", ) {
res => { let action = state.user.userInfo.ActionMenuList.find(x => {
this.loading = false; if (x.FunctionCode == "Edit_Returnperiods") {
return x;
}
});
return action && action.FunctionCode;
} }
); return false;
}
}),
created() {
this.getCustomFrom();
this.queryDeptList();
this.getEmployeeList();
this.getStudentDorpDown();
this.GetCustomerList();
this.getStudentList(); //学员下拉
if (!this.isReturnperiods) {
this.msg.OrderSourceType = 2;
}
}, },
getlaiyuan() { mounted() {
if (this.msg.OrderSourceType == -1) { if (this.$route.query && this.$route.query.id) {
this.msg.OrderSourceId = 0; this.msg.BatchId = this.$route.query.id;
} else { }
this.msg.OrderSourceId = ""; if (this.$route.query.ReFinanceId2) {
this.msg.UserDept = this.$route.query.ReFinanceId2;
}
if (this.$route.query && this.$route.query.ReFinanceId2 == 0) {
this.msg.OrderSourceType = 4;
this.isShowFrom = false;
} }
this.msg.UserDept = "";
this.getList(); this.getList();
}, },
//获取部门列表 methods: {
queryDeptList() { getList() {
var qMsg = {}; this.loading = true;
getDeptList(qMsg).then(res => { let msg = JSON.parse(JSON.stringify(this.msg));
if (res.Code == 1) { if (msg.OrderSourceId == "" || msg.OrderSourceId == null) {
this.DepartmentList = res.Data; msg.OrderSourceId = 0;
} }
}); getCommissionUserList(msg).then(res => {
}, if (res.Code == 1) {
//获取客户来源 this.loading = false;
getCustomFrom() { this.tableData = res.Data;
CreateTypeList({}).then(res => { this.UserNamelist = [];
if (res.Code == 1) { this.tableData.forEach(x => {
let obj = { let obj3 = {
Name: "不限", text: x.UserName,
Id: "-1" value: x.UserName
}; };
if (this.isReturnperiods) { this.UserNamelist.push(obj3);
this.customFromList = res.Data;
this.customFromList.unshift(obj);
} else {
res.Data.forEach(data => {
if (data.Id == 2) {
this.customFromList.push(data);
}
}); });
this.UserNamelist = this.unique(this.UserNamelist);
}
});
},
//现在
DownLoadCommissionUserList() {
this.loading = true;
var msg = JSON.parse(JSON.stringify(this.msg));
EduDownLoad(
"/CustomerCommission/DownLoadCommissionUserList",
msg,
"用户返佣.xls",
res => {
this.loading = false;
} }
this.customFromList.forEach(data => {
if (data.Id == 1 || data.Id == 3) {
data.Name = "员工";
} else if (data.Id == 2) {
data.Name = "同业";
} else if (data.Id == 4) {
data.Name = "学员";
}
});
}
});
},
//筛选转介人
filterStudent(val, update, abort) {
update(() => {
this.MyTransListData = this.TransListData.filter(
v => v.StuName.indexOf(val) > -1
);
});
},
unique(arr, Name) {
//数组去重
const res = new Map();
return arr.filter(list => !res.has(list.text) && res.set(list.text, 1));
},
//筛选员工
filterEmployee(val, update, abort) {
update(() => {
this.myEmployeeList = this.employeeList.filter(
v => v.EmployeeName.indexOf(val) > -1
); );
}); },
}, getlaiyuan() {
//获取员工列表 if (this.msg.OrderSourceType == -1) {
getEmployeeList() { this.msg.OrderSourceId = 0;
queryEmployee({
IsLeave: 1,
Dept_Id: this.msg.UserDept
}).then(res => {
this.employeeList = res.Data;
this.myEmployeeList = res.Data;
});
},
//获取转介人下拉
getStudentDorpDown() {
getStudentDorpDownList().then(res => {
if (res.Code == 1) {
this.TransListData = res.Data;
this.MyTransListData = res.Data;
}
});
},
//获取客户下拉数据
GetCustomerList() {
let msg = {
QCreateBy: 0
};
GetCustomerList(msg).then(res => {
if (res.Code == 1) {
this.customList = res.Data;
this.allCustomList = res.Data;
}
});
},
//筛选客户
filterFn(val, update) {
update(() => {
if (val === "") {
this.customList = JSON.parse(JSON.stringify(this.allCustomList));
} else { } else {
const needle = val.toLowerCase(); this.msg.OrderSourceId = "";
this.customList = this.allCustomList.filter(
v => v.CustomerName.toLowerCase().indexOf(needle) > -1
);
} }
}); this.msg.UserDept = "";
}, this.getList();
//获取学员下拉信息 },
getStudentList() { //获取部门列表
var qMsg = { queryDeptList() {
SchoolId: this.msg.SchoolId var qMsg = {};
}; getDeptList(qMsg).then(res => {
GetStudentList(qMsg).then(res => { if (res.Code == 1) {
if (res.Code == 1) { this.DepartmentList = res.Data;
var jsonData = res.Data;
if (jsonData && jsonData.length > 0) {
this.AllInvitationList = JSON.parse(JSON.stringify(jsonData));
this.InvitationList = JSON.parse(JSON.stringify(jsonData));
} }
} });
}); },
}, //获取客户来源
filterFnStudent(val, update) { getCustomFrom() {
update(() => { CreateTypeList({}).then(res => {
if (val === "") { if (res.Code == 1) {
this.InvitationList = JSON.parse( let obj = {
JSON.stringify(this.AllInvitationList) Name: "不限",
Id: "-1"
};
if (this.isReturnperiods) {
this.customFromList = res.Data;
this.customFromList.unshift(obj);
} else {
res.Data.forEach(data => {
if (data.Id == 2) {
this.customFromList.push(data);
}
});
}
this.customFromList.forEach(data => {
if (data.Id == 1 || data.Id == 3) {
data.Name = "员工";
} else if (data.Id == 2) {
data.Name = "同业";
} else if (data.Id == 4) {
data.Name = "学员";
}
});
}
});
},
//筛选转介人
filterStudent(val, update, abort) {
update(() => {
this.MyTransListData = this.TransListData.filter(
v => v.StuName.indexOf(val) > -1
); );
} else { });
const needle = val.toLowerCase(); },
this.InvitationList = this.AllInvitationList.filter( unique(arr, Name) {
v => v.StuName.toLowerCase().indexOf(needle) > -1 //数组去重
const res = new Map();
return arr.filter(list => !res.has(list.text) && res.set(list.text, 1));
},
//筛选员工
filterEmployee(val, update, abort) {
update(() => {
this.myEmployeeList = this.employeeList.filter(
v => v.EmployeeName.indexOf(val) > -1
); );
} });
}); },
}, //获取员工列表
goUrl(path, row) { getEmployeeList() {
this.$router.push({ queryEmployee({
path: "/financial/" + path, IsLeave: 1,
query: { Dept_Id: this.msg.UserDept
}).then(res => {
this.employeeList = res.Data;
this.myEmployeeList = res.Data;
});
},
//获取转介人下拉
getStudentDorpDown() {
getStudentDorpDownList().then(res => {
if (res.Code == 1) {
this.TransListData = res.Data;
this.MyTransListData = res.Data;
}
});
},
//获取客户下拉数据
GetCustomerList() {
let msg = {
QCreateBy: 0
};
GetCustomerList(msg).then(res => {
if (res.Code == 1) {
this.customList = res.Data;
this.allCustomList = res.Data;
}
});
},
//筛选客户
filterFn(val, update) {
update(() => {
if (val === "") {
this.customList = JSON.parse(JSON.stringify(this.allCustomList));
} else {
const needle = val.toLowerCase();
this.customList = this.allCustomList.filter(
v => v.CustomerName.toLowerCase().indexOf(needle) > -1
);
}
});
},
//获取学员下拉信息
getStudentList() {
var qMsg = {
SchoolId: this.msg.SchoolId
};
GetStudentList(qMsg).then(res => {
if (res.Code == 1) {
var jsonData = res.Data;
if (jsonData && jsonData.length > 0) {
this.AllInvitationList = JSON.parse(JSON.stringify(jsonData));
this.InvitationList = JSON.parse(JSON.stringify(jsonData));
}
}
});
},
filterFnStudent(val, update) {
update(() => {
if (val === "") {
this.InvitationList = JSON.parse(
JSON.stringify(this.AllInvitationList)
);
} else {
const needle = val.toLowerCase();
this.InvitationList = this.AllInvitationList.filter(
v => v.StuName.toLowerCase().indexOf(needle) > -1
);
}
});
},
goUrl(path, row) {
var newpath = "/financial/" + path;
this.OpenNewUrl(newpath, {
preriodId: this.$route.query.id, preriodId: this.$route.query.id,
CommissionType: this.$route.query.CommissionType, CommissionType: this.$route.query.CommissionType,
OrderSourceType: row.OrderSourceType, OrderSourceType: row.OrderSourceType,
OrderSourceId: row.OrderSourceId, OrderSourceId: row.OrderSourceId,
blank: "y" blank: "y"
} });
}); },
}, filterHandler(value, row, column) {
filterHandler(value, row, column) { const property = column["property"];
const property = column["property"]; return row[property] === value;
return row[property] === value; },
}, StudentCount(a, b, c) {
StudentCount(a, b, c) { return a.StudentCount - b.StudentCount;
return a.StudentCount - b.StudentCount; },
}, CommissionMoeny(a, b) {
CommissionMoeny(a, b) { return a.CommissionMoeny - b.CommissionMoeny;
return a.CommissionMoeny - b.CommissionMoeny; },
}, goreturn() {
goreturn() { this.$router.go(-1);
this.$router.go(-1); }
} }
} };
};
</script> </script>
<style lang="sass"> <style lang="sass">
@import url('~assets/css/table.sass') @import url('~assets/css/table.sass')
</style> </style>
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
.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">
...@@ -270,24 +271,11 @@ ...@@ -270,24 +271,11 @@
}) })
}, },
goUrl(id) { goUrl(id) {
this.$router.push({ this.OpenNewUrl("/financial/returnPassbook/ReturnUserList", {
path: '/financial/returnPassbook/ReturnUserList', "id": id,
query: { "CommissionType": 1,
"id": id, blank: 'y',
"CommissionType": 1, });
blank: 'y',
}
})
},
goUrl(id) {
this.$router.push({
path: '/financial/returnPassbook/ReturnUserList',
query: {
"id": id,
"CommissionType": 1,
blank: 'y',
}
})
}, },
handleCurrentChanges(val) { handleCurrentChanges(val) {
this.msg.PageIndex = val; this.msg.PageIndex = val;
...@@ -295,7 +283,9 @@ ...@@ -295,7 +283,9 @@
}, },
}, },
} }
</script> </script>
<style lang="sass"> <style lang="sass">
@import url('~assets/css/table.sass') @import url('~assets/css/table.sass')
</style>
\ No newline at end of file </style>
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
//域名管理对象 //域名管理对象
Vue.prototype.domainManager = function () { Vue.prototype.domainManager = function () {
let domainUrl = 'http://192.168.10.46'; let domainUrl = 'http://192.168.10.214';
let viewFileUrl = 'http://192.168.10.214:8120'; let viewFileUrl = 'http://192.168.10.214:8120';
let mallUrl = "http://192.168.10.2:8088"; let mallUrl = "http://192.168.10.2:8088";
......
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