This commit is contained in:
2025-11-03 09:47:57 +08:00
parent 677590fd4d
commit 4b379d03c9
12 changed files with 2692 additions and 8850 deletions

View File

@ -194,9 +194,12 @@ export default {
speedUnit: '速度单位',
administrativeArea: '行政区划',
skinList: {
yingguangse: '荧光色',
gonganlan: '科技蓝',
hong: '烈日红'
color1: '标准蓝',
color2: '军队绿',
color3: '湖光绿',
color4: '科技蓝',
color5: '骄阳红',
color6: '活力橙',
}
},
searchWay: {

View File

@ -193,9 +193,12 @@ export default {
speedUnit: 'speed',
administrativeArea: 'administrativeArea',
skinList: {
yingguangse: 'Fluorescent',
gonganlan: 'Tech Blue',
hong: 'Sun Red'
color1: 'Standard Blue',
color2: 'Army Green',
color3: 'Lake Green',
color4: 'Technology Blue',
color5: 'Sun Red',
color6: 'Vibrant Orange',
}
},
searchWay: {

View File

@ -193,10 +193,13 @@ export default {
speedUnit: '速度單位',
administrativeArea: '行政區劃',
skinList: {
yingguangse: '熒光色',
gonganlan: '科技藍',
hong: '烈日紅'
},
color1: '標准藍',
color2: '軍隊綠',
color3: '湖光綠',
color4: '科技藍',
color5: '驕陽紅',
color6: '活力橙',
}
},
searchWay: {
title: '搜索方式',

View File

@ -211,27 +211,6 @@ const bottomMenuList = ref([
availablePort.value +
"/" +
"GEMarker1/A-ablu-blank.png",
},
attribute: {
goods: {
content: [
{
id: 1,
name: '物资1',
cnt: 10
},
{
id: 2,
name: '物资2',
cnt: 10
},
{
id: 3,
name: '物资3',
cnt: 10
}
]
}
}
}
})

View File

@ -3,7 +3,7 @@
<div class="head_box">
<!-- <span class="head_title">实景三维电子沙盘系统</span> -->
<!-- <headSvg style="width: 100%;height: 100%;"></headSvg> -->
<img width="100%" height="100%" :src="`../../../src/assets/images/theme/${skinInfo}/head.png`" alt="" />
<img width="100%" height="100%" :src="headImg" alt="" />
</div>
<div class="dateTime">
<span>{{ date.hms }}</span>
@ -27,6 +27,32 @@ import { useI18n } from 'vue-i18n'
import setTool from './components/setTool/setTool.vue'
import weather from './components/weather/index.vue'
import headSvg from './components/head_svg.vue'
import color1 from '@/assets/images/theme/color1/head.png'
import color2 from '@/assets/images/theme/color2/head.png'
import color3 from '@/assets/images/theme/color3/head.png'
import color4 from '@/assets/images/theme/color4/head.png'
import color5 from '@/assets/images/theme/color5/head.png'
import color6 from '@/assets/images/theme/color6/head.png'
const headImg = computed(() => {
switch (skinInfo.value) {
case 'color1':
return color1
case 'color2':
return color2
case 'color3':
return color3
case 'color4':
return color4
case 'color5':
return color5
case 'color6':
return color6
default:
return color1
}
})
const skinInfo = ref(JSON.parse(localStorage.getItem("systemSetting") || '{}').skinInfo || 'color1')

View File

@ -93,7 +93,7 @@
<div class="td" style="width: 80px; flex: 0 80px; min-width: 80px">{{ item.type }}</div>
<div class="td" style="width: 126px; flex: 0 126px; min-width: 126px">{{ item.ip }}</div>
<div class="td" style="width: 80px; flex: 0 80px; min-width: 80px">{{ item.port }}</div>
<div class="td" style="width: 80px; flex: 0 80px; min-width: 80px">{{ item.userName }}</div>
<div class="td" style="width: 80px; flex: 0 80px; min-width: 80px">{{ item.username }}</div>
<div class="td">{{ item.password }}</div>
</div>
</div>
@ -229,6 +229,7 @@
import { ref } from 'vue'
import { inject } from 'vue'
import { deviceApi } from '@/api/deviceManage'
import { MaterialApi } from '@/api/material'
let ipcRenderer;
if (window && window.process && window.process.type === 'renderer') {
@ -281,37 +282,15 @@ const goodsFilter = () => {
}
}
}
const goodsSelect = (page) => {
allGoodsList.value = [
// {
// id: '1',
// name: '物资1'
// },
// {
// id: '2',
// name: '物资2'
// },
// {
// id: '3',
// name: '物资3'
// },
// {
// id: '4',
// name: '物资4'
// },
// {
// id: '5',
// name: '物资5'
// },
// {
// id: '6',
// name: '物资6'
// },
// {
// id: '7',
// name: '物资7'
// }
]
const goodsSelect = async (page) => {
let formData = new FormData()
formData.append('pageNum', 1)
formData.append('pageSize', 999999)
formData.append('name', goodsKeywords.value)
const res = await MaterialApi.getList(formData)
if (res.code === 200) {
allGoodsList.value = res.data.records
}
for (let i = props.entityOptions.attributeGoods.length - 1; i >= 0; i--) {
let flag = false
for (let m = 0; m < allGoodsList.value.length; m++) {

View File

@ -588,7 +588,7 @@ export const useTree = () => {
(window as any).pressModelEntities = new Map();
for (let i = res.data.list.length - 1; i >= 0; i--) {
if (!res.data.list[i].id) {
// res.data.splice(i, 1);
// res.data.list.splice(i, 1);
res.data.list[i].id = generateRandomString(20, false)
}
if (res.data.list[i].sourceType == "pressModel") {