Hua 2 сар өмнө
parent
commit
3955143469

BIN
ruoyi-ui/src/assets/上海水务首页图片包/内涝.jpg


+ 3 - 0
ruoyi-ui/src/views/shouye.vue

@@ -16,6 +16,9 @@
         <el-carousel-item style="height: 80vh">
             <img style="height: 100%;width: 100%;"  src="@/assets/上海水务首页图片包/黄浦江水系水文分析预报数值模拟模型.png" alt="">
         </el-carousel-item>
+        <el-carousel-item style="height: 80vh">
+            <img style="height: 100%;width: 100%;"  src="@/assets/上海水务首页图片包/内涝.jpg" alt="">
+        </el-carousel-item>
         <el-carousel-item style="height: 80vh">
             <img style="height: 100%;width: 100%;"  src="@/assets/上海水务首页图片包/上海城区洪涝仿真模型.png" alt="">
         </el-carousel-item>

+ 3 - 3
ruoyi-ui/src/views/standardization/modeling/index.vue

@@ -958,7 +958,7 @@ const handleSelectChange = (selectedValue) => {
   const isNewOption = !optionsCan.value.some(item => item.ref === lastValue);
   
   if (isNewOption) {
-    const newValue = `${lastValue}:fixed`; // 生成新值
+    const newValue = `${lastValue}.input`; // 生成新值
     // 1. 更新数据源
     optionsCan.value.push({ name: lastValue, ref: newValue });
     // 2. ⭐ 关键:手动更新 v-model 绑定值
@@ -1012,12 +1012,12 @@ function saveNode(){
   tableDataCan.value.forEach(item=>{
     if(item.paramValue!==null){
       var parSplit = item.paramValue.split('.')
-      if(parSplit[1]==='fixed'){
+      if(parSplit[1]==='input'){
         var par1 = {
           name:item.paramCode,
           value:parSplit[0],
           dataType:item.paramType,
-          refType:'fixed'
+          refType:'input'
         }
         par.parameters.push(par1)
       }