|
|
@@ -1,183 +1,185 @@
|
|
|
<template>
|
|
|
- <div>
|
|
|
+ <div class="userPage">
|
|
|
<div class="navBarTOP">
|
|
|
<van-nav-bar class="navBar" title="我的" />
|
|
|
</div>
|
|
|
- <div class="lineGrey"></div>
|
|
|
- <div class="lineGrey"></div>
|
|
|
- <div class="lineGrey"></div>
|
|
|
- <div class="lineGrey"></div>
|
|
|
- <div style="height: 8px"></div>
|
|
|
- <div class="myHeader">
|
|
|
- <van-row>
|
|
|
- <van-col span="7">
|
|
|
- <van-image round width="8rem" height="8rem" :src="avatar" @click="login" />
|
|
|
- </van-col>
|
|
|
- <van-col span="17">
|
|
|
- <div class="avatarContent">
|
|
|
- <p class="nickName">{{ nickName }}</p>
|
|
|
- <p>
|
|
|
- <span class="postName">{{ postName }}</span>
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- </van-col>
|
|
|
- </van-row>
|
|
|
- </div>
|
|
|
- <!-- 主体内容-->
|
|
|
- <div class="container">
|
|
|
- <!-- 门店及拜访-->
|
|
|
- <van-cell-group inset class="mtb10">
|
|
|
- <van-cell :title="addBTN" is-link @click="onSelect('B')" v-if="addShow">
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="addShop" class="zicon" />
|
|
|
- </template>
|
|
|
- </van-cell>
|
|
|
- <van-cell title="新增专卖店/金牌店" is-link @click="onSelect('A')" v-if="addShow1">
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="addShop" class="zicon" />
|
|
|
- </template>
|
|
|
- </van-cell>
|
|
|
- <van-cell :title="title" is-link to="/storemanagementlist">
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="storeselect" class="zicon" />
|
|
|
- </template>
|
|
|
- </van-cell>
|
|
|
- <van-cell title="历史拜访" is-link to="/historAllVisit">
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="history" class="zicon" />
|
|
|
- </template>
|
|
|
- </van-cell>
|
|
|
- </van-cell-group>
|
|
|
- <!-- 客资类-->
|
|
|
- <van-cell-group inset class="mtb10">
|
|
|
- <van-cell title="客资&投诉任务" to="/clew" v-if="customerClueButton">
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="history" class="zicon" />
|
|
|
- </template>
|
|
|
- <template #title>
|
|
|
- <span>客资&投诉任务</span>
|
|
|
- <van-tag type="danger" v-if="customerClueNum > 0">{{ customerClueNum }}</van-tag>
|
|
|
- </template>
|
|
|
- <template #right-icon>
|
|
|
- <van-icon name="arrow" size="16" />
|
|
|
- </template>
|
|
|
- </van-cell>
|
|
|
- <van-cell title="待分配客资" to="/assignAwait" v-if="isAssignFlag">
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="history" class="zicon" />
|
|
|
- </template>
|
|
|
- <template #title>
|
|
|
- <span>待分配客资</span>
|
|
|
- <van-tag type="danger" v-if="notAllocationNum > 0">{{
|
|
|
- notAllocationNum
|
|
|
- }}</van-tag>
|
|
|
- </template>
|
|
|
- <template #right-icon>
|
|
|
- <van-icon name="arrow" size="16" />
|
|
|
- </template>
|
|
|
- </van-cell>
|
|
|
- </van-cell-group>
|
|
|
- <!-- 汇报类-->
|
|
|
- <van-cell-group inset class="mtb10">
|
|
|
- <van-cell
|
|
|
- title="我的历史汇报"
|
|
|
- v-if="historyButton"
|
|
|
- is-link
|
|
|
- to="/myHistoricalDaily"
|
|
|
- class="MYTile">
|
|
|
- <template #title>
|
|
|
- <span class="custom-title">我的历史汇报 </span>
|
|
|
- </template>
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="daily" class="zicon" />
|
|
|
- </template>
|
|
|
- <template #right-icon>
|
|
|
- <van-tag type="danger" v-if="existReject">退回待处理</van-tag>
|
|
|
- <van-icon name="arrow" />
|
|
|
- </template>
|
|
|
- </van-cell>
|
|
|
- <van-cell v-if="showDaily || isDiy == 'true'" is-link to="/subordinateHistoricalDaily">
|
|
|
- 下属业务员历史日报
|
|
|
- <span
|
|
|
- style="font-weight: 600; font-size: 16px; color: red; margin-left: 15px"
|
|
|
- v-if="thisWeekRemarkNum != null"
|
|
|
- >{{ thisWeekRemarkNum }}/5</span
|
|
|
- >
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="daily" class="zicon" />
|
|
|
- </template>
|
|
|
- </van-cell>
|
|
|
- <van-cell
|
|
|
- title="下属部主管历史周报"
|
|
|
- v-if="showWeekly || isDiy == 'true'"
|
|
|
- is-link
|
|
|
- to="/subordinateHistoricalWeekly">
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="daily" class="zicon" />
|
|
|
- </template>
|
|
|
- </van-cell>
|
|
|
- <van-cell
|
|
|
- title="下属大区主管历史半月报"
|
|
|
- v-if="showDouble || isDiy == 'true'"
|
|
|
- is-link
|
|
|
- to="/doubleWeeklyHistorical">
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="daily" class="zicon" />
|
|
|
- </template>
|
|
|
- </van-cell>
|
|
|
- <van-cell
|
|
|
- title="下属汇报率审批率统计"
|
|
|
- v-if="showDaily || showWeekly || showDouble || isDiy == 'true'"
|
|
|
- is-link
|
|
|
- to="/reportingRate">
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="daily" class="zicon" />
|
|
|
- </template>
|
|
|
- </van-cell>
|
|
|
- </van-cell-group>
|
|
|
- <!-- 物料类-->
|
|
|
- <van-cell-group inset class="mtb10">
|
|
|
- <van-cell title="我的物料库存" is-link to="/myInventory" class="MYTile">
|
|
|
- <template #title>
|
|
|
- <span class="custom-title">我的物料库存 </span>
|
|
|
- </template>
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="daily" class="zicon" />
|
|
|
- </template>
|
|
|
- </van-cell>
|
|
|
- </van-cell-group>
|
|
|
- <!-- <p style="margin: -8px 16px 8px;color: #888;" v-if="list">主管任务</p>-->
|
|
|
- <van-cell-group inset>
|
|
|
- <div style="border-radius: 6px; overflow: hidden">
|
|
|
+ <div class="content">
|
|
|
+ <div class="myHeader">
|
|
|
+ <van-row>
|
|
|
+ <van-col span="7">
|
|
|
+ <van-image round width="8rem" height="8rem" :src="avatar" @click="login" />
|
|
|
+ </van-col>
|
|
|
+ <van-col span="17">
|
|
|
+ <div class="avatarContent">
|
|
|
+ <p class="nickName">{{ nickName }}</p>
|
|
|
+ <p>
|
|
|
+ <span class="postName">{{ postName }}</span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ </van-col>
|
|
|
+ </van-row>
|
|
|
+ </div>
|
|
|
+ <!-- 主体内容-->
|
|
|
+ <div class="container">
|
|
|
+ <!-- 门店及拜访-->
|
|
|
+ <van-cell-group inset class="mtb10">
|
|
|
+ <van-cell :title="addBTN" is-link @click="onSelect('B')" v-if="addShow">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="addShop" class="zicon" />
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ <van-cell title="新增专卖店/金牌店" is-link @click="onSelect('A')" v-if="addShow1">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="addShop" class="zicon" />
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ <van-cell :title="title" is-link to="/storemanagementlist">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="storeselect" class="zicon" />
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ <van-cell title="历史拜访" is-link to="/historAllVisit">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="history" class="zicon" />
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ </van-cell-group>
|
|
|
+ <!-- 客资类-->
|
|
|
+ <van-cell-group inset class="mtb10">
|
|
|
+ <van-cell title="客资&投诉任务" to="/clew" v-if="customerClueButton">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="history" class="zicon" />
|
|
|
+ </template>
|
|
|
+ <template #title>
|
|
|
+ <span>客资&投诉任务</span>
|
|
|
+ <van-tag type="danger" v-if="customerClueNum > 0">{{
|
|
|
+ customerClueNum
|
|
|
+ }}</van-tag>
|
|
|
+ </template>
|
|
|
+ <template #right-icon>
|
|
|
+ <van-icon name="arrow" size="16" />
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ <van-cell title="待分配客资" to="/assignAwait" v-if="isAssignFlag">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="history" class="zicon" />
|
|
|
+ </template>
|
|
|
+ <template #title>
|
|
|
+ <span>待分配客资</span>
|
|
|
+ <van-tag type="danger" v-if="notAllocationNum > 0">{{
|
|
|
+ notAllocationNum
|
|
|
+ }}</van-tag>
|
|
|
+ </template>
|
|
|
+ <template #right-icon>
|
|
|
+ <van-icon name="arrow" size="16" />
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ </van-cell-group>
|
|
|
+ <!-- 汇报类-->
|
|
|
+ <van-cell-group inset class="mtb10">
|
|
|
<van-cell
|
|
|
+ title="我的历史汇报"
|
|
|
+ v-if="historyButton"
|
|
|
is-link
|
|
|
- v-for="(item, index) in list"
|
|
|
- :key="index"
|
|
|
- :to="'/VisitSummaryAdd?summaryId=' + item.summaryId + '&title=' + item.summaryTaskName">
|
|
|
+ to="/myHistoricalDaily"
|
|
|
+ class="MYTile">
|
|
|
<template #title>
|
|
|
- <span class="custom-title">{{ item.summaryTaskName }}</span>
|
|
|
+ <span class="custom-title">我的历史汇报 </span>
|
|
|
</template>
|
|
|
<template #icon>
|
|
|
<van-icon :name="daily" class="zicon" />
|
|
|
</template>
|
|
|
+ <template #right-icon>
|
|
|
+ <van-tag type="danger" v-if="existReject">退回待处理</van-tag>
|
|
|
+ <van-icon name="arrow" />
|
|
|
+ </template>
|
|
|
</van-cell>
|
|
|
- <van-cell title="主管任务查询" is-link to="/VisitSummary" v-if="summaryTaskButton">
|
|
|
+ <van-cell v-if="showDaily || isDiy == 'true'" is-link to="/subordinateHistoricalDaily">
|
|
|
+ 下属业务员历史日报
|
|
|
+ <span
|
|
|
+ style="font-weight: 600; font-size: 16px; color: red; margin-left: 15px"
|
|
|
+ v-if="thisWeekRemarkNum != null"
|
|
|
+ >{{ thisWeekRemarkNum }}/5</span
|
|
|
+ >
|
|
|
<template #icon>
|
|
|
- <van-icon :name="history" class="zicon" />
|
|
|
+ <van-icon :name="daily" class="zicon" />
|
|
|
</template>
|
|
|
</van-cell>
|
|
|
- <van-cell title="家装推广会历史提报查询" is-link to="/VisitSummaryMy" v-if="jzTaskButton">
|
|
|
+ <van-cell
|
|
|
+ title="下属部主管历史周报"
|
|
|
+ v-if="showWeekly || isDiy == 'true'"
|
|
|
+ is-link
|
|
|
+ to="/subordinateHistoricalWeekly">
|
|
|
<template #icon>
|
|
|
- <van-icon :name="history" class="zicon" />
|
|
|
+ <van-icon :name="daily" class="zicon" />
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ <van-cell
|
|
|
+ title="下属大区主管历史半月报"
|
|
|
+ v-if="showDouble || isDiy == 'true'"
|
|
|
+ is-link
|
|
|
+ to="/doubleWeeklyHistorical">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="daily" class="zicon" />
|
|
|
</template>
|
|
|
</van-cell>
|
|
|
- </div>
|
|
|
- </van-cell-group>
|
|
|
- <br /><br />
|
|
|
- <br /><br />
|
|
|
- <br /><br />
|
|
|
- <tab-bar tabBarActive="MyList"></tab-bar>
|
|
|
+ <van-cell
|
|
|
+ title="下属汇报率审批率统计"
|
|
|
+ v-if="showDaily || showWeekly || showDouble || isDiy == 'true'"
|
|
|
+ is-link
|
|
|
+ to="/reportingRate">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="daily" class="zicon" />
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ </van-cell-group>
|
|
|
+ <!-- 物料类-->
|
|
|
+ <van-cell-group inset class="mtb10">
|
|
|
+ <van-cell title="我的物料库存" is-link to="/myInventory" class="MYTile">
|
|
|
+ <template #title>
|
|
|
+ <span class="custom-title">我的物料库存 </span>
|
|
|
+ </template>
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="daily" class="zicon" />
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ </van-cell-group>
|
|
|
+ <!-- <p style="margin: -8px 16px 8px;color: #888;" v-if="list">主管任务</p>-->
|
|
|
+ <van-cell-group inset>
|
|
|
+ <div style="border-radius: 6px; overflow: hidden">
|
|
|
+ <van-cell
|
|
|
+ is-link
|
|
|
+ v-for="(item, index) in list"
|
|
|
+ :key="index"
|
|
|
+ :to="
|
|
|
+ '/VisitSummaryAdd?summaryId=' + item.summaryId + '&title=' + item.summaryTaskName
|
|
|
+ ">
|
|
|
+ <template #title>
|
|
|
+ <span class="custom-title">{{ item.summaryTaskName }}</span>
|
|
|
+ </template>
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="daily" class="zicon" />
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ <van-cell title="主管任务查询" is-link to="/VisitSummary" v-if="summaryTaskButton">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="history" class="zicon" />
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ <van-cell
|
|
|
+ title="家装推广会历史提报查询"
|
|
|
+ is-link
|
|
|
+ to="/VisitSummaryMy"
|
|
|
+ v-if="jzTaskButton">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="history" class="zicon" />
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ </div>
|
|
|
+ </van-cell-group>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+ <tab-bar tabBarActive="MyList"></tab-bar>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -361,7 +363,22 @@ export default {
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
-<style scoped>
|
|
|
+<style scoped lang="scss">
|
|
|
+.userPage {
|
|
|
+ height: 100%;
|
|
|
+ width: 100%;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ overflow: hidden;
|
|
|
+ .content {
|
|
|
+ flex: 1;
|
|
|
+ margin-top: 46px;
|
|
|
+ overflow-y: auto;
|
|
|
+ }
|
|
|
+ .tabBar {
|
|
|
+ height: 50px;
|
|
|
+ }
|
|
|
+}
|
|
|
.myHeader {
|
|
|
background-color: #1c84c6;
|
|
|
padding: 24px 30px;
|