|
@@ -40,9 +40,7 @@
|
|
|
<li>TQI阈值 :</li>
|
|
|
</a-col>
|
|
|
<a-col :span="12"
|
|
|
- ><a-input
|
|
|
- v-model:value="selectindex.selectedRows[0].tqi"
|
|
|
- placeholder=""
|
|
|
+ ><a-input v-model:value="selectindex.selectedRows[0].tqi" placeholder=""
|
|
|
/></a-col>
|
|
|
</a-row>
|
|
|
|
|
@@ -51,9 +49,7 @@
|
|
|
<li>TQI变化阈值 :</li>
|
|
|
</a-col>
|
|
|
<a-col :span="12"
|
|
|
- ><a-input
|
|
|
- v-model:value="selectindex.selectedRows[0].tqibh"
|
|
|
- placeholder=""
|
|
|
+ ><a-input v-model:value="selectindex.selectedRows[0].tqibh" placeholder=""
|
|
|
/></a-col>
|
|
|
</a-row>
|
|
|
<a-row>
|
|
@@ -61,9 +57,7 @@
|
|
|
<li>高低阈值 :</li>
|
|
|
</a-col>
|
|
|
<a-col :span="12"
|
|
|
- ><a-input
|
|
|
- v-model:value="selectindex.selectedRows[0].gdyz"
|
|
|
- placeholder=""
|
|
|
+ ><a-input v-model:value="selectindex.selectedRows[0].gdyz" placeholder=""
|
|
|
/></a-col>
|
|
|
</a-row>
|
|
|
|
|
@@ -72,9 +66,7 @@
|
|
|
<li>高低变化阈值 :</li>
|
|
|
</a-col>
|
|
|
<a-col :span="12"
|
|
|
- ><a-input
|
|
|
- v-model:value="selectindex.selectedRows[0].gdbhyz"
|
|
|
- placeholder=""
|
|
|
+ ><a-input v-model:value="selectindex.selectedRows[0].gdbhyz" placeholder=""
|
|
|
/></a-col>
|
|
|
</a-row>
|
|
|
|
|
@@ -83,9 +75,7 @@
|
|
|
<li>轨向阈值 :</li>
|
|
|
</a-col>
|
|
|
<a-col :span="12"
|
|
|
- ><a-input
|
|
|
- v-model:value="selectindex.selectedRows[0].gxyz"
|
|
|
- placeholder=""
|
|
|
+ ><a-input v-model:value="selectindex.selectedRows[0].gxyz" placeholder=""
|
|
|
/></a-col>
|
|
|
</a-row>
|
|
|
|
|
@@ -94,9 +84,7 @@
|
|
|
<li>水平阈值 :</li>
|
|
|
</a-col>
|
|
|
<a-col :span="12"
|
|
|
- ><a-input
|
|
|
- v-model:value="selectindex.selectedRows[0].spyz"
|
|
|
- placeholder=""
|
|
|
+ ><a-input v-model:value="selectindex.selectedRows[0].spyz" placeholder=""
|
|
|
/></a-col>
|
|
|
</a-row>
|
|
|
|
|
@@ -105,9 +93,7 @@
|
|
|
<li>水平变化阈值 :</li>
|
|
|
</a-col>
|
|
|
<a-col :span="12"
|
|
|
- ><a-input
|
|
|
- v-model:value="selectindex.selectedRows[0].spbhyz"
|
|
|
- placeholder=""
|
|
|
+ ><a-input v-model:value="selectindex.selectedRows[0].spbhyz" placeholder=""
|
|
|
/></a-col>
|
|
|
</a-row>
|
|
|
|
|
@@ -116,9 +102,7 @@
|
|
|
<li>三角坑阈值 :</li>
|
|
|
</a-col>
|
|
|
<a-col :span="12"
|
|
|
- ><a-input
|
|
|
- v-model:value="selectindex.selectedRows[0].sjkyz"
|
|
|
- placeholder=""
|
|
|
+ ><a-input v-model:value="selectindex.selectedRows[0].sjkyz" placeholder=""
|
|
|
/></a-col>
|
|
|
</a-row>
|
|
|
|
|
@@ -127,9 +111,7 @@
|
|
|
<li>三角坑变化阈值 :</li>
|
|
|
</a-col>
|
|
|
<a-col :span="12"
|
|
|
- ><a-input
|
|
|
- v-model:value="selectindex.selectedRows[0].sjkbhyz"
|
|
|
- placeholder=""
|
|
|
+ ><a-input v-model:value="selectindex.selectedRows[0].sjkbhyz" placeholder=""
|
|
|
/></a-col>
|
|
|
</a-row>
|
|
|
|
|
@@ -138,14 +120,12 @@
|
|
|
<li>晃车阈值 :</li>
|
|
|
</a-col>
|
|
|
<a-col :span="12"
|
|
|
- ><a-input
|
|
|
- v-model:value="selectindex.selectedRows[0].hcyz"
|
|
|
- placeholder=""
|
|
|
+ ><a-input v-model:value="selectindex.selectedRows[0].hcyz" placeholder=""
|
|
|
/></a-col>
|
|
|
</a-row>
|
|
|
|
|
|
<a-row class="button">
|
|
|
- <a-button class="xiugaisure" @click="sure">确定</a-button>
|
|
|
+ <a-button class="xiugaisure" @click="sure('gw')">确定</a-button>
|
|
|
<a-button class="xiugaicancle" @click="cancle">取消</a-button>
|
|
|
</a-row>
|
|
|
</div>
|
|
@@ -153,82 +133,156 @@
|
|
|
<div class="prompt" v-if="promptclose2">
|
|
|
<a-row>
|
|
|
<a-col :span="12">
|
|
|
- <li>缺口变化(天) :</li>
|
|
|
+ <li>搬动前后变化量 :</li>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12"
|
|
|
+ ><a-input v-model:value="selectindex.selectedRows[0].passchange" placeholder=""
|
|
|
+ /></a-col>
|
|
|
+ </a-row>
|
|
|
+
|
|
|
+ <a-row>
|
|
|
+ <a-col :span="12">
|
|
|
+ <li>过车变化量 :</li>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12"
|
|
|
+ ><a-input v-model:value="selectindex.selectedRows[0].change" placeholder=""
|
|
|
+ /></a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row>
|
|
|
+ <a-col :span="12">
|
|
|
+ <li>过车前后变化量 :</li>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12"
|
|
|
+ ><a-input v-model:value="selectindex.selectedRows[0].movechange" placeholder=""
|
|
|
+ /></a-col>
|
|
|
+ </a-row>
|
|
|
+
|
|
|
+ <a-row>
|
|
|
+ <a-col :span="12">
|
|
|
+ <li>转换总功最大值 :</li>
|
|
|
</a-col>
|
|
|
<a-col :span="12"
|
|
|
><a-input
|
|
|
- v-model:value="selectindex.selectedRows[0].qkbh"
|
|
|
+ v-model:value="selectindex.selectedRows[0].totalworkmax"
|
|
|
placeholder=""
|
|
|
/></a-col>
|
|
|
</a-row>
|
|
|
|
|
|
<a-row>
|
|
|
<a-col :span="12">
|
|
|
- <li>转换功率波动均值(天) :</li>
|
|
|
+ <li>转换总功最小值 :</li>
|
|
|
</a-col>
|
|
|
<a-col :span="12"
|
|
|
><a-input
|
|
|
- v-model:value="selectindex.selectedRows[0].zhglbdjz"
|
|
|
+ v-model:value="selectindex.selectedRows[0].totalworkmin"
|
|
|
placeholder=""
|
|
|
/></a-col>
|
|
|
</a-row>
|
|
|
+
|
|
|
<a-row>
|
|
|
<a-col :span="12">
|
|
|
- <li>转换功率均值(天) :</li>
|
|
|
+ <li>转换总功平均值 :</li>
|
|
|
</a-col>
|
|
|
<a-col :span="12"
|
|
|
><a-input
|
|
|
- v-model:value="selectindex.selectedRows[0].passchange"
|
|
|
+ v-model:value="selectindex.selectedRows[0].totalworkavg"
|
|
|
placeholder=""
|
|
|
/></a-col>
|
|
|
</a-row>
|
|
|
|
|
|
<a-row>
|
|
|
<a-col :span="12">
|
|
|
- <li>转换功率峰值(天) :</li>
|
|
|
+ <li>总功变化率最大值 :</li>
|
|
|
</a-col>
|
|
|
<a-col :span="12"
|
|
|
><a-input
|
|
|
- v-model:value="selectindex.selectedRows[0].zhglfz"
|
|
|
+ v-model:value="selectindex.selectedRows[0].changeratemax"
|
|
|
placeholder=""
|
|
|
/></a-col>
|
|
|
</a-row>
|
|
|
-
|
|
|
<a-row>
|
|
|
<a-col :span="12">
|
|
|
- <li>锁闭功率波动均值(天) :</li>
|
|
|
+ <li>总功变化率最小值 :</li>
|
|
|
</a-col>
|
|
|
<a-col :span="12"
|
|
|
><a-input
|
|
|
- v-model:value="selectindex.selectedRows[0].sbglbdjz"
|
|
|
+ v-model:value="selectindex.selectedRows[0].changeratemin"
|
|
|
placeholder=""
|
|
|
/></a-col>
|
|
|
</a-row>
|
|
|
-
|
|
|
<a-row>
|
|
|
<a-col :span="12">
|
|
|
- <li>锁闭功率均值(天) :</li>
|
|
|
+ <li>总功变化率平均值 :</li>
|
|
|
</a-col>
|
|
|
<a-col :span="12"
|
|
|
><a-input
|
|
|
- v-model:value="selectindex.selectedRows[0].sbgljz"
|
|
|
+ v-model:value="selectindex.selectedRows[0].changerateavg"
|
|
|
placeholder=""
|
|
|
/></a-col>
|
|
|
</a-row>
|
|
|
-
|
|
|
<a-row>
|
|
|
<a-col :span="12">
|
|
|
- <li>锁闭功率峰值(天) :</li>
|
|
|
+ <li>最大功率偏移值最大值 :</li>
|
|
|
</a-col>
|
|
|
<a-col :span="12"
|
|
|
><a-input
|
|
|
- v-model:value="selectindex.selectedRows[0].sbglfz"
|
|
|
+ v-model:value="selectindex.selectedRows[0].offsetvaluemax"
|
|
|
+ placeholder=""
|
|
|
+ /></a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row>
|
|
|
+ <a-col :span="12">
|
|
|
+ <li>最大功率偏移值最小值 :</li>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12"
|
|
|
+ ><a-input
|
|
|
+ v-model:value="selectindex.selectedRows[0].offsetvaluemin"
|
|
|
+ placeholder=""
|
|
|
+ /></a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row>
|
|
|
+ <a-col :span="12">
|
|
|
+ <li>最大功率偏移值平均值 :</li>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12"
|
|
|
+ ><a-input
|
|
|
+ v-model:value="selectindex.selectedRows[0].offsetvalueavg"
|
|
|
+ placeholder=""
|
|
|
+ /></a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row>
|
|
|
+ <a-col :span="12">
|
|
|
+ <li>功率方差最大值 :</li>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12"
|
|
|
+ ><a-input
|
|
|
+ v-model:value="selectindex.selectedRows[0].powervariancemax"
|
|
|
+ placeholder=""
|
|
|
+ /></a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row>
|
|
|
+ <a-col :span="12">
|
|
|
+ <li>功率方差最小值 :</li>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12"
|
|
|
+ ><a-input
|
|
|
+ v-model:value="selectindex.selectedRows[0].powervariancemin"
|
|
|
+ placeholder=""
|
|
|
+ /></a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row>
|
|
|
+ <a-col :span="12">
|
|
|
+ <li>功率方差平均值 :</li>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12"
|
|
|
+ ><a-input
|
|
|
+ v-model:value="selectindex.selectedRows[0].powervarianceavg"
|
|
|
placeholder=""
|
|
|
/></a-col>
|
|
|
</a-row>
|
|
|
|
|
|
<a-row class="button">
|
|
|
- <a-button class="xiugaisure" @click="sure">确定</a-button>
|
|
|
+ <a-button class="xiugaisure" @click="sure('dw')">确定</a-button>
|
|
|
<a-button class="xiugaicancle" @click="cancle">取消</a-button>
|
|
|
</a-row>
|
|
|
</div>
|
|
@@ -440,36 +494,69 @@ export default {
|
|
|
},
|
|
|
|
|
|
//修改确定
|
|
|
- sure() {
|
|
|
- let param = {
|
|
|
- tbName: "t_point_list",
|
|
|
- id: this.selectindex.selectedRows[0].id,
|
|
|
- tqi: this.selectindex.selectedRows[0].tqi,
|
|
|
- tqibh: this.selectindex.selectedRows[0].tqibh,
|
|
|
- gdyz: this.selectindex.selectedRows[0].gdyz,
|
|
|
- gdbhyz: this.selectindex.selectedRows[0].gdbhyz,
|
|
|
- gxyz: this.selectindex.selectedRows[0].gxyz,
|
|
|
- spyz: this.selectindex.selectedRows[0].spyz,
|
|
|
- spbhyz: this.selectindex.selectedRows[0].spbhyz,
|
|
|
- sjkyz: this.selectindex.selectedRows[0].sjkyz,
|
|
|
- sjkbhyz: this.selectindex.selectedRows[0].sjkbhyz,
|
|
|
- hcyz: this.selectindex.selectedRows[0].hcyz,
|
|
|
- };
|
|
|
- const url = "/EchartRouter/updateyuzhi";
|
|
|
- // 前后端连接
|
|
|
- axios.post(url, param).then((res) => {});
|
|
|
- setTimeout(function () {
|
|
|
- this.initTable();
|
|
|
- }, 600);
|
|
|
-
|
|
|
- this.promptclose = false;
|
|
|
- this.promptclose2 = false;
|
|
|
+ sure(type) {
|
|
|
+ if (type === "gw") {
|
|
|
+ let param = {
|
|
|
+ tbName: "t_point_list",
|
|
|
+ id: this.selectindex.selectedRows[0].id,
|
|
|
+ tqi: this.selectindex.selectedRows[0].tqi,
|
|
|
+ tqibh: this.selectindex.selectedRows[0].tqibh,
|
|
|
+ gdyz: this.selectindex.selectedRows[0].gdyz,
|
|
|
+ gdbhyz: this.selectindex.selectedRows[0].gdbhyz,
|
|
|
+ gxyz: this.selectindex.selectedRows[0].gxyz,
|
|
|
+ spyz: this.selectindex.selectedRows[0].spyz,
|
|
|
+ spbhyz: this.selectindex.selectedRows[0].spbhyz,
|
|
|
+ sjkyz: this.selectindex.selectedRows[0].sjkyz,
|
|
|
+ sjkbhyz: this.selectindex.selectedRows[0].sjkbhyz,
|
|
|
+ hcyz: this.selectindex.selectedRows[0].hcyz,
|
|
|
+ };
|
|
|
+ const url = "/EchartRouter/updateyuzhi";
|
|
|
+ // 前后端连接
|
|
|
+ axios.post(url, param).then((res) => {
|
|
|
+ setTimeout(function () {
|
|
|
+ this.initTable();
|
|
|
+ }, 600);
|
|
|
+ this.promptclose = false;
|
|
|
+
|
|
|
+ this.$store.dispatch("handleReloadAlertList", !this.$store.state.reloadAlertList);
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ let param = {
|
|
|
+ tbName: "t_point_list_dianwuyuzhi",
|
|
|
+ id: this.selectindex.selectedRows[0].id,
|
|
|
+ passchange: this.selectindex.selectedRows[0].passchange,
|
|
|
+ change: this.selectindex.selectedRows[0].change,
|
|
|
+ movechange: this.selectindex.selectedRows[0].movechange,
|
|
|
+ totalworkmax: this.selectindex.selectedRows[0].totalworkmax,
|
|
|
+ totalworkmin: this.selectindex.selectedRows[0].totalworkmin,
|
|
|
+ totalworkavg: this.selectindex.selectedRows[0].totalworkavg,
|
|
|
+ changeratemax: this.selectindex.selectedRows[0].changeratemax,
|
|
|
+ changeratemin: this.selectindex.selectedRows[0].changeratemin,
|
|
|
+ changerateavg: this.selectindex.selectedRows[0].changerateavg,
|
|
|
+ offsetvaluemax: this.selectindex.selectedRows[0].offsetvaluemax,
|
|
|
+ offsetvaluemin: this.selectindex.selectedRows[0].offsetvaluemin,
|
|
|
+ offsetvalueavg: this.selectindex.selectedRows[0].offsetvalueavg,
|
|
|
+ powervariancemax: this.selectindex.selectedRows[0].powervariancemax,
|
|
|
+ powervariancemin: this.selectindex.selectedRows[0].powervariancemin,
|
|
|
+ powervarianceavg: this.selectindex.selectedRows[0].powervarianceavg,
|
|
|
+ };
|
|
|
+ const url = "/EchartRouter/updateDwyuzhi";
|
|
|
+ // 前后端连接
|
|
|
+ axios.post(url, param).then((res) => {
|
|
|
+ setTimeout(function () {
|
|
|
+ this.initTable();
|
|
|
+ }, 600);
|
|
|
+ this.promptclose2 = false;
|
|
|
+ this.$store.dispatch("handleReloadAlertList", !this.$store.state.reloadAlertList);
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
//修改框关闭
|
|
|
cancle() {
|
|
|
this.initTable();
|
|
|
this.promptclose = false;
|
|
|
+ this.promptclose2 = false;
|
|
|
this.selectindex = {};
|
|
|
this.selectedRowKeys = [];
|
|
|
},
|
|
@@ -484,10 +571,10 @@ export default {
|
|
|
}
|
|
|
|
|
|
if (this.promptclose != this.promtclose && this.selectindex != false) {
|
|
|
- if(this. activeKey === "1"){
|
|
|
- this.promptclose =!this.promptclose;
|
|
|
- }else{
|
|
|
- this.promptclose2 =!this.promptclose2;
|
|
|
+ if (this.activeKey === "1") {
|
|
|
+ this.promptclose = !this.promptclose;
|
|
|
+ } else {
|
|
|
+ this.promptclose2 = !this.promptclose2;
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -531,6 +618,7 @@ export default {
|
|
|
padding: 16rem;
|
|
|
z-index: 999;
|
|
|
opacity: 1;
|
|
|
+ overflow: auto;
|
|
|
}
|
|
|
|
|
|
.ceshi .prompt li {
|
|
@@ -618,11 +706,9 @@ export default {
|
|
|
color: aqua;
|
|
|
}
|
|
|
|
|
|
-:deep(
|
|
|
- .ant-table-tbody
|
|
|
- > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
|
|
|
- > td
|
|
|
- ) {
|
|
|
+:deep(.ant-table-tbody
|
|
|
+ > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
|
|
|
+ > td) {
|
|
|
background: #d03016;
|
|
|
}
|
|
|
|