Hua hai 1 mes
pai
achega
321019fdd7

+ 61 - 50
ruoyi-ui/src/views/developer/xinxiziyuan/index.vue

@@ -5,75 +5,81 @@
     </div>
     <div style="width: 60%;height: 80vh;box-shadow: 0 0 5px 1px #ccc;margin-left: 20%;background-color: white;margin-top: 1%;">
         <div style="width: 100%;display: flex;height: 0.5vh;display: flex;">
-            <div style="width: 100%;">
-                <div style="width: 33%;height: 0.5vh;background-color: #1270FF;"></div>
+            <div style="width: 100%;display: flex;">
+                <div v-if="step===1" style="width: 33%;height: 0.5vh;background-color: #1270FF;"></div>
+                <div v-if="step===2" style="width: 33%;height: 0.5vh;background-color: #1270FF;margin-left: 0.2%;"></div>
+                <div v-if="step===3" style="width: 33%;height: 0.5vh;background-color: #1270FF;margin-left: 0.2%;"></div>
             </div>
         </div>
-        <el-steps style="width: 100%;background-color: transparent;" :active="1" finish-status="success" simple>
+        <el-steps style="width: 100%;background-color: transparent;" :active="step" finish-status="success" simple>
             <el-step title="填写申请信息" />
             <el-step title="确认申请信息" />
             <el-step title="完成申请" />
         </el-steps>
-        <div style="margin-top: 2%;display: flex;height: 1.5rem;margin-left: 5%;align-items: center;line-height: 1.5rem;">
+        <div v-if="step===1">
+            <div style="margin-top: 2%;display: flex;height: 1.5rem;margin-left: 5%;align-items: center;line-height: 1.5rem;">
             <div style="height: 1rem;background-color: #1270FF;width: 3px;"></div>
             <div style="margin-left: 1%;font-weight: bold;">服务选择</div>
-        </div>
-        <div style="margin-top: 2%;margin-left: 10%;">
-            <div style="display: flex;align-items: center;">
-                <div>
-                    信息资源:
-                </div>
-                <div style="margin-left: 1%;">
-                    <el-input v-model="formTreea" style="width: 100%;" placeholder=""/>
-                </div>
             </div>
-        </div>
-        <div style="margin-top: 1%;margin-left: 10%;">
-            <div style="display: flex;align-items: center;">
-                <div>
-                    {{ '\u3000\u3000' }}服务:
+            <div style="margin-top: 2%;margin-left: 10%;">
+                <div style="display: flex;align-items: center;">
+                    <div>
+                        信息资源:
+                    </div>
+                    <div style="margin-left: 1%;">
+                        <el-input v-model="formTreea" style="width: 100%;" placeholder=""/>
+                    </div>
                 </div>
-                <div style="margin-left: 1%;">
-                    <el-input v-model="formTreea" style="width: 100%;" placeholder=""/>
+            </div>
+            <div style="margin-top: 1%;margin-left: 10%;">
+                <div style="display: flex;align-items: center;">
+                    <div>
+                        {{ '\u3000\u3000' }}服务:
+                    </div>
+                    <div style="margin-left: 1%;">
+                        <el-input v-model="formTreea" style="width: 100%;" placeholder=""/>
+                    </div>
                 </div>
             </div>
+            <div style="margin-top: 5%;display: flex;height: 1.5rem;margin-left: 5%;align-items: center;line-height: 1.5rem;">
+                <div style="height: 1rem;background-color: #1270FF;width: 3px;"></div>
+                <div style="margin-left: 1%;font-weight: bold;">服务信息</div>
+            </div>
+            <el-form style="margin-top: 1%;width: 60%;margin-left: 5%;" label-position="right" ref="formRefAdd" label-width="120px" :model="formTree" class="demo-form-inline" :rules="rulesTree">
+                <el-form-item label="服务信息:" prop="itemName" style="">
+                    <el-input v-model="formTree.itemName" style="width: 75%;" placeholder=""/>
+                </el-form-item>
+                <el-form-item label="网关选择:" prop="catePid" style="margin-top: 5%;">
+                    <el-input v-model="formTree.catePid" style="width: 75%;" type="" placeholder=""  resize="none"/>
+                </el-form-item>
+            </el-form>
+            <div style="margin-top: 5%;display: flex;height: 1.5rem;margin-left: 5%;align-items: center;line-height: 1.5rem;">
+                <div style="height: 1rem;background-color: #1270FF;width: 3px;"></div>
+                <div style="margin-left: 1%;font-weight: bold;">申请信息</div>
+            </div>
+            <el-form style="margin-top: 1%;width: 60%;margin-left: 5%;" label-position="right" ref="formRefAdd" label-width="120px" :model="formTree" class="demo-form-inline" :rules="rulesTree">
+                <el-form-item label="申请应用:" prop="itemName" style="">
+                    <el-input v-model="formTree.itemName" style="width: 75%;" placeholder=""/>
+                </el-form-item>
+                <el-form-item label="申请原因:" prop="catePid" style="margin-top: 1%;">
+                    <el-input v-model="formTree.catePid" style="width: 75%;" type="textarea" placeholder=""  resize="none"/>
+                </el-form-item>
+                <el-form-item label="使用期限:" prop="itemName" style="">
+                    <el-input v-model="formTree.itemName" style="width: 75%;" placeholder=""/>
+                </el-form-item>
+                <el-form-item label="申请资料:" prop="catePid" style="margin-top:1%;">
+                    <el-input v-model="formTree.catePid" style="width: 75%;" type="" placeholder=""  resize="none"/>
+                </el-form-item>
+            </el-form>
         </div>
-        <div style="margin-top: 5%;display: flex;height: 1.5rem;margin-left: 5%;align-items: center;line-height: 1.5rem;">
-            <div style="height: 1rem;background-color: #1270FF;width: 3px;"></div>
-            <div style="margin-left: 1%;font-weight: bold;">服务信息</div>
-        </div>
-        <el-form style="margin-top: 1%;width: 60%;margin-left: 5%;" label-position="right" ref="formRefAdd" label-width="120px" :model="formTree" class="demo-form-inline" :rules="rulesTree">
-            <el-form-item label="服务信息:" prop="itemName" style="">
-                <el-input v-model="formTree.itemName" style="width: 75%;" placeholder=""/>
-            </el-form-item>
-            <el-form-item label="网关选择:" prop="catePid" style="margin-top: 5%;">
-                <el-input v-model="formTree.catePid" style="width: 75%;" type="" placeholder=""  resize="none"/>
-            </el-form-item>
-        </el-form>
-        <div style="margin-top: 5%;display: flex;height: 1.5rem;margin-left: 5%;align-items: center;line-height: 1.5rem;">
-            <div style="height: 1rem;background-color: #1270FF;width: 3px;"></div>
-            <div style="margin-left: 1%;font-weight: bold;">申请信息</div>
-        </div>
-        <el-form style="margin-top: 1%;width: 60%;margin-left: 5%;" label-position="right" ref="formRefAdd" label-width="120px" :model="formTree" class="demo-form-inline" :rules="rulesTree">
-            <el-form-item label="申请应用:" prop="itemName" style="">
-                <el-input v-model="formTree.itemName" style="width: 75%;" placeholder=""/>
-            </el-form-item>
-            <el-form-item label="申请原因:" prop="catePid" style="margin-top: 1%;">
-                <el-input v-model="formTree.catePid" style="width: 75%;" type="textarea" placeholder=""  resize="none"/>
-            </el-form-item>
-            <el-form-item label="使用期限:" prop="itemName" style="">
-                <el-input v-model="formTree.itemName" style="width: 75%;" placeholder=""/>
-            </el-form-item>
-            <el-form-item label="申请资料:" prop="catePid" style="margin-top:1%;">
-                <el-input v-model="formTree.catePid" style="width: 75%;" type="" placeholder=""  resize="none"/>
-            </el-form-item>
-        </el-form>
+        <el-button @click="addStep" type="primary" style="float: right;margin-right: 1%;">下一步</el-button>
     </div>
   </div>
 </template>
 <script setup>
 import { ref, onMounted } from 'vue';
 import * as echarts from 'echarts';
+const step = ref(1)
 const formTree = ref({
     itemName: '',
     catePid: '',
@@ -85,6 +91,11 @@ const rulesTree = reactive({
   catePid: [{ required: true, message: '必填', trigger: 'blur' }],
   itemName: [{ required: true, message: '必填', trigger: 'blur' }],
 });
+function addStep(){
+    if(step.value>2){
+
+    }
+}
 onMounted(() => {
 });
 </script>

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

@@ -7,8 +7,8 @@
       <el-button @click="delWholeFlow" style="margin-left: auto;" type="danger" size="mini">删除</el-button>
       <!-- <el-button style="margin-left: 1%;" type="info" size="mini" plain @click="toImage">导出为图片</el-button> -->
       <el-button style="margin-left: 1%;" type="primary" size="mini" @click="saveFlow">保存</el-button>
-      <!-- <el-button style="margin-left: 1%;" type="primary" size="mini" @click="startTest">试运行</el-button> -->
-       <el-button style="margin-left: 1%;" type="primary" size="mini" @click="showNodes">试运行</el-button>
+      <el-button style="margin-left: 1%;" type="primary" size="mini" @click="startTest">试运行</el-button>
+       <!-- <el-button style="margin-left: 1%;" type="primary" size="mini" @click="showNodes">试运行</el-button> -->
     </div>
     <div v-if="nodeDeSer" style="height: 82vh;overflow-y: auto;width: 20vw;position: absolute;float: right;z-index: 1000;right: 1%;top:6%;border: 0.1px solid #dedfe0;border-radius: 6px;background-color: white;">
       <div style="display: flex;margin-left: 3%;margin-top: 3%;align-items: center;justify-content: space-between;width: 95%;">
@@ -1873,7 +1873,7 @@ onNodeClick(({event, node}) => {
       })
     }
   }
-  if (Array.isArray(tableDataCan.value) && tableDataCan.value.length === 0) {
+  if (Array.isArray(tableDataCan.value) && tableDataCan.value.length === 0 && node.data.label !=='开始' && node.data.label !=='结束') {
     getSerDe(node.data.id).then(res=>{
         parNodeAll.value.push(res.data)
         serviceRqtype.value = res.data.ptService.rqtype

+ 287 - 12
ruoyi-ui/src/views/standardization/resultsPresentation/index.vue

@@ -74,16 +74,21 @@
                   </el-dropdown-menu>
                 </el-dropdown>
               </div>
-              <div style="width: 100%;height: 100%;" @click="jumpPage(`/standardization/map/${item.appId}`)">
+              <div style="width: 100%;height: 100%;" @click="jumpPage(`/standardization/map/${item.appId}`)" @mouseenter="setHoverIndex(index)"  @mouseleave="resetHoverIndex">
                 <div class="knowledge_library_item_icon">
                   <!-- <img :src="item.appIcon" class="icon_item_img" alt=""/> -->
                 </div>
                 <div class="knowledge_library_item_name">{{ item.appTitle }}</div>
                 <div class="knowledge_library_item_desc">{{ item.appNote }}</div>
                 <div class="knowledge_library_item_jump">
-                  <div class="jump_statistic">
+                  <div class="jump_statistic" style="width: 100%;line-height: 1.5;align-items: center;">
                     <Timer style="width: 1em; height: 1em;"/>&nbsp;
-                    {{ item.createTime }}&nbsp;
+                    <div style="width: 100%;">{{ item.createTime }}&nbsp;</div>
+                    <div>
+                      <el-icon v-if="hoverIndex === index" style="color: #79bbff;margin-left: auto;cursor: pointer;width: 2em; height: 2em;" @click.stop="showPeizhi(item)">
+                        <TrendCharts/>
+                      </el-icon>
+                    </div>
                   </div>
                 </div>
               </div>
@@ -92,13 +97,239 @@
         </el-row>
       </div>
     </div>
+    <el-dialog @close="clearFromLev" title="配置展示" v-model="dialogVisiblePei" width="60%" destroy-on-close
+                :key="tableKey">
+      <div style="display: flex;line-height: 1.5;align-items: center;margin-top: 1%;">
+        <div style="height:1.2rem;background-color: #79bbff;width: 3px;"></div>
+        <div style="margin-left: 1%;font-size: 1.2rem;">选择位置及展示数量</div>
+      </div>
+      <el-form size="mini" :key="tableKey" style="margin-top: 1%;width: 80%;" :model="formJi" label-position="right" ref="formRefJi" label-width="120px" :rules="rulesJi">
+        <el-row :gutter="48">
+            <el-col :span="10">
+              <el-form-item label="左侧数量:" prop="name" style="">
+                <el-select
+                      v-model="numLe"
+                      style="width: 100%;margin-left: 0%;"
+                  >
+                    <el-option label="不展示" :value="0"/>
+                    <el-option label="1个" :value="1"/>
+                    <el-option label="2个" :value="2"/>
+                  </el-select>
+              </el-form-item>
+            </el-col>
+            <el-col :span="10">
+              <el-form-item label="右侧数量:" prop="" style="">
+                <div style="display: flex;width: 100%;justify-content: space-between;">
+                  <el-select
+                      v-model="numRi"
+                      style="width: 100%;margin-left: 0%;"
+                  >
+                    <el-option label="不展示" :value="0"/>
+                    <el-option label="1个" :value="1"/>
+                    <el-option label="2个" :value="2"/>
+                  </el-select>
+                </div>
+
+              </el-form-item>
+            </el-col>
+          </el-row>
+      </el-form>
+      <div v-if="numLe==1||numLe==2" style="display: flex;line-height: 1.5;align-items: center;margin-top: 1%;">
+        <div style="height:1.2rem;background-color: #79bbff;width: 3px;"></div>
+        <div style="margin-left: 1%;font-size: 1.2rem;">选择左侧展示内容</div>
+      </div>
+      <div v-if="numLe==1||numLe==2" style="display: flex;line-height: 1.5;align-items: center;margin-top: 1%;margin-left: 5%;">
+        <div style="height:1rem;background-color: #79bbff;width: 3px;"></div>
+        <div style="margin-left: 1%;font-size: 1rem;">左侧第一张表展示内容</div>
+        <el-button  @click="addCanL1" style="margin-left: 2%;" type="success" size="mini" plain>新增</el-button>
+      </div>
+      <div v-if="numLe==1||numLe==2">
+          <div style="display: flex;width: 100%;margin-left: 6%;align-items: center;margin-top: 1%;">
+            <div style="height:1.2rem;background-color: #79bbff;width: 3px;"></div>
+            <div style="margin-left: 0.5%;">
+              第一张表标题:
+            </div>
+            <el-input placeholder="" type="primary" class="noBor" v-model="titleL1" size="mini" text style="margin-left:0%;width: 20%;"></el-input>
+          </div>
+          <el-table 
+          style="margin-left: 5%;width: 50%;margin-top: 1%;"
+          :data="tableDataCanL1" 
+          :cell-style="{ textAlign: 'center',padding:'2px 0' }"
+          :header-cell-style="{fontSize: '14px', textAlign: 'center'}"
+          :row-style="{ height: heightAll*0.01+'px',fontSize: '17px',textAlign:'center'  }"
+          border >
+              <el-table-column prop="itemName" label="参数字段">
+                  <template #default="scope">
+                      <div style="width: 100%;">
+                          <el-input placeholder="请填写参数编码" type="primary" class="noBor" v-model="scope.row.paramCode" size="mini" text style="margin-left: 0%;border: transparent;"></el-input>
+                      </div>
+                  </template>
+              </el-table-column>
+              <el-table-column prop="itemName" label="参数名称">
+                  <template #default="scope">
+                      <div style="width: 100%;">
+                          <el-input placeholder="请填写参数名称" type="primary" class="noBor" v-model="scope.row.paramName" size="mini" text style="margin-left: 0%;"></el-input>
+                      </div>
+                  </template>
+              </el-table-column>
+              <el-table-column prop="address" label="操作" width="100">
+                  <template #default="scope">
+                      <div style="width: 100%;">
+                          <el-button type="danger" @click="delCanL1(scope.$index)" size="mini" text style="margin-left: 0%;">删除</el-button>
+                      </div>
+                  </template>
+              </el-table-column>
+          </el-table>     
+      </div>
+      <div v-if="numLe==2" style="display: flex;line-height: 1.5;align-items: center;margin-top: 1%;margin-left: 5%;">
+        <div style="height:1rem;background-color: #79bbff;width: 3px;"></div>
+        <div style="margin-left: 1%;font-size: 1rem;">左侧第二张表展示内容</div>
+        <el-button  @click="addCanL2" style="margin-left: 2%;" type="success" size="mini" plain>新增</el-button>
+      </div>
+      <div v-if="numLe==2">
+          <div style="display: flex;width: 100%;margin-left: 6%;align-items: center;margin-top: 1%;">
+            <div style="height:1.2rem;background-color: #79bbff;width: 3px;"></div>
+            <div style="margin-left: 0.5%;">
+              第二张表标题:
+            </div>
+            <el-input placeholder="" type="primary" class="noBor" v-model="titleL2" size="mini" text style="margin-left:0%;width: 20%;"></el-input>
+          </div>
+          <el-table 
+          style="margin-left: 5%;width: 50%;margin-top: 1%;"
+          :data="tableDataCanL2" 
+          :cell-style="{ textAlign: 'center',padding:'2px 0' }"
+          :header-cell-style="{fontSize: '14px', textAlign: 'center'}"
+          :row-style="{ height: heightAll*0.01+'px',fontSize: '17px',textAlign:'center'  }"
+          border >
+              <el-table-column prop="itemName" label="参数字段">
+                  <template #default="scope">
+                      <div style="width: 100%;">
+                          <el-input placeholder="请填写参数编码" type="primary" class="noBor" v-model="scope.row.paramCode" size="mini" text style="margin-left: 0%;border: transparent;"></el-input>
+                      </div>
+                  </template>
+              </el-table-column>
+              <el-table-column prop="itemName" label="参数名称">
+                  <template #default="scope">
+                      <div style="width: 100%;">
+                          <el-input placeholder="请填写参数名称" type="primary" class="noBor" v-model="scope.row.paramName" size="mini" text style="margin-left: 0%;"></el-input>
+                      </div>
+                  </template>
+              </el-table-column>
+              <el-table-column prop="address" label="操作" width="100">
+                  <template #default="scope">
+                      <div style="width: 100%;">
+                          <el-button type="danger" @click="delCanL2(scope.$index)" size="mini" text style="margin-left: 0%;">删除</el-button>
+                      </div>
+                  </template>
+              </el-table-column>
+          </el-table>     
+      </div>
+      <div v-if="numRi==1||numRi==2" style="display: flex;line-height: 1.5;align-items: center;margin-top: 1%;">
+        <div style="height:1.2rem;background-color: #79bbff;width: 3px;"></div>
+        <div style="margin-left: 1%;font-size: 1.2rem;">选择右侧展示内容</div>
+      </div>
+      <div v-if="numRi==1||numRi==2" style="display: flex;line-height: 1.5;align-items: center;margin-top: 1%;margin-left: 5%;">
+        <div style="height:1rem;background-color: #79bbff;width: 3px;"></div>
+        <div style="margin-left: 1%;font-size: 1rem;">右侧第一张表展示内容</div>
+        <el-button  @click="addCanR1" style="margin-left: 2%;" type="success" size="mini" plain>新增</el-button>
+      </div>
+      <div v-if="numRi==1||numRi==2">
+          <div style="display: flex;width: 100%;margin-left: 6%;align-items: center;margin-top: 1%;">
+            <div style="height:1.2rem;background-color: #79bbff;width: 3px;"></div>
+            <div style="margin-left: 0.5%;">
+              第一张表标题:
+            </div>
+            <el-input placeholder="" type="primary" class="noBor" v-model="titleR1" size="mini" text style="margin-left:0%;width: 20%;"></el-input>
+          </div>
+          <el-table 
+          style="margin-left: 5%;width: 50%;margin-top: 1%;"
+          :data="tableDataCanR1" 
+          :cell-style="{ textAlign: 'center',padding:'2px 0' }"
+          :header-cell-style="{fontSize: '14px', textAlign: 'center'}"
+          :row-style="{ height: heightAll*0.01+'px',fontSize: '17px',textAlign:'center'  }"
+          border >
+              <el-table-column prop="itemName" label="参数字段">
+                  <template #default="scope">
+                      <div style="width: 100%;">
+                          <el-input placeholder="请填写参数编码" type="primary" class="noBor" v-model="scope.row.paramCode" size="mini" text style="margin-left: 0%;border: transparent;"></el-input>
+                      </div>
+                  </template>
+              </el-table-column>
+              <el-table-column prop="itemName" label="参数名称">
+                  <template #default="scope">
+                      <div style="width: 100%;">
+                          <el-input placeholder="请填写参数名称" type="primary" class="noBor" v-model="scope.row.paramName" size="mini" text style="margin-left: 0%;"></el-input>
+                      </div>
+                  </template>
+              </el-table-column>
+              <el-table-column prop="address" label="操作" width="100">
+                  <template #default="scope">
+                      <div style="width: 100%;">
+                          <el-button type="danger" @click="delCanR1(scope.$index)" size="mini" text style="margin-left: 0%;">删除</el-button>
+                      </div>
+                  </template>
+              </el-table-column>
+          </el-table>     
+      </div>
+      <div v-if="numRi==2" style="display: flex;line-height: 1.5;align-items: center;margin-top: 1%;margin-left: 5%;">
+        <div style="height:1rem;background-color: #79bbff;width: 3px;"></div>
+        <div style="margin-left: 1%;font-size: 1rem;">右侧第二张表展示内容</div>
+        <el-button  @click="addCanR2" style="margin-left: 2%;" type="success" size="mini" plain>新增</el-button>
+      </div>
+      <div v-if="numRi==2">
+          <div style="display: flex;width: 100%;margin-left: 6%;align-items: center;margin-top: 1%;">
+            <div style="height:1.2rem;background-color: #79bbff;width: 3px;"></div>
+            <div style="margin-left: 0.5%;">
+              第二张表标题:
+            </div>
+            <el-input placeholder="" type="primary" class="noBor" v-model="titleR2" size="mini" text style="margin-left:0%;width: 20%;"></el-input>
+          </div>
+          <el-table 
+          style="margin-left: 5%;width: 50%;margin-top: 1%;"
+          :data="tableDataCanR2" 
+          :cell-style="{ textAlign: 'center',padding:'2px 0' }"
+          :header-cell-style="{fontSize: '14px', textAlign: 'center'}"
+          :row-style="{ height: heightAll*0.01+'px',fontSize: '17px',textAlign:'center'  }"
+          border >
+              <el-table-column prop="itemName" label="参数字段">
+                  <template #default="scope">
+                      <div style="width: 100%;">
+                          <el-input placeholder="请填写参数编码" type="primary" class="noBor" v-model="scope.row.paramCode" size="mini" text style="margin-left: 0%;border: transparent;"></el-input>
+                      </div>
+                  </template>
+              </el-table-column>
+              <el-table-column prop="itemName" label="参数名称">
+                  <template #default="scope">
+                      <div style="width: 100%;">
+                          <el-input placeholder="请填写参数名称" type="primary" class="noBor" v-model="scope.row.paramName" size="mini" text style="margin-left: 0%;"></el-input>
+                      </div>
+                  </template>
+              </el-table-column>
+              <el-table-column prop="address" label="操作" width="100">
+                  <template #default="scope">
+                      <div style="width: 100%;">
+                          <el-button type="danger" @click="delCanR2(scope.$index)" size="mini" text style="margin-left: 0%;">删除</el-button>
+                      </div>
+                  </template>
+              </el-table-column>
+          </el-table>     
+      </div>
+      <template #footer>
+            <span class="dialog-footer">
+              <el-button size="mini" @click="dialogVisibleLevel = false">取消</el-button>
+              <el-button type="primary" @click="saveAddNextLevel" size="mini">
+                提交
+              </el-button>
+          </span>
+      </template>
+    </el-dialog>
   </div>
 </template>
 
 <script setup>
 import {getModelingById, getModellist} from "@/api/standardization/modeling.js";
 import {jumpPage} from "@/utils/page.js";
-
+const dialogVisiblePei = ref(false)
 const knowledgeList = ref([])
 const computedDisplay = ref('none')
 const backgrounds = [
@@ -111,11 +342,51 @@ const backgrounds = [
 const icons = ref([
   'ai', 'algorithm', 'component', 'files', 'flood', 'international', 'monitor'
 ])
-
-onMounted(() => {
-  getList()
-})
-
+const hoverIndex = ref(-1)
+const setHoverIndex = (index) => {
+  hoverIndex.value = index;
+};
+const titleR1 = ref('')
+const titleR2 = ref('')
+const titleL1 = ref('')
+const titleL2 = ref('')
+const tableDataCanL1  = ref([])
+const tableDataCanL2  = ref([])
+const tableDataCanR1  = ref([])
+const tableDataCanR2  = ref([])
+const resetHoverIndex = () => {
+  hoverIndex.value = -1;
+};
+const numLe = ref(0)
+const numRi = ref(0)
+function delCanL1(index){
+  tableDataCanL1.value.splice(index, 1)
+}
+function addCanL1(){
+  var par = {}
+  tableDataCanL1.value.push(par)
+}
+function delCanL2(index){
+  tableDataCanL2.value.splice(index, 1)
+}
+function addCanL2(){
+  var par = {}
+  tableDataCanL2.value.push(par)
+}
+function addCanR1(){
+  var par = {}
+  tableDataCanR1.value.push(par)
+}
+function delCanR1(index){
+  tableDataCanR1.value.splice(index, 1)
+}
+function delCanR2(index){
+  tableDataCanR2.value.splice(index, 1)
+}
+function addCanR2(){
+  var par = {}
+  tableDataCanR2.value.push(par)
+}
 function getList() {
   getModellist().then(res => {
     knowledgeList.value = res.rows
@@ -126,8 +397,12 @@ function getList() {
     }
   })
 }
-
-
+function showPeizhi(item){
+  dialogVisiblePei.value = true
+}
+onMounted(() => {
+  getList()
+})
 </script>
 <style lang="scss">
 .knowledge-dialog .el-dialog__body {
@@ -350,7 +625,7 @@ function getList() {
 
         .jump_statistic {
           display: flex;
-          align-items: center;
+          // align-items: center;
 
         }