whycwx
2021-01-22 ba5915f4cefeddd2d196fd8890c3283152eeed9a
电池实时告警功能
1个文件已修改
17 ■■■■ 已修改文件
src/pages/alarmMager/deviceTimequery.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/alarmMager/deviceTimequery.vue
@@ -59,6 +59,11 @@
                        </div>
                    </template>
                </el-table-column>
                <el-table-column label="确认告警时间" width="180px" align="center">
                    <template slot-scope="scope">
                        {{ scope.row.isalarm1?scope.row.monomers1:"" }}
                    </template>
                </el-table-column>
                <el-table-column label="确认告警" width="80px" align="center">
                    <template slot-scope="scope">
                        <el-checkbox v-model="scope.row.isalarm1" disabled></el-checkbox>
@@ -215,7 +220,7 @@
                        {
                            prop: "tester1",
                            label: "机房名称",
                            minWidth: 320
                            minWidth: 220
                        },
                        {
                            prop: "alm_type",
@@ -230,11 +235,6 @@
                        {
                            prop: "starts1",
                            label: "告警开始时间",
                            width: 180
                        },
                        {
                            prop: "monomers1",
                            label: "告警确认时间",
                            width: 180
                        },
@@ -406,7 +406,6 @@
                        }
                    );
                    this.table.datas = alarmNes;
                    console.log(this.table.datas)
                    this.total = ssAlram[ssAlram.length - 1].usr_id;
                    // 关闭等待框
                    this.$layer.close(loading);
@@ -462,8 +461,8 @@
                const wk = await deviceOk([{
                    stationname: vlas.tester1,
                    num: vlas.num,
                    alm_confirmed_time: vlas.monomers1,
                    alm_is_confirmed: vlas.alm_is_confirmed,
                    alm_confirmed_time: new Date().format('yyyy-MM-dd hh:mm:ss'),
                    alm_is_confirmed: 1,
                    note: ""
                }]);
                if (wk.data.result && JSON.parse(wk.data.result).code == 1) {