emis-app/pages/tabBar/deal/deal.vue

165 lines
4.2 KiB
Vue
Raw Normal View History

2023-12-18 16:53:33 +00:00
<template>
2024-05-07 16:13:08 +00:00
<tpx-page>
<view>
<view class="dl-head">操作</view>
<view class="dl-blcok">
<view class="font-32 font-weight">网点发件</view>
<view class="mt-10">
<u-row justify="start" gutter="18" custom-style="flex-wrap: wrap;">
2024-06-13 07:01:03 +00:00
<u-col v-for="(item, index) in faBtnlist" span="3" @click="goto(item.url)">
<view class="dlb-item">
<u-image height="46" width="46" :src="item.icon"></u-image>
<view class="pt-10 font-26">{{item.title}}</view>
</view>
</u-col>
2024-05-07 16:13:08 +00:00
</u-row>
2024-06-13 07:01:03 +00:00
<view v-if="faBtnlist.length == 0">
<tpx-empty size="sm"></tpx-empty>
</view>
2024-05-07 16:13:08 +00:00
</view>
2023-12-19 17:58:00 +00:00
</view>
2024-05-07 16:13:08 +00:00
<view class="dl-blcok">
<view class="font-32 font-weight">网点到件</view>
<view class="mt-10">
<u-row justify="start" gutter="18" custom-style="flex-wrap: wrap;">
2024-06-13 07:01:03 +00:00
<u-col v-for="(item, index) in daoBtnlist" span="3" @click="goto(item.url)">
<view class="dlb-item">
<u-image height="46" width="46" :src="item.icon"></u-image>
<view class="pt-10 font-26">{{item.title}}</view>
</view>
</u-col>
2024-05-07 16:13:08 +00:00
</u-row>
2024-06-13 07:01:03 +00:00
<view v-if="daoBtnlist.length == 0">
<tpx-empty size="sm"></tpx-empty>
</view>
2024-05-07 16:13:08 +00:00
</view>
</view>
<view class="dl-blcok">
<view class="font-32 font-weight">其他</view>
<view class="mt-10">
<u-row justify="start" gutter="18" custom-style="flex-wrap: wrap;">
2024-06-13 07:01:03 +00:00
<u-col v-for="(item, index) in otherBtnlist" span="3" @click="goto(item.url)">
<view class="dlb-item">
<u-image height="46" width="46" :src="item.icon"></u-image>
<view class="pt-10 font-26">{{item.title}}</view>
</view>
</u-col>
2024-05-07 16:13:08 +00:00
</u-row>
2024-06-13 07:01:03 +00:00
<view v-if="otherBtnlist.length == 0">
<tpx-empty size="sm"></tpx-empty>
</view>
2024-05-07 16:13:08 +00:00
</view>
2023-12-18 16:53:33 +00:00
</view>
</view>
2024-05-07 16:13:08 +00:00
</tpx-page>
2023-12-18 16:53:33 +00:00
</template>
<script>
2024-05-08 14:40:16 +00:00
import { dealBtnMap } from "@/common/enum"
2024-06-13 07:01:03 +00:00
import { getAuthList, authCodeEnum } from "@/common/authCode"
2023-12-18 16:53:33 +00:00
export default {
2024-06-13 07:01:03 +00:00
computed: {
faBtnlist(){
let list = [
2024-05-08 14:40:16 +00:00
{ ...dealBtnMap.yunDanLuRu },
{ ...dealBtnMap.lanShou },
{ ...dealBtnMap.faJianScan },
{...dealBtnMap.fenBoScan},
{...dealBtnMap.heBaoScan},
{...dealBtnMap.yunDanXiuGai},
2024-06-14 15:55:04 +00:00
{ ...dealBtnMap.huoWuTuPian },
2024-05-08 14:40:16 +00:00
{ ...dealBtnMap.shouHuo },
{ ...dealBtnMap.zhuangGuiScan },
{ ...dealBtnMap.faJianQingDan },
{ ...dealBtnMap.chaiBaoScan },
{ ...dealBtnMap.baoGuanScan },
{ ...dealBtnMap.qingGuanScan },
{ ...dealBtnMap.zhuangCheScan },
{ ...dealBtnMap.zhengCheScan },
{ ...dealBtnMap.mianDanDayin },
2024-06-13 07:01:03 +00:00
]
list = getAuthList({ list, _thisPage: this })
return list
},
daoBtnlist(){
let list = [
2024-05-08 14:40:16 +00:00
{ ...dealBtnMap.daoJianScan },
{...dealBtnMap.paiJianScan},
{ ...dealBtnMap.qianShouScan },
{ ...dealBtnMap.daoPaiScan },
{ ...dealBtnMap.xieCheScan },
{ ...dealBtnMap.daoJianQingDan },
{ ...dealBtnMap.paiJianQingDan },
{ ...dealBtnMap.liuCangScan },
{ ...dealBtnMap.zhuanJianScan },
2024-06-15 06:13:38 +00:00
{ ...dealBtnMap.jinCangChaXun },
{ ...dealBtnMap.qianShowTuPian },
2024-06-13 07:01:03 +00:00
]
list = getAuthList({ list, _thisPage: this })
return list
},
otherBtnlist(){
let list = [
2024-06-13 04:20:28 +00:00
{ ...dealBtnMap.kuaiJianGenZong },
2024-05-08 14:40:16 +00:00
{ ...dealBtnMap.woDeErWeiMa },
{ ...dealBtnMap.baoJiaShiSuan },
{ ...dealBtnMap.wenTiJian },
{ ...dealBtnMap.mianDanDayin },
2024-05-29 09:01:58 +00:00
// { ...dealBtnMap.shuiFeiYuGu }
2023-12-18 16:53:33 +00:00
]
2024-06-13 07:01:03 +00:00
list = getAuthList({ list, _thisPage: this })
return list
},
},
props: {
// hasLeftWin: {
// type: Boolean
// }
},
data() {
return {
2023-12-19 17:58:00 +00:00
}
2023-12-18 16:53:33 +00:00
},
onShareAppMessage() {
return {
2023-12-19 17:58:00 +00:00
// title: '',
// path: 'TODO'
2023-12-18 16:53:33 +00:00
}
},
methods: {
}
}
</script>
<style lang="scss">
2023-12-18 17:39:22 +00:00
@import '@/common/uni-nvue.scss';
2023-12-19 17:58:00 +00:00
</style>
<style scoped lang="scss">
.dl-head{
background-color: #B12D29;
padding: 100rpx 30rpx 60rpx 30rpx;
color: #fff;
font-size: 36rpx;
font-weight: bold;
}
.dl-blcok{
background-color: #fff;
margin-top: 20rpx;
padding: 30rpx;
}
.dlb-item{
margin-top:20rpx;
flex-direction: column;
display: flex;
justify-content: center;
align-items: center;
2023-12-19 18:07:43 +00:00
border: 2rpx solid #F6F6F6;
2023-12-19 17:58:00 +00:00
border-radius: 16rpx;
2024-01-27 08:55:59 +00:00
height: 140rpx;
2023-12-19 17:58:00 +00:00
}
2023-12-18 16:53:33 +00:00
</style>