8 files modified
1 files added
| | |
| | | #开发、测试、生产环境共用环境配置 |
| | | |
| | | VITE_APP_API = /api |
| | | #调试参数 |
| | | VITE_APP_DEBUG_KEY = saber |
| | |
| | | VITE_APP_TDT_TOKEN = c6eea7dad4fa1e2d1e32ec0e7c9735db |
| | | #cesium token |
| | | VITE_APP_CESIUM_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkYTZlNGNlYS01NTU1LTQ1MGEtYmNlZS0yNTE2NDk5YWM2MjEiLCJpZCI6MTc5Njk2LCJpYXQiOjE3MDA1NDcwMjV9.qcl4AH2731cfFd0-I1ZLUINPXqvglLkDFD-UGR2zU5M |
| | | |
| | | # 环境路径 |
| | | VITE_APP_TICKET_BASE_URL=https://wrj.shuixiongit.com |
| | | VITE_APP_TICKET_BACKUP_URL=https://aisky.org.cn |
| | |
| | | # 航线文件地址 |
| | | VITE_APP_AIRLINE_URL = https://wrj.shuixiongit.com/minio/cloud-bucket |
| | | |
| | | #系统运维 |
| | | #管理后台地址 |
| | | VITE_APP_ADMIN_URL = 'https://wrj.shuixiongit.com/manage/wel/index' |
| | |
| | | # 航线文件地址 |
| | | VITE_APP_AIRLINE_URL = https://wrj.shuixiongit.com/minio/cloud-bucket |
| | | |
| | | #系统运维 |
| | | #管理后台地址 |
| | | VITE_APP_ADMIN_URL = 'https://wrj.shuixiongit.com/manage/wel/index' |
| | |
| | | const total = ref(10) |
| | | const examine = row => { |
| | | const orderNumber = row.event_num |
| | | const primaryUrl = `${import.meta.env.VITE_APP_TICKET_BASE_URL}/manage/tickets/ticket?orderNumber=${orderNumber}` |
| | | const backupUrl = `${import.meta.env.VITE_APP_TICKET_BACKUP_URL}/manage/tickets/ticket?orderNumber=${orderNumber}` |
| | | const win = window.open(primaryUrl, '_blank') |
| | | if (!win || win.closed) { |
| | | window.open(backupUrl, '_blank') |
| | | } |
| | | const adminUrl = import.meta.env.VITE_APP_ADMIN_URL |
| | | const targetPath = `/tickets/ticket?orderNumber=${orderNumber}`; |
| | | window.open(`${adminUrl}?redirect=${encodeURIComponent(targetPath)}`, '_blank'); |
| | | } |
| | | const wayLineJodInfoId = inject('wayLineJodInfoId') |
| | | |
| | | const getList = () => { |
| | | params.value.way_line_jod_info_id = wayLineJodInfoId.value |
| | | |
| | | |
| | | getDeviceEventList(params.value, sizeParams.value).then(res => { |
| | | const resData = res?.data?.data || {} |
| | | list.value = resData.records |
| | | total.value = resData.total |
| | | |
| | | |
| | | }) |
| | | } |
| | | |
| | |
| | | <script setup> |
| | | import { fullscreenToggel } from '@/utils/util'; |
| | | import { useStore } from 'vuex'; |
| | | import { ElMessage } from 'element-plus' |
| | | const router = useRouter(); |
| | | const store = useStore(); |
| | | const dropdownClick = val => { |
| | |
| | | } |
| | | |
| | | const info = () =>{ |
| | | ElMessage.warning('加急开发中...') |
| | | console.log('点击了个人信息'); |
| | | } |
| | | </script> |
| | |
| | | <img class="completion-left-img" :src="completionLeft" alt="" /> |
| | | <div class="completion-text">事件类型完成率情况</div> |
| | | <div class="completion-separator"></div> |
| | | <img class="completion-left-img" :src="completionLeft" alt="" /> |
| | | <img class="completion-left-img" :src="leftTriangle" alt="" /> |
| | | </div> |
| | | |
| | | <div class="chart" ref="echartsRef"></div> |
| | |
| | | import overviewImg5 from '@/assets/images/home/homeRight/overview5.png' |
| | | import overviewImg6 from '@/assets/images/home/homeRight/overview6.png' |
| | | import completionLeft from '@/assets/images/home/homeRight/completionLeft.png' |
| | | import leftTriangle from '@/assets/images/home/homeRight/leftTriangle.png' |
| | | import * as echarts from 'echarts' |
| | | import CommonDateTime from '@/components/CommonDateTime.vue' |
| | | import VSelectLoad from '@/directive/selectLoad' |
| | |
| | | width: 2, // 线条宽度 |
| | | type: 'solid', // 线条类型 |
| | | }, |
| | | tooltip: { |
| | | valueFormatter: (value) => value + '%' |
| | | }, |
| | | symbol: 'circle', // 数据点符号 |
| | | symbolSize: 6, // 数据点符号大小 |
| | | emphasis: { |
| | |
| | | import tc from '@/assets/images/rSide/tc.png' |
| | | import tc1 from '@/assets/images/rSide/tc1.png' |
| | | import cesiumOperation from '@/utils/cesium-tsa' |
| | | import { ElMessage } from 'element-plus' |
| | | |
| | | let logIndex = ref(3) |
| | | const enterHover = value => { |
| | |
| | | activeIndex.value = activeIndex.value === 1 ? null : value |
| | | } |
| | | if (value === 2) { |
| | | ElMessage.warning('加急开发中...') |
| | | activeIndex.value = activeIndex.value === 2 ? null : value |
| | | } |
| | | } |
| | |
| | | }, |
| | | ], |
| | | } |
| | | |
| | | import _ from 'lodash' |
| | | // chart.setOption(option); |
| | | |
| | | const pieOption = { |
| | |
| | | tarValue = data[i].value |
| | | } |
| | | } |
| | | let percentage = ((tarValue / total) * 100).toFixed(1) |
| | | let percentage = total ? _.round(((tarValue / total) * 100),1) : 0 |
| | | return `${name} ${percentage}%` |
| | | }, |
| | | }, |
| | |
| | | { value: 0, name: '处理中', itemStyle: { color: '#FFC398' } }, |
| | | { value: 0, name: '已完成', itemStyle: { color: '#AFD9FB' } }, |
| | | // { value: 0, name: '待分拨', itemStyle: { color: '#E9C81A' } }, |
| | | |
| | | |
| | | { value: 0, name: '已完结', itemStyle: { color: '#11C4FF' } }, |
| | | ], |
| | | }, |