南昌市物联网技防平台-前端
zengh
2021-03-17 2773e0c4e3353a6f8d2f37f8aa824d4c271a28d3
租户修改,客户管理修改
2 files modified
39 ■■■■■ changed files
src/page/login/userlogin.vue 2 ●●● patch | view | raw | blame | history
src/views/clientManagement/clientManagement.vue 37 ●●●● patch | view | raw | blame | history
src/page/login/userlogin.vue
@@ -5,7 +5,7 @@
           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"
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>