diff --git a/src/components/ConfigManager/factor.vue b/src/components/ConfigManager/factor.vue index f38f0b9..2f08001 100644 --- a/src/components/ConfigManager/factor.vue +++ b/src/components/ConfigManager/factor.vue @@ -36,11 +36,23 @@ //因子搜索相关 factorFilterInfo: { query: { - searchStr: "", + searchStr: "" }, list: [ - {type: "input", label: "因子名称/ASCII码", value: "searchStr", hideLabel: true }, - {type: "button", label: "查询", btType: "primary", icon: "el-icon-search", event: "search", show: true}, + { + type: "input", + label: "因子名称/ASCII码", + value: "searchStr", + hideLabel: true + }, + { + type: "button", + label: "查询", + btType: "primary", + icon: "el-icon-search", + event: "search", + show: true + } ] }, //因子表格相关 @@ -50,15 +62,35 @@ initCurpage: 1, data: [], fieldList: [ - { label: "因子名称", value: "codeProperty", minWidth: 150, tooltip: true }, - { label: "因子ASCII码", value: "codeAscll", minWidth: 100, tooltip: true }, + { + label: "因子名称", + value: "codeProperty", + minWidth: 150, + tooltip: true + }, + { + label: "因子ASCII码", + value: "codeAscll", + minWidth: 100, + tooltip: true + }, { label: "水文编号", value: "code", minWidth: 100, tooltip: true }, - { label: "因子最大值", value: "maxValue", minWidth: 100, tooltip: true }, - { label: "因子最小值", value: "minValue", minWidth: 100, tooltip: true }, - { label: "因子单位", value: "unit", minWidth: 100, tooltip: true }, + { + label: "因子最大值", + value: "maxValue", + minWidth: 100, + tooltip: true + }, + { + label: "因子最小值", + value: "minValue", + minWidth: 100, + tooltip: true + }, + { label: "因子单位", value: "unit", minWidth: 100, tooltip: true } ] } - } + }; }, mounted() { this.factorTableInfo.refresh = Math.random(); @@ -75,5 +107,5 @@ } } } -} - \ No newline at end of file +}; + diff --git a/src/components/ConfigManager/factor.vue b/src/components/ConfigManager/factor.vue index f38f0b9..2f08001 100644 --- a/src/components/ConfigManager/factor.vue +++ b/src/components/ConfigManager/factor.vue @@ -36,11 +36,23 @@ //因子搜索相关 factorFilterInfo: { query: { - searchStr: "", + searchStr: "" }, list: [ - {type: "input", label: "因子名称/ASCII码", value: "searchStr", hideLabel: true }, - {type: "button", label: "查询", btType: "primary", icon: "el-icon-search", event: "search", show: true}, + { + type: "input", + label: "因子名称/ASCII码", + value: "searchStr", + hideLabel: true + }, + { + type: "button", + label: "查询", + btType: "primary", + icon: "el-icon-search", + event: "search", + show: true + } ] }, //因子表格相关 @@ -50,15 +62,35 @@ initCurpage: 1, data: [], fieldList: [ - { label: "因子名称", value: "codeProperty", minWidth: 150, tooltip: true }, - { label: "因子ASCII码", value: "codeAscll", minWidth: 100, tooltip: true }, + { + label: "因子名称", + value: "codeProperty", + minWidth: 150, + tooltip: true + }, + { + label: "因子ASCII码", + value: "codeAscll", + minWidth: 100, + tooltip: true + }, { label: "水文编号", value: "code", minWidth: 100, tooltip: true }, - { label: "因子最大值", value: "maxValue", minWidth: 100, tooltip: true }, - { label: "因子最小值", value: "minValue", minWidth: 100, tooltip: true }, - { label: "因子单位", value: "unit", minWidth: 100, tooltip: true }, + { + label: "因子最大值", + value: "maxValue", + minWidth: 100, + tooltip: true + }, + { + label: "因子最小值", + value: "minValue", + minWidth: 100, + tooltip: true + }, + { label: "因子单位", value: "unit", minWidth: 100, tooltip: true } ] } - } + }; }, mounted() { this.factorTableInfo.refresh = Math.random(); @@ -75,5 +107,5 @@ } } } -} - \ No newline at end of file +}; + diff --git a/src/components/newFiber/NewFiberSearch.vue b/src/components/newFiber/NewFiberSearch.vue index a9f000e..9f843f2 100644 --- a/src/components/newFiber/NewFiberSearch.vue +++ b/src/components/newFiber/NewFiberSearch.vue @@ -133,12 +133,6 @@ clearable />
- 搜索 @@ -147,35 +141,38 @@
-
-
-

{{ site.stName }}

-
-
存储时间:{{ site.utTime }}
-
- 观测时间: -

{{ site.ttTime }}

-
- {{ site.status | formatState }} + +
无数据
@@ -485,7 +482,8 @@ methods: { labelHead(h, { column, index }) { if (column.label) { - var l = column.label.length; + // console.log(column.label.length); + var l = column.label.length + 6; } let f = 16; //每个字大小,其实是每个字的比例值,大概会比字体大小差不多大一点, column.minWidth = f * l; //字大小乘个数即长度 ,注意不要加px像素,这里minWidth只是一个比例值,不是真正的长度 //然后将列标题放在一个div块中,注意块的宽度一定要100%,否则表格显示不完全 @@ -537,6 +535,7 @@ }, // 点击项目查看该项目下的所有站点 ClickFZ(platformCode, siteName) { + this.leftSiteList = []; this.currentPlatformCode = platformCode; this.$http .get( @@ -544,6 +543,7 @@ `?platformCode=${this.currentPlatformCode}&siteName=${this.currentSiteName}` ) .then(res => { + // console.log(res); if (res.data.data.length) { this.leftSiteList = res.data.data; } @@ -1326,6 +1326,9 @@ color: var(--white); box-sizing: border-box; } +.white { + color: var(--white) !important; +} /* 因子选择 B*/ #HistoryEchart { width: 100%;