|
@@ -10,7 +10,7 @@
|
|
|
<template>
|
|
|
<div class="airportInfo">
|
|
|
<!--搜索-->
|
|
|
- <div class="nodeLnformation_header">
|
|
|
+ <!-- <div class="nodeLnformation_header">
|
|
|
<Search
|
|
|
title="报警预警设置"
|
|
|
@getSearchData="getSearchData"
|
|
@@ -52,7 +52,28 @@
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <!-- <img v-if="!warningArr.length" src="../../../assets/logo/nodata.png" /> -->
|
|
|
+ </div> -->
|
|
|
+ <div class="wrap">
|
|
|
+ <DataTable
|
|
|
+ :data-id="dataId"
|
|
|
+ :rows="12"
|
|
|
+ labelWidth="100px"
|
|
|
+ :minHeight="70"
|
|
|
+ width="800px"
|
|
|
+ :isStatuser="true"
|
|
|
+ :isAuth="true"
|
|
|
+ authAdd="ss_aim_add"
|
|
|
+ authEdit="ss_aim_cardEdit"
|
|
|
+ authDel="ss_aim_cardDelete"
|
|
|
+ tableHeight="660"
|
|
|
+ :tableup="true"
|
|
|
+ >
|
|
|
+ <template v-slot:header>
|
|
|
+ <div class="status flex-wrap">
|
|
|
+ <div class="manageTitle">报警预警设置</div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </DataTable>
|
|
|
</div>
|
|
|
<!--新增/编辑-->
|
|
|
<Dialog :width="width" :flag="flag">
|
|
@@ -231,9 +252,10 @@ import { getQuery } from "@/api/flight";
|
|
|
import DataTable from "@/components/Table";
|
|
|
import { Query, GeneralDataReception } from "@/api/dataIntegration";
|
|
|
export default {
|
|
|
- components: { Search, Dialog },
|
|
|
+ components: { Search, Dialog, DataTable },
|
|
|
data() {
|
|
|
return {
|
|
|
+ dataId: DATACONTENT_ID.sysServiceWarningId,
|
|
|
flag: false,
|
|
|
EditDialogVisible: false,
|
|
|
name: "",
|
|
@@ -316,7 +338,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- this.getWarningList();
|
|
|
+ // this.getWarningList();
|
|
|
// this.getAirlines();
|
|
|
// this.getAirlist();
|
|
|
},
|
|
@@ -560,9 +582,7 @@ export default {
|
|
|
} else {
|
|
|
this.$message.error(res.message);
|
|
|
}
|
|
|
- } catch (error) {
|
|
|
- this.$message.error("失败");
|
|
|
- }
|
|
|
+ } catch (error) {}
|
|
|
},
|
|
|
},
|
|
|
};
|