| | |
| | | <div class="home_header"> |
| | | <div class="mb10 fs17">{{timeInfo}}好,{{ userInfo.realname }}</div> |
| | | <div class="fs13"> |
| | | 今天是 {{ nowDate }} {{ nowWeek }},欢迎访问智慧物流园区安消一体化系统 |
| | | 今天是 {{ nowDate }} {{ nowWeek }},欢迎访问{{sysConfig.subtitle || title}} |
| | | </div> |
| | | </div> |
| | | <div class="main"> |
| | |
| | | </div> |
| | | <div class="wrap static2"> |
| | | <div class="header"> |
| | | <!-- <div class="home_title">长期相关方分布</div>--> |
| | | <!-- <div class="home_title">长期相关方分布</div>--> |
| | | <el-radio-group v-model="tabPosition" @change="changeType"> |
| | | <el-radio-button label="right">内部人员分布</el-radio-button> |
| | | <el-radio-button label="top">长期相关方分布</el-radio-button> |
| | |
| | | import OperaCarUseBookWindow from '@/components/business/OperaCarUseBookWindow' |
| | | import OperaHiddenDangerWindow from '@/components/business/OperaHiddenDangerWindow' |
| | | import OperaVisitsDesWindow from '@/components/business/OperaVisitsDesWindow' |
| | | import {mapState} from "vuex"; |
| | | const colors = ['#52a4f7', '#7678f7', '#5fc6d5'] |
| | | export default { |
| | | components: { |
| | |
| | | }, |
| | | data () { |
| | | return { |
| | | title: process.env.VUE_APP_TITLE, |
| | | tabPosition: 'right', |
| | | colors, |
| | | timeInfo: '上午', |
| | |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapState(['sysConfig']), |
| | | userInfo () { |
| | | return this.$store.state.userInfo |
| | | } |
| | |
| | | arr.push({ name: '访客', value: this.headerData.inParkVisitUserNum }) |
| | | arr.push({ name: '内部员工', value: this.headerData.todayInParkUserNum - this.headerData.inParkLwUserNum - this.headerData.inParkVisitUserNum - this.headerData.inParkDriverUserNum }) |
| | | arr.push({ name: '长期相关方', value: this.headerData.inParkLwUserNum }) |
| | | arr.push({ name: '货运司机', value: this.headerData.inParkDriverUserNum }) |
| | | // arr.push({ name: '货运司机', value: this.headerData.inParkDriverUserNum }) |
| | | arr.sort((a, b) => b.value - a.value) |
| | | this.manningRatio = arr |
| | | this.initEchart1() |
| | |
| | | type: 'warning' |
| | | }).then(() => { |
| | | level(id) |
| | | .then(res => { |
| | | this.getWarningList() |
| | | }) |
| | | .then(res => { |
| | | this.getWarningList() |
| | | }) |
| | | }).catch(() => { |
| | | |
| | | }) |
| | |
| | | itemStyle: { |
| | | normal: { |
| | | color: new echarts.graphic.LinearGradient( |
| | | 1, 0, 0, 0, |
| | | [ |
| | | { offset: 0, color: '#56abf8' }, |
| | | { offset: 1, color: '#407ff0' } |
| | | ] |
| | | 1, 0, 0, 0, |
| | | [ |
| | | { offset: 0, color: '#56abf8' }, |
| | | { offset: 1, color: '#407ff0' } |
| | | ] |
| | | ) |
| | | // barBorderRadius: [0, 10, 10, 0] |
| | | } |
| | |
| | | itemStyle: { |
| | | normal: { |
| | | color: new echarts.graphic.LinearGradient( |
| | | 1, 0, 0, 0, |
| | | [ |
| | | { offset: 0, color: '#56abf8' }, |
| | | { offset: 1, color: '#407ff0' } |
| | | ] |
| | | 1, 0, 0, 0, |
| | | [ |
| | | { offset: 0, color: '#56abf8' }, |
| | | { offset: 1, color: '#407ff0' } |
| | | ] |
| | | ) |
| | | // barBorderRadius: [0, 10, 10, 0] |
| | | } |