智慧种植模块展示数据单位,平台logo调整

This commit is contained in:
2090205686@qq.com 2025-05-29 11:56:11 +08:00
parent a8427ed66b
commit 49329ee51e
6 changed files with 11 additions and 10 deletions

2
main/.gitignore vendored
View File

@ -23,3 +23,5 @@ dist-ssr
*.njsproj *.njsproj
*.sln *.sln
*.sw? *.sw?
*.zip
*.rar

View File

@ -13,7 +13,7 @@ export const leftApps = [
{ {
name: 'sub-operation-admin', name: 'sub-operation-admin',
entry: VITE_APP_SUB_OA, entry: VITE_APP_SUB_OA,
activeRule: '/sub-operation-admin', activeRule: 'http://192.168.18.99:82/login?loginType=2',
title: '管理后台', title: '管理后台',
icon: 'images/platform/icon-admin.png', icon: 'images/platform/icon-admin.png',
}, },
@ -44,7 +44,7 @@ export const rightApps = [
{ {
name: 'sub-government-admin', name: 'sub-government-admin',
entry: VITE_APP_SUB_GAS, entry: VITE_APP_SUB_GAS,
activeRule: '/sub-government-affairs-service', activeRule: 'http://192.168.18.99:81/login?loginType=1',
title: '管理后台', title: '管理后台',
icon: 'images/platform/icon-admin.png', icon: 'images/platform/icon-admin.png',
}, },

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -80,14 +80,14 @@ const devices = ref([
const leftTableData = ref([ const leftTableData = ref([
{ {
name: '温度', name: '温度',
value: '>25', value: '>25°C',
device: '制冷机', device: '制冷机',
behavior: '开启', behavior: '开启',
time: 10, time: 10,
}, },
{ {
name: '湿度', name: '湿度',
value: '<24', value: '<24%',
device: '喷洒机', device: '喷洒机',
behavior: '关闭', behavior: '关闭',
time: 15, time: 15,

View File

@ -80,14 +80,14 @@ const devices = ref([
const leftTableData = ref([ const leftTableData = ref([
{ {
name: '虫群数量', name: '虫群数量',
value: '>20', value: '>20',
device: '诱虫灯', device: '诱虫灯',
behavior: '开启', behavior: '开启',
time: 10, time: 10,
}, },
{ {
name: '诱捕数量', name: '诱捕数量',
value: '>30', value: '>30',
device: '灭虫灯', device: '灭虫灯',
behavior: '开启', behavior: '开启',
time: 15, time: 15,
@ -101,14 +101,14 @@ const leftTableData = ref([
}, },
{ {
name: '虫群数量', name: '虫群数量',
value: '>20', value: '>20',
device: '通风窗', device: '通风窗',
behavior: '关闭', behavior: '关闭',
time: '/', time: '/',
}, },
{ {
name: '诱捕数量', name: '诱捕数量',
value: '>30', value: '>30',
device: '幕布', device: '幕布',
behavior: '开启', behavior: '开启',
time: '/', time: '/',

View File

@ -205,7 +205,6 @@ const handleSelectionChange = (selection) => {
let nowClickRow = ref(null); let nowClickRow = ref(null);
const dialogVisible = ref(false); const dialogVisible = ref(false);
let codeUrl = ref(''); let codeUrl = ref('');
codeUrl.value = getAssetsFile('images/userCenter/检测报告.png').href ?? '';
// //
const handleEdit = (row, num) => { const handleEdit = (row, num) => {
nowClickRow.value = row; nowClickRow.value = row;
@ -223,7 +222,7 @@ const seeReportImg = (row) => {
if (row.reportUrl) { if (row.reportUrl) {
// //
// const imgUrl = row.reportUrl.startsWith('http') ? row.reportUrl : `${import.meta.env.VITE_API_BASE}${row.reportUrl}`; // const imgUrl = row.reportUrl.startsWith('http') ? row.reportUrl : `${import.meta.env.VITE_API_BASE}${row.reportUrl}`;
const imgUrl = codeUrl.value; const imgUrl = getAssetsFile('images/userCenter/检测报告.png').href ?? '';
previewImageUrl.value = imgUrl; previewImageUrl.value = imgUrl;
showPreview.value = true; showPreview.value = true;