|
|
@@ -6,7 +6,14 @@
|
|
|
:close-on-click-modal="false"
|
|
|
:close-on-press-escape="false"
|
|
|
:before-close="handleClose"
|
|
|
- >
|
|
|
+ :fullscreen="fullscreen"
|
|
|
+ class="fullscreen"
|
|
|
+ ><template slot="title">
|
|
|
+ <modalTitle
|
|
|
+ :title="dialogTitle"
|
|
|
+ @setFullscreen="fullscreen = !fullscreen"
|
|
|
+ ></modalTitle>
|
|
|
+ </template>
|
|
|
<el-tabs
|
|
|
type="border-card"
|
|
|
v-model="tabActiveName"
|
|
|
@@ -23,13 +30,22 @@
|
|
|
<el-row>
|
|
|
<el-col :span="10">
|
|
|
<el-form-item label="告警级别:" prop="alarmLevel">
|
|
|
- <DictSelection dictName="告警级别" clearable v-model="baseInfoForm.alarmLevel" style="width: 80%">
|
|
|
- </DictSelection>
|
|
|
+ <DictSelection
|
|
|
+ dictName="告警级别"
|
|
|
+ clearable
|
|
|
+ v-model="baseInfoForm.alarmLevel"
|
|
|
+ style="width: 80%"
|
|
|
+ >
|
|
|
+ </DictSelection>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="告警设备类型:" prop="alarmEquipmentName" style="width: 90%">
|
|
|
- <equipmentSelect v-model="baseInfoForm.alarmEquipmentName"/>
|
|
|
+ <el-form-item
|
|
|
+ label="告警设备类型:"
|
|
|
+ prop="alarmEquipmentName"
|
|
|
+ style="width: 90%"
|
|
|
+ >
|
|
|
+ <equipmentSelect v-model="baseInfoForm.alarmEquipmentName" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
@@ -122,8 +138,12 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="">
|
|
|
<template slot-scope="scope">
|
|
|
- <DictSelection dictName="告警触发条件" clearable v-model="scope.row.alarmCondition">
|
|
|
- </DictSelection>
|
|
|
+ <DictSelection
|
|
|
+ dictName="告警触发条件"
|
|
|
+ clearable
|
|
|
+ v-model="scope.row.alarmCondition"
|
|
|
+ >
|
|
|
+ </DictSelection>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="">
|
|
|
@@ -169,8 +189,12 @@
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="告警方式:">
|
|
|
- <DictSelection dictName="告警方式" clearable v-model="baseInfoForm.alarmMode">
|
|
|
- </DictSelection>
|
|
|
+ <DictSelection
|
|
|
+ dictName="告警方式"
|
|
|
+ clearable
|
|
|
+ v-model="baseInfoForm.alarmMode"
|
|
|
+ >
|
|
|
+ </DictSelection>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
@@ -203,12 +227,12 @@
|
|
|
v-model="scope.row.alarmNotifierId"
|
|
|
size="small"
|
|
|
>
|
|
|
- <el-option
|
|
|
- v-for="item in alarmNotifierList"
|
|
|
- :key="item.id"
|
|
|
- :value="item.id"
|
|
|
- :label="item.name"
|
|
|
- ></el-option>
|
|
|
+ <el-option
|
|
|
+ v-for="item in alarmNotifierList"
|
|
|
+ :key="item.id"
|
|
|
+ :value="item.id"
|
|
|
+ :label="item.name"
|
|
|
+ ></el-option>
|
|
|
</el-select>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -261,258 +285,260 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
- import equipmentSelect from '@/components/CommomSelect/equipment-select.vue';
|
|
|
- import { getUserPage } from '@/api/system/organization';
|
|
|
-export default {
|
|
|
- components: { equipmentSelect },
|
|
|
- props: {
|
|
|
- equipmentList: {
|
|
|
- type: Array,
|
|
|
- default: () => {
|
|
|
- return []
|
|
|
+ import modalTitle from '@/components/modalTitle.vue';
|
|
|
+ import equipmentSelect from '@/components/CommomSelect/equipment-select.vue';
|
|
|
+ import { getUserPage } from '@/api/system/organization';
|
|
|
+ export default {
|
|
|
+ components: { equipmentSelect, modalTitle },
|
|
|
+ props: {
|
|
|
+ equipmentList: {
|
|
|
+ type: Array,
|
|
|
+ default: () => {
|
|
|
+ return [];
|
|
|
+ }
|
|
|
+ },
|
|
|
+ viewForm: {
|
|
|
+ type: Object,
|
|
|
+ default: () => {
|
|
|
+ return {};
|
|
|
+ }
|
|
|
+ },
|
|
|
+ dialogTitle: {
|
|
|
+ type: String,
|
|
|
+ default: ''
|
|
|
}
|
|
|
},
|
|
|
- viewForm: {
|
|
|
- type: Object,
|
|
|
- default: () => {
|
|
|
- return {}
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ fullscreen: false,
|
|
|
+ addWarningDialog: false,
|
|
|
+ tabActiveName: 'baseInfo',
|
|
|
+ saveLoading: false,
|
|
|
+ baseInfoForm: {
|
|
|
+ alarmLevel: '', // 告警级别
|
|
|
+ alarmEquipmentId: '', // 告警设备类型id
|
|
|
+ alarmEquipmentName: '', // 告警设备类型name
|
|
|
+ alarmName: '', // 告警名称
|
|
|
+ status: false, // 状态
|
|
|
+ isCreate: false, // 是否生成保修工单
|
|
|
+ alarmDescribe: '', // 告警描述
|
|
|
+ alarmTrigger: 0, // 告警触发条件类型选择
|
|
|
+ alarmMode: '', // 告警方式
|
|
|
+ alarmTriggerList: [{}], // 基本信息触发条件表格
|
|
|
+ alarmNoticeSetList: [
|
|
|
+ {
|
|
|
+ alarmNotifierId: '', // 告警通知人id
|
|
|
+ alarmNotifierName: '', // 告警通知人name
|
|
|
+ alarmNotifierMailbox: '', // 邮箱
|
|
|
+ alarmNotifierPhone: '', // 电话
|
|
|
+ mail: false, // 邮件
|
|
|
+ shortMessage: false, // 短信
|
|
|
+ system: false // 系统
|
|
|
+ }
|
|
|
+ ] // 通知设置表格
|
|
|
+ },
|
|
|
+ baseInfoFormRules: {
|
|
|
+ alarmLevel: [
|
|
|
+ { required: true, message: '请选择告警级别', trigger: 'change' }
|
|
|
+ ],
|
|
|
+ alarmEquipmentName: [
|
|
|
+ { required: true, message: '请选择告警设备类型', trigger: 'change' }
|
|
|
+ ],
|
|
|
+ alarmName: [
|
|
|
+ { required: true, message: '请输入告警名称', trigger: 'blur' }
|
|
|
+ ],
|
|
|
+ alarmTrigger: [
|
|
|
+ { required: true, message: '请选择触发条件', trigger: 'change' }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ alarmNotifierList: [], // 通知人用户列表
|
|
|
+ temperatureList: []
|
|
|
+ };
|
|
|
+ },
|
|
|
+ watch: {
|
|
|
+ viewForm(val) {
|
|
|
+ console.log('shujval', val);
|
|
|
+ this.baseInfoForm = val;
|
|
|
+ this.getTemperatureList(val.alarmEquipmentId);
|
|
|
}
|
|
|
},
|
|
|
- dialogTitle: {
|
|
|
- type: String,
|
|
|
- default: ''
|
|
|
- }
|
|
|
- },
|
|
|
- data () {
|
|
|
- return {
|
|
|
- addWarningDialog: false,
|
|
|
- tabActiveName: 'baseInfo',
|
|
|
- saveLoading: false,
|
|
|
- baseInfoForm: {
|
|
|
- alarmLevel: '', // 告警级别
|
|
|
- alarmEquipmentId: '', // 告警设备类型id
|
|
|
- alarmEquipmentName: '', // 告警设备类型name
|
|
|
- alarmName: '', // 告警名称
|
|
|
- status: false, // 状态
|
|
|
- isCreate: false, // 是否生成保修工单
|
|
|
- alarmDescribe: '', // 告警描述
|
|
|
- alarmTrigger: 0, // 告警触发条件类型选择
|
|
|
- alarmMode: '', // 告警方式
|
|
|
- alarmTriggerList: [{}], // 基本信息触发条件表格
|
|
|
- alarmNoticeSetList: [
|
|
|
- {
|
|
|
- alarmNotifierId: '', // 告警通知人id
|
|
|
- alarmNotifierName: '', // 告警通知人name
|
|
|
- alarmNotifierMailbox: '', // 邮箱
|
|
|
- alarmNotifierPhone: '', // 电话
|
|
|
- mail: false, // 邮件
|
|
|
- shortMessage: false, // 短信
|
|
|
- system: false // 系统
|
|
|
+ methods: {
|
|
|
+ getTemperatureList(val) {
|
|
|
+ warningSetting.getAlarmTermType(val).then((res) => {
|
|
|
+ if (res?.success) {
|
|
|
+ this.temperatureList = res.data;
|
|
|
}
|
|
|
- ] // 通知设置表格
|
|
|
- },
|
|
|
- baseInfoFormRules: {
|
|
|
- alarmLevel: [
|
|
|
- { required: true, message: '请选择告警级别', trigger: 'change' }
|
|
|
- ],
|
|
|
- alarmEquipmentName: [
|
|
|
- { required: true, message: '请选择告警设备类型', trigger: 'change' }
|
|
|
- ],
|
|
|
- alarmName: [
|
|
|
- { required: true, message: '请输入告警名称', trigger: 'blur' }
|
|
|
- ],
|
|
|
- alarmTrigger: [
|
|
|
- { required: true, message: '请选择触发条件', trigger: 'change' }
|
|
|
- ]
|
|
|
+ });
|
|
|
},
|
|
|
- alarmNotifierList: [], // 通知人用户列表
|
|
|
- temperatureList: [],
|
|
|
- }
|
|
|
- },
|
|
|
- watch: {
|
|
|
- viewForm (val) {
|
|
|
- console.log('shujval', val)
|
|
|
- this.baseInfoForm = val
|
|
|
- this.getTemperatureList(val.alarmEquipmentId)
|
|
|
- }
|
|
|
- },
|
|
|
- methods: {
|
|
|
- getTemperatureList (val) {
|
|
|
- warningSetting.getAlarmTermType(val).then(res => {
|
|
|
- if (res?.success) {
|
|
|
- this.temperatureList = res.data
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
|
|
|
- // 告警设备类型变更
|
|
|
- async handleEquipmentChange (val) {
|
|
|
- this.baseInfoForm.alarmEquipmentId = val
|
|
|
- warningSetting
|
|
|
- .getAlarmTermType(this.baseInfoForm.alarmEquipmentId)
|
|
|
- .then(res => {
|
|
|
- if (res?.success) {
|
|
|
- this.temperatureList = res.data
|
|
|
- console.log('列表数据', this.temperatureList)
|
|
|
- this.baseInfoForm.alarmTriggerList.forEach(item => {
|
|
|
- if (item.alarmType) {
|
|
|
- item.alarmType = ''
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- })
|
|
|
- .catch(err => {
|
|
|
- this.temperatureList = []
|
|
|
- this.baseInfoForm.alarmTriggerList.forEach(item => {
|
|
|
- if (item.alarmType) {
|
|
|
- item.alarmType = ''
|
|
|
+ // 告警设备类型变更
|
|
|
+ async handleEquipmentChange(val) {
|
|
|
+ this.baseInfoForm.alarmEquipmentId = val;
|
|
|
+ warningSetting
|
|
|
+ .getAlarmTermType(this.baseInfoForm.alarmEquipmentId)
|
|
|
+ .then((res) => {
|
|
|
+ if (res?.success) {
|
|
|
+ this.temperatureList = res.data;
|
|
|
+ console.log('列表数据', this.temperatureList);
|
|
|
+ this.baseInfoForm.alarmTriggerList.forEach((item) => {
|
|
|
+ if (item.alarmType) {
|
|
|
+ item.alarmType = '';
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
})
|
|
|
- })
|
|
|
- },
|
|
|
- // 获取通知人列表数据
|
|
|
- async getUserList() {
|
|
|
- try {
|
|
|
- let data = { pageNum: 1, size: -1 };
|
|
|
- const res = await getUserPage(data);
|
|
|
- this.alarmNotifierList = res.list;
|
|
|
- } catch (error) {}
|
|
|
- },
|
|
|
-
|
|
|
- // tab栏切换
|
|
|
- handleTabClick (tab) {
|
|
|
- // 获取通知人下拉数据
|
|
|
- if (tab.name === 'notice') {
|
|
|
- this.getUserList()
|
|
|
- }
|
|
|
- },
|
|
|
- // 关闭新增弹窗
|
|
|
- handleClose () {
|
|
|
- this.addWarningDialog = false
|
|
|
- this._resetDialogInfo()
|
|
|
- },
|
|
|
- // 增加触发条件
|
|
|
- handleAddTriggerCondition () {
|
|
|
- this.baseInfoForm.alarmTriggerList.push({})
|
|
|
- },
|
|
|
- // 删除触发条件
|
|
|
- handleDeleteTriggerCondition (index) {
|
|
|
- this.baseInfoForm.alarmTriggerList.splice(index, 1)
|
|
|
- },
|
|
|
- // 通知设置 - 添加表格一行
|
|
|
- handleAddNoticeRow () {
|
|
|
- this.baseInfoForm.alarmNoticeSetList.push({
|
|
|
- alarmNotifierId: '', // 告警通知人id
|
|
|
- alarmNotifierName: '', // 告警通知人name
|
|
|
- alarmNotifierMailbox: '', // 邮箱
|
|
|
- alarmNotifierPhone: '', // 电话
|
|
|
- mail: false, // 邮件
|
|
|
- shortMessage: false, // 短信
|
|
|
- system: false // 系统
|
|
|
- })
|
|
|
- },
|
|
|
- // 通知设置 - 删除表格一行
|
|
|
- handleDeleteNoticeRow (index) {
|
|
|
- this.baseInfoForm.alarmNoticeSetList.splice(index, 1)
|
|
|
- },
|
|
|
- // 验证手机号
|
|
|
- checkPhone (index, phone) {
|
|
|
- const phoneReg = /^1[345789]\d{9}$/
|
|
|
- if (phone && !phoneReg.test(phone)) {
|
|
|
- this.baseInfoForm.alarmNoticeSetList[index].alarmNotifierPhone = ''
|
|
|
- return this.$message.error('手机号码格式错误,请重新输入!')
|
|
|
- }
|
|
|
- },
|
|
|
- // 验证邮箱
|
|
|
- checkMailbox (index, mailbox) {
|
|
|
- const mailReg = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/
|
|
|
- if (mailbox && !mailReg.test(mailbox)) {
|
|
|
- this.baseInfoForm.alarmNoticeSetList[index].alarmNotifierMailbox = ''
|
|
|
- return this.$message.error('邮箱格式错误,请重新输入!')
|
|
|
- }
|
|
|
- },
|
|
|
- // 保存
|
|
|
- async saveWarningSetting () {
|
|
|
- this.$refs.baseInfoFormRef.validate(async valid => {
|
|
|
- if (valid) {
|
|
|
- try {
|
|
|
- this.saveLoading = true
|
|
|
- const res = await warningSetting.saveWarningSetting(
|
|
|
- this.baseInfoForm
|
|
|
- )
|
|
|
- // console.log('新增告警结果:', res)
|
|
|
- this.addWarningDialog = false
|
|
|
- this._resetDialogInfo()
|
|
|
- this.saveLoading = false
|
|
|
- this.$emit('refreshList')
|
|
|
- this.$message.success('新增成功!')
|
|
|
- } catch (error) {
|
|
|
- this.saveLoading = false
|
|
|
- }
|
|
|
+ .catch((err) => {
|
|
|
+ this.temperatureList = [];
|
|
|
+ this.baseInfoForm.alarmTriggerList.forEach((item) => {
|
|
|
+ if (item.alarmType) {
|
|
|
+ item.alarmType = '';
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 获取通知人列表数据
|
|
|
+ async getUserList() {
|
|
|
+ try {
|
|
|
+ let data = { pageNum: 1, size: -1 };
|
|
|
+ const res = await getUserPage(data);
|
|
|
+ this.alarmNotifierList = res.list;
|
|
|
+ } catch (error) {}
|
|
|
+ },
|
|
|
+
|
|
|
+ // tab栏切换
|
|
|
+ handleTabClick(tab) {
|
|
|
+ // 获取通知人下拉数据
|
|
|
+ if (tab.name === 'notice') {
|
|
|
+ this.getUserList();
|
|
|
}
|
|
|
- })
|
|
|
- },
|
|
|
- // 重置弹窗信息
|
|
|
- _resetDialogInfo () {
|
|
|
- this.baseInfoForm = {
|
|
|
- alarmLevel: '', // 告警级别
|
|
|
- alarmEquipmentId: '', // 告警设备类型id
|
|
|
- alarmEquipmentName: '', // 告警设备类型name
|
|
|
- alarmName: '', // 告警名称
|
|
|
- status: false, // 状态
|
|
|
- isCreate: false, // 是否生成保修工单
|
|
|
- alarmDescribe: '', // 告警描述
|
|
|
- alarmTrigger: 0, // 告警触发条件类型选择
|
|
|
- alarmMode: '', // 告警方式
|
|
|
- alarmTriggerList: [{}], // 基本信息触发条件表格
|
|
|
- alarmNoticeSetList: [
|
|
|
- {
|
|
|
- alarmNotifierId: '', // 告警通知人id
|
|
|
- alarmNotifierName: '', // 告警通知人name
|
|
|
- alarmNotifierMailbox: '', // 邮箱
|
|
|
- alarmNotifierPhone: '', // 电话
|
|
|
- mail: false, // 邮件
|
|
|
- shortMessage: false, // 短信
|
|
|
- system: false // 系统
|
|
|
+ },
|
|
|
+ // 关闭新增弹窗
|
|
|
+ handleClose() {
|
|
|
+ this.addWarningDialog = false;
|
|
|
+ this._resetDialogInfo();
|
|
|
+ },
|
|
|
+ // 增加触发条件
|
|
|
+ handleAddTriggerCondition() {
|
|
|
+ this.baseInfoForm.alarmTriggerList.push({});
|
|
|
+ },
|
|
|
+ // 删除触发条件
|
|
|
+ handleDeleteTriggerCondition(index) {
|
|
|
+ this.baseInfoForm.alarmTriggerList.splice(index, 1);
|
|
|
+ },
|
|
|
+ // 通知设置 - 添加表格一行
|
|
|
+ handleAddNoticeRow() {
|
|
|
+ this.baseInfoForm.alarmNoticeSetList.push({
|
|
|
+ alarmNotifierId: '', // 告警通知人id
|
|
|
+ alarmNotifierName: '', // 告警通知人name
|
|
|
+ alarmNotifierMailbox: '', // 邮箱
|
|
|
+ alarmNotifierPhone: '', // 电话
|
|
|
+ mail: false, // 邮件
|
|
|
+ shortMessage: false, // 短信
|
|
|
+ system: false // 系统
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 通知设置 - 删除表格一行
|
|
|
+ handleDeleteNoticeRow(index) {
|
|
|
+ this.baseInfoForm.alarmNoticeSetList.splice(index, 1);
|
|
|
+ },
|
|
|
+ // 验证手机号
|
|
|
+ checkPhone(index, phone) {
|
|
|
+ const phoneReg = /^1[345789]\d{9}$/;
|
|
|
+ if (phone && !phoneReg.test(phone)) {
|
|
|
+ this.baseInfoForm.alarmNoticeSetList[index].alarmNotifierPhone = '';
|
|
|
+ return this.$message.error('手机号码格式错误,请重新输入!');
|
|
|
+ }
|
|
|
+ },
|
|
|
+ // 验证邮箱
|
|
|
+ checkMailbox(index, mailbox) {
|
|
|
+ const mailReg = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/;
|
|
|
+ if (mailbox && !mailReg.test(mailbox)) {
|
|
|
+ this.baseInfoForm.alarmNoticeSetList[index].alarmNotifierMailbox = '';
|
|
|
+ return this.$message.error('邮箱格式错误,请重新输入!');
|
|
|
+ }
|
|
|
+ },
|
|
|
+ // 保存
|
|
|
+ async saveWarningSetting() {
|
|
|
+ this.$refs.baseInfoFormRef.validate(async (valid) => {
|
|
|
+ if (valid) {
|
|
|
+ try {
|
|
|
+ this.saveLoading = true;
|
|
|
+ const res = await warningSetting.saveWarningSetting(
|
|
|
+ this.baseInfoForm
|
|
|
+ );
|
|
|
+ // console.log('新增告警结果:', res)
|
|
|
+ this.addWarningDialog = false;
|
|
|
+ this._resetDialogInfo();
|
|
|
+ this.saveLoading = false;
|
|
|
+ this.$emit('refreshList');
|
|
|
+ this.$message.success('新增成功!');
|
|
|
+ } catch (error) {
|
|
|
+ this.saveLoading = false;
|
|
|
+ }
|
|
|
}
|
|
|
- ] // 通知设置表格
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 重置弹窗信息
|
|
|
+ _resetDialogInfo() {
|
|
|
+ this.baseInfoForm = {
|
|
|
+ alarmLevel: '', // 告警级别
|
|
|
+ alarmEquipmentId: '', // 告警设备类型id
|
|
|
+ alarmEquipmentName: '', // 告警设备类型name
|
|
|
+ alarmName: '', // 告警名称
|
|
|
+ status: false, // 状态
|
|
|
+ isCreate: false, // 是否生成保修工单
|
|
|
+ alarmDescribe: '', // 告警描述
|
|
|
+ alarmTrigger: 0, // 告警触发条件类型选择
|
|
|
+ alarmMode: '', // 告警方式
|
|
|
+ alarmTriggerList: [{}], // 基本信息触发条件表格
|
|
|
+ alarmNoticeSetList: [
|
|
|
+ {
|
|
|
+ alarmNotifierId: '', // 告警通知人id
|
|
|
+ alarmNotifierName: '', // 告警通知人name
|
|
|
+ alarmNotifierMailbox: '', // 邮箱
|
|
|
+ alarmNotifierPhone: '', // 电话
|
|
|
+ mail: false, // 邮件
|
|
|
+ shortMessage: false, // 短信
|
|
|
+ system: false // 系统
|
|
|
+ }
|
|
|
+ ] // 通知设置表格
|
|
|
+ };
|
|
|
+ this.tabActiveName = 'baseInfo';
|
|
|
+ this.$refs.baseInfoFormRef.resetFields();
|
|
|
}
|
|
|
- this.tabActiveName = 'baseInfo'
|
|
|
- this.$refs.baseInfoFormRef.resetFields()
|
|
|
}
|
|
|
- }
|
|
|
-}
|
|
|
+ };
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-::v-deep .el-dialog__headerbtn .el-dialog__close {
|
|
|
- color: #fff;
|
|
|
- font-weight: 700;
|
|
|
- font-size: 20px;
|
|
|
-}
|
|
|
-.table_wrapper {
|
|
|
- padding-left: 120px;
|
|
|
- padding-right: 8vw;
|
|
|
- ::v-deep .el-table__header-wrapper {
|
|
|
- display: none;
|
|
|
+ ::v-deep .el-dialog__headerbtn .el-dialog__close {
|
|
|
+ color: #fff;
|
|
|
+ font-weight: 700;
|
|
|
+ font-size: 20px;
|
|
|
+ }
|
|
|
+ .table_wrapper {
|
|
|
+ padding-left: 120px;
|
|
|
+ padding-right: 8vw;
|
|
|
+ ::v-deep .el-table__header-wrapper {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ ::v-deep .el-table .cell {
|
|
|
+ padding-left: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .add_notice_table_row {
|
|
|
+ text-align: right;
|
|
|
+ padding-bottom: 8px;
|
|
|
+ }
|
|
|
+ .alarm_trigger_handler {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ }
|
|
|
+ ::v-deep .el-form-item {
|
|
|
+ margin-bottom: 14px;
|
|
|
}
|
|
|
- ::v-deep .el-table .cell {
|
|
|
- padding-left: 0;
|
|
|
+ ::v-deep .el-form-item__error {
|
|
|
+ padding-top: 0;
|
|
|
}
|
|
|
-}
|
|
|
-.add_notice_table_row {
|
|
|
- text-align: right;
|
|
|
- padding-bottom: 8px;
|
|
|
-}
|
|
|
-.alarm_trigger_handler {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
-}
|
|
|
-::v-deep .el-form-item {
|
|
|
- margin-bottom: 14px;
|
|
|
-}
|
|
|
-::v-deep .el-form-item__error {
|
|
|
- padding-top: 0;
|
|
|
-}
|
|
|
</style>
|