智慧种植模块展示数据单位,平台logo调整
This commit is contained in:
parent
a8427ed66b
commit
49329ee51e
2
main/.gitignore
vendored
2
main/.gitignore
vendored
@ -23,3 +23,5 @@ dist-ssr
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
*.zip
|
||||
*.rar
|
@ -13,7 +13,7 @@ export const leftApps = [
|
||||
{
|
||||
name: 'sub-operation-admin',
|
||||
entry: VITE_APP_SUB_OA,
|
||||
activeRule: '/sub-operation-admin',
|
||||
activeRule: 'http://192.168.18.99:82/login?loginType=2',
|
||||
title: '管理后台',
|
||||
icon: 'images/platform/icon-admin.png',
|
||||
},
|
||||
@ -44,7 +44,7 @@ export const rightApps = [
|
||||
{
|
||||
name: 'sub-government-admin',
|
||||
entry: VITE_APP_SUB_GAS,
|
||||
activeRule: '/sub-government-affairs-service',
|
||||
activeRule: 'http://192.168.18.99:81/login?loginType=1',
|
||||
title: '管理后台',
|
||||
icon: 'images/platform/icon-admin.png',
|
||||
},
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 11 KiB |
@ -80,14 +80,14 @@ const devices = ref([
|
||||
const leftTableData = ref([
|
||||
{
|
||||
name: '温度',
|
||||
value: '>25',
|
||||
value: '>25°C',
|
||||
device: '制冷机',
|
||||
behavior: '开启',
|
||||
time: 10,
|
||||
},
|
||||
{
|
||||
name: '湿度',
|
||||
value: '<24',
|
||||
value: '<24%',
|
||||
device: '喷洒机',
|
||||
behavior: '关闭',
|
||||
time: 15,
|
||||
|
@ -80,14 +80,14 @@ const devices = ref([
|
||||
const leftTableData = ref([
|
||||
{
|
||||
name: '虫群数量',
|
||||
value: '>20',
|
||||
value: '>20只',
|
||||
device: '诱虫灯',
|
||||
behavior: '开启',
|
||||
time: 10,
|
||||
},
|
||||
{
|
||||
name: '诱捕数量',
|
||||
value: '>30',
|
||||
value: '>30只',
|
||||
device: '灭虫灯',
|
||||
behavior: '开启',
|
||||
time: 15,
|
||||
@ -101,14 +101,14 @@ const leftTableData = ref([
|
||||
},
|
||||
{
|
||||
name: '虫群数量',
|
||||
value: '>20',
|
||||
value: '>20只',
|
||||
device: '通风窗',
|
||||
behavior: '关闭',
|
||||
time: '/',
|
||||
},
|
||||
{
|
||||
name: '诱捕数量',
|
||||
value: '>30',
|
||||
value: '>30只',
|
||||
device: '幕布',
|
||||
behavior: '开启',
|
||||
time: '/',
|
||||
|
@ -205,7 +205,6 @@ const handleSelectionChange = (selection) => {
|
||||
let nowClickRow = ref(null);
|
||||
const dialogVisible = ref(false);
|
||||
let codeUrl = ref('');
|
||||
codeUrl.value = getAssetsFile('images/userCenter/检测报告.png').href ?? '';
|
||||
// 编辑操作
|
||||
const handleEdit = (row, num) => {
|
||||
nowClickRow.value = row;
|
||||
@ -223,7 +222,7 @@ const seeReportImg = (row) => {
|
||||
if (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;
|
||||
showPreview.value = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user