Commit 11472c06 authored by 黄奎's avatar 黄奎
parents be4abfbd d72f9867
...@@ -9,11 +9,11 @@ ...@@ -9,11 +9,11 @@
</div> </div>
<div class="content"> <div class="content">
<div> <div>
<div class="searchInput" style="width:230px"> <div class="searchInput" style="width:230px">
<el-input style="display:inline-block;width:205px;height:30px" <el-input style="display:inline-block;width:205px;height:30px"
placeholder="请输入用户id" placeholder="请输入用户id"
@keyup.enter.native="msg.pageIndex=1,getList()" @keyup.enter.native="msg.pageIndex=1,getList()"
@clear="msg.pageIndex=1,getList()" @clear="msg.pageIndex=1,getList()"
v-model="msg.UserId" v-model="msg.UserId"
size="small" size="small"
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<div class="searchInput" style="width:230px"> <div class="searchInput" style="width:230px">
<el-input style="display:inline-block;width:205px;height:30px" <el-input style="display:inline-block;width:205px;height:30px"
placeholder="请输入微店名称" placeholder="请输入微店名称"
@keyup.enter.native="msg.pageIndex=1,getList()" @keyup.enter.native="msg.pageIndex=1,getList()"
@clear="msg.pageIndex=1,getList()" @clear="msg.pageIndex=1,getList()"
v-model="msg.Name" v-model="msg.Name"
size="small" size="small"
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<div class="searchInput" style="width:230px"> <div class="searchInput" style="width:230px">
<el-input style="display:inline-block;width:205px;height:30px" <el-input style="display:inline-block;width:205px;height:30px"
placeholder="请输入用户名称" placeholder="请输入用户名称"
@keyup.enter.native="msg.pageIndex=1,getList()" @keyup.enter.native="msg.pageIndex=1,getList()"
@clear="msg.pageIndex=1,getList()" @clear="msg.pageIndex=1,getList()"
v-model="msg.NickName" v-model="msg.NickName"
size="small" size="small"
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<div flex="dir:left cross:center"> <div flex="dir:left cross:center">
{{scope.row.UserName}} {{scope.row.UserName}}
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="Commission" label="可提现佣金"> <el-table-column prop="Commission" label="可提现佣金">
<el-table-column prop="Moblie" label="总佣金"> <el-table-column prop="Moblie" label="总佣金">
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<p>{{scope.row.Commission?scope.row.Commission.toFixed(2):'0.00'}}</p> <p>{{scope.row.Commission?scope.row.Commission.toFixed(2):'0.00'}}</p>
<p>{{scope.row.TotalCommission?scope.row.TotalCommission.toFixed(2):'0.00'}}</p> <p>{{scope.row.TotalCommission?scope.row.TotalCommission.toFixed(2):'0.00'}}</p>
</template> </template>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
<el-table-column prop="AuditStatusName" label="申请状态"> </el-table-column> <el-table-column prop="AuditStatusName" label="申请状态"> </el-table-column>
<el-table-column prop="AuditDate" label="审核时间"> </el-table-column> <el-table-column prop="AuditDate" label="审核时间"> </el-table-column>
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
<el-table-column <el-table-column
prop="address" prop="address"
label="操作"> label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -93,16 +93,16 @@ ...@@ -93,16 +93,16 @@
<img @click="pending(scope.row,2)" v-if="scope.row.AuditStatus==1" class="app-order-icon" <img @click="pending(scope.row,2)" v-if="scope.row.AuditStatus==1" class="app-order-icon"
src="../../../assets/img/userman/nopass.png" alt=""> src="../../../assets/img/userman/nopass.png" alt="">
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="添加备注" placement="top-start" v-if="scope.row.AuditStatus==2"> <el-tooltip class="item" effect="dark" content="修改备注" placement="top-start" v-if="scope.row.AuditStatus==2">
<img @click="openRemark(5,scope.row)" style="width:32px;height:32px" src="../../../assets/img/userman/add_remark.png" alt="" v-if="scope.row.AuditStatus==2"> <img @click="pending(scope.row,3)" style="width:32px;height:32px" src="../../../assets/img/userman/add_remark.png" alt="" v-if="scope.row.AuditStatus==2">
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top-start" v-if="scope.row.AuditStatus==2"> <el-tooltip class="item" effect="dark" content="删除" placement="top-start" v-if="scope.row.AuditStatus==2">
<img @click="Delete(3,scope.row)" style="width:32px;height:32px" src="../../../assets/img/userman/del.png" alt="" v-if="scope.row.AuditStatus==2"> <img @click="pending(scope.row,4)" style="width:32px;height:32px" src="../../../assets/img/userman/del.png" alt="" v-if="scope.row.AuditStatus==2">
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="修改微店佣金" placement="top-start" v-if="scope.row.AuditStatus==2"> <el-tooltip class="item" effect="dark" content="修改微店佣金" placement="top-start" v-if="scope.row.AuditStatus==2">
<img @click="openYongjin(scope.row)" style="width:32px;height:32px" src="../../../assets/img/userman/edit.png" alt="" v-if="scope.row.AuditStatus==2"> <img @click="openYongjin(scope.row)" style="width:32px;height:32px" src="../../../assets/img/userman/edit.png" alt="" v-if="scope.row.AuditStatus==2">
</el-tooltip> </el-tooltip>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination style="text-align:right" <el-pagination style="text-align:right"
...@@ -125,12 +125,25 @@ ...@@ -125,12 +125,25 @@
<el-form-item label-width="100px" label="可提现佣金"> <el-form-item label-width="100px" label="可提现佣金">
<el-input v-model="yjMsg.Commission" @keyup.native="checkInteger(yjMsg,'Commission')" style="width:210px;"></el-input> <el-input v-model="yjMsg.Commission" @keyup.native="checkInteger(yjMsg,'Commission')" style="width:210px;"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button size="small" @click="yjDialog = false">取 消</el-button> <el-button size="small" @click="yjDialog = false">取 消</el-button>
<el-button size="small" type="primary" @click="setCommission">确 定</el-button> <el-button size="small" type="primary" @click="setCommission">确 定</el-button>
</span> </span>
</el-dialog> </el-dialog>
<!-- 修改备注 -->
<el-dialog title="提示" :visible.sync="reasonDig" width="500px">
<el-form :model="RemarkMsg" ref="RemarkMsg" label-width="0">
<p style="margin-bottom:10px">请输入备注</p>
<el-form-item>
<el-input size="small" v-model="RemarkMsg.Remark" type="textarea" :rows="3"></el-input>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="reasonDig = false">取 消</el-button>
<el-button size="small" type="primary" @click="czsubmitForm()" :loading="tjloading">确 定</el-button>
</span>
</el-dialog>
</div> </div>
</div> </div>
</template> </template>
...@@ -140,6 +153,8 @@ ...@@ -140,6 +153,8 @@
return { return {
loading:false, loading:false,
yjDialog:false, yjDialog:false,
reasonDig:false,
tjloading:false,
value:'', value:'',
options:[], options:[],
tableData:[], tableData:[],
...@@ -152,7 +167,7 @@ ...@@ -152,7 +167,7 @@
NickName:'', NickName:'',
}, },
total:0, total:0,
AuditStatusList: [], AuditStatusList: [],
activeName: 'first', activeName: 'first',
yjMsg:{ yjMsg:{
...@@ -160,7 +175,8 @@ ...@@ -160,7 +175,8 @@
Commission:0 Commission:0
}, },
yjNickName:'', yjNickName:'',
TotalCommission:'' TotalCommission:'',
RemarkMsg:{},
}; };
}, },
created() { created() {
...@@ -168,7 +184,7 @@ ...@@ -168,7 +184,7 @@
this.GetAuditStatus() this.GetAuditStatus()
}, },
methods: { methods: {
GetAuditStatus() { GetAuditStatus() {
this.apipost("/api/user/GetDistributorAuditStatusEnumList", {}, res => { this.apipost("/api/user/GetDistributorAuditStatusEnumList", {}, res => {
this.AuditStatusList = res.data.data; this.AuditStatusList = res.data.data;
...@@ -178,7 +194,7 @@ ...@@ -178,7 +194,7 @@
this.msg.AuditStatus = val.$attrs.dataId; this.msg.AuditStatus = val.$attrs.dataId;
this.getList(); this.getList();
}, },
getList(){ getList(){
this.loading=true; this.loading=true;
this.apipost("/api/SmallShops/GetSmallShopsPageList", this.msg, res => { this.apipost("/api/SmallShops/GetSmallShopsPageList", this.msg, res => {
...@@ -188,12 +204,12 @@ ...@@ -188,12 +204,12 @@
let pageData=res.data.data.pageData; let pageData=res.data.data.pageData;
this.tableData=pageData; this.tableData=pageData;
} }
}) })
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
this.msg.pageIndex = val; this.msg.pageIndex = val;
this.getList(); this.getList();
...@@ -206,6 +222,7 @@ ...@@ -206,6 +222,7 @@
this.yjMsg.Commission=row.Commission?row.Commission:0.00; this.yjMsg.Commission=row.Commission?row.Commission:0.00;
this.yjDialog=true; this.yjDialog=true;
}, },
//修改佣金 //修改佣金
setCommission(){ setCommission(){
this.apipost("/api/SmallShops/SetSmallShopsCommission",this.yjMsg, res => { this.apipost("/api/SmallShops/SetSmallShopsCommission",this.yjMsg, res => {
...@@ -228,33 +245,59 @@ ...@@ -228,33 +245,59 @@
text = '同意审核!' text = '同意审核!'
}else if(type==2){ }else if(type==2){
text = '拒绝审核!' text = '拒绝审核!'
}else if(type == 4){
text = '是否删除当前微店!'
} }
let that=this; let that=this;
if(type ==3){
msg.Remark = row.Remark;
that.RemarkMsg = msg
that.reasonDig = true;
}else {
that.$confirm(text, { that.$confirm(text, {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.apipost('/api/SmallShops/SetSmallShopsAudit',msg, this.apipost('/api/SmallShops/SetSmallShopsAudit',msg,
res => { res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.getList(); this.getList();
this.Success(res.data.message) this.Success(res.data.message)
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}, },
null null
); );
}).catch(() => { }).catch(() => {
}); });
}
}, },
czsubmitForm(){
this.tjloading= true;
this.apipost('/api/SmallShops/SetSmallShopsAudit',this.RemarkMsg,
res => {
this.tjloading= false
if (res.data.resultCode === 1) {
this.reasonDig= false
this.getList();
this.Success(res.data.message)
} else {
this.Error(res.data.message);
}
},
null
);
}
}, },
mounted() { mounted() {
} }
}; };
...@@ -267,16 +310,16 @@ ...@@ -267,16 +310,16 @@
float: right; float: right;
} }
.usersList .app-image{ .usersList .app-image{
background-position: center center; background-position: center center;
width: 50px; width: 50px;
height: 50px; height: 50px;
border-radius:0%; border-radius:0%;
float: left; float: left;
margin-right: 8px; margin-right: 8px;
} }
.usersList .blue{ .usersList .blue{
color:#409EFF; color:#409EFF;
} }
.usersList .content .searchInput{ .usersList .content .searchInput{
border: 1px solid #DCDFE6; border: 1px solid #DCDFE6;
......
This diff is collapsed.
This diff is collapsed.
...@@ -32,15 +32,17 @@ ...@@ -32,15 +32,17 @@
<el-date-picker v-model="dateList" @change="msg.pageIndex=1,getList()" size="small" type="datetimerange" <el-date-picker v-model="dateList" @change="msg.pageIndex=1,getList()" size="small" type="datetimerange"
range-separator="至" value-format="yyyy-MM-dd HH:mm:ss" start-placeholder="下单开始日期" end-placeholder="下单结束日期"> range-separator="至" value-format="yyyy-MM-dd HH:mm:ss" start-placeholder="下单开始日期" end-placeholder="下单结束日期">
</el-date-picker> </el-date-picker>
<el-button type="primary" size="mini" @click="getList()" style="margin-left:10px;position:relative;top:-1px;">查询</el-button>
</div> </div>
<el-table :data="tableData" ref="multipleTable" v-loading="loading" border style="width: 100%" <el-table :data="tableData" ref="multipleTable" v-loading="loading" border style="width: 100%">
@select="selectSingle" @select-all="selectAll"> <!-- <el-table-column type="selection" width="55">
</el-table-column> -->
<el-table-column width="55"> <el-table-column width="55">
<template slot="header" slot-scope="scope"> <template slot="header" slot-scope="scope">
<el-checkbox v-model="isCheckAll" @change="getCheckdData(tableData,'')"></el-checkbox> <el-checkbox v-model="isCheckAll" @change="getCheckAll(tableData)"></el-checkbox>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<el-checkbox v-model="scope.row.isChecked" @change="getCheckdData(tableData,scope.row)"></el-checkbox> <el-checkbox v-model="scope.row.isChecked" :disabled="scope.row.isCanCheck" @change="getSingleCheck(tableData,scope.row)"></el-checkbox>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="OrderNo" label="订单号/订单Id" width="200"> <el-table-column prop="OrderNo" label="订单号/订单Id" width="200">
...@@ -111,10 +113,10 @@ ...@@ -111,10 +113,10 @@
<el-dialog title="修改" :visible.sync="updateDialog" width="400px"> <el-dialog title="修改" :visible.sync="updateDialog" width="400px">
<el-form label-width="50px"> <el-form label-width="50px">
<el-form-item label="数量" v-if="updateMsg.Type==1||updateMsg.Type==2"> <el-form-item label="数量" v-if="updateMsg.Type==1||updateMsg.Type==2">
<el-input size="small" v-model="updateMsg.LivePeopleNum"></el-input> <el-input size="small" @keyup.native="checkInteger(updateMsg,'LivePeopleNum')" v-model="updateMsg.LivePeopleNum"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="金额" v-if="updateMsg.Type==1||updateMsg.Type==3"> <el-form-item label="金额" v-if="updateMsg.Type==1||updateMsg.Type==3">
<el-input size="small" v-model="updateMsg.LiveCommission"></el-input> <el-input size="small" @keyup.native="checkPrice(updateMsg,'LiveCommission')" v-model="updateMsg.LiveCommission"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
...@@ -155,7 +157,6 @@ ...@@ -155,7 +157,6 @@
ERPEmpId: 0, ERPEmpId: 0,
updateDialog: false, updateDialog: false,
isCheckAll: false, //全选
//修改信息 //修改信息
updateMsg: { updateMsg: {
Ids: '', Ids: '',
...@@ -167,7 +168,11 @@ ...@@ -167,7 +168,11 @@
isSingleCheck: false, //有过单选 isSingleCheck: false, //有过单选
firstPeoNum: -1, firstPeoNum: -1,
AccountList: [], //账户下拉 AccountList: [], //账户下拉
checkedDan: [] //选中数 checkedDan: [], //选中数
isCheckAll: false, //全选
findRow:{},
} }
}, },
created() { created() {
...@@ -197,14 +202,12 @@ ...@@ -197,14 +202,12 @@
this.loading = true; this.loading = true;
this.apipost("/api/order/GetLiveGoodsOrderPageList", this.msg, res => { this.apipost("/api/order/GetLiveGoodsOrderPageList", this.msg, res => {
this.loading = false; this.loading = false;
console.log(res, 'res');
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.total = res.data.data.count; this.total = res.data.data.count;
var myData = res.data.data.pageData; var myData = res.data.data.pageData;
var tempArray=[];
myData.forEach(x => { myData.forEach(x => {
x.isChecked = false; x.isChecked = false;
x.isCanCheck=false;
}) })
this.tableData = JSON.parse(JSON.stringify(myData)); this.tableData = JSON.parse(JSON.stringify(myData));
} else { } else {
...@@ -232,6 +235,7 @@ ...@@ -232,6 +235,7 @@
this.getList(); this.getList();
this.Success(res.data.message); this.Success(res.data.message);
this.ComCheckedArr = []; this.ComCheckedArr = [];
this.findRow={};
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
...@@ -252,74 +256,64 @@ ...@@ -252,74 +256,64 @@
} }
} }
}, },
//单选 //自定义单选
selectSingle(selection, row) { getSingleCheck(tableData,row){
this.isSingleCheck = true;
if (selection.length > 0) {
this.firstPeoNum = selection[0].LivePeopleNum;
selection.forEach(x => {
if (x.LivePeopleNum != this.firstPeoNum) {
this.$refs.multipleTable.toggleRowSelection(x);
this.Error('主播数量不一致,不能勾选!');
}
});
}
this.ComCheckedArr = selection;
},
getCheckdData(tabledata, row) {
console.log(tabledata, 'tabledata');
this.ComCheckedArr=[]; this.ComCheckedArr=[];
//单选 this.findRow = tableData.find(eItem => eItem.isChecked == true);
if (row) { if(this.findRow){
var findRow = tabledata.find(eItem => eItem.isChecked == true); tableData.forEach(x=>{
console.log("findRow", findRow); if(x.LivePeopleNum!=this.findRow.LivePeopleNum){
if (findRow) { x.isCanCheck=true;
tabledata.forEach(x => {
if (x.isChecked) {
if (x.LivePeopleNum != findRow.LivePeopleNum) {
this.Info("11111")
x.isChecked = false;
}
this.ComCheckedArr.push(x);
} }
}) if(x.isChecked){
}
} else {
var findRow = tabledata[0];
if (findRow) {
tabledata.forEach(x => {
if (x.LivePeopleNum == findRow.LivePeopleNum) {
x.isChecked = this.isCheckAll;
this.ComCheckedArr.push(x); this.ComCheckedArr.push(x);
} }
}) })
} }else{
tableData.forEach(x=>{
x.isCanCheck=false;
})
this.isCheckAll=false;
this.findRow={};
} }
console.log(this.ComCheckedArr,'ComCheckedArr');
}, },
//多选 //自定义多选
selectAll(selection) { getCheckAll(tableData){
//有过单选 this.ComCheckedArr=[];
this.$refs.multipleTable.clearSelection(); if(this.isCheckAll){
// this.$refs.multipleTable.toggleRowSelection(false); //有过单选
this.ComCheckedArr = []; if(JSON.stringify(this.findRow) != "{}"){
if (this.isSingleCheck) { this.findRow = tableData.find(eItem => eItem.isChecked == true);
selection.forEach(x => { tableData.forEach(x=>{
if (x.LivePeopleNum == this.firstPeoNum) { if(x.LivePeopleNum==this.findRow.LivePeopleNum){
this.$refs.multipleTable.toggleRowSelection(x, true); x.isChecked=true;
this.ComCheckedArr.push(x); this.ComCheckedArr.push(x);
} }else{
}); x.isCanCheck=true;
} else { }
var firstPeoNum = selection[0].LivePeopleNum })
selection.forEach(x => { }else{
if (x.LivePeopleNum == firstPeoNum) { if(tableData.length>0){
this.$refs.multipleTable.toggleRowSelection(x, true); var firstData = tableData[0];
this.ComCheckedArr.push(x); tableData.forEach(x=>{
if(x.LivePeopleNum==firstData.LivePeopleNum){
x.isChecked=true;
this.ComCheckedArr.push(x);
}else{
x.isCanCheck=true;
}
})
} }
}); }
}else{
tableData.forEach(x=>{
x.isChecked=false;
x.isCanCheck=false;
})
this.findRow={};
} }
}, },
//点击批量修改金额 //点击批量修改金额
batchUpMoney() { batchUpMoney() {
if (this.ComCheckedArr == 0) { if (this.ComCheckedArr == 0) {
...@@ -359,7 +353,8 @@ ...@@ -359,7 +353,8 @@
} }
var _index = this.finMsg.AccountIds.indexOf(0); var _index = this.finMsg.AccountIds.indexOf(0);
if (_index > -1) { if (_index > -1) {
this.Error('请选择第' + _index + '个账户'); this.Error('请选择第' + (_index+1) + '个账户');
return;
} }
if (this.ComCheckedArr.length > 0) { if (this.ComCheckedArr.length > 0) {
this.ComCheckedArr.forEach(x => { this.ComCheckedArr.forEach(x => {
...@@ -384,7 +379,6 @@ ...@@ -384,7 +379,6 @@
this.apipost("/api/Supplier/GetClientBankAccountList", {}, res => { this.apipost("/api/Supplier/GetClientBankAccountList", {}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.AccountList = res.data.data; this.AccountList = res.data.data;
console.log(this.AccountList, 'AccountList');
} else { } else {
this.Error(res.data.message) this.Error(res.data.message)
} }
...@@ -404,36 +398,4 @@ ...@@ -404,36 +398,4 @@
box-sizing: border-box; box-sizing: border-box;
} }
.LiveOrder .LiveOrderTable {
width: 100%;
border-collapse: collapse;
}
.LiveOrder .LiveOrderTable tr th {
height: 48px;
font-size: 14px;
color: #909399;
border: 1px solid #EBEEF5;
font-weight: bold;
}
.LiveOrder .LiveOrderTable tr {
background: #fff;
text-align: center;
height: 50px;
}
.LiveOrder .LiveOrderTable tr td {
font-size: 14px;
border: 1px solid #EBEEF5;
}
.LiveOrder .fx_inner:hover td {
background-color: #F5F7FA;
}
.LiveOrder .LiveOrderTable td {
transition: background-color .25s ease;
}
</style> </style>
...@@ -115,13 +115,13 @@ export default new Router({ ...@@ -115,13 +115,13 @@ export default new Router({
path: '/groupEmpower', path: '/groupEmpower',
name: 'groupEmpower', name: 'groupEmpower',
component: resolve => require(['@/components/empower/groupEmpower'], resolve), component: resolve => require(['@/components/empower/groupEmpower'], resolve),
}, },
//授权中心 授权管理 //授权中心 授权管理
{ {
path: '/empowerManage', path: '/empowerManage',
name: 'empowerManage', name: 'empowerManage',
component: resolve => require(['@/components/empower/empowerManage'], resolve), component: resolve => require(['@/components/empower/empowerManage'], resolve),
}, },
//授权中心 授权详情 //授权中心 授权详情
{ {
path: '/empowerEdit', path: '/empowerEdit',
...@@ -139,27 +139,27 @@ export default new Router({ ...@@ -139,27 +139,27 @@ export default new Router({
path: '/procurementMange', path: '/procurementMange',
name: 'procurementMange', name: 'procurementMange',
component: resolve => require(['@/components/empower/procurementMange'], resolve), component: resolve => require(['@/components/empower/procurementMange'], resolve),
}, },
//授权中心 物料仓库 //授权中心 物料仓库
{ {
path: '/Materialwarehouse', path: '/Materialwarehouse',
name: 'Materialwarehouse', name: 'Materialwarehouse',
component: resolve => require(['@/components/empower/Materialwarehouse'], resolve), component: resolve => require(['@/components/empower/Materialwarehouse'], resolve),
}, },
//授权中心 入库 //授权中心 入库
{ {
path: '/putinStorage', path: '/putinStorage',
name: 'putinStorage', name: 'putinStorage',
component: resolve => require(['@/components/empower/putinStorage'], resolve), component: resolve => require(['@/components/empower/putinStorage'], resolve),
}, },
//授权中心 打印 //授权中心 打印
{ {
path: '/printManage', path: '/printManage',
name: 'printManage', name: 'printManage',
component: resolve => require(['@/components/empower/printManage'], resolve), component: resolve => require(['@/components/empower/printManage'], resolve),
}, },
] ]
}, },
{ {
...@@ -298,7 +298,7 @@ export default new Router({ ...@@ -298,7 +298,7 @@ export default new Router({
name: 'RecommendRebate', name: 'RecommendRebate',
component: resolve => require(['@/components/UserMan/RecommendRebate'], resolve), component: resolve => require(['@/components/UserMan/RecommendRebate'], resolve),
}, },
// 用户管理 优惠券管理 // 用户管理 优惠券管理
{ {
path: '/usersCoupon', path: '/usersCoupon',
...@@ -323,6 +323,18 @@ export default new Router({ ...@@ -323,6 +323,18 @@ export default new Router({
name: 'wdExamine', name: 'wdExamine',
component: resolve => require(['@/components/UserMan/tinyMerchant/wdExamine'], resolve), component: resolve => require(['@/components/UserMan/tinyMerchant/wdExamine'], resolve),
}, },
// 用户管理 微店订单
{
path: '/wdOrder',
name: 'wdOrder',
component: resolve => require(['@/components/UserMan/tinyMerchant/wdOrder'], resolve),
},
// 用户管理 微店提现
{
path: '/wdWithdrawal',
name: 'wdWithdrawal',
component: resolve => require(['@/components/UserMan/tinyMerchant/wdWithdrawal'], resolve),
},
// 商品管理 素材管理 // 商品管理 素材管理
{ {
path: '/materialMan', path: '/materialMan',
...@@ -449,7 +461,7 @@ export default new Router({ ...@@ -449,7 +461,7 @@ export default new Router({
name: 'outboundManage', name: 'outboundManage',
component:resolve => require(['@/components/orderMan/outboundManage'], resolve), component:resolve => require(['@/components/orderMan/outboundManage'], resolve),
}, },
// 订单管理 售后订单详情 // 订单管理 售后订单详情
{ {
path: '/salesOrderDetails', path: '/salesOrderDetails',
...@@ -701,7 +713,7 @@ export default new Router({ ...@@ -701,7 +713,7 @@ export default new Router({
name: 'mailRulesSet', name: 'mailRulesSet',
component: resolve => require(['@/components/setup/mailRulesSet'], resolve), component: resolve => require(['@/components/setup/mailRulesSet'], resolve),
}, },
//设置 上传设置 //设置 上传设置
{ {
path: '/uploadSettings', path: '/uploadSettings',
......
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