feature_0521
liuyang 5 years ago
parent fb23e89296
commit f19cd852a2

@ -508,7 +508,6 @@ export default {
}, },
// //
download: function (index) { download: function (index) {
debugger;
let fileName = index.name + "-门店码"; let fileName = index.name + "-门店码";
http.downloadImg( http.downloadImg(
{ {

@ -474,7 +474,7 @@ export default {
title: "审核不通过原因", title: "审核不通过原因",
width: 120, width: 120,
render: (h, params) => { render: (h, params) => {
return h("span", formatDate(params.row.remark)); return h("span",params.row.fissionUser.remark);
} }
} }
], ],
@ -596,8 +596,8 @@ export default {
let request = { let request = {
status: that.tabIndex + 2, status: that.tabIndex + 2,
pageNum: that.pageNum, pageNum: that.pageNum,
storeId: that.selectedStore, storeId: that.selectedStore ==0 ? null:that.selectedStore,
companyId: that.companyId, companyId: that.companyId ==0 ? null:that.companyId,
store: that.searchShop, store: that.searchShop,
start: start:
that.selectDate[0] === "" || that.selectDate.length == 0 that.selectDate[0] === "" || that.selectDate.length == 0

@ -393,7 +393,6 @@
this.rowData = index; this.rowData = index;
}, },
doShow (currData,ishow) { doShow (currData,ishow) {
debugger
this.showrecruit = false; this.showrecruit = false;
let that = this; let that = this;
let param = { let param = {

@ -6,19 +6,27 @@
@on-cancel="cancel" @on-cancel="cancel"
:loading="true" :loading="true"
width="70%"> width="70%">
<div class="m-info"> <div v-if="isShow" class="m-info">
<div class="m-info-top"> <div class="m-info-top">
<p>所属零售公司{{schedule.organizational.name}}</p> <p>所属零售公司{{schedule.organizational.name}}</p>
<p>所属店铺{{schedule.store.name}}</p> <p>所属店铺{{schedule.store.name}}</p>
</div> </div>
<div class="m-superior">上级</div> <div class="m-superior">上级</div>
<Table ref="table" style="width:100%!important" :show-header="false" :loading="loading" :columns="columns1" :data="data1" class="table-store"> <div>
<div class="t-rows">
</Table> <div>{{schedule.fissionUser.name}}</div>
<div>{{schedule.fissionUser.mobil}}</div>
<div>服务经理</div>
</div>
</div>
<div class="m-subordinate">下级(35)</div> <div class="m-subordinate">下级(35)</div>
<Table ref="table" style="width:100%!important" :show-header="false" :loading="loading" :columns="columns2" :data="data2" class="table-store"> <div>
<div class="t-rows">
</Table> <div>张胜男</div>
<div>13123209313</div>
<div>推广员</div>
</div>
</div>
</div> </div>
<div slot="footer"> <div slot="footer">
@ -35,70 +43,11 @@ export default {
}, },
data () { data () {
return { return {
isShow:false,
currentStep: 0, currentStep: 0,
modal_loading: false, modal_loading: false,
loading:false, loading:false,
showUse: false, showUse: false,
columns1: [
{
title: '上级姓名',
key: 'superiorName',
width:120
},
{
title: '上级手机号',
key: 'superiorPhone',
width:140
},
{
title: '职务',
key: 'superiorDuty',
width:160
}
],
data1:[
{
superiorName:'张继军',
superiorPhone:'13819890111',
superiorDuty:'服务经理',
}
],
columns2: [
{
title: '下级姓名',
key: 'subordinateName',
width:120
},
{
title: '下级手机号',
key: 'subordinatePhone',
width:130
},
{
title: '职务',
key: 'subordinateDuty',
width:160
}
],
data2:[
{
subordinateName:'张军',
subordinatePhone:'13119011110',
subordinateDuty:'推广员',
},
{
subordinateName:'王凯',
subordinatePhone:'13123209313',
subordinateDuty:'推广员',
},
{
subordinateName:'陈涵',
subordinatePhone:'13119024321',
subordinateDuty:'推广员',
},
],
}; };
}, },
props: { props: {
@ -119,7 +68,8 @@ export default {
this.showUse = this.show; this.showUse = this.show;
}, },
schedule(){ schedule(){
console.log('schedule监听',this.schedule) console.log('schedule监听',this.schedule);
this.isShow = true;
} }
}, },
mounted () { }, mounted () { },
@ -145,4 +95,13 @@ export default {
padding: 10px 0 10px 10px; padding: 10px 0 10px 10px;
background-color: #f5f7f9; background-color: #f5f7f9;
} }
.t-rows{
display: flex;
}
.t-rows div{
margin-right: 40px;
line-height: 45px;
padding-left: 20px;
}
</style> </style>

@ -552,7 +552,6 @@
}, },
// switch // switch
modifyStatus(accountId, val) { modifyStatus(accountId, val) {
debugger
let that = this; let that = this;
let status; let status;
if (val) { if (val) {

Loading…
Cancel
Save