|  | @@ -153,166 +153,6 @@
 | 
											
												
													
														|  |                  </div>
 |  |                  </div>
 | 
											
												
													
														|  |                </template>
 |  |                </template>
 | 
											
												
													
														|  |              </el-dialog>
 |  |              </el-dialog>
 | 
											
												
													
														|  | -            <!-- 优化目标 -->
 |  | 
 | 
											
												
													
														|  | -            <el-dialog v-model="dialog.targetdialog"
 |  | 
 | 
											
												
													
														|  | -            v-if="tabactive=='优化目标'"
 |  | 
 | 
											
												
													
														|  | -             align-center :modal="false" :close-on-click-modal="true"
 |  | 
 | 
											
												
													
														|  | -              :append-to-body="true" draggable :fullscreen="false" :modal-append-to-body="false" modal-class="summary-dlg"
 |  | 
 | 
											
												
													
														|  | -              :before-close="handleClose" width="50%" class="dialog_class bgcolor tianjia">
 |  | 
 | 
											
												
													
														|  | -  
 |  | 
 | 
											
												
													
														|  | -              <template #header="{ titleId, titleClass }">
 |  | 
 | 
											
												
													
														|  | -                <div class="my-header ">
 |  | 
 | 
											
												
													
														|  | -                  <el-image :src="getImgPath('q1.png')" fit="contain"></el-image>
 |  | 
 | 
											
												
													
														|  | -                  <h4 :id="titleId" :class="titleClass">优化目标</h4>
 |  | 
 | 
											
												
													
														|  | -                </div>
 |  | 
 | 
											
												
													
														|  | -              </template>
 |  | 
 | 
											
												
													
														|  | -              <div>
 |  | 
 | 
											
												
													
														|  | -                
 |  | 
 | 
											
												
													
														|  | -                  <el-table :data="tableData" stripe style="width: 100%">
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column type="index" label="编号"  width="70" />
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column prop="qi" label="启用" width="70">
 |  | 
 | 
											
												
													
														|  | -                    <template v-slot="scope">
 |  | 
 | 
											
												
													
														|  | -                      <el-checkbox :label="false" v-model="scope.row.qi" />
 |  | 
 | 
											
												
													
														|  | -                    </template>
 |  | 
 | 
											
												
													
														|  | -                  </el-table-column>
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column prop="data" label="目标类型" width="120">
 |  | 
 | 
											
												
													
														|  | -                    <template v-slot="scope">
 |  | 
 | 
											
												
													
														|  | -                      <el-select v-model="scope.row.device"  class="no-border " :suffix-icon="CaretBottom"  placeholder="请选择">
 |  | 
 | 
											
												
													
														|  | -                            <el-option
 |  | 
 | 
											
												
													
														|  | -                              v-for="item in options"
 |  | 
 | 
											
												
													
														|  | -                              :key="item.value"
 |  | 
 | 
											
												
													
														|  | -                              :label="item.label"
 |  | 
 | 
											
												
													
														|  | -                              :value="item.value">
 |  | 
 | 
											
												
													
														|  | -                            </el-option>
 |  | 
 | 
											
												
													
														|  | -                          </el-select>
 |  | 
 | 
											
												
													
														|  | -  
 |  | 
 | 
											
												
													
														|  | -                    </template>
 |  | 
 | 
											
												
													
														|  | -              </el-table-column>
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column prop="name" label="优化方向"  width="100">
 |  | 
 | 
											
												
													
														|  | -                      <template v-slot="scope">
 |  | 
 | 
											
												
													
														|  | -                      <el-select class="no-border "  v-model="scope.row.z" :suffix-icon="CaretBottom" placeholder="请选择">
 |  | 
 | 
											
												
													
														|  | -                            <el-option
 |  | 
 | 
											
												
													
														|  | -                              v-for="item in options1"
 |  | 
 | 
											
												
													
														|  | -                              :key="item.value"
 |  | 
 | 
											
												
													
														|  | -                              :label="item.label"
 |  | 
 | 
											
												
													
														|  | -                              :value="item.value">
 |  | 
 | 
											
												
													
														|  | -                            </el-option>
 |  | 
 | 
											
												
													
														|  | -                          </el-select>
 |  | 
 | 
											
												
													
														|  | -  
 |  | 
 | 
											
												
													
														|  | -                    </template>
 |  | 
 | 
											
												
													
														|  | -                  </el-table-column>
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column prop="q" label="权重系数"/>
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column prop="cai" label="采用基准翼型数据缩放" width="180">
 |  | 
 | 
											
												
													
														|  | -                      <template v-slot="scope">
 |  | 
 | 
											
												
													
														|  | -                      <el-checkbox :label="scope.row.qi?'采用':'不采用'" v-model="scope.row.qi" />
 |  | 
 | 
											
												
													
														|  | -  
 |  | 
 | 
											
												
													
														|  | -                    </template>
 |  | 
 | 
											
												
													
														|  | -                  </el-table-column>
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column prop="yin" label="缩放因子" />
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column prop="address" label="备注" width="200" />
 |  | 
 | 
											
												
													
														|  | -                  </el-table>
 |  | 
 | 
											
												
													
														|  | -            
 |  | 
 | 
											
												
													
														|  | -              </div>
 |  | 
 | 
											
												
													
														|  | -              <template #footer>
 |  | 
 | 
											
												
													
														|  | -                <div class="dialog-footer">
 |  | 
 | 
											
												
													
														|  | -                  <el-button @click="dialog.targetdialog = false">取消</el-button>
 |  | 
 | 
											
												
													
														|  | -                  <el-button type="primary" @click="targetclick(); dialog.targetdialog = false">
 |  | 
 | 
											
												
													
														|  | -                    确定
 |  | 
 | 
											
												
													
														|  | -                  </el-button>
 |  | 
 | 
											
												
													
														|  | -                </div>
 |  | 
 | 
											
												
													
														|  | -              </template>
 |  | 
 | 
											
												
													
														|  | -            </el-dialog>
 |  | 
 | 
											
												
													
														|  | -            <!-- 设计变量 -->
 |  | 
 | 
											
												
													
														|  | -            <el-dialog v-model="dialog.design" 
 |  | 
 | 
											
												
													
														|  | -            v-if="tabactive=='设计变量'"
 |  | 
 | 
											
												
													
														|  | -            align-center :modal="false" :close-on-click-modal="true"
 |  | 
 | 
											
												
													
														|  | -              :append-to-body="true" draggable :fullscreen="false" :modal-append-to-body="false" modal-class="summary-dlg"
 |  | 
 | 
											
												
													
														|  | -              :before-close="handleClose" width="50%" class="dialog_class bgcolor tianjia">
 |  | 
 | 
											
												
													
														|  | -  
 |  | 
 | 
											
												
													
														|  | -              <template #header="{ titleId, titleClass }">
 |  | 
 | 
											
												
													
														|  | -                <div class="my-header ">
 |  | 
 | 
											
												
													
														|  | -                  <el-image :src="getImgPath('q2.png')" fit="contain"></el-image>
 |  | 
 | 
											
												
													
														|  | -                  <h4 :id="titleId" :class="titleClass">设计变量</h4>
 |  | 
 | 
											
												
													
														|  | -                </div>
 |  | 
 | 
											
												
													
														|  | -              </template>
 |  | 
 | 
											
												
													
														|  | -              <div>
 |  | 
 | 
											
												
													
														|  | -                
 |  | 
 | 
											
												
													
														|  | -                <el-table :data="designtable" stripe style="width: 100%">
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column type="index" label="编号"  width="70" />
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column prop="name" label="变量名称" width="100"/>
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column prop="date" label="变量类型" width="120"/>
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column prop="name" label="上限值"  width="100"/>
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column prop="q" label="权重系数"/>
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column prop="cai" label="基准值" width="100"/>
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column prop="yin" label="下限值" />
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column prop="address" label="备注" />
 |  | 
 | 
											
												
													
														|  | -                  </el-table>
 |  | 
 | 
											
												
													
														|  | -              </div>
 |  | 
 | 
											
												
													
														|  | -              <template #footer>
 |  | 
 | 
											
												
													
														|  | -                <div class="dialog-footer">
 |  | 
 | 
											
												
													
														|  | -                  <el-button @click="dialog.design = false">取消</el-button>
 |  | 
 | 
											
												
													
														|  | -                  <el-button type="primary" @click="dialog.design = false">
 |  | 
 | 
											
												
													
														|  | -                    确定
 |  | 
 | 
											
												
													
														|  | -                  </el-button>
 |  | 
 | 
											
												
													
														|  | -                </div>
 |  | 
 | 
											
												
													
														|  | -              </template>
 |  | 
 | 
											
												
													
														|  | -            </el-dialog>
 |  | 
 | 
											
												
													
														|  | -             <!-- 约束条件 -->
 |  | 
 | 
											
												
													
														|  | -             <el-dialog v-model="dialog.constraint" 
 |  | 
 | 
											
												
													
														|  | -             v-if="tabactive=='约束条件'"
 |  | 
 | 
											
												
													
														|  | -             align-center :modal="false" :close-on-click-modal="true"
 |  | 
 | 
											
												
													
														|  | -              :append-to-body="true" draggable :fullscreen="false" :modal-append-to-body="false" modal-class="summary-dlg"
 |  | 
 | 
											
												
													
														|  | -              :before-close="handleClose" width="800" class="dialog_class bgcolor tianjia">
 |  | 
 | 
											
												
													
														|  | -  
 |  | 
 | 
											
												
													
														|  | -              <template #header="{ titleId, titleClass }">
 |  | 
 | 
											
												
													
														|  | -                <div class="my-header ">
 |  | 
 | 
											
												
													
														|  | -                  <el-image :src="getImgPath('q3.png')" fit="contain"></el-image>
 |  | 
 | 
											
												
													
														|  | -                  <h4 :id="titleId" :class="titleClass">约束条件</h4>
 |  | 
 | 
											
												
													
														|  | -                </div>
 |  | 
 | 
											
												
													
														|  | -              </template>
 |  | 
 | 
											
												
													
														|  | -              <div>
 |  | 
 | 
											
												
													
														|  | -                
 |  | 
 | 
											
												
													
														|  | -                  <el-table :data="tableData" stripe style="width: 100%">
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column type="index" label="编号"  width="100" />
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column prop="data" label="约束类型" >
 |  | 
 | 
											
												
													
														|  | -                    <template v-slot="scope">
 |  | 
 | 
											
												
													
														|  | -                      <el-select v-model="scope.row.device"  class="no-border " :suffix-icon="CaretBottom"  placeholder="请选择">
 |  | 
 | 
											
												
													
														|  | -                            <el-option
 |  | 
 | 
											
												
													
														|  | -                              v-for="item in options2"
 |  | 
 | 
											
												
													
														|  | -                              :key="item.value"
 |  | 
 | 
											
												
													
														|  | -                              :label="item.label"
 |  | 
 | 
											
												
													
														|  | -                              :value="item.value">
 |  | 
 | 
											
												
													
														|  | -                            </el-option>
 |  | 
 | 
											
												
													
														|  | -                          </el-select>
 |  | 
 | 
											
												
													
														|  | -  
 |  | 
 | 
											
												
													
														|  | -                    </template>
 |  | 
 | 
											
												
													
														|  | -              </el-table-column>
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column prop="name" label="约束关系"  >
 |  | 
 | 
											
												
													
														|  | -                      <template v-slot="scope">
 |  | 
 | 
											
												
													
														|  | -                      <el-select class="no-border "  v-model="scope.row.z" :suffix-icon="CaretBottom" placeholder="请选择">
 |  | 
 | 
											
												
													
														|  | -                            <el-option
 |  | 
 | 
											
												
													
														|  | -                              v-for="item in options3"
 |  | 
 | 
											
												
													
														|  | -                              :key="item.value"
 |  | 
 | 
											
												
													
														|  | -                              :label="item.label"
 |  | 
 | 
											
												
													
														|  | -                              :value="item.value">
 |  | 
 | 
											
												
													
														|  | -                            </el-option>
 |  | 
 | 
											
												
													
														|  | -                          </el-select>
 |  | 
 | 
											
												
													
														|  | -  
 |  | 
 | 
											
												
													
														|  | -                    </template>
 |  | 
 | 
											
												
													
														|  | -                  </el-table-column>
 |  | 
 | 
											
												
													
														|  | -                    <el-table-column prop="address" label="约束基准值"  />
 |  | 
 | 
											
												
													
														|  | -                  </el-table>
 |  | 
 | 
											
												
													
														|  | -            
 |  | 
 | 
											
												
													
														|  | -              </div>
 |  | 
 | 
											
												
													
														|  | -              <template #footer>
 |  | 
 | 
											
												
													
														|  | -                <div class="dialog-footer">
 |  | 
 | 
											
												
													
														|  | -                  <el-button @click="dialog.constraint = false">取消</el-button>
 |  | 
 | 
											
												
													
														|  | -                  <el-button type="primary" @click=" dialog.constraint = false">
 |  | 
 | 
											
												
													
														|  | -                    确定
 |  | 
 | 
											
												
													
														|  | -                  </el-button>
 |  | 
 | 
											
												
													
														|  | -                </div>
 |  | 
 | 
											
												
													
														|  | -              </template>
 |  | 
 | 
											
												
													
														|  | -            </el-dialog>
 |  | 
 | 
											
												
													
														|  |              <!-- 外形参数化 -->
 |  |              <!-- 外形参数化 -->
 | 
											
												
													
														|  |              <el-dialog v-model="dialog.parameter"
 |  |              <el-dialog v-model="dialog.parameter"
 | 
											
												
													
														|  |              v-if="tabactive=='Task-11'"
 |  |              v-if="tabactive=='Task-11'"
 | 
											
										
											
												
													
														|  | @@ -649,7 +489,7 @@
 | 
											
												
													
														|  |                    </el-form-item>
 |  |                    </el-form-item>
 | 
											
												
													
														|  |                    <el-input v-model="name" maxlength="18"
 |  |                    <el-input v-model="name" maxlength="18"
 | 
											
												
													
														|  |                        oninput="value=value.replace(/[^\a-\z\A-\Z0-9\u4E00-\u9FA5]/g,'')" class="w-50 m-2"
 |  |                        oninput="value=value.replace(/[^\a-\z\A-\Z0-9\u4E00-\u9FA5]/g,'')" class="w-50 m-2"
 | 
											
												
													
														|  | -                      placeholder="请输入关键字" />
 |  | 
 | 
											
												
													
														|  | 
 |  | +                      placeholder="请输入" />
 | 
											
												
													
														|  |                        <el-button class="btncolor">查询</el-button>
 |  |                        <el-button class="btncolor">查询</el-button>
 | 
											
												
													
														|  |                        <el-button class="btncolor">添加</el-button>
 |  |                        <el-button class="btncolor">添加</el-button>
 | 
											
												
													
														|  |                        <el-button class="btncolor">删除</el-button>
 |  |                        <el-button class="btncolor">删除</el-button>
 | 
											
										
											
												
													
														|  | @@ -881,31 +721,6 @@
 | 
											
												
													
														|  |              <div class="main  mianflex">
 |  |              <div class="main  mianflex">
 | 
											
												
													
														|  |                <!--left菜单栏  -->
 |  |                <!--left菜单栏  -->
 | 
											
												
													
														|  |             <Sidebar />
 |  |             <Sidebar />
 | 
											
												
													
														|  | -              <!-- <div class="left_main">
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -                <div class="left_main_content el-treeicon">
 |  | 
 | 
											
												
													
														|  | -                  <el-tree :data="datatree"  class="custom-tree" default-expand-all  :props="defaultProps" @node-click="handleNodeClick">
 |  | 
 | 
											
												
													
														|  | -                    <template #default="{ node, data }">
 |  | 
 | 
											
												
													
														|  | -                          <div>
 |  | 
 | 
											
												
													
														|  | -                            <img :src="data.img" class="custom-image" />
 |  | 
 | 
											
												
													
														|  | -                            <span class="custom-text">
 |  | 
 | 
											
												
													
														|  | -                              {{ node.label }}
 |  | 
 | 
											
												
													
														|  | -                            </span>
 |  | 
 | 
											
												
													
														|  | -                          </div>
 |  | 
 | 
											
												
													
														|  | -                        </template>
 |  | 
 | 
											
												
													
														|  | -                  </el-tree>
 |  | 
 | 
											
												
													
														|  | -                 <el-tree :data="datatree1"  class="custom-tree1" default-expand-all  :props="defaultProps" @node-click="handleNodeClick">
 |  | 
 | 
											
												
													
														|  | -                    <template #default="{ node, data }">
 |  | 
 | 
											
												
													
														|  | -                          <div>
 |  | 
 | 
											
												
													
														|  | -                            <img :src="getImgPath(data.img)" class="custom-image" />
 |  | 
 | 
											
												
													
														|  | -                            <span class="custom-text">
 |  | 
 | 
											
												
													
														|  | -                              {{ node.label }} 
 |  | 
 | 
											
												
													
														|  | -                            </span>
 |  | 
 | 
											
												
													
														|  | -                          </div>
 |  | 
 | 
											
												
													
														|  | -                        </template>
 |  | 
 | 
											
												
													
														|  | -                  </el-tree> 
 |  | 
 | 
											
												
													
														|  | -            </div>
 |  | 
 | 
											
												
													
														|  | -              </div> -->
 |  | 
 | 
											
												
													
														|  |              <!-- 放图形 -->
 |  |              <!-- 放图形 -->
 | 
											
												
													
														|  |              <div class="main_container">
 |  |              <div class="main_container">
 | 
											
												
													
														|  |                <div class="main_model">
 |  |                <div class="main_model">
 | 
											
										
											
												
													
														|  | @@ -950,6 +765,7 @@
 | 
											
												
													
														|  |                    </li>
 |  |                    </li>
 | 
											
												
													
														|  |                  </div>
 |  |                  </div>
 | 
											
												
													
														|  |                </div> 
 |  |                </div> 
 | 
											
												
													
														|  | 
 |  | +              <div v-if="footerShow">
 | 
											
												
													
														|  |                <div class="footerTextBox"   v-if="activeIndex==0">
 |  |                <div class="footerTextBox"   v-if="activeIndex==0">
 | 
											
												
													
														|  |                    <el-input
 |  |                    <el-input
 | 
											
												
													
														|  |                      class="footerText"
 |  |                      class="footerText"
 | 
											
										
											
												
													
														|  | @@ -965,7 +781,7 @@
 | 
											
												
													
														|  |                  </ul>
 |  |                  </ul>
 | 
											
												
													
														|  |                  <div  class="footer-content">
 |  |                  <div  class="footer-content">
 | 
											
												
													
														|  |                  <div class="eldesign" v-if="activeIndex2==0">
 |  |                  <div class="eldesign" v-if="activeIndex2==0">
 | 
											
												
													
														|  | -                  <el-table :data="designtable" border style="width: 100%">
 |  | 
 | 
											
												
													
														|  | 
 |  | +                 <el-table :data="designtable" border style="width: 100%">
 | 
											
												
													
														|  |                    <el-table-column type="index" label="编号"  width="70" />
 |  |                    <el-table-column type="index" label="编号"  width="70" />
 | 
											
												
													
														|  |                    <el-table-column prop="name" label="变量名称">
 |  |                    <el-table-column prop="name" label="变量名称">
 | 
											
												
													
														|  |                      <template #default="{ row }">
 |  |                      <template #default="{ row }">
 | 
											
										
											
												
													
														|  | @@ -996,12 +812,105 @@
 | 
											
												
													
														|  |                    <template #default="{ row }">
 |  |                    <template #default="{ row }">
 | 
											
												
													
														|  |                      <el-input v-model="row.yin" @change="handleEdit(row)" />
 |  |                      <el-input v-model="row.yin" @change="handleEdit(row)" />
 | 
											
												
													
														|  |                    </template>
 |  |                    </template>
 | 
											
												
													
														|  | 
 |  | +                </el-table-column> 
 | 
											
												
													
														|  | 
 |  | +                </el-table>
 | 
											
												
													
														|  | 
 |  | +                
 | 
											
												
													
														|  | 
 |  | +                </div>
 | 
											
												
													
														|  | 
 |  | +                <div class="elconstraint" v-if="activeIndex2==1">
 | 
											
												
													
														|  | 
 |  | +                  <el-table :data="tableData" stripe style="width: 100%">
 | 
											
												
													
														|  | 
 |  | +                  <el-table-column type="index" label="编号"  width="100" />
 | 
											
												
													
														|  | 
 |  | +                  <el-table-column prop="data" label="约束类型" >
 | 
											
												
													
														|  | 
 |  | +                  <template v-slot="scope">
 | 
											
												
													
														|  | 
 |  | +                    <el-select v-model="scope.row.device"  class="no-border " :suffix-icon="CaretBottom"  placeholder="请选择">
 | 
											
												
													
														|  | 
 |  | +                          <el-option
 | 
											
												
													
														|  | 
 |  | +                            v-for="item in options2"
 | 
											
												
													
														|  | 
 |  | +                            :key="item.value"
 | 
											
												
													
														|  | 
 |  | +                            :label="item.label"
 | 
											
												
													
														|  | 
 |  | +                            :value="item.value">
 | 
											
												
													
														|  | 
 |  | +                          </el-option>
 | 
											
												
													
														|  | 
 |  | +                        </el-select>
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +                  </template>
 | 
											
												
													
														|  | 
 |  | +                </el-table-column>
 | 
											
												
													
														|  | 
 |  | +                      <el-table-column prop="name" label="约束关系"  >
 | 
											
												
													
														|  | 
 |  | +                        <template v-slot="scope">
 | 
											
												
													
														|  | 
 |  | +                        <el-select class="no-border "  v-model="scope.row.z" :suffix-icon="CaretBottom" placeholder="请选择">
 | 
											
												
													
														|  | 
 |  | +                              <el-option
 | 
											
												
													
														|  | 
 |  | +                                v-for="item in options3"
 | 
											
												
													
														|  | 
 |  | +                                :key="item.value"
 | 
											
												
													
														|  | 
 |  | +                                :label="item.label"
 | 
											
												
													
														|  | 
 |  | +                                :value="item.value">
 | 
											
												
													
														|  | 
 |  | +                              </el-option>
 | 
											
												
													
														|  | 
 |  | +                            </el-select>
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +                      </template>
 | 
											
												
													
														|  | 
 |  | +                    </el-table-column>
 | 
											
												
													
														|  | 
 |  | +                      <el-table-column prop="address" label="约束基准值">
 | 
											
												
													
														|  | 
 |  | +                        <template #default="{ row }">
 | 
											
												
													
														|  | 
 |  | +                          <el-input v-model="row.address" @change="handleEdit(row)" />
 | 
											
												
													
														|  | 
 |  | +                        </template>
 | 
											
												
													
														|  | 
 |  | +                      </el-table-column>
 | 
											
												
													
														|  | 
 |  | +                    </el-table>
 | 
											
												
													
														|  | 
 |  | +                
 | 
											
												
													
														|  | 
 |  | +                </div>
 | 
											
												
													
														|  | 
 |  | +                <div class="eloptimize" v-if="activeIndex2==2">
 | 
											
												
													
														|  | 
 |  | +                  <el-table :data="eloptimize" stripe style="width: 100%">
 | 
											
												
													
														|  | 
 |  | +                  <el-table-column type="index" label="编号"  width="70" />
 | 
											
												
													
														|  | 
 |  | +                  <el-table-column prop="qi" label="启用" width="70">
 | 
											
												
													
														|  | 
 |  | +                  <template v-slot="scope">
 | 
											
												
													
														|  | 
 |  | +                    <el-checkbox :label="false" v-model="scope.row.qi" />
 | 
											
												
													
														|  | 
 |  | +                  </template>
 | 
											
												
													
														|  | 
 |  | +                </el-table-column>
 | 
											
												
													
														|  | 
 |  | +                  <el-table-column prop="data" label="目标类型" width="120">
 | 
											
												
													
														|  | 
 |  | +                  <template v-slot="scope">
 | 
											
												
													
														|  | 
 |  | +                    <el-select v-model="scope.row.device"  class="no-border " :suffix-icon="CaretBottom"  placeholder="请选择">
 | 
											
												
													
														|  | 
 |  | +                          <el-option
 | 
											
												
													
														|  | 
 |  | +                            v-for="item in options"
 | 
											
												
													
														|  | 
 |  | +                            :key="item.value"
 | 
											
												
													
														|  | 
 |  | +                            :label="item.label"
 | 
											
												
													
														|  | 
 |  | +                            :value="item.value">
 | 
											
												
													
														|  | 
 |  | +                          </el-option>
 | 
											
												
													
														|  | 
 |  | +                        </el-select>
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +                  </template>
 | 
											
												
													
														|  | 
 |  | +            </el-table-column>
 | 
											
												
													
														|  | 
 |  | +                  <el-table-column prop="name" label="优化方向"  width="100">
 | 
											
												
													
														|  | 
 |  | +                    <template v-slot="scope">
 | 
											
												
													
														|  | 
 |  | +                    <el-select class="no-border "  v-model="scope.row.z" :suffix-icon="CaretBottom" placeholder="请选择">
 | 
											
												
													
														|  | 
 |  | +                          <el-option
 | 
											
												
													
														|  | 
 |  | +                            v-for="item in options1"
 | 
											
												
													
														|  | 
 |  | +                            :key="item.value"
 | 
											
												
													
														|  | 
 |  | +                            :label="item.label"
 | 
											
												
													
														|  | 
 |  | +                            :value="item.value">
 | 
											
												
													
														|  | 
 |  | +                          </el-option>
 | 
											
												
													
														|  | 
 |  | +                        </el-select>
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +                  </template>
 | 
											
												
													
														|  | 
 |  | +                </el-table-column>
 | 
											
												
													
														|  | 
 |  | +                  <el-table-column prop="q" label="权重系数">
 | 
											
												
													
														|  | 
 |  | +                    <template #default="{ row }">
 | 
											
												
													
														|  | 
 |  | +                          <el-input v-model="row.q" @change="handleEdit(row)" />
 | 
											
												
													
														|  | 
 |  | +                        </template>
 | 
											
												
													
														|  | 
 |  | +                  </el-table-column>
 | 
											
												
													
														|  | 
 |  | +                  <el-table-column prop="cai" label="采用基准翼型数据缩放" width="180">
 | 
											
												
													
														|  | 
 |  | +                    <template v-slot="scope">
 | 
											
												
													
														|  | 
 |  | +                    <el-checkbox :label="scope.row.qi?'采用':'不采用'" v-model="scope.row.qi" />
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +                  </template>
 | 
											
												
													
														|  |                  </el-table-column>
 |  |                  </el-table-column>
 | 
											
												
													
														|  | 
 |  | +                  <el-table-column prop="yin" label="缩放因子">
 | 
											
												
													
														|  | 
 |  | +                    <template #default="{ row }">
 | 
											
												
													
														|  | 
 |  | +                          <el-input v-model="row.yin" @change="handleEdit(row)" />
 | 
											
												
													
														|  | 
 |  | +                        </template>
 | 
											
												
													
														|  | 
 |  | +                  </el-table-column>
 | 
											
												
													
														|  | 
 |  | +                  <el-table-column prop="address" label="备注" width="200">
 | 
											
												
													
														|  | 
 |  | +                    <template #default="{ row }">
 | 
											
												
													
														|  | 
 |  | +                          <el-input v-model="row.address" @change="handleEdit(row)" />
 | 
											
												
													
														|  | 
 |  | +                        </template>
 | 
											
												
													
														|  | 
 |  | +                  </el-table-column>
 | 
											
												
													
														|  |                  </el-table>
 |  |                  </el-table>
 | 
											
												
													
														|  |                  
 |  |                  
 | 
											
												
													
														|  |                  </div>
 |  |                  </div>
 | 
											
												
													
														|  | -                <div class="elconstraint" v-if="activeIndex2==1">约束条件</div>
 |  | 
 | 
											
												
													
														|  | -                <div class="eloptimize" v-if="activeIndex2==2">优化目标</div>
 |  | 
 | 
											
												
													
														|  |                </div>
 |  |                </div>
 | 
											
												
													
														|  |                <div class="dibu">
 |  |                <div class="dibu">
 | 
											
												
													
														|  |                  <div class="footer-add">
 |  |                  <div class="footer-add">
 | 
											
										
											
												
													
														|  | @@ -1019,37 +928,8 @@
 | 
											
												
													
														|  |                  </div>
 |  |                  </div>
 | 
											
												
													
														|  |                </div>
 |  |                </div>
 | 
											
												
													
														|  |            </div>
 |  |            </div>
 | 
											
												
													
														|  | 
 |  | +        </div>
 | 
											
												
													
														|  |                <div class="pading_foter">
 |  |                <div class="pading_foter">
 | 
											
												
													
														|  | -             
 |  | 
 | 
											
												
													
														|  | -                <!-- 日志 -->
 |  | 
 | 
											
												
													
														|  | -                <!-- <div class="footerTitle   el-tag--primary">
 |  | 
 | 
											
												
													
														|  | -                <div>
 |  | 
 | 
											
												
													
														|  | -                  <p>信息栏</p>
 |  | 
 | 
											
												
													
														|  | -                </div>
 |  | 
 | 
											
												
													
														|  | -                <div>
 |  | 
 | 
											
												
													
														|  | -                  <li
 |  | 
 | 
											
												
													
														|  | -                    class="exloadbox"
 |  | 
 | 
											
												
													
														|  | -                    v-show="elodingfalse"
 |  | 
 | 
											
												
													
														|  | -                  >
 |  | 
 | 
											
												
													
														|  | -                    <span>正在求解中</span>
 |  | 
 | 
											
												
													
														|  | -                    <i class="el-icon-loading"></i>
 |  | 
 | 
											
												
													
														|  | -                  </li>
 |  | 
 | 
											
												
													
														|  | -                  <li>
 |  | 
 | 
											
												
													
														|  | -                    <span >清空</span>
 |  | 
 | 
											
												
													
														|  | -                  </li>
 |  | 
 | 
											
												
													
														|  | -                  <li>
 |  | 
 | 
											
												
													
														|  | -                    <span @click="footerShows('foot')">▲▼</span>
 |  | 
 | 
											
												
													
														|  | -                  </li>
 |  | 
 | 
											
												
													
														|  | -                </div>
 |  | 
 | 
											
												
													
														|  | -              </div>  -->
 |  | 
 | 
											
												
													
														|  | -                 <!-- <div class="footerTextBox"   v-if="footerShow">
 |  | 
 | 
											
												
													
														|  | -                  <el-input
 |  | 
 | 
											
												
													
														|  | -                    class="footerText"
 |  | 
 | 
											
												
													
														|  | -                    type="textarea"
 |  | 
 | 
											
												
													
														|  | -                    id="textarea_id"
 |  | 
 | 
											
												
													
														|  | -                    v-model="logs"
 |  | 
 | 
											
												
													
														|  | -                  ></el-input>
 |  | 
 | 
											
												
													
														|  | -                </div>  -->
 |  | 
 | 
											
												
													
														|  |                  </div>
 |  |                  </div>
 | 
											
												
													
														|  |                </div>
 |  |                </div>
 | 
											
												
													
														|  |                </el-footer>
 |  |                </el-footer>
 | 
											
										
											
												
													
														|  | @@ -1120,7 +1000,18 @@
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |    
 |  |    
 | 
											
												
													
														|  |    ])
 |  |    ])
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | 
 |  | +  let options1=ref([
 | 
											
												
													
														|  | 
 |  | +{ label: '增大', value: '增大' },
 | 
											
												
													
														|  | 
 |  | +{ label: '减小', value: '减小' },
 | 
											
												
													
														|  | 
 |  | +])
 | 
											
												
													
														|  | 
 |  | +  let options2=ref([
 | 
											
												
													
														|  | 
 |  | +{ label: '升力系数', value: '升力系数' },
 | 
											
												
													
														|  | 
 |  | +{ label: '翼型面积', value: '翼型面积' },
 | 
											
												
													
														|  | 
 |  | +])
 | 
											
												
													
														|  | 
 |  | +let options3=ref([
 | 
											
												
													
														|  | 
 |  | +{ label: '大于', value: '大于' },
 | 
											
												
													
														|  | 
 |  | +{ label: '小于', value: '小于' },
 | 
											
												
													
														|  | 
 |  | +])
 | 
											
												
													
														|  |    const datatree1 = ref([
 |  |    const datatree1 = ref([
 | 
											
												
													
														|  |      {
 |  |      {
 | 
											
												
													
														|  |        id:2,
 |  |        id:2,
 | 
											
										
											
												
													
														|  | @@ -1396,37 +1287,22 @@
 | 
											
												
													
														|  |        ],
 |  |        ],
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |    ]
 |  |    ]
 | 
											
												
													
														|  | 
 |  | +  const eloptimize = ref([
 | 
											
												
													
														|  | 
 |  | +  {
 | 
											
												
													
														|  | 
 |  | +    qi:"false",
 | 
											
												
													
														|  | 
 |  | +    date: '2016-05-03',
 | 
											
												
													
														|  | 
 |  | +    device: '升阻比',
 | 
											
												
													
														|  | 
 |  | +    z: '增大',
 | 
											
												
													
														|  | 
 |  | +    q:1.0,
 | 
											
												
													
														|  | 
 |  | +    cai:false,
 | 
											
												
													
														|  | 
 |  | +    yin:1.0,
 | 
											
												
													
														|  | 
 |  | +    address:'serrrrrrr'
 | 
											
												
													
														|  | 
 |  | +  }
 | 
											
												
													
														|  | 
 |  | +  ])
 | 
											
												
													
														|  |    const tableData = ref([
 |  |    const tableData = ref([
 | 
											
												
													
														|  |      {
 |  |      {
 | 
											
												
													
														|  | -      qi:"false",
 |  | 
 | 
											
												
													
														|  | -      date: '2016-05-03',
 |  | 
 | 
											
												
													
														|  | -      device: '升阻比',
 |  | 
 | 
											
												
													
														|  | -      z: '增大',
 |  | 
 | 
											
												
													
														|  | -      q:1.0,
 |  | 
 | 
											
												
													
														|  | -      cai:false,
 |  | 
 | 
											
												
													
														|  | -      yin:1.0,
 |  | 
 | 
											
												
													
														|  | -      address:'serrrrrrr'
 |  | 
 | 
											
												
													
														|  | -      
 |  | 
 | 
											
												
													
														|  | -    },
 |  | 
 | 
											
												
													
														|  | -    {
 |  | 
 | 
											
												
													
														|  | -      qi:"true",
 |  | 
 | 
											
												
													
														|  | -      date: '2016-05-03',
 |  | 
 | 
											
												
													
														|  |        device: '升阻比',
 |  |        device: '升阻比',
 | 
											
												
													
														|  |        z: '增大',
 |  |        z: '增大',
 | 
											
												
													
														|  | -      q:1.0,
 |  | 
 | 
											
												
													
														|  | -      cai:false,
 |  | 
 | 
											
												
													
														|  | -      yin:1.0,
 |  | 
 | 
											
												
													
														|  | -      address:'serrrrrrr'
 |  | 
 | 
											
												
													
														|  | -      
 |  | 
 | 
											
												
													
														|  | -    },
 |  | 
 | 
											
												
													
														|  | -    {
 |  | 
 | 
											
												
													
														|  | -      qi:"false",
 |  | 
 | 
											
												
													
														|  | -      date: '2016-05-03',
 |  | 
 | 
											
												
													
														|  | -      device: '升阻比',
 |  | 
 | 
											
												
													
														|  | -      z: '增大',
 |  | 
 | 
											
												
													
														|  | -      q:1.0,
 |  | 
 | 
											
												
													
														|  | -      cai:false,
 |  | 
 | 
											
												
													
														|  | -      yin:1.0,
 |  | 
 | 
											
												
													
														|  |        address:'serrrrrrr'
 |  |        address:'serrrrrrr'
 | 
											
												
													
														|  |        
 |  |        
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
										
											
												
													
														|  | @@ -1438,7 +1314,7 @@
 | 
											
												
													
														|  |        device: '升阻比',
 |  |        device: '升阻比',
 | 
											
												
													
														|  |        z: '增大',
 |  |        z: '增大',
 | 
											
												
													
														|  |        q:1.0,
 |  |        q:1.0,
 | 
											
												
													
														|  | -      cai:false,
 |  | 
 | 
											
												
													
														|  | 
 |  | +      cai:'false',
 | 
											
												
													
														|  |        yin:1.0,
 |  |        yin:1.0,
 | 
											
												
													
														|  |        address:'serrrrrrr'
 |  |        address:'serrrrrrr'
 | 
											
												
													
														|  |        
 |  |        
 | 
											
										
											
												
													
														|  | @@ -1589,6 +1465,28 @@
 | 
											
												
													
														|  |                  
 |  |                  
 | 
											
												
													
														|  |                  })
 |  |                  })
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  | 
 |  | +    } else if(activeIndex2.value==1){
 | 
											
												
													
														|  | 
 |  | +      for (let i = 0; i < tablevalnum; i++) {
 | 
											
												
													
														|  | 
 |  | +        tableData .value.push({
 | 
											
												
													
														|  | 
 |  | +          device: '升阻比',
 | 
											
												
													
														|  | 
 |  | +          z: '增大',
 | 
											
												
													
														|  | 
 |  | +          address:''
 | 
											
												
													
														|  | 
 |  | +                })
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  | 
 |  | +    }else if(activeIndex2.value==2){
 | 
											
												
													
														|  | 
 |  | +      for (let i = 0; i < tablevalnum; i++) {
 | 
											
												
													
														|  | 
 |  | +        eloptimize.value.push( {
 | 
											
												
													
														|  | 
 |  | +        qi:"false",
 | 
											
												
													
														|  | 
 |  | +        date: '2016-05-03',
 | 
											
												
													
														|  | 
 |  | +        device: '升阻比',
 | 
											
												
													
														|  | 
 |  | +        z: '增大',
 | 
											
												
													
														|  | 
 |  | +        q:1.0,
 | 
											
												
													
														|  | 
 |  | +        cai:false,
 | 
											
												
													
														|  | 
 |  | +        yin:1.0,
 | 
											
												
													
														|  | 
 |  | +        address:'serrrrrrr'
 | 
											
												
													
														|  | 
 |  | + })
 | 
											
												
													
														|  | 
 |  | +        
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
										
											
												
													
														|  | @@ -1615,9 +1513,7 @@
 | 
											
												
													
														|  |        height: 25px !important;
 |  |        height: 25px !important;
 | 
											
												
													
														|  |        z-index: 99;;
 |  |        z-index: 99;;
 | 
											
												
													
														|  |        border-radius: 5px 5px 0px 0px;
 |  |        border-radius: 5px 5px 0px 0px;
 | 
											
												
													
														|  | -      // bottom: 160px;
 |  | 
 | 
											
												
													
														|  | -      // position: absolute;
 |  | 
 | 
											
												
													
														|  | -      // width: 100%;
 |  | 
 | 
											
												
													
														|  | 
 |  | +      overflow: hidden;
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
												
													
														|  |    .footerTitle div {
 |  |    .footerTitle div {
 | 
											
												
													
														|  |      display: flex;
 |  |      display: flex;
 | 
											
										
											
												
													
														|  | @@ -1685,6 +1581,7 @@ border-radius: 0px 0px 0px 0px;
 | 
											
												
													
														|  |    width: 100%;
 |  |    width: 100%;
 | 
											
												
													
														|  |    height: 178px;
 |  |    height: 178px;
 | 
											
												
													
														|  |    overflow-y: auto;
 |  |    overflow-y: auto;
 | 
											
												
													
														|  | 
 |  | +  background: #fff;
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  .youhualog .active2 {
 |  |  .youhualog .active2 {
 | 
											
												
													
														|  |    background-color: #f0f0f0;
 |  |    background-color: #f0f0f0;
 |