|
@@ -209,12 +209,12 @@
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="box-card-content2-top">
|
|
|
+ <div class="box-card-content2-top">
|
|
|
<div class="box-card-content2-title">
|
|
|
- <div class="title-container">
|
|
|
- <span>技术指标</span>
|
|
|
- <i class="el-icon-circle-plus" @click="addJs"></i>
|
|
|
- </div>
|
|
|
+ <div class="title-container">
|
|
|
+ <span>技术指标</span>
|
|
|
+ <i class="el-icon-circle-plus" @click="addJs"></i>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="box-card-content2-list">
|
|
|
<div class="box-card-content2-list-item" v-for="(item, index) in jsList" :key="index">
|
|
@@ -593,6 +593,8 @@ import { getStore, setStore } from "@/util/store";
|
|
|
},
|
|
|
|
|
|
created(){
|
|
|
+ console.log(111111111111);
|
|
|
+
|
|
|
this.getFqOptions()
|
|
|
const { id, tenant_id,projectid} = this.$route.query;
|
|
|
this.id = id;
|
|
@@ -609,18 +611,19 @@ import { getStore, setStore } from "@/util/store";
|
|
|
this.getRuleItemOptions();
|
|
|
}
|
|
|
},
|
|
|
- watch: {
|
|
|
- projectid(newVal, oldVal) {
|
|
|
- if (newVal !== oldVal) {
|
|
|
- this.curreenttid = '';
|
|
|
+ beforeRouteLeave(to, from, next) {
|
|
|
+
|
|
|
+
|
|
|
+ this.curreenttid=''
|
|
|
setStore({
|
|
|
name: 'curreenttid',
|
|
|
content: this.curreenttid,
|
|
|
type: true, // sessionStorage
|
|
|
});
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
+ next();
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
methods: {
|
|
|
//获取符号字典
|
|
|
getFqOptions(){
|
|
@@ -1551,9 +1554,11 @@ import { getStore, setStore } from "@/util/store";
|
|
|
}
|
|
|
.box-card-content2{
|
|
|
margin-top: 10px;
|
|
|
-
|
|
|
+// border: 1px solid red;
|
|
|
+height: calc(100vh - 270px);
|
|
|
|
|
|
.box-card-content2-title{
|
|
|
+ margin-top: 10px;
|
|
|
color: rgba(130, 130, 130, 1);
|
|
|
font-size: 10px;;
|
|
|
width: 98%;
|
|
@@ -1634,10 +1639,20 @@ import { getStore, setStore } from "@/util/store";
|
|
|
// 可选: 添加上边框
|
|
|
border-top: 1px solid #EBEEF5;
|
|
|
}
|
|
|
+.box-card-content2-top{
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ height: 50%;
|
|
|
+ // border: 1px solid orangered;
|
|
|
+
|
|
|
+}
|
|
|
.box-card-content2-list{
|
|
|
margin-top: 20px;
|
|
|
- height: 250px;
|
|
|
+
|
|
|
+ // height: 250px;
|
|
|
overflow-y: auto;
|
|
|
+ // border: 1px solid blue;
|
|
|
+
|
|
|
|
|
|
.eg{
|
|
|
color:rgba(37, 80, 162, 1);
|