|
@@ -28,7 +28,7 @@ const store = useStore();
|
|
|
const columns = ref([
|
|
|
{
|
|
|
title: "序号",
|
|
|
- dataIndex: "xuhao",
|
|
|
+ dataIndex: 'xuhao',
|
|
|
},
|
|
|
{
|
|
|
title: "线路名",
|
|
@@ -108,6 +108,7 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
data: [],
|
|
|
+ numIndex: 0,
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
@@ -129,9 +130,10 @@ export default {
|
|
|
.post("/EchartRouter/getAlertList", { tbName: "t_jihefenxi_account" })
|
|
|
.then((res) => {
|
|
|
for (let i = 0; i < res.rows.length; i++) {
|
|
|
+ this.numIndex = this.numIndex + 1;
|
|
|
this.data.push({
|
|
|
key: i + 1,
|
|
|
- xuhao: i + 1,
|
|
|
+ xuhao: this.numIndex,
|
|
|
xlm: res.rows[i].xlm,
|
|
|
czm: res.rows[i].czm,
|
|
|
dcbh: res.rows[i].dcbh,
|
|
@@ -146,9 +148,10 @@ export default {
|
|
|
.post("/EchartRouter/getglAlertList", { tbName: "t_jihefenxi_account" })
|
|
|
.then((res) => {
|
|
|
for (let i = 0; i < res.rows.length; i++) {
|
|
|
+ this.numIndex = this.numIndex + 1;
|
|
|
this.data.push({
|
|
|
key: i + 1,
|
|
|
- xuhao: i + 1,
|
|
|
+ xuhao: this.numIndex,
|
|
|
xlm: res.rows[i].xianlu,
|
|
|
czm: res.rows[i].chezhan,
|
|
|
dcbh: res.rows[i].dcbh,
|
|
@@ -163,9 +166,10 @@ export default {
|
|
|
.post("/EchartRouter/getqkAlertList", { tbName: "t_jihefenxi_account" })
|
|
|
.then((res) => {
|
|
|
for (let i = 0; i < res.rows.length; i++) {
|
|
|
+ this.numIndex = this.numIndex + 1;
|
|
|
this.data.push({
|
|
|
key: i + 1,
|
|
|
- xuhao: i + 1,
|
|
|
+ xuhao: this.numIndex,
|
|
|
xlm: res.rows[i].xianlu,
|
|
|
czm: res.rows[i].chezhan,
|
|
|
dcbh: res.rows[i].dcbh,
|
|
@@ -211,7 +215,7 @@ export default {
|
|
|
},
|
|
|
watch: {
|
|
|
"$store.state.reloadAlertList": function (val) {
|
|
|
- if(val || !val){
|
|
|
+ if (val || !val) {
|
|
|
this.data = [];
|
|
|
this.getJHFXacountData();
|
|
|
}
|
|
@@ -228,8 +232,8 @@ export default {
|
|
|
|
|
|
.Dcpf_Box {
|
|
|
position: absolute;
|
|
|
- height: 950rem;
|
|
|
- width: 628rem;
|
|
|
+ height: 870rem;
|
|
|
+ width: 728rem;
|
|
|
background: rgba(11, 47, 91, 1);
|
|
|
z-index: 100;
|
|
|
top: 130rem;
|