| | |
| | | }} |
| | | </el-tag> |
| | | </template> |
| | | <template slot-scope="{ row }" slot="cid"> |
| | | <el-tag>{{ |
| | | row.cid == "1" ? "事件发生" : row.cid == "3" ? "是" : "事件恢复" |
| | | }} |
| | | </el-tag> |
| | | </template> |
| | | |
| | | <template slot-scope="{ type, size, row }" slot="menu"> |
| | | <el-button |
| | |
| | | span: 3, |
| | | labelWidth: "0", |
| | | className: "cityClass3" |
| | | } |
| | | }, |
| | | { |
| | | label: "警情状态", |
| | | searchSpan: 3, |
| | | prop: "cid", |
| | | slot: true, |
| | | type: "select", |
| | | dicData: [ |
| | | { |
| | | label: "事件发生", |
| | | value: '1' |
| | | }, |
| | | { |
| | | label: "事件恢复", |
| | | value: '3' |
| | | } |
| | | ], |
| | | }, |
| | | ] |
| | | }, |
| | | data: [], |
| | |
| | | labelWidth: '0', |
| | | className: 'cityClass3' |
| | | }, |
| | | { |
| | | label: "警情状态", |
| | | searchSpan: 3, |
| | | prop: "cid", |
| | | type: "select", |
| | | dicData: [ |
| | | { |
| | | label: "事件发生", |
| | | value: '1' |
| | | }, |
| | | { |
| | | label: "事件恢复", |
| | | value: '3' |
| | | } |
| | | ], |
| | | }, |
| | | |
| | | ] |
| | | }, |