|
@@ -80,16 +80,30 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="centerBox">
|
|
|
- <!-- <Search
|
|
|
- title="报警预警策略"
|
|
|
- :isSearch="false"
|
|
|
- :isSlot="false"
|
|
|
- :isChild="true"
|
|
|
- @clearSearchData="clearSearchData"
|
|
|
- @getSearchData="getSearchData"
|
|
|
- style="padding-left: 16px; padding-right: 32px"
|
|
|
- /> -->
|
|
|
- <DataTable
|
|
|
+ <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="610"
|
|
|
+ :tableup="true"
|
|
|
+ :data-content="{ queryTemplateID }"
|
|
|
+ >
|
|
|
+ <template v-slot:header>
|
|
|
+ <div class="status flex-wrap">
|
|
|
+ <div class="manageTitle">报警预警策略</div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </DataTable>
|
|
|
+ </div>
|
|
|
+ <!-- <DataTable
|
|
|
:data-id="dataId"
|
|
|
:rows="12"
|
|
|
labelWidth="100px"
|
|
@@ -108,7 +122,7 @@
|
|
|
<div class="manageTitle">报警预警策略</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
- </DataTable>
|
|
|
+ </DataTable> -->
|
|
|
<!-- <div class="LBox">
|
|
|
<el-row :gutter="24" @scroll="scrollEvent">
|
|
|
<el-col :span="4">
|
|
@@ -269,6 +283,7 @@ export default {
|
|
|
components: { Dialog, Search, DataTable },
|
|
|
data() {
|
|
|
return {
|
|
|
+ queryTemplateID: null,
|
|
|
viShow: false,
|
|
|
dataId: DATACONTENT_ID.sysServiceStrategyId,
|
|
|
optionProps: {
|
|
@@ -385,8 +400,9 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
+ this.queryTemplateID = Number(this.$route.query.id);
|
|
|
this.sysServiceWarn();
|
|
|
- this.UserWarning();
|
|
|
+ // this.UserWarning();
|
|
|
},
|
|
|
watch: {
|
|
|
code3() {
|
|
@@ -568,19 +584,14 @@ export default {
|
|
|
this.tableCols = returnData.columnSet;
|
|
|
this.tableColsCopy = this.tableCols.filter((item) => item.needShow);
|
|
|
const datas = _.cloneDeep(this.tableColsCopy);
|
|
|
- // const reqUts = [];
|
|
|
datas.forEach(async (item) => {
|
|
|
if (item.listqueryTemplateID || item.listqueryTemplateID == 0) {
|
|
|
- // const reqUt = this.getSelectData(item.listqueryTemplateID)
|
|
|
- // reqUts.push(reqUt)
|
|
|
if (!this.tableOptions[item.columnName]) {
|
|
|
this.tableOptions[item.columnName] = await this.getSelectData(
|
|
|
item.listqueryTemplateID
|
|
|
);
|
|
|
}
|
|
|
- //
|
|
|
}
|
|
|
- // this.filterValues[item.columnName] = ''
|
|
|
});
|
|
|
} else {
|
|
|
this.$message.error.message;
|