增加权限埋点
This commit is contained in:
parent
76c5387753
commit
5a3a7a2767
@ -1,3 +1,5 @@
|
||||
import getCdnUrl from "./getCdnUrl.js"
|
||||
|
||||
const ordStaEnum = {
|
||||
post: 1,
|
||||
get: 2,
|
||||
@ -179,8 +181,50 @@ const addressNameCodeMap = [
|
||||
{ nameKey: 'townName', codeKey: 'town' }
|
||||
]
|
||||
|
||||
const authCodeEnum = {
|
||||
lanShou: 'emis:app:scan:10'
|
||||
}
|
||||
|
||||
const dealBtnMap = {
|
||||
lanShou: { title: '揽收扫描', subTitle: "", icon: getCdnUrl(`home/lshsm.png`), url: 'deliveryDeal/pickUp', code: authCodeEnum.lanShou },
|
||||
shouHuo: { title: '收货入库', subTitle: "", icon: getCdnUrl(`home/shhruku.png`), url: 'deliveryDeal/storage' },
|
||||
faJianScan: { title: '发件扫描', subTitle: "", icon: getCdnUrl(`home/fajiansm.png`), url: 'deliveryDeal/qutgoingScanning' },
|
||||
daoJianScan: { title: '到件扫描', subTitle: "", icon: getCdnUrl(`home/daojsm.png`), url: 'deliveryDeal/arriveScanning' },
|
||||
yunDanLuRu: { title: '运单录入', subTitle: "", icon: getCdnUrl(`home/ydluru.png`), url: 'post/openorder' },
|
||||
qianShouScan: { title: '签收扫描', subTitle: "", icon: getCdnUrl(`home/qianshsm.png`), url: 'deliveryDeal/signedScanning' },
|
||||
fenBoScan: { title: '分拨发件', subTitle: "", icon: getCdnUrl(`home/fajiansm.png`), url: 'deliveryDeal/distributeOutgoing' },
|
||||
paiJianScan: { title: '派件扫描', subTitle: "", icon: getCdnUrl(`home/paijsm.png`), url: 'deliveryDeal/deliveryScanning' },
|
||||
yunDanXiuGai: { title: '运单修改', subTitle: "", icon: getCdnUrl(`home/ydxiugai.png`), url: 'post/post' },
|
||||
baoJiaShiSuan: { title: '报价试算', subTitle: "", icon: getCdnUrl(`home/baojshs.png`), url: 'post/freightCalculate' },
|
||||
wenTiJian: { title: '问题件', subTitle: "", icon: getCdnUrl(`home/wentijian.png`), url: 'deliveryDeal/problemsRegisteScanning' },
|
||||
daoPaiScan: { title: '到派扫描', subTitle: "", icon: getCdnUrl(`home/daohsm.png`), url: 'deliveryDeal/arriveDeliveryScanning' },
|
||||
woDeErWeiMa: { title: '我的二维码', subTitle: "", icon: getCdnUrl(`mine/zhshu.png`), url: 'user/exclusiveQrcode' },
|
||||
mianDanDayin: { title: '面单打印', subTitle: "", icon: getCdnUrl(`home/mdbuda.png`), url: 'print/courierNote' },
|
||||
kuaiJianGenZong: { title: '快件跟踪', subTitle: "", icon: getCdnUrl(`home/kdchxun.png`), url: '' },
|
||||
heBaoScan: { title: '合包扫描', subTitle: "", icon: getCdnUrl(`home/hebaosm.png`), url: 'tms/coPackingScanning' },
|
||||
zhuangGuiScan: { title: '装柜扫描', subTitle: "", icon: getCdnUrl(`home/zhuangchesm.png`), url: 'deliveryDeal/shipping' },
|
||||
faJianQingDan: { title: '发件清单', subTitle: "", icon: getCdnUrl(`home/fjqingdan.png`), url: 'deliveryDeal/sendList' },
|
||||
chaiBaoScan: { title: '拆包扫描', subTitle: "", icon: getCdnUrl(`home/chaibsm.png`), url: 'tms/unpackingScanning' },
|
||||
baoGuanScan: { title: '报关扫描', subTitle: "", icon: getCdnUrl(`home/baogsm.png`), url: 'tms/customsDeclarationScanning' },
|
||||
qingGuanScan: { title: '清关扫描', subTitle: "", icon: getCdnUrl(`home/qinggsm.png`), url: 'tms/customsClearanceScanning' },
|
||||
zhuangCheScan: { title: '装车扫描', subTitle: "", icon: getCdnUrl(`home/zhuangchesm.png`), url: 'tms/entruckingScanning' },
|
||||
zhengCheScan: { title: '整车扫描', subTitle: "", icon: getCdnUrl(`home/zhuangchesm.png`), url: 'tms/allCartScanning' },
|
||||
xieCheScan: { title: '卸车扫描', subTitle: "", icon: getCdnUrl(`home/xiechesm.png`), url: 'tms/untruckingScanning' },
|
||||
daoJianQingDan: { title: '到件清单', subTitle: "", icon: getCdnUrl(`home/daojqd.png`), url: 'deliveryDeal/arriveList' },
|
||||
paiJianQingDan: { title: '派件清单', subTitle: "", icon: getCdnUrl(`home/paijqd.png`), url: 'deliveryDeal/paiList' },
|
||||
liuCangScan: { title: '留仓扫描', subTitle: "", icon: getCdnUrl(`home/licsm.png`), url: 'deliveryDeal/stayScanning' },
|
||||
zhuanJianScan: { title: '转件扫描', subTitle: "", icon: getCdnUrl(`home/zhuanjsm.png`), url: 'deliveryDeal/translateScanning' },
|
||||
jinCangChaXun: { title: '进仓查询', subTitle: "", icon: getCdnUrl(`home/jincchx.png`), url: '' },
|
||||
yunDanChaXun: { title: '运单查询', subTitle: "", icon: getCdnUrl(`home/kdchxun.png`), url: 'post/query' },
|
||||
shuiFeiYuGu: { title: '税费预估', subTitle: "", icon: getCdnUrl(`home/shfgs.png`), url: '' }
|
||||
}
|
||||
|
||||
export {
|
||||
addressNameCodeMap,
|
||||
dateRangeList,
|
||||
pageEventNames,
|
||||
authCodeEnum,
|
||||
dealBtnMap,
|
||||
ordStaEnum,
|
||||
ordStatusList,
|
||||
payTypeEnum,
|
||||
@ -203,6 +247,4 @@ export {
|
||||
packTypeList,
|
||||
kuaidiTypeEnum,
|
||||
kuaidiTypeList,
|
||||
dateRangeList,
|
||||
pageEventNames,
|
||||
}
|
||||
45
components/buns-auth/buns-auth.vue
Normal file
45
components/buns-auth/buns-auth.vue
Normal file
@ -0,0 +1,45 @@
|
||||
<template>
|
||||
<slot v-if="isShow"></slot>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
computed: {
|
||||
isShow(){
|
||||
let permissions = this.$store.getters.userInfo?.permissions || []
|
||||
let bl = true
|
||||
if(this.code) {
|
||||
bl = permissions.indexOf(this.code) > -1
|
||||
}
|
||||
return bl
|
||||
}
|
||||
},
|
||||
props: {
|
||||
code: {
|
||||
default () {
|
||||
return ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
onHide() {
|
||||
|
||||
},
|
||||
unmounted() {},
|
||||
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
||||
@ -138,7 +138,7 @@
|
||||
|
||||
<view class="yunf-input-item">
|
||||
<tpx-select v-model:value="submitParam.warehouseInNo" v-model:resObject="wareRes" :getListFun="getWarehouseInList" :transKeyVal="{valKey: 'inNo',titleKey: 'inNo'}" :isWhite="true"
|
||||
searchParam="" type="multiple" placeholder="请选择进仓单"
|
||||
searchParam="" type="multiple" placeholder="请选择进仓单" minChecked="0"
|
||||
>
|
||||
<tpx-text-item label="进仓单" :value="submitParam.warehouseInNo" :list="wareRes.list"></tpx-text-item>
|
||||
</tpx-select>
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
</tpx-page>
|
||||
</template>
|
||||
<script>
|
||||
|
||||
import { dealBtnMap } from "@/common/enum"
|
||||
export default {
|
||||
props: {
|
||||
// hasLeftWin: {
|
||||
@ -59,41 +59,41 @@
|
||||
return {
|
||||
|
||||
faBtnlist: [
|
||||
{ title: '运单录入', subTitle: "", icon: this.getCdnUrl(`home/ydluru.png`), url: 'post/openorder' },
|
||||
{ title: '揽收扫描', subTitle: "", icon: this.getCdnUrl(`home/lshsm.png`), url: 'deliveryDeal/pickUp' },
|
||||
{ title: '发件扫描', subTitle: "", icon: this.getCdnUrl(`home/fajiansm.png`), url: 'deliveryDeal/qutgoingScanning' },
|
||||
{ title: '分拨发件', subTitle: "", icon: this.getCdnUrl(`home/fajiansm.png`), url: 'deliveryDeal/distributeOutgoing' },
|
||||
{ title: '合包扫描', subTitle: "", icon: this.getCdnUrl(`home/hebaosm.png`), url: 'tms/coPackingScanning' },
|
||||
{ title: '运单修改', subTitle: "", icon: this.getCdnUrl(`home/ydxiugai.png`), url: '' },
|
||||
{ title: '收货入库', subTitle: "", icon: this.getCdnUrl(`home/shhruku.png`), url: 'deliveryDeal/storage' },
|
||||
{ title: '装柜扫描', subTitle: "", icon: this.getCdnUrl(`home/zhuangchesm.png`), url: 'deliveryDeal/shipping' },
|
||||
{ title: '发件清单', subTitle: "", icon: this.getCdnUrl(`home/fjqingdan.png`), url: 'deliveryDeal/sendList' },
|
||||
{ title: '拆包扫描', subTitle: "", icon: this.getCdnUrl(`home/chaibsm.png`), url: 'tms/unpackingScanning' },
|
||||
{ title: '报关扫描', subTitle: "", icon: this.getCdnUrl(`home/baogsm.png`), url: 'tms/customsDeclarationScanning' },
|
||||
{ title: '清关扫描', subTitle: "", icon: this.getCdnUrl(`home/qinggsm.png`), url: 'tms/customsClearanceScanning' },
|
||||
{ title: '装车扫描', subTitle: "", icon: this.getCdnUrl(`home/zhuangchesm.png`), url: 'tms/entruckingScanning' },
|
||||
{ title: '整车扫描', subTitle: "", icon: this.getCdnUrl(`home/zhuangchesm.png`), url: 'tms/allCartScanning' },
|
||||
{ title: '面单补打', subTitle: "", icon: this.getCdnUrl(`home/mdbuda.png`), url: '' }
|
||||
{ ...dealBtnMap.yunDanLuRu },
|
||||
{ ...dealBtnMap.lanShou },
|
||||
{ ...dealBtnMap.faJianScan },
|
||||
{...dealBtnMap.fenBoScan},
|
||||
{...dealBtnMap.heBaoScan},
|
||||
{...dealBtnMap.yunDanXiuGai},
|
||||
{ ...dealBtnMap.shouHuo },
|
||||
{ ...dealBtnMap.zhuangGuiScan },
|
||||
{ ...dealBtnMap.faJianQingDan },
|
||||
{ ...dealBtnMap.chaiBaoScan },
|
||||
{ ...dealBtnMap.baoGuanScan },
|
||||
{ ...dealBtnMap.qingGuanScan },
|
||||
{ ...dealBtnMap.zhuangCheScan },
|
||||
{ ...dealBtnMap.zhengCheScan },
|
||||
{ ...dealBtnMap.mianDanDayin },
|
||||
],
|
||||
daoBtnlist: [
|
||||
{ title: '到件扫描', subTitle: "", icon: this.getCdnUrl(`home/daohsm.png`), url: 'deliveryDeal/arriveScanning' },
|
||||
{ title: '派件扫描', subTitle: "", icon: this.getCdnUrl(`home/paijsm.png`), url: 'deliveryDeal/deliveryScanning' },
|
||||
{ title: '签收扫描', subTitle: "", icon: this.getCdnUrl(`home/qianshsm.png`), url: 'deliveryDeal/signedScanning' },
|
||||
{ title: '到派扫描', subTitle: "", icon: this.getCdnUrl(`home/daojsm.png`), url: 'deliveryDeal/arriveDeliveryScanning' },
|
||||
{ title: '卸车扫描', subTitle: "", icon: this.getCdnUrl(`home/xiechesm.png`), url: 'tms/untruckingScanning' },
|
||||
{ title: '到件清单', subTitle: "", icon: this.getCdnUrl(`home/daojqd.png`), url: 'deliveryDeal/arriveList' },
|
||||
{ title: '派件清单', subTitle: "", icon: this.getCdnUrl(`home/paijqd.png`), url: 'deliveryDeal/paiList' },
|
||||
{ title: '留仓扫描', subTitle: "", icon: this.getCdnUrl(`home/licsm.png`), url: 'deliveryDeal/stayScanning' },
|
||||
{ title: '转件扫描', subTitle: "", icon: this.getCdnUrl(`home/zhuanjsm.png`), url: 'deliveryDeal/translateScanning' },
|
||||
{ title: '进仓查询', subTitle: "", icon: this.getCdnUrl(`home/jincchx.png`), url: '' }
|
||||
{ ...dealBtnMap.daoJianScan },
|
||||
{...dealBtnMap.paiJianScan},
|
||||
{ ...dealBtnMap.qianShouScan },
|
||||
{ ...dealBtnMap.daoPaiScan },
|
||||
{ ...dealBtnMap.xieCheScan },
|
||||
{ ...dealBtnMap.daoJianQingDan },
|
||||
{ ...dealBtnMap.paiJianQingDan },
|
||||
{ ...dealBtnMap.liuCangScan },
|
||||
{ ...dealBtnMap.zhuanJianScan },
|
||||
{ ...dealBtnMap.jinCangChaXun }
|
||||
],
|
||||
otherBtnlist: [
|
||||
{ title: '运单查询', subTitle: "", icon: this.getCdnUrl(`home/kdchxun.png`), url: 'post/query' },
|
||||
{ title: '我的二维码', subTitle: "", icon: this.getCdnUrl(`home/woderwm.png`), url: 'user/exclusiveQrcode' },
|
||||
{ title: '报价试算', subTitle: "", icon: this.getCdnUrl(`home/baojshs.png`), url: 'post/freightCalculate' },
|
||||
{ title: '问题件', subTitle: "", icon: this.getCdnUrl(`home/wentijian.png`), url: 'deliveryDeal/problemsRegisteScanning' },
|
||||
{ title: '面单补打', subTitle: "", icon: this.getCdnUrl(`home/mdbuda.png`), url: '' },
|
||||
{ title: '税费预估', subTitle: "", icon: this.getCdnUrl(`home/shfgs.png`), url: '' }
|
||||
{ ...dealBtnMap.yunDanChaXun },
|
||||
{ ...dealBtnMap.woDeErWeiMa },
|
||||
{ ...dealBtnMap.baoJiaShiSuan },
|
||||
{ ...dealBtnMap.wenTiJian },
|
||||
{ ...dealBtnMap.mianDanDayin },
|
||||
{ ...dealBtnMap.shuiFeiYuGu }
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
@ -1,96 +1,101 @@
|
||||
<template>
|
||||
<view style="position: relative;background-color: #fff;">
|
||||
<view class="customer_nav_bar">
|
||||
<!-- 这里是状态栏 -->
|
||||
</view>
|
||||
<image class="hdbg" :src="getCdnUrl(`home/hdbg.png`)"/>
|
||||
|
||||
<view class="pg-container">
|
||||
|
||||
<view class="com-jianju" style="margin-top: 10rpx;">
|
||||
<u-row align="center" >
|
||||
<u-col @click="goto(`tabBar/mine/mine`)" span="11">
|
||||
<u-row>
|
||||
<u-avatar size="66" :src="userInfo.avatar"></u-avatar>
|
||||
<u-text margin="0 0 0 16rpx" :text="userInfo.nickName" color="#fff" size="24"></u-text>
|
||||
</u-row>
|
||||
</u-col>
|
||||
<u-col span="1" align="end">
|
||||
<image style="height: 36rpx;width: 44rpx;" :src="getCdnUrl(`home/saoma.png`)"/>
|
||||
</u-col>
|
||||
</u-row>
|
||||
<tpx-page>
|
||||
<view style="position: relative;background-color: #fff;">
|
||||
<view class="customer_nav_bar">
|
||||
<!-- 这里是状态栏 -->
|
||||
</view>
|
||||
<image class="hdbg" :src="getCdnUrl(`home/hdbg.png`)"/>
|
||||
|
||||
<view class="header com-jianju">
|
||||
<u-row justify="between">
|
||||
<u-col span="5">
|
||||
<u-text size="40" :bold="true" text="香港服装专线" color="#fff"></u-text>
|
||||
<button type="primary" class="btn-ljyy">了解详情</button>
|
||||
</u-col>
|
||||
<image class="fjhw" :src="getCdnUrl(`home/huowu.png`)"/>
|
||||
</u-row>
|
||||
</view>
|
||||
|
||||
|
||||
<view class="pbody">
|
||||
<view class="pg-container">
|
||||
|
||||
<u-row justify="center" align="center">
|
||||
<u-col v-for="(tjItem, ijIndex) in tjList" span="3" align="center"
|
||||
:custom-style="'border-right: 2rpx solid #E8E8E8;' + (ijIndex+1 == tjList.length ?'border-right:0;': '')"
|
||||
>
|
||||
<u-text align="center" color="#B12D29" :bold="true" size="36rpx" :text="tjItem.value"></u-text>
|
||||
<u-text align="center" color="#666" size="24" :text="tjItem.title"></u-text>
|
||||
</u-col>
|
||||
</u-row>
|
||||
|
||||
<view class="com-jianju btnlist1">
|
||||
<u-row>
|
||||
<u-col v-for="(mbItem, mIndex) in mainBtnlist" :span="6"
|
||||
:custom-style="'border-right: 2rpx solid rgba(255,255,255,0.5);' + (mIndex+1 == mainBtnlist.length ?'border-right:0;': '')"
|
||||
>
|
||||
<u-row align="center" justify="center">
|
||||
<image mode="aspectFit" style="width: 92rpx;height: 76rpx;" :src="mbItem.icon"/>
|
||||
<view class="neirong">
|
||||
<u-text size="24rpx" color="#fff" :text="mbItem.title"></u-text>
|
||||
<u-text size="28rpx" color="#fff" :bold="true" margin= "15rpx 0 0 0" :text="mbItem.subTitle"></u-text>
|
||||
</view>
|
||||
</u-row>
|
||||
</u-col>
|
||||
</u-row>
|
||||
</view>
|
||||
|
||||
<view class="nours com-jianju">
|
||||
<u-row justify="between">
|
||||
<u-col span="11">
|
||||
<view class="com-jianju" style="margin-top: 10rpx;">
|
||||
<u-row align="center" >
|
||||
<u-col @click="goto(`tabBar/mine/mine`)" span="11">
|
||||
<u-row>
|
||||
<image style="height: 30rpx;width:30rpx" :src="getCdnUrl(`home/laba.png`)"/>
|
||||
<image style="height: 24rpx; width: 110rpx;margin-left: 10rpx;" :src="getCdnUrl(`home/ggchxun.png`)"/>
|
||||
<u-text size="22" color="#333" margin="0 0 0 30rpx">最近一周内暂未有新通告!!!</u-text>
|
||||
<u-avatar size="66" :src="userInfo.avatar"></u-avatar>
|
||||
<u-text margin="0 0 0 16rpx" :text="userInfo.nickName" color="#fff" size="24"></u-text>
|
||||
</u-row>
|
||||
</u-col>
|
||||
<u-icon name="arrow-right" size="20"></u-icon>
|
||||
<u-col span="1" align="end">
|
||||
<image style="height: 36rpx;width: 44rpx;" :src="getCdnUrl(`home/saoma.png`)"/>
|
||||
</u-col>
|
||||
</u-row>
|
||||
</view>
|
||||
|
||||
<view class="com-jianju">
|
||||
<u-text :bold="true" size="32" color="#333" margin="40rpx 0 0 0" text="网点扫描"></u-text>
|
||||
</view>
|
||||
<view class="btnlist2 com-jianju">
|
||||
<u-row justify="start" gutter="18" custom-style="flex-wrap: wrap;">
|
||||
<u-col span="3" v-for="tlItem in toolBtnlist" align="center" @click="goto(tlItem.url)">
|
||||
<u-col align="center" justify="center" custom-style="padding: 20rpx;border: 2rpx solid #F6F6F6;border-radius: 16rpx;margin-bottom: 18rpx;display: flex;">
|
||||
<image :src="tlItem.icon" style="height: 46rpx;width: 46rpx" mode="aspectFit"/>
|
||||
<view style="font-size: 24rpx;margin-top: 20rpx;">{{tlItem.title}}</view>
|
||||
</u-col>
|
||||
<view class="header com-jianju">
|
||||
<u-row justify="between">
|
||||
<u-col span="5">
|
||||
<u-text size="40" :bold="true" text="香港服装专线" color="#fff"></u-text>
|
||||
<button type="primary" class="btn-ljyy">了解详情</button>
|
||||
</u-col>
|
||||
<image class="fjhw" :src="getCdnUrl(`home/huowu.png`)"/>
|
||||
</u-row>
|
||||
</view>
|
||||
|
||||
|
||||
<view class="pbody">
|
||||
|
||||
<u-row justify="center" align="center">
|
||||
<u-col v-for="(tjItem, ijIndex) in tjList" span="3" align="center"
|
||||
:custom-style="'border-right: 2rpx solid #E8E8E8;' + (ijIndex+1 == tjList.length ?'border-right:0;': '')"
|
||||
>
|
||||
<u-text align="center" color="#B12D29" :bold="true" size="36rpx" :text="tjItem.value"></u-text>
|
||||
<u-text align="center" color="#666" size="24" :text="tjItem.title"></u-text>
|
||||
</u-col>
|
||||
</u-row>
|
||||
|
||||
<view class="com-jianju btnlist1">
|
||||
<u-row>
|
||||
<u-col v-for="(mbItem, mIndex) in mainBtnlist" :span="6"
|
||||
:custom-style="'border-right: 2rpx solid rgba(255,255,255,0.5);' + (mIndex+1 == mainBtnlist.length ?'border-right:0;': '')"
|
||||
>
|
||||
<u-row align="center" justify="center">
|
||||
<image mode="aspectFit" style="width: 92rpx;height: 76rpx;" :src="mbItem.icon"/>
|
||||
<view class="neirong">
|
||||
<u-text size="24rpx" color="#fff" :text="mbItem.title"></u-text>
|
||||
<u-text size="28rpx" color="#fff" :bold="true" margin= "15rpx 0 0 0" :text="mbItem.subTitle"></u-text>
|
||||
</view>
|
||||
</u-row>
|
||||
</u-col>
|
||||
</u-row>
|
||||
</view>
|
||||
|
||||
<view class="nours com-jianju">
|
||||
<u-row justify="between">
|
||||
<u-col span="11">
|
||||
<u-row>
|
||||
<image style="height: 30rpx;width:30rpx" :src="getCdnUrl(`home/laba.png`)"/>
|
||||
<image style="height: 24rpx; width: 110rpx;margin-left: 10rpx;" :src="getCdnUrl(`home/ggchxun.png`)"/>
|
||||
<u-text size="22" color="#333" margin="0 0 0 30rpx">最近一周内暂未有新通告!!!</u-text>
|
||||
</u-row>
|
||||
</u-col>
|
||||
<u-icon name="arrow-right" size="20"></u-icon>
|
||||
</u-row>
|
||||
</view>
|
||||
|
||||
<view class="com-jianju">
|
||||
<u-text :bold="true" size="32" color="#333" margin="40rpx 0 0 0" text="网点扫描"></u-text>
|
||||
</view>
|
||||
<view class="btnlist2 com-jianju">
|
||||
<u-row justify="start" gutter="18" custom-style="flex-wrap: wrap;">
|
||||
<buns-auth v-for="tlItem in toolBtnlist" :code="tlItem.code">
|
||||
<u-col span="3" align="center" @click="goto(tlItem.url)">
|
||||
<u-col align="center" justify="center" custom-style="padding: 20rpx;border: 2rpx solid #F6F6F6;border-radius: 16rpx;margin-bottom: 18rpx;display: flex;">
|
||||
<image :src="tlItem.icon" style="height: 46rpx;width: 46rpx" mode="aspectFit"/>
|
||||
<view style="font-size: 24rpx;margin-top: 20rpx;">{{tlItem.title}}</view>
|
||||
</u-col>
|
||||
</u-col>
|
||||
</buns-auth>
|
||||
</u-row>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</tpx-page>
|
||||
</template>
|
||||
<script>
|
||||
import { dealBtnMap } from "@/common/enum"
|
||||
export default {
|
||||
computed: {
|
||||
userInfo() {
|
||||
@ -115,18 +120,21 @@
|
||||
{ title: '待回款', subTitle: "12888.80", icon: this.getCdnUrl(`home/daihuikuan.png`), url: '' }
|
||||
],
|
||||
toolBtnlist: [
|
||||
{ title: '运单录入', subTitle: "", icon: this.getCdnUrl(`home/ydluru.png`), url: 'post/openorder' },
|
||||
{ title: '问题件', subTitle: "", icon: this.getCdnUrl(`home/wentijian.png`), url: 'deliveryDeal/problemsRegisteScanning' },
|
||||
{ title: '货物图片', subTitle: "", icon: this.getCdnUrl(`home/hwtup.png`), url: '' },
|
||||
{ title: '发件扫描', subTitle: "", icon: this.getCdnUrl(`home/fajiansm.png`), url: 'deliveryDeal/qutgoingScanning' },
|
||||
{ title: '到件扫描', subTitle: "", icon: this.getCdnUrl(`home/daojsm.png`), url: 'deliveryDeal/arriveScanning' },
|
||||
{ title: '派件扫描', subTitle: "", icon: this.getCdnUrl(`home/paijsm.png`), url: 'deliveryDeal/deliveryScanning' },
|
||||
{ title: '签收扫描', subTitle: "", icon: this.getCdnUrl(`home/qianshsm.png`), url: 'deliveryDeal/signedScanning' },
|
||||
{ title: '到派扫描', subTitle: "", icon: this.getCdnUrl(`home/daohsm.png`), url: 'deliveryDeal/arriveDeliveryScanning' },
|
||||
{ title: '快件查询', subTitle: "", icon: this.getCdnUrl(`home/kdchxun.png`), url: '' },
|
||||
{ title: '面单补打', subTitle: "", icon: this.getCdnUrl(`home/mdbuda.png`), url: 'print/courierNote' },
|
||||
{ title: '收货入库', subTitle: "", icon: this.getCdnUrl(`home/shhruku.png`), url: 'deliveryDeal/storage' },
|
||||
{ title: '运单修改', subTitle: "", icon: this.getCdnUrl(`home/ydxiugai.png`), url: 'post/post' }
|
||||
{ ...dealBtnMap.lanShou },
|
||||
{ ...dealBtnMap.shouHuo },
|
||||
{ ...dealBtnMap.faJianScan },
|
||||
{ ...dealBtnMap.daoJianScan },
|
||||
{ ...dealBtnMap.yunDanLuRu },
|
||||
{ ...dealBtnMap.qianShouScan },
|
||||
{...dealBtnMap.fenBoScan},
|
||||
{...dealBtnMap.paiJianScan},
|
||||
{...dealBtnMap.yunDanXiuGai},
|
||||
{ ...dealBtnMap.baoJiaShiSuan },
|
||||
{ ...dealBtnMap.wenTiJian },
|
||||
{ ...dealBtnMap.daoPaiScan },
|
||||
{ ...dealBtnMap.woDeErWeiMa },
|
||||
{ ...dealBtnMap.mianDanDayin },
|
||||
{ ...dealBtnMap.kuaiJianGenZong }
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
@ -1,123 +1,126 @@
|
||||
<template>
|
||||
<view style="position: relative;">
|
||||
<view class="customer_nav_bar">
|
||||
<!-- 这里是状态栏 -->
|
||||
</view>
|
||||
<image class="hdbg" :src="getCdnUrl(`home/hdbg.png`)"/>
|
||||
|
||||
<view class="pg-container">
|
||||
<tpx-page>
|
||||
<view style="position: relative;">
|
||||
<view class="customer_nav_bar">
|
||||
<!-- 这里是状态栏 -->
|
||||
</view>
|
||||
<image class="hdbg" :src="getCdnUrl(`home/hdbg.png`)"/>
|
||||
|
||||
<view class="com-jianju" style="margin-top: 10rpx;">
|
||||
<view class="pt-30 pb-40 clr-wht font-32 font-weight">我的</view>
|
||||
<u-row align="center" justify="between">
|
||||
<view>
|
||||
<u-row>
|
||||
<u-avatar size="120" :src="userInfo.avatar"></u-avatar>
|
||||
<view class="pl-30">
|
||||
<u-row>
|
||||
<u-text :text="userInfo.empName" color="#fff" size="32" bold="true"></u-text>
|
||||
<view class="ml-20 clr-wht font-24 pos-rlt" style="padding: 8rpx 12rpx;">南京网点
|
||||
<view class="pos-abt-all" style="z-index: 0;background: #FFFFFF;opacity: 0.2;border-radius: 20rpx;"></view>
|
||||
</view>
|
||||
</u-row>
|
||||
<view class="mt-20 clr-wht font-24">{{userInfo.phonenumber}}</view>
|
||||
</view>
|
||||
</u-row>
|
||||
</view>
|
||||
<view>
|
||||
<u-image height="140" width="140" radius="10"></u-image>
|
||||
</view>
|
||||
</u-row>
|
||||
<view class="pg-container">
|
||||
|
||||
<view class="mt-40">
|
||||
<u-row justify="between">
|
||||
<view style="flex: 1;text-align: center;">
|
||||
<view class="clr-wht font-32 font-weight">
|
||||
<text class="font-26">¥</text>
|
||||
<tex>2888.80</tex>
|
||||
</view>
|
||||
<view class="pt-20 clr-wht font-26" style="opacity: 0.8;">计提预估</view>
|
||||
<view class="com-jianju" style="margin-top: 10rpx;">
|
||||
<view class="pt-30 pb-40 clr-wht font-32 font-weight">我的</view>
|
||||
<u-row align="center" justify="between">
|
||||
<view>
|
||||
<u-row>
|
||||
<u-avatar size="120" :src="userInfo.avatar"></u-avatar>
|
||||
<view class="pl-30">
|
||||
<u-row>
|
||||
<u-text :text="userInfo.empName" color="#fff" size="32" bold="true"></u-text>
|
||||
<view class="ml-20 clr-wht font-24 pos-rlt" style="padding: 8rpx 12rpx;">南京网点
|
||||
<view class="pos-abt-all" style="z-index: 0;background: #FFFFFF;opacity: 0.2;border-radius: 20rpx;"></view>
|
||||
</view>
|
||||
</u-row>
|
||||
<view class="mt-20 clr-wht font-24">{{userInfo.phonenumber}}</view>
|
||||
</view>
|
||||
</u-row>
|
||||
</view>
|
||||
<view>
|
||||
<u-line direction="col" color="#fff" length="60"></u-line>
|
||||
<u-image height="140" width="140" radius="10"></u-image>
|
||||
</view>
|
||||
<view style="flex: 1;text-align: center;">
|
||||
<view class="clr-wht font-32 font-weight">
|
||||
<text class="font-26">¥</text>
|
||||
<tex>128888.00</tex>
|
||||
</u-row>
|
||||
|
||||
<view class="mt-40">
|
||||
<u-row justify="between">
|
||||
<view style="flex: 1;text-align: center;">
|
||||
<view class="clr-wht font-32 font-weight">
|
||||
<text class="font-26">¥</text>
|
||||
<tex>2888.80</tex>
|
||||
</view>
|
||||
<view class="pt-20 clr-wht font-26" style="opacity: 0.8;">计提预估</view>
|
||||
</view>
|
||||
<view class="pt-20 clr-wht font-26" style="opacity: 0.8;">待回款</view>
|
||||
</view>
|
||||
</u-row>
|
||||
</view>
|
||||
|
||||
<view class="blk-mdl">
|
||||
<u-row>
|
||||
<u-col v-for="(item) in mainBtnlist" span="3" align="center" custom-style="padding: 30rpx 0;"
|
||||
@click="goto(item.url)"
|
||||
>
|
||||
<u-image height="60" width="60" :src="item.icon" custom-style="margin-left: auto;margin-right: auto;"></u-image>
|
||||
<u-text :text="item.title" margin="20rpx 0 0 0" align="center" color="#666" size="26"></u-text>
|
||||
</u-col>
|
||||
</u-row>
|
||||
<view>
|
||||
<u-line direction="col" color="#fff" length="60"></u-line>
|
||||
</view>
|
||||
<view style="flex: 1;text-align: center;">
|
||||
<view class="clr-wht font-32 font-weight">
|
||||
<text class="font-26">¥</text>
|
||||
<tex>128888.00</tex>
|
||||
</view>
|
||||
<view class="pt-20 clr-wht font-26" style="opacity: 0.8;">待回款</view>
|
||||
</view>
|
||||
</u-row>
|
||||
</view>
|
||||
|
||||
<view class="blk-mdl">
|
||||
<u-row>
|
||||
<u-col v-for="(item) in mainBtnlist" span="3" align="center" custom-style="padding: 30rpx 0;"
|
||||
@click="goto(item.url)"
|
||||
>
|
||||
<u-image height="60" width="60" :src="item.icon" custom-style="margin-left: auto;margin-right: auto;"></u-image>
|
||||
<u-text :text="item.title" margin="20rpx 0 0 0" align="center" color="#666" size="26"></u-text>
|
||||
</u-col>
|
||||
</u-row>
|
||||
</view>
|
||||
|
||||
<view class="blk-mdl">
|
||||
<u-row custom-style="padding: 30rpx;" justify="between">
|
||||
<u-row>
|
||||
<u-image :src="getCdnUrl(`mine/banbenup.png`)" height="34" width="34"></u-image>
|
||||
<u-text margin="0 0 0 30rpx" text="版本更新" size="28" color="#333"></u-text>
|
||||
</u-row>
|
||||
<u-row>
|
||||
<u-text margin="0 10rpx 0 0" text="v1.0.0" size="28" color="#666"></u-text>
|
||||
<u-icon name="arrow-right" size="32" color="#333"></u-icon>
|
||||
</u-row>
|
||||
</u-row>
|
||||
<u-line></u-line>
|
||||
<u-row custom-style="padding: 30rpx;" justify="between">
|
||||
<u-row>
|
||||
<u-image :src="getCdnUrl(`mine/qingchu.png`)" height="34" width="34"></u-image>
|
||||
<u-text margin="0 0 0 30rpx" text="清空本地缓存" size="28" color="#333"></u-text>
|
||||
</u-row>
|
||||
<u-row>
|
||||
<u-icon name="arrow-right" size="32" color="#333"></u-icon>
|
||||
</u-row>
|
||||
</u-row>
|
||||
<u-line></u-line>
|
||||
<u-row custom-style="padding: 30rpx;" justify="between">
|
||||
<u-row>
|
||||
<u-image :src="getCdnUrl(`mine/sao.png`)" height="34" width="34"></u-image>
|
||||
<u-text margin="0 0 0 30rpx" text="红线扫描模式" size="28" color="#333"></u-text>
|
||||
</u-row>
|
||||
<u-row>
|
||||
<u-switch v-model="saomiao" active-color="#B12D29" size="34"></u-switch>
|
||||
</u-row>
|
||||
</u-row>
|
||||
<u-line></u-line>
|
||||
<u-row custom-style="padding: 30rpx;" justify="between">
|
||||
<u-row>
|
||||
<u-image :src="getCdnUrl(`mine/xiumima.png`)" height="34" width="34"></u-image>
|
||||
<u-text margin="0 0 0 30rpx" text="修改密码" size="28" color="#333"></u-text>
|
||||
</u-row>
|
||||
<u-row>
|
||||
<u-icon name="arrow-right" size="32" color="#333"></u-icon>
|
||||
</u-row>
|
||||
</u-row>
|
||||
<u-line></u-line>
|
||||
</view>
|
||||
|
||||
<view class="pt-40 pb-40">
|
||||
<u-button @click="handleUnlogin" type="primary" size="large" shape="circle"
|
||||
custom-style="height:86rpx;font-size: 32rpx;border-radius: 20rpx;"
|
||||
>退出登录</u-button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="blk-mdl">
|
||||
<u-row custom-style="padding: 30rpx;" justify="between">
|
||||
<u-row>
|
||||
<u-image :src="getCdnUrl(`mine/banbenup.png`)" height="34" width="34"></u-image>
|
||||
<u-text margin="0 0 0 30rpx" text="版本更新" size="28" color="#333"></u-text>
|
||||
</u-row>
|
||||
<u-row>
|
||||
<u-text margin="0 10rpx 0 0" text="v1.0.0" size="28" color="#666"></u-text>
|
||||
<u-icon name="arrow-right" size="32" color="#333"></u-icon>
|
||||
</u-row>
|
||||
</u-row>
|
||||
<u-line></u-line>
|
||||
<u-row custom-style="padding: 30rpx;" justify="between">
|
||||
<u-row>
|
||||
<u-image :src="getCdnUrl(`mine/qingchu.png`)" height="34" width="34"></u-image>
|
||||
<u-text margin="0 0 0 30rpx" text="清空本地缓存" size="28" color="#333"></u-text>
|
||||
</u-row>
|
||||
<u-row>
|
||||
<u-icon name="arrow-right" size="32" color="#333"></u-icon>
|
||||
</u-row>
|
||||
</u-row>
|
||||
<u-line></u-line>
|
||||
<u-row custom-style="padding: 30rpx;" justify="between">
|
||||
<u-row>
|
||||
<u-image :src="getCdnUrl(`mine/sao.png`)" height="34" width="34"></u-image>
|
||||
<u-text margin="0 0 0 30rpx" text="红线扫描模式" size="28" color="#333"></u-text>
|
||||
</u-row>
|
||||
<u-row>
|
||||
<u-switch v-model="saomiao" active-color="#B12D29" size="34"></u-switch>
|
||||
</u-row>
|
||||
</u-row>
|
||||
<u-line></u-line>
|
||||
<u-row custom-style="padding: 30rpx;" justify="between">
|
||||
<u-row>
|
||||
<u-image :src="getCdnUrl(`mine/xiumima.png`)" height="34" width="34"></u-image>
|
||||
<u-text margin="0 0 0 30rpx" text="修改密码" size="28" color="#333"></u-text>
|
||||
</u-row>
|
||||
<u-row>
|
||||
<u-icon name="arrow-right" size="32" color="#333"></u-icon>
|
||||
</u-row>
|
||||
</u-row>
|
||||
<u-line></u-line>
|
||||
</view>
|
||||
|
||||
<view class="pt-40 pb-40">
|
||||
<u-button @click="handleUnlogin" type="primary" size="large" shape="circle"
|
||||
custom-style="height:86rpx;font-size: 32rpx;border-radius: 20rpx;"
|
||||
>退出登录</u-button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</tpx-page>
|
||||
</template>
|
||||
<script>
|
||||
import { USERKEY } from "@/store/actionKey"
|
||||
import { dealBtnMap } from "@/common/enum"
|
||||
export default {
|
||||
computed: {
|
||||
userInfo() {
|
||||
@ -135,7 +138,7 @@
|
||||
mainBtnlist: [
|
||||
{ title: '服务客户', icon: this.getCdnUrl(`mine/kehu.png`), url: '' },
|
||||
{ title: '计提明细', icon: this.getCdnUrl(`mine/jitmx.png`), url: 'user/withdraw' },
|
||||
{ title: '专属二维码', icon: this.getCdnUrl(`mine/zhshu.png`), url: 'user/exclusiveQrcode' },
|
||||
{...dealBtnMap.woDeErWeiMa},
|
||||
{ title: '我的收件', icon: this.getCdnUrl(`mine/shj.png`), url: 'user/bunsStatic' }
|
||||
],
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user