设备管理新增厂商字段,新增条件筛选以及缴费,在线状态排序
| | |
| | | </el-tag> |
| | | </template> |
| | | |
| | | <template slot-scope="{ row }" slot="jfzt"> |
| | | <i class="el-icon-check client-jf" v-if="row.type == 0"></i> |
| | | <i class="el-icon-close client-qf" v-else-if="row.type == 1"></i> |
| | | <template slot-scope="{ row }" slot="type"> |
| | | <i class="el-icon-check client-jf" v-if="row.type == '0' "></i> |
| | | <i class="el-icon-close client-qf" v-else-if="row.type == '1' "></i> |
| | | </template> |
| | | |
| | | </avue-crud> |
| | |
| | | }], |
| | | }, { |
| | | label: "缴费状态", |
| | | prop: "jfzt", |
| | | prop: "type", |
| | | slot: true, |
| | | sortable:true, |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | }, { |
| | | label: "设备厂商", |
| | | prop: "manufacturers", |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | dicUrl: "/api/blade-system/dict-biz/dictionary?code=manufacturers", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | | }, |
| | | search:true, |
| | | type:"select", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请选择设备厂商", |
| | | trigger: "blur" |
| | | }], |
| | | }, { |
| | | label: "布撤防状态", |
| | | prop: "devicestate", |
| | |
| | | label: "设备状态", |
| | | prop: "dxzt", |
| | | slot: true, |
| | | sortable:true, |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | }, |
| | |
| | | prop: "reason", |
| | | addDisplay: false, |
| | | editDisplay: false |
| | | },{ |
| | | label: "心跳时间", |
| | | prop: "heartbeat", |
| | | type: "datetime", |
| | | format: "yyyy-MM-dd", |
| | | valueFormat: "yyyy-MM-dd HH:mm:ss", |
| | | width: 130, |
| | | hide: true, |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | }, |
| | | { |
| | | label: "省份", |
| | |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | }, |
| | | { |
| | | label: "心跳时间", |
| | | prop: "heartbeat", |
| | | type: "datetime", |
| | | format: "yyyy-MM-dd", |
| | | valueFormat: "yyyy-MM-dd HH:mm:ss", |
| | | width: 130, |
| | | hide: true, |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | } |
| | | |
| | | ] |
| | | }, |