From 062526fb23cdaacab83940ec4e665fc3d86ac059 Mon Sep 17 00:00:00 2001
From: hehongxing <hehongxing@pc.com>
Date: Fri, 3 Dec 2021 15:07:41 +0800
Subject: [PATCH] commit

---
 .../public/images/default-picture.png         | Bin 0 -> 143 bytes
 .../src/components/DecisionSupport.vue        |  25 ++++++++----
 .../src/components/MicrowaveRadiation.vue     |   2 +-
 .../Frontend/src/components/RamanLidar.vue    |   2 +-
 .../src/components/SynergyEvaluation.vue      |  38 +++++++++---------
 04.系统编码/Frontend/src/uilts/axios.ts   |   2 +-
 6 files changed, 39 insertions(+), 30 deletions(-)
 create mode 100644 04.系统编码/Frontend/public/images/default-picture.png

diff --git a/04.系统编码/Frontend/public/images/default-picture.png b/04.系统编码/Frontend/public/images/default-picture.png
new file mode 100644
index 0000000000000000000000000000000000000000..dc90a7282f3eaf3ace547cbf2dc931a11b40c5d2
GIT binary patch
literal 143
zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nETFi#i9kc`H+=NWkqC@>r_IIut6
z;fV0G<)ItS*7nLrtY_YrwB(pa??fqOQ@5<1D-tUWgOUjf6f@WyVM%zFaO)q?1_n=8
KKbLh*2~7b1CNQr6

literal 0
HcmV?d00001

diff --git a/04.系统编码/Frontend/src/components/DecisionSupport.vue b/04.系统编码/Frontend/src/components/DecisionSupport.vue
index 383a551..11a3084 100644
--- a/04.系统编码/Frontend/src/components/DecisionSupport.vue
+++ b/04.系统编码/Frontend/src/components/DecisionSupport.vue
@@ -54,6 +54,15 @@
                         :initial-index="1"
                         fit="contain"
                         >
+                            <template #error>
+                                <div class="image-slot">
+                                    <img src="/images/null-picture.png" />
+                                </div>
+                                <p class="image-tip">暂无图片</p>
+                            </template>
+                            <template #placeholder>
+                                <div class="image-placeholder">正在加载...</div>
+                            </template>
                         </el-image>
                     </div>
                 </div>
@@ -77,36 +86,36 @@ import { post } from '../uilts/axios';
                 items: [{
                     title: '比湿',
                     imgName: 'TFLD_Q2',
-                    imgUrl: '/images/null-picture.png',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     title: '风速和风向',
                     imgName: 'TFLD_V10',
-                    imgUrl: '/images/null-picture.png',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     title: '降水',
                     imgName: 'TFLD_RAIN',
-                    imgUrl: '/images/null-picture.png',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     title: '平均气温',
                     imgName: 'TFLD_T2',
-                    imgUrl: '/images/null-picture.png',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     title: '最低温度',
                     imgName: 'TFLD_TN',
-                    imgUrl: '/images/null-picture.png',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     title: '最高温度',
                     imgName: 'TFLD_TX',
-                    imgUrl: '/images/null-picture.png',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }],
-                indicatorImg: '/images/decision-support/pollution-indicator/pollution-indicator.png',
-                indicatorPreview: ['/images/decision-support/pollution-indicator/pollution-indicator.png']
+                indicatorImg: '/product/picture/images/decision-support/pollution-indicator/pollution-indicator.png',
+                indicatorPreview: ['/product/picture/images/decision-support/pollution-indicator/pollution-indicator.png']
             })
 
             onMounted(() => {
diff --git a/04.系统编码/Frontend/src/components/MicrowaveRadiation.vue b/04.系统编码/Frontend/src/components/MicrowaveRadiation.vue
index b476a33..b9880d0 100644
--- a/04.系统编码/Frontend/src/components/MicrowaveRadiation.vue
+++ b/04.系统编码/Frontend/src/components/MicrowaveRadiation.vue
@@ -121,7 +121,7 @@
                 hours: [],
                 times: [],
                 currentTime: null,
-                imgUrl: '/images/null-picture.png',
+                imgUrl: '/images/default-picture.png',
                 srcList: [],
                 isPlay: false,
                 title: null,
diff --git a/04.系统编码/Frontend/src/components/RamanLidar.vue b/04.系统编码/Frontend/src/components/RamanLidar.vue
index a2fd0d8..26abd61 100644
--- a/04.系统编码/Frontend/src/components/RamanLidar.vue
+++ b/04.系统编码/Frontend/src/components/RamanLidar.vue
@@ -100,7 +100,7 @@
                 hours: [],
                 times: [],
                 currentTime: null,
-                imgUrl: '/images/null-picture.png',
+                imgUrl: '/images/default-picture.png',
                 srcList: [],
                 isPlay: false,
                 title: null,
diff --git a/04.系统编码/Frontend/src/components/SynergyEvaluation.vue b/04.系统编码/Frontend/src/components/SynergyEvaluation.vue
index 7c1bb14..e17a87d 100644
--- a/04.系统编码/Frontend/src/components/SynergyEvaluation.vue
+++ b/04.系统编码/Frontend/src/components/SynergyEvaluation.vue
@@ -150,86 +150,86 @@ import { post } from '../uilts/axios';
                 currentYear: '2000',
                 currentSurfaceTemperatureTime: 'time0130',
                 srcList: [],
-                imgUrl: '/images/null-picture.png',
+                imgUrl: '/images/default-picture.png',
                 imgUrls: [],
                 items: [{
                     title: '地表温度(01:30)',
                     type: 'temperature0130',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     title: '地表温度(10:30)',
                     type: 'temperature1030',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     title: '地表温度(13:30)',
                     type: 'temperature1330',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     title: '地表温度(22:30)',
                     type: 'temperature2230',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     title: '反照率',
                     type: 'albedo',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     title: '蒸散发',
                     type: 'evaporation',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }],
                 trendItems: [{
                     type: 'month_01',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     type: 'month_02',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     type: 'month_03',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     type: 'month_04',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     type: 'month_05',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     type: 'month_06',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     type: 'month_07',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     type: 'month_08',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     type: 'month_09',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     type: 'month_10',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     type: 'month_11',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }, {
                     type: 'month_12',
-                    imgUrl: '',
+                    imgUrl: '/images/default-picture.png',
                     preview: []
                 }]
             })
diff --git a/04.系统编码/Frontend/src/uilts/axios.ts b/04.系统编码/Frontend/src/uilts/axios.ts
index d18d47e..dcbef21 100644
--- a/04.系统编码/Frontend/src/uilts/axios.ts
+++ b/04.系统编码/Frontend/src/uilts/axios.ts
@@ -5,7 +5,7 @@ import { ElLoading } from 'element-plus'
 
 let loading = null;
 const service = axios.create({
-    baseURL:"http://localhost:8002",
+    baseURL:"http://112.124.40.88:8002",
     // baseURL:"",
     timeout: 500000
 })