南昌市物联网技防平台-前端
zengh
2021-03-26 3cf8334f5dedcfceff663808b2260e2a1e5b2cbd
src/views/clientManagement/clientManagement.vue
@@ -67,10 +67,10 @@
            </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>-->
          <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>
@@ -258,9 +258,9 @@
            },
            {
              label: "上级菜单",
              prop: "pid",
              prop: "deptId",
              type: "tree",
              dicUrl: "/api/blade-jfpts/catalogs/catalogs/tree",
              dicUrl: "/api/blade-system/dept/trees",
              hide: true,
              props: {
                label: "title"
@@ -270,6 +270,27 @@
                  required: false,
                  message: "请选择上级菜单",
                  trigger: "click"
                }
              ]
            },
            {
              label: "到期时间",
              prop: "releaseTimeRange",
              type: "datetime",
              format: "yyyy-MM-dd",
              valueFormat: "yyyy-MM-dd",
              searchRange: true,
              searchSpan: 6,
              hide: true,
              addDisplay: false,
              editDisplay: false,
              viewDisplay: false,
              search: true,
              rules: [
                {
                  required: true,
                  message: "请输入时间",
                  trigger: "blur"
                }
              ]
            }
@@ -302,6 +323,13 @@
              addDisplay: true,
              editDisplay: true,
              viewDisplay: true,
            }, {
              label: "缴费状态",
              prop: "jfzt",
              slot: true,
              align: "center",
              addDisplay: false,
              editDisplay: false,
            }, {
              label: "布撤防状态",
              align: "center",
@@ -422,6 +450,16 @@
              prop: "street",
              width: 200
            }, {
              label: "到期时间",
              prop: "expireTime",
              type: "datetime",
              format: "yyyy-MM-dd",
              valueFormat: "yyyy-MM-dd HH:mm:ss",
              width: 130
            }, {
              label: "缴费信息",
              prop: "pay",
            }, {
              label: "安装时间",
              prop: "stime",
              type: "datetime",
@@ -436,6 +474,7 @@
              valueFormat: "yyyy-MM-dd HH:mm:ss",
              width: 130
            },
          ]
        },
        data: []
@@ -528,7 +567,7 @@
          });
      },
      searchReset() {
        this.treeDeptId = null;
        this.treeDeptId = "";
        this.query = {};
        this.onLoad(this.page);
      },