From 28cbf4f043cfc0a4621cc8683ba66bcbdd350eca Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期五, 01 十二月 2023 12:02:34 +0800
Subject: [PATCH] 1.增加了风险模型的弹出框组件  2.增加了用户可配置的页面

---
 src/sfc/ScenarioType.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/sfc/ScenarioType.vue b/src/sfc/ScenarioType.vue
index c5de549..285a2bc 100644
--- a/src/sfc/ScenarioType.vue
+++ b/src/sfc/ScenarioType.vue
@@ -8,6 +8,7 @@
     <ScenarioType @submitScenarioType="(val) => (scenarioType = val)"> </ScenarioType>
 -->
 <script>
+import siteInfo from '@/api/site/siteInfo.js'
 export default {
   emits:['submitScenarioType'],
   data() {
@@ -21,9 +22,8 @@
   methods: {
     //鑾峰彇涓嶅悓鐨勫紓甯哥被鍨�
     getScenarioTypeName() {
-      this.$http.get('/dust/scenario').then(result => {
+      siteInfo.queryScenarioTypeName().then(result => {
         this.scenarioType = result.data.data
-      
       });
     }
     //鏍规嵁寮傚父涓暟娓叉煋checkbox
@@ -64,6 +64,8 @@
     margin-left: 5px;
     font-weight: bolder;
     white-space: nowrap;
+    color: #333333;
+
 }
 .exception-type {
   white-space: nowrap;

--
Gitblit v1.9.3