|
@@ -880,50 +880,32 @@
|
|
<!-- 内容区 -->
|
|
<!-- 内容区 -->
|
|
<div class="main mianflex">
|
|
<div class="main mianflex">
|
|
<!--left菜单栏 -->
|
|
<!--left菜单栏 -->
|
|
- <div class="left_main">
|
|
|
|
- <div class="left_main_content">
|
|
|
|
- <el-tabs
|
|
|
|
- v-model="tabName"
|
|
|
|
- type="card"
|
|
|
|
- class="demo-tabs"
|
|
|
|
- @tab-click="handleClick"
|
|
|
|
- >
|
|
|
|
- <el-tab-pane label="导航树" name="one">
|
|
|
|
-
|
|
|
|
- <!-- <p class="treetiele">优化设计</p> -->
|
|
|
|
- <!-- <el-tree
|
|
|
|
- class="custom-tree"
|
|
|
|
- style="max-width: 300px"
|
|
|
|
- :data="treeData"
|
|
|
|
- :props="defaultProps"
|
|
|
|
- @node-click="handleNodeClick"
|
|
|
|
- :highlight-current="true"
|
|
|
|
- :default-expanded-keys="defaultExpandedArr"
|
|
|
|
- node-key="id"
|
|
|
|
- >
|
|
|
|
- <template #default="{ node, data }">
|
|
|
|
- <span class="treesvgi">
|
|
|
|
- <i v-if="!data.children" class=""></i>
|
|
|
|
- <i v-else-if="node.expanded" class="el-icon-collection-tag"> </i>
|
|
|
|
- <i v-else class="el-icon-folder"> </i>
|
|
|
|
- <span style="margin-left: 10px">{{ node.label}}</span>
|
|
|
|
- </span>
|
|
|
|
-
|
|
|
|
- </template>
|
|
|
|
- </el-tree> -->
|
|
|
|
- <el-tree :data="datatree" class="custom-tree" :props="defaultProps" @node-click="handleNodeClick" />
|
|
|
|
- </el-tab-pane>
|
|
|
|
- <el-tab-pane label="组件" name="tow">
|
|
|
|
- <!-- <div class="panetab">
|
|
|
|
- <el-image :src="getImgPath('f41.png')" fit="cover" />
|
|
|
|
- <span style=" display: block;">测试函数模版</span>
|
|
|
|
- </div> -->
|
|
|
|
- <Sidebar />
|
|
|
|
- </el-tab-pane>
|
|
|
|
- </el-tabs>
|
|
|
|
-
|
|
|
|
|
|
+ <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>
|
|
|
|
|
|
+ </div> -->
|
|
<!-- 放图形 -->
|
|
<!-- 放图形 -->
|
|
<div class="main_container">
|
|
<div class="main_container">
|
|
<div class="main_model">
|
|
<div class="main_model">
|
|
@@ -946,9 +928,101 @@
|
|
class="femFooter"
|
|
class="femFooter"
|
|
|
|
|
|
>
|
|
>
|
|
|
|
+ <div class="gooterpading">
|
|
|
|
+ <div class="footerTitle el-tag--primary">
|
|
|
|
+ <div >
|
|
|
|
+ <span v-for="(tab, index) in tabs" :key="index" :class="{ 'active': activeIndex === index }"
|
|
|
|
+ @click="activeIndex = index">{{ tab }}</span>
|
|
|
|
+ </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="activeIndex==0">
|
|
|
|
+ <el-input
|
|
|
|
+ class="footerText"
|
|
|
|
+ type="textarea"
|
|
|
|
+ id="textarea_id"
|
|
|
|
+ v-model="logs"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="youhualog" v-if="activeIndex==1">
|
|
|
|
+ <ul>
|
|
|
|
+ <li v-for="(tab, index) in listli" :key="index" :class="{ 'active2': activeIndex2 === index }"
|
|
|
|
+ @click="activeIndex2 = index">{{ tab }}</li>
|
|
|
|
+ </ul>
|
|
|
|
+ <div class="footer-content">
|
|
|
|
+ <div class="eldesign" v-if="activeIndex2==0">
|
|
|
|
+ <el-table :data="designtable" border style="width: 100%">
|
|
|
|
+ <el-table-column type="index" label="编号" width="70" />
|
|
|
|
+ <el-table-column prop="name" label="变量名称">
|
|
|
|
+ <template #default="{ row }">
|
|
|
|
+ <el-input v-model="row.name" @change="handleEdit(row)" />
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column prop="date" label="变量类型">
|
|
|
|
+ <template #default="{ row }">
|
|
|
|
+ <el-input v-model="row.date" @change="handleEdit(row)" />
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column prop="name" label="上限值">
|
|
|
|
+ <template #default="{ row }">
|
|
|
|
+ <el-input v-model="row.name" @change="handleEdit(row)" />
|
|
|
|
+ </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="100">
|
|
|
|
+ <template #default="{ row }">
|
|
|
|
+ <el-input v-model="row.cai" @change="handleEdit(row)" />
|
|
|
|
+ </template>
|
|
|
|
+ </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>
|
|
|
|
+
|
|
|
|
+ </div>
|
|
|
|
+ <div class="elconstraint" v-if="activeIndex2==1">约束条件</div>
|
|
|
|
+ <div class="eloptimize" v-if="activeIndex2==2">优化目标</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="dibu">
|
|
|
|
+ <div class="footer-add">
|
|
|
|
+ <div class="sev_ruwu">
|
|
|
|
+ <div class="disflex ">
|
|
|
|
+ <el-form-item label="新增变量数:">
|
|
|
|
+ <el-input v-model="tableval" maxlength="18"
|
|
|
|
+ oninput="value=value.replace(/[^\a-\z\A-\Z0-9\u4E00-\u9FA5]/g,'')" class="w-50 m-2"
|
|
|
|
+ placeholder="请输入关键字" /> </el-form-item>
|
|
|
|
+ <el-button class="btncolor">导入</el-button>
|
|
|
|
+ <el-button class="btncolor" @click="onAddItem">新增</el-button>
|
|
|
|
+ <el-button class="btncolor">确认</el-button>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
<div class="pading_foter">
|
|
<div class="pading_foter">
|
|
|
|
+
|
|
<!-- 日志 -->
|
|
<!-- 日志 -->
|
|
- <div class="footerTitle el-tag--primary">
|
|
|
|
|
|
+ <!-- <div class="footerTitle el-tag--primary">
|
|
<div>
|
|
<div>
|
|
<p>信息栏</p>
|
|
<p>信息栏</p>
|
|
</div>
|
|
</div>
|
|
@@ -967,16 +1041,17 @@
|
|
<span @click="footerShows('foot')">▲▼</span>
|
|
<span @click="footerShows('foot')">▲▼</span>
|
|
</li>
|
|
</li>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- <div class="footerTextBox" v-if="footerShow">
|
|
|
|
|
|
+ </div> -->
|
|
|
|
+ <!-- <div class="footerTextBox" v-if="footerShow">
|
|
<el-input
|
|
<el-input
|
|
class="footerText"
|
|
class="footerText"
|
|
type="textarea"
|
|
type="textarea"
|
|
id="textarea_id"
|
|
id="textarea_id"
|
|
v-model="logs"
|
|
v-model="logs"
|
|
></el-input>
|
|
></el-input>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
</div>
|
|
</div>
|
|
|
|
+ </div>
|
|
</el-footer>
|
|
</el-footer>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -998,172 +1073,162 @@
|
|
import { Edit,CaretBottom } from '@element-plus/icons-vue'
|
|
import { Edit,CaretBottom } from '@element-plus/icons-vue'
|
|
// import '@/utils/flexible'
|
|
// import '@/utils/flexible'
|
|
import s0 from "@/assets/img/s0.png"
|
|
import s0 from "@/assets/img/s0.png"
|
|
|
|
+ import gc1 from "@/assets/img/gc1.png"
|
|
|
|
+ import gc2 from "@/assets/img/gc2.png"
|
|
|
|
+ import gc3 from "@/assets/img/gc3.png"
|
|
|
|
+ import wen from "@/assets/img/wen.png"
|
|
import optmonitor from './echart/optimize_monitor.vue'
|
|
import optmonitor from './echart/optimize_monitor.vue'
|
|
import sixtop from './echart/six_top.vue'
|
|
import sixtop from './echart/six_top.vue'
|
|
import sixbottom from './echart/six_bottom.vue'
|
|
import sixbottom from './echart/six_bottom.vue'
|
|
import sixindex from './demo/index.vue'
|
|
import sixindex from './demo/index.vue'
|
|
import sixchine from './demo/chine.vue'
|
|
import sixchine from './demo/chine.vue'
|
|
- import modelb from './vueflow/modelb.vue'
|
|
|
|
- import vuefindex from './vueflow/index.vue'
|
|
|
|
- import Sidebar from './vueflow/Sidebar.vue'
|
|
|
|
|
|
+ import vuefindex from './vuetree/index.vue'
|
|
|
|
+ import Sidebar from './vuetree/Sidebar.vue'
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
let logs=ref("");
|
|
let logs=ref("");
|
|
|
|
+ let tableval=ref();
|
|
let elodingfalse=ref(false);
|
|
let elodingfalse=ref(false);
|
|
let footerShow=ref(false);
|
|
let footerShow=ref(false);
|
|
let tabName=ref("one")
|
|
let tabName=ref("one")
|
|
|
|
+ const tabs = ['信息栏', '优化问题'];
|
|
|
|
+ const listli = ['设计变量', '约束条件', '优化目标'];
|
|
|
|
+ const activeIndex = ref(0);
|
|
|
|
+ const activeIndex2 = ref(0);
|
|
const datatree = ref([
|
|
const datatree = ref([
|
|
{
|
|
{
|
|
- label: '优化设计',
|
|
|
|
|
|
+ id:1,
|
|
|
|
+ label: '工程',
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
|
|
+ id:'1-1',
|
|
label: '优化问题',
|
|
label: '优化问题',
|
|
- children: [
|
|
|
|
- {
|
|
|
|
- label: '优化目标',
|
|
|
|
- children: [
|
|
|
|
- {
|
|
|
|
- label: '输出',
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- label: '设计变量',
|
|
|
|
- children: [
|
|
|
|
- {
|
|
|
|
- label: '输入1',
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- label: '输入2',
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
|
|
+ img:gc1,
|
|
|
|
+
|
|
},
|
|
},
|
|
{
|
|
{
|
|
|
|
+ id:'1-2',
|
|
label: '分析流程',
|
|
label: '分析流程',
|
|
- children: [
|
|
|
|
- {
|
|
|
|
- label: '优化器',
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- label: 'Python',
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
|
|
+ img:gc2,
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ id:'1-3',
|
|
|
|
+ label: '优化器',
|
|
|
|
+ img:gc3
|
|
},
|
|
},
|
|
],
|
|
],
|
|
},
|
|
},
|
|
|
|
|
|
])
|
|
])
|
|
- const treeData = ref([
|
|
|
|
- // {
|
|
|
|
- // id:0,
|
|
|
|
- // label: '优化设计',
|
|
|
|
- // children: [
|
|
|
|
- // {
|
|
|
|
- // // id:1,
|
|
|
|
- // // label: '任务',
|
|
|
|
- // // children: [
|
|
|
|
- // // {
|
|
|
|
- // // label: '任务编号',
|
|
|
|
- // // },
|
|
|
|
- // // {
|
|
|
|
- // // label: '任务名称',
|
|
|
|
- // // },
|
|
|
|
- // // {
|
|
|
|
- // // label: '任务类型',
|
|
|
|
- // // },
|
|
|
|
- // // ],
|
|
|
|
- // },
|
|
|
|
|
|
+
|
|
|
|
+ const datatree1 = ref([
|
|
|
|
+ {
|
|
|
|
+ id:2,
|
|
|
|
+ label: '优化问题组件',
|
|
|
|
+ img:'',
|
|
|
|
+ children: [
|
|
{
|
|
{
|
|
- id:2,
|
|
|
|
|
|
+ id:'2_1',
|
|
label: '优化问题',
|
|
label: '优化问题',
|
|
- children: [
|
|
|
|
- {
|
|
|
|
- label: '问题设定',
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- label: '优化目标',
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- label: '设计变量',
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- label: '约束条件',
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
|
|
+ img:"wen.png",
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ ],
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ id:3,
|
|
|
|
+ label: '学科分析组件',
|
|
|
|
+ img:'',
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ id:'3-1',
|
|
|
|
+ label: 'CATIA',
|
|
|
|
+ img:'xuek1.png',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- id:3,
|
|
|
|
- label: '优化模型',
|
|
|
|
- children: [
|
|
|
|
- {
|
|
|
|
- label: '代理模型',
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- label: '优化算法',
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- label: '加点方法',
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
- ],
|
|
|
|
|
|
+ id:'3-2',
|
|
|
|
+ label: 'Excel',
|
|
|
|
+ img:'xuek2.png',
|
|
|
|
+
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- id:4,
|
|
|
|
- label: '优化运行',
|
|
|
|
- children: [
|
|
|
|
- {
|
|
|
|
- label: '任务提交',
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- label: '优化监控',
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
- ],
|
|
|
|
|
|
+ id:'3-3',
|
|
|
|
+ label: 'Feko',
|
|
|
|
+ img:'xuek3.png'
|
|
},
|
|
},
|
|
-
|
|
|
|
{
|
|
{
|
|
- id:5,
|
|
|
|
- label: '优化结果',
|
|
|
|
- children: [
|
|
|
|
- {
|
|
|
|
- label: '可视化',
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- label: '查看报告',
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- label: '导出报告',
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
- ],
|
|
|
|
|
|
+ id:'3-4',
|
|
|
|
+ label: 'Fluent',
|
|
|
|
+ img:'xuek4.png',
|
|
|
|
+
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- id:6,
|
|
|
|
- label: '数据库管理',
|
|
|
|
- children: [
|
|
|
|
- {
|
|
|
|
- label: '任务检索',
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
|
|
+ id:'3-5',
|
|
|
|
+ label: 'HCFD',
|
|
|
|
+ img:'xuek5.png',
|
|
|
|
+
|
|
},
|
|
},
|
|
-
|
|
|
|
-
|
|
|
|
- // ],
|
|
|
|
- // },
|
|
|
|
|
|
+ {
|
|
|
|
+ id:'3-6',
|
|
|
|
+ label: 'Matlab',
|
|
|
|
+ img:"xuek6.png"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ id:'3-7',
|
|
|
|
+ label: 'Nastran',
|
|
|
|
+ img:'xuek7.png',
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ id:'3-8',
|
|
|
|
+ label: 'Python',
|
|
|
|
+ img:'xuek8.png',
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ id:'3-9',
|
|
|
|
+ label: 'AirfoilAero',
|
|
|
|
+ img:'xuek9.png'
|
|
|
|
+ },
|
|
|
|
+ ],
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ id:4,
|
|
|
|
+ label: '优化器组件',
|
|
|
|
+ img:'',
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ id:'4-1',
|
|
|
|
+ label: '进化优化器',
|
|
|
|
+ img:'youh1.png',
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ id:'4-2',
|
|
|
|
+ label: '代理优化器',
|
|
|
|
+ img:'youh2.png',
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ id:'4-3',
|
|
|
|
+ label: '梯度优化器',
|
|
|
|
+ img:'youh3.png',
|
|
|
|
+ },
|
|
|
|
+ ],
|
|
|
|
+ },
|
|
|
|
|
|
])
|
|
])
|
|
-
|
|
|
|
-
|
|
|
|
let defaultExpandedArr=ref([]);
|
|
let defaultExpandedArr=ref([]);
|
|
const defaultProps = {
|
|
const defaultProps = {
|
|
children: 'children',
|
|
children: 'children',
|
|
label: 'label',
|
|
label: 'label',
|
|
}
|
|
}
|
|
- treeData.value.forEach((item) => {
|
|
|
|
- defaultExpandedArr.value.push(item.id);
|
|
|
|
- });
|
|
|
|
|
|
+
|
|
|
|
+ // treeData.value.forEach((item) => {
|
|
|
|
+ // defaultExpandedArr.value.push(item.id);
|
|
|
|
+ // });
|
|
const activeName = ref('Three')
|
|
const activeName = ref('Three')
|
|
|
|
+ const activeName1 = ref('message')
|
|
let active = ref('');
|
|
let active = ref('');
|
|
let tabactive=ref("");
|
|
let tabactive=ref("");
|
|
let checkbox=ref(false)
|
|
let checkbox=ref(false)
|
|
@@ -1378,28 +1443,6 @@
|
|
address:'serrrrrrr'
|
|
address:'serrrrrrr'
|
|
|
|
|
|
},
|
|
},
|
|
- {
|
|
|
|
- name:"true",
|
|
|
|
- date: '2016-05-03',
|
|
|
|
- device: '升阻比',
|
|
|
|
- z: '增大',
|
|
|
|
- q:1.0,
|
|
|
|
- cai:false,
|
|
|
|
- yin:1.0,
|
|
|
|
- address:'serrrrrrr'
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- name:"false",
|
|
|
|
- date: '2016-05-03',
|
|
|
|
- device: '升阻比',
|
|
|
|
- z: '增大',
|
|
|
|
- q:1.0,
|
|
|
|
- cai:false,
|
|
|
|
- yin:1.0,
|
|
|
|
- address:'serrrrrrr'
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
])
|
|
])
|
|
const tasktable = ref([
|
|
const tasktable = ref([
|
|
{
|
|
{
|
|
@@ -1434,6 +1477,13 @@
|
|
}
|
|
}
|
|
dialogcolse()
|
|
dialogcolse()
|
|
}
|
|
}
|
|
|
|
+ //表格点击事件
|
|
|
|
+ const handleEdit = (row) => {
|
|
|
|
+ console.log('编辑后的数据:', row);
|
|
|
|
+ // 在这里处理数据保存逻辑,例如发送请求到后端更新数据
|
|
|
|
+};
|
|
|
|
+ const footerClick = (tab, event) => {
|
|
|
|
+}
|
|
// 关闭所有弹窗
|
|
// 关闭所有弹窗
|
|
const dialogcolse=()=>{
|
|
const dialogcolse=()=>{
|
|
dialog.value.newdialog = false;
|
|
dialog.value.newdialog = false;
|
|
@@ -1521,6 +1571,27 @@
|
|
const targetclick=()=>{
|
|
const targetclick=()=>{
|
|
console.log(tableData.value)
|
|
console.log(tableData.value)
|
|
}
|
|
}
|
|
|
|
+ //新增
|
|
|
|
+ const onAddItem=()=>{
|
|
|
|
+ let tablevalnum=Number(tableval.value)
|
|
|
|
+
|
|
|
|
+ if(activeIndex2.value==0){
|
|
|
|
+ for (let i = 0; i < tablevalnum; i++) {
|
|
|
|
+ designtable.value.push({
|
|
|
|
+ name:"",
|
|
|
|
+ date: '',
|
|
|
|
+ device: '',
|
|
|
|
+ z: '',
|
|
|
|
+ q:'',
|
|
|
|
+ cai:'',
|
|
|
|
+ yin:'',
|
|
|
|
+ address:''
|
|
|
|
+
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
// 日志框
|
|
// 日志框
|
|
// 日志的文本框
|
|
// 日志的文本框
|
|
const footerShows=(evt)=>{
|
|
const footerShows=(evt)=>{
|
|
@@ -1542,8 +1613,7 @@
|
|
padding: 5px 20px;
|
|
padding: 5px 20px;
|
|
font-size: 20px;
|
|
font-size: 20px;
|
|
height: 25px !important;
|
|
height: 25px !important;
|
|
- z-index: 99;
|
|
|
|
- background-color: #fff;
|
|
|
|
|
|
+ z-index: 99;;
|
|
border-radius: 5px 5px 0px 0px;
|
|
border-radius: 5px 5px 0px 0px;
|
|
// bottom: 160px;
|
|
// bottom: 160px;
|
|
// position: absolute;
|
|
// position: absolute;
|
|
@@ -1576,6 +1646,105 @@
|
|
padding: 2px;
|
|
padding: 2px;
|
|
}
|
|
}
|
|
//没有子节点
|
|
//没有子节点
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+ </style>
|
|
|
|
+ <style>
|
|
|
|
+ .el-treeicon .el-tree-node__expand-icon.is-leaf{
|
|
|
|
+ display: none !important;
|
|
|
|
+ }
|
|
|
|
+ .custom-text{
|
|
|
|
+ font-family: Inter, Inter;
|
|
|
|
+ font-weight: 600;
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ color: #383838;
|
|
|
|
+ line-height: 24px;
|
|
|
|
+ text-align: left;
|
|
|
|
+ font-style: normal;
|
|
|
|
+ text-transform: none;
|
|
|
|
+ }
|
|
|
|
+ .el-tree .el-tree-node__children .custom-text{
|
|
|
|
+ font-size: 13px; /* 这里设置为20px,你可以根据需求调整大小 */
|
|
|
|
+ font-weight: 400;
|
|
|
|
+}
|
|
|
|
+/* .el-tree .el-tree-node.is-current>.el-tree-node__content img{
|
|
|
|
+ display: none;
|
|
|
|
+} */
|
|
|
|
+ .custom-tree1 > .el-tree-node > .el-tree-node__content >div img{
|
|
|
|
+ display: none; /* 隐藏一级节点复选框 */
|
|
|
|
+ }
|
|
|
|
+ .footerTitle{
|
|
|
|
+ background: #9FCDFF;
|
|
|
|
+border-radius: 0px 0px 0px 0px;
|
|
|
|
+ }
|
|
|
|
+ .footer-tab .el-tabs__item{
|
|
|
|
+ color: #383838;
|
|
|
|
+ }
|
|
|
|
+ .footerTitle .active {
|
|
|
|
+ background-color: #f0f0f0;
|
|
|
|
+}
|
|
|
|
+.youhualog{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 178px;
|
|
|
|
+ overflow-y: auto;
|
|
|
|
+}
|
|
|
|
+.youhualog .active2 {
|
|
|
|
+ background-color: #f0f0f0;
|
|
|
|
+}
|
|
|
|
+.youhualog ul{
|
|
|
|
+width: 320px;
|
|
|
|
+display: flex;
|
|
|
|
+}
|
|
|
|
+.youhualog ul li{
|
|
|
|
+ flex: 1;
|
|
|
|
+ background: #DFDFDF ;
|
|
|
|
+ border: 1px solid #2267B1;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+.footer-content{
|
|
|
|
+ padding: 15px 24px;
|
|
|
|
+ border: 1px solid #2267B1;
|
|
|
|
+ margin-right: 119px;
|
|
|
|
+}
|
|
|
|
+.footer-add{
|
|
|
|
+ width: 530px;
|
|
|
|
+}
|
|
|
|
+.dibu{
|
|
|
|
+ margin-top: 10px;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
+}
|
|
|
|
+.dibu .el-input__wrapper{
|
|
|
|
+ width: 226px;
|
|
|
|
+}
|
|
|
|
+.dibu .btncolor{
|
|
|
|
+ margin-top: 2px;
|
|
|
|
+ height: 27px;
|
|
|
|
+ background: #FFFFFF;
|
|
|
|
+box-shadow: 0px 2px 2px 0px #2267B1;
|
|
|
|
+border-radius: 0px 0px 0px 0px;
|
|
|
|
+border: 1px solid #2267B1;
|
|
|
|
+}
|
|
|
|
+.el-table td.el-table__cell div .el-input__wrapper{
|
|
|
|
+ box-shadow: none !important;
|
|
|
|
+ padding: 0;
|
|
|
|
+}
|
|
|
|
+.el-table .el-table__cell{
|
|
|
|
+ padding: 0;
|
|
|
|
+}
|
|
|
|
+.gooterpading{
|
|
|
|
+ border: 1px solid #2267B1;
|
|
|
|
+}
|
|
|
|
+.el-table th .cell{
|
|
|
|
+ background:#D8D8D8;
|
|
|
|
+}
|
|
|
|
+.el-table .cell{
|
|
|
|
+ font-size: 12px;
|
|
|
|
+}
|
|
|
|
+.el-table td.el-table__cell div{
|
|
|
|
+ height: 24px;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+}
|
|
|
|
+.el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf,.eldesign{
|
|
|
|
+ border: 1px solid #000000;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|