| | |
| | | <text class="f-32 fw">工作台</text>
|
| | | </view>
|
| | | </view>
|
| | | <u-grid :border="false" col="4" v-if="roleType == 2 && curSelectSite.addressType == 2">
|
| | | <u-grid-item @click="navigatorPage('/subPackage/workbench/views/editExamine')" :customStyle="{paddingTop:20+'rpx'}">
|
| | | <view class="grid-item flex f-d-c a-i-c" style="background:linear-gradient(133deg, #F9FAFE 0%, rgba(249,250,254,0) 100%)">
|
| | | <u-grid :border="false" col="4" v-if="roleType == 2 && curSelectSite.addressType == 2">
|
| | | <u-grid-item @click="navigatorPage('/subPackage/workbench/views/editExamine')"
|
| | | :customStyle="{paddingTop:20+'rpx'}">
|
| | | <view class="grid-item flex f-d-c a-i-c"
|
| | | style="background:linear-gradient(133deg, #F9FAFE 0%, rgba(249,250,254,0) 100%)">
|
| | | <u-icon name="/static/icon/menu-05.png" width="60rpx" height="60rpx"></u-icon>
|
| | | <text class="grid-text f-24 fw mt-10">场所维护</text>
|
| | | </view>
|
| | | </u-grid-item>
|
| | | </u-grid>
|
| | | <u-grid :border="false" col="4" v-if="roleType == 1">
|
| | | <u-grid :border="false" col="4" v-if="roleType == 1">
|
| | | <u-grid-item @click="navigatorPage(item.path)" v-for="(item, index) in jobList" :index="index"
|
| | | :key="index" :customStyle="{paddingTop:20+'rpx'}">
|
| | | <view class="grid-item flex f-d-c a-i-c" :style="{background:item.style.background}">
|
| | |
| | | <u-icon name="/static/icon/nav-07.png" width="90rpx" height="90rpx"></u-icon>
|
| | | <view class="flex f-d-c fw ml-20">
|
| | | <text class="f-28">一次性</text>
|
| | | <text class="f-36 c-main">8</text>
|
| | | <text class="f-36 c-main">{{frequencyNumber.disposable}}</text>
|
| | | </view>
|
| | | </view>
|
| | | <view class="row-item flex_base">
|
| | | <u-icon name="/static/icon/nav-08.png" width="90rpx" height="90rpx"></u-icon>
|
| | | <view class="flex f-d-c fw ml-20">
|
| | | <text class="f-28">周期性</text>
|
| | | <text class="f-36" style="color:#FD7F19">8</text>
|
| | | <text class="f-36" style="color:#FD7F19">{{frequencyNumber.periodicity}}</text>
|
| | | </view>
|
| | | </view>
|
| | | </view>
|
| | |
| | | </view>
|
| | | <u-icon name="arrow-right"></u-icon>
|
| | | </view>
|
| | | |
| | |
|
| | | <view v-for="(item,index) in notice" :key="index">
|
| | | <view class="notic-list" @click="navigatorPage('/subPackage/article/detail')">
|
| | | <view class="f-28 mb-30">
|
| | |
| | | </view>
|
| | | </view>
|
| | | </view>
|
| | | |
| | |
|
| | | </view>
|
| | | <u-picker :title="roleTypeName" :closeOnClickOverlay="true" @close="selectBoxShow = false"
|
| | | :show="selectBoxShow" keyName="name" ref="uPicker" :columns="siteColumns" @confirm="confirmSite"
|
| | |
| | | import {
|
| | | getPage
|
| | | } from "@/api/article/article";
|
| | | import {
|
| | | getCountFrequencyNumber,
|
| | | getCountTypeNumber
|
| | | } from "@/api/task/task";
|
| | | export default {
|
| | | data() {
|
| | | return {
|
| | |
| | | style: {
|
| | | background: 'linear-gradient(133deg, #F9FAFE 0%, rgba(249,250,254,0) 100%)',
|
| | | },
|
| | | path:"/subPackage/workbench/views/cshw"
|
| | | path: "/subPackage/workbench/views/cshw"
|
| | | },
|
| | | {
|
| | | icon: "/static/icon/menu-06.png",
|
| | |
| | | menuList: [],
|
| | | curHouseCode: '',
|
| | | notice: [],
|
| | | frequencyNumber: {},
|
| | | typeNumber: {}
|
| | |
|
| | |
|
| | | }
|
| | | },
|
| | |
| | | this.getMenuList()
|
| | | this.getSiteList()
|
| | | this.getNoticeList()
|
| | | // uni.hideTabBar()
|
| | | this.getFrequencyNumber()
|
| | | this.getTypeNumber()
|
| | | },
|
| | |
|
| | | async getFrequencyNumber() {
|
| | | const res = await getCountFrequencyNumber()
|
| | | this.frequencyNumber = res.data
|
| | |
|
| | | },
|
| | |
|
| | | async getTypeNumber() {
|
| | | const res = await getCountTypeNumber()
|
| | | this.notypeNumber = res.data
|
| | |
|
| | | },
|
| | |
|
| | | async getNoticeList() {
|
| | |
| | | }
|
| | | const res = await getPage(param)
|
| | | this.notice = res.data.records
|
| | | console.table(JSON.stringify(res.data.records))
|
| | |
|
| | | },
|
| | |
|
| | |
| | | border-radius: 16rpx 16rpx 16rpx 16rpx;
|
| | | }
|
| | | }
|
| | | </style>
|
| | | </style> |