From 0825e9e96a6f2d4b71a51d32dae1302f2496c4d1 Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期四, 23 十一月 2023 16:58:27 +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