| | |
| | | @row-save="rowSave" |
| | | :before-open="beforeOpen" |
| | | :row-style="rowStyle" |
| | | row-class-name="tabFontSize" |
| | | @search-change="searchChange" |
| | | @search-reset="searchReset" |
| | | @selection-change="selectionChange" |
| | |
| | | <template slot="menuLeft"> |
| | | <el-button |
| | | v-bind:class="activeClass == 0 ? 'btn-color' : ''" |
| | | size="small" |
| | | size="mini" |
| | | @click="getBRdata(0)" |
| | | >本日 |
| | | </el-button> |
| | |
| | | calcHeight: 30, |
| | | labelWidth: "100", |
| | | size: "mini", |
| | | border: false, |
| | | stripe:true, |
| | | menuWidth: 240, |
| | | dialogWidth: 950, |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 3, |
| | | align:"center", |
| | | border: true, |
| | | index: true, |
| | | viewBtn: true, |
| | | selection: true, |
| | |
| | | prop: "waringType", |
| | | search: false, |
| | | searchSpan: 3, |
| | | width: 130, |
| | | width: 85, |
| | | className: "waringTypeClass", |
| | | searchPlaceholder: "请选择", |
| | | type: "select", |
| | |
| | | { |
| | | label: "报警时间", |
| | | type: "datetime", |
| | | width: 130, |
| | | width: 160, |
| | | format: "yyyy-MM-dd HH:mm:ss", |
| | | valueFormat: "yyyy-MM-dd HH:mm:ss", |
| | | prop: "alarmTime", |
| | |
| | | { |
| | | label: "负责人电话", |
| | | prop: "onePhone", |
| | | width: 96, |
| | | width: 110, |
| | | }, |
| | | { |
| | | label: "报警人", |
| | | prop: "galarmPeople", |
| | | width: 90 |
| | | }, |
| | | { |
| | | label: "报警人电话", |
| | |
| | | }, |
| | | { |
| | | label: "事发地址", |
| | | width: 200, |
| | | prop: "place", |
| | | }, |
| | | { |
| | |
| | | dicUrl: "/api/blade-system/region/select", |
| | | span: 6, |
| | | className: "cityClass1", |
| | | hide: true, |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | }, |
| | | { |
| | | label: "地市", |
| | |
| | | span: 3, |
| | | labelWidth: "0", |
| | | className: "cityClass2", |
| | | hide: true, |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | }, |
| | | { |
| | | label: "区县", |
| | |
| | | span: 3, |
| | | labelWidth: "0", |
| | | className: "cityClass3", |
| | | hide: true, |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | }, |
| | | { |
| | | label: "接警人", |
| | | prop: "alarmPeople", |
| | | width: 90 |
| | | }, |
| | | { |
| | | label: "接警时间", |
| | |
| | | valueFormat: "yyyy-MM-dd HH:mm:ss", |
| | | width: 130, |
| | | prop: "jjTime", |
| | | hide: true, |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | }, |
| | | ], |
| | | }, |
| | |
| | | return a.jtype - b.jtype; |
| | | }); |
| | | |
| | | |
| | | |
| | | |
| | | this.data = data.records; |
| | | |
| | |
| | | background-color: rgb(64, 158, 255); |
| | | border-color: rgb(64, 158, 255); |
| | | } |
| | | |
| | | .tabFontSize{ |
| | | font-size: 15px; |
| | | } |
| | | |
| | | </style> |