<template>
  <view class="wrap">
    <view class="content">
      <view class="cu-bar bg-white solid-bottom border-radius">
        <view class="action">
          <text class="name-before"></text>
          <text class="title-name">帐号信息</text>
        </view>
      </view>
      <view class="flex flex-wrap">
        <view class="box-top bg-white">
          <view class="box-text">
            <view class="box-ctext">编号:{{ userId }}</view>
            <view class="box-ctext">名称:{{ userName }}</view>
            <view class="box-ctext">昵称:{{ nickName }}</view>
          </view>
          <view class="text-center list-font"></view>
        </view>
      </view>
      <view class="box-bottom"></view>
    </view>
    <view>
      <view class="cu-bar bg-white solid-bottom border-radius">
        <view class="action">
          <text class="name-before"></text>
          <text class="title-name">监控看板</text>
        </view>
      </view>
      <view class="flex flex-wrap">
        <view class="dshbord">
          <view class="dshbordbj bg3" @click="getrukulist(1)">
            <view class="dshbordtext">
              <view class="dshbordtotal">{{ today }}</view>
              <view class="dshbordtitle">今日入库</view>
            </view>
          </view>
          <view class="dshbordbj bg4" @click="getrukulist(2)">
            <view class="dshbordtext">
              <view class="dshbordtotal">{{ mon }}</view>
              <view class="dshbordtitle">本月入库</view>
            </view>
          </view>
        </view>
      </view>
      <view class="box-bottom"></view>
    </view>
    <view v-for="(items, index) in lists" :key="index" v-show="items.show">
      <view class="cu-bar bg-white solid-bottom border-radius">
        <view class="action">
          <text class="name-before"></text>
          <text class="title-name">{{ items.title }}</text>
        </view>
      </view>
      <view class="flex flex-wrap">
        <navigator :url="item.path" class="box-list bg-white" v-for="(item, index) in items.one" :key="index">
          <view class="tubiao">
            <image class="box-img" :src="item.img" mode="aspectFit"></image>
            <view class="text-center list-font">{{ item.name }}</view>
          </view>
        </navigator>
      </view>
      <view class="box-bottom"></view>
    </view>
  </view>
</template>
<script>
  import storage from '@/common/storage.js'
  //import { getKanban } from '@/common/api/comon.js'
  export default {
    data() {
      return {
        url: '/pages/center/salary',
        mon: 0,
        today: 0,
        lists: [{
            title: '功能菜单',
            show: true,
            one: [{
                name: '打包装箱',
                img: '../../static/img/Printing.svg',
                path: '/pages/chuku/zhuangxiang',
                show: true
              },
              {
                name: '销售出库',
                img: '../../static/img/file.svg',
                path: '/pages/chuku/xiaoshouchuku?leixing=1',
                show: true
              },
              {
                name: '电商出库',
                img: '../../static/img/purchase.svg',
                path: '/pages/chuku/dianshang?leixing=2',
                show: true
              },
              {
                name: '辅料出库',
                img: '../../static/img/Scanningcode.svg',
                path: '/pages/fuliao/fuliaochuku',
                show: true
              },
              {
                name: '销售退货',
                img: '../../static/img/Scanningcode.svg',
                path: '/pages/tuihuo/tuihuo?type=45',
                show: true
              },
              {
                name: '采购退货',
                img: '../../static/img/file.svg',
                path: '/pages/tuihuo/tuihuo?type=6',
                show: true
              },
              {
                name: '仓库调拨',
                img: '../../static/img/Processmanagement.svg',
                path: '/pages/delivery/diaobo/index',
                show: true
              },
              {
                name: '库存查询',
                img: '../../static/img/Search.svg',
                path: '/pages/delivery/search',
                show: true
              },
              {
                name: '打印设置',
                img: '../../static/img/Printing.svg',
                path: '/pages/bluethprint/index',
                show: true
              }
            ]
          },
          {
            title: '系统管理',
            show: true,
            one: [{
                name: '退出登录',
                img: '../../static/img/stock.svg',
                path: '/pages/center/login',
                show: true
              },
              {
                name: '版本更新',
                img: '../../static/img/Basicsettings.svg',
                path: '/pages/about/about',
                show: true
              },
            ]
          }
        ],
        id: '',
        nickName: '',
        userId: '',
        userName: '',
        bname: '',
        uname: '',
        kname: ''
      }
    },
    onShow() {
      //	this.kanban( )
    }
template	view class=wrap		view class=content			view class=cu-bar bg-white solid-bottom border-radius				view class=action					text class=name-beforetext					text class=title-name帐号信息text				view			vie

原文地址: https://www.cveoy.top/t/topic/eoRi 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录