|
|
|
@ -6,19 +6,27 @@
|
|
|
|
|
@on-cancel="cancel"
|
|
|
|
|
:loading="true"
|
|
|
|
|
width="70%">
|
|
|
|
|
<div class="m-info">
|
|
|
|
|
<div v-if="isShow" class="m-info">
|
|
|
|
|
<div class="m-info-top">
|
|
|
|
|
<p>所属零售公司:{{schedule.organizational.name}}</p>
|
|
|
|
|
<p>所属店铺:{{schedule.store.name}}</p>
|
|
|
|
|
</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">
|
|
|
|
|
|
|
|
|
|
</Table>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="t-rows">
|
|
|
|
|
<div>{{schedule.fissionUser.name}}</div>
|
|
|
|
|
<div>{{schedule.fissionUser.mobil}}</div>
|
|
|
|
|
<div>服务经理</div>
|
|
|
|
|
</div>
|
|
|
|
|
</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">
|
|
|
|
|
|
|
|
|
|
</Table>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="t-rows">
|
|
|
|
|
<div>张胜男</div>
|
|
|
|
|
<div>13123209313</div>
|
|
|
|
|
<div>推广员</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div slot="footer">
|
|
|
|
|
|
|
|
|
@ -35,70 +43,11 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
data () {
|
|
|
|
|
return {
|
|
|
|
|
isShow:false,
|
|
|
|
|
currentStep: 0,
|
|
|
|
|
modal_loading: false,
|
|
|
|
|
loading: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: {
|
|
|
|
@ -119,7 +68,8 @@ export default {
|
|
|
|
|
this.showUse = this.show;
|
|
|
|
|
},
|
|
|
|
|
schedule(){
|
|
|
|
|
console.log('schedule监听',this.schedule)
|
|
|
|
|
console.log('schedule监听',this.schedule);
|
|
|
|
|
this.isShow = true;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted () { },
|
|
|
|
@ -145,4 +95,13 @@ export default {
|
|
|
|
|
padding: 10px 0 10px 10px;
|
|
|
|
|
background-color: #f5f7f9;
|
|
|
|
|
}
|
|
|
|
|
.t-rows{
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
.t-rows div{
|
|
|
|
|
margin-right: 40px;
|
|
|
|
|
line-height: 45px;
|
|
|
|
|
padding-left: 20px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|