| | |
| | | ref="loginForm" |
| | | :model="loginForm" |
| | | label-width="0"> |
| | | <el-form-item hidden v-if="tenantMode" prop="tenantId"> |
| | | <el-form-item v-if="tenantMode" prop="tenantId"> |
| | | <el-input size="small" |
| | | @keyup.enter.native="handleLogin" |
| | | v-model="loginForm.tenantId" |
| | |
| | | </el-tag> |
| | | </template> |
| | | |
| | | <template slot-scope="{ row }" slot="expireTime"> |
| | | <span> |
| | | {{ |
| | | row.expireTime == "" ? row.expireTime : row.expireTime == null ? row.expireTime : row.expireTime.split(" ")[0] |
| | | }} |
| | | </span> |
| | | <i class="el-icon-warning" v-if="row.type == 1"></i> |
| | | <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> |
| | | |
| | | </avue-crud> |
| | |
| | | |
| | | export default { |
| | | created() { |
| | | this.payWin(); |
| | | //this.payWin(); |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | }, { |
| | | label: "缴费状态", |
| | | prop: "jfzt", |
| | | slot: true, |
| | | align: "center", |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | }, { |
| | | label: "布撤防状态", |
| | | align: "center", |
| | | prop: "devicestate", |
| | | type: "select", |
| | | slot: true, |
| | |
| | | ] |
| | | }, { |
| | | label: "设备状态", |
| | | align: "center", |
| | | prop: "dxzt", |
| | | slot: true, |
| | | addDisplay: false, |
| | |
| | | { |
| | | label: "设备类型", |
| | | prop: "deviceType", |
| | | width: 160, |
| | | width: 100, |
| | | search: true, |
| | | searchSpan: 3, |
| | | searchLabelWidth: 80, |
| | |
| | | label: "到期时间", |
| | | prop: "expireTime", |
| | | type: "datetime", |
| | | slot: true, |
| | | format: "yyyy-MM-dd", |
| | | valueFormat: "yyyy-MM-dd HH:mm:ss", |
| | | width: 150 |
| | | width: 130 |
| | | }, { |
| | | label: "缴费信息", |
| | | prop: "pay", |
| | |
| | | height: calc(100% - 54px); |
| | | box-sizing: border-box; |
| | | } |
| | | |
| | | .client-jf { |
| | | font-size: 25px; |
| | | color: green; |
| | | } |
| | | |
| | | .client-qf { |
| | | font-size: 25px; |
| | | color: red; |
| | | } |
| | | |
| | | </style> |