南昌市物联网技防平台-前端
zengh
2021-03-17 2773e0c4e3353a6f8d2f37f8aa824d4c271a28d3
src/views/clientManagement/clientManagement.vue
@@ -67,13 +67,9 @@
            </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>
@@ -191,7 +187,7 @@
export default {
  created() {
    this.payWin();
      //this.payWin();
  },
  data() {
    return {
@@ -328,7 +324,15 @@
            editDisplay: true,
            viewDisplay: true,
          }, {
              label: "缴费状态",
              prop: "jfzt",
              slot: true,
              align: "center",
              addDisplay: false,
              editDisplay: false,
            }, {
            label: "布撤防状态",
              align: "center",
            prop: "devicestate",
            type: "select",
            slot: true,
@@ -350,6 +354,7 @@
            ]
          }, {
            label: "设备状态",
              align: "center",
            prop: "dxzt",
            slot: true,
            addDisplay: false,
@@ -358,7 +363,7 @@
          {
            label: "设备类型",
            prop: "deviceType",
            width: 160,
              width: 100,
            search: true,
            searchSpan: 3,
            searchLabelWidth: 80,
@@ -435,10 +440,9 @@
            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",
@@ -749,4 +753,15 @@
  height: calc(100% - 54px);
  box-sizing: border-box;
}
  .client-jf {
    font-size: 25px;
    color: green;
  }
  .client-qf {
    font-size: 25px;
    color: red;
  }
</style>