南昌市物联网技防平台-前端
zengh
2021-03-29 0c29acb5dddca467ec37dd3b8a779f4014d75f2c
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>
@@ -238,6 +238,7 @@
          labelWidth: '100',
          dialogWidth: 950,
          menuWidth: 250,
          align:"center",
          size: "mini",
          tip: false,
          searchShow: true,
@@ -246,7 +247,7 @@
          border: true,
          index: true,
          viewBtn: true,
          selection: false,
          selection: true,
          dialogClickModal: false,
          column: [
            {
@@ -257,19 +258,23 @@
              search: true,
            },
            {
              label: "上级菜单",
              prop: "pid",
              type: "tree",
              dicUrl: "/api/blade-jfpts/catalogs/catalogs/tree",
              label: "到期时间",
              prop: "releaseTimeRange",
              type: "datetime",
              format: "yyyy-MM-dd",
              valueFormat: "yyyy-MM-dd",
              searchRange: true,
              searchSpan: 6,
              hide: true,
              props: {
                label: "title"
              },
              addDisplay: false,
              editDisplay: false,
              viewDisplay: false,
              search: true,
              rules: [
                {
                  required: false,
                  message: "请选择上级菜单",
                  trigger: "click"
                  required: true,
                  message: "请输入时间",
                  trigger: "blur"
                }
              ]
            }
@@ -283,6 +288,23 @@
                {
                  required: false,
                  message: "请输入设备编号",
                  trigger: "click"
                }
              ]
            },
            {
              label: "使用方",
              prop: "deptId",
              width: 200,
              type: "tree",
              dicUrl: "/api/blade-system/dept/trees",
              props: {
                label: "title"
              },
              rules: [
                {
                  required: false,
                  message: "请选择上级菜单",
                  trigger: "click"
                }
              ]
@@ -302,6 +324,13 @@
              addDisplay: true,
              editDisplay: true,
              viewDisplay: true,
            }, {
              label: "缴费状态",
              prop: "jfzt",
              slot: true,
              align: "center",
              addDisplay: false,
              editDisplay: false,
            }, {
              label: "布撤防状态",
              align: "center",
@@ -412,15 +441,30 @@
              span: 3,
              labelWidth: "0",
              className: "cityClass3"
            },
            {
              label: "权属",
              prop: "ownership",
              width: 150
            }, {
              label: "街道",
              prop: "street",
              width: 200
            },
            {
              label: "负责人",
              prop: "oneContacts",
              width: 72
            },
            {
              label: "负责人电话",
              prop: "onePhone",
              width: 110
            }, {
              label: "到期时间",
              prop: "expireTime",
              type: "datetime",
              format: "yyyy-MM-dd",
              valueFormat: "yyyy-MM-dd HH:mm:ss",
              width: 130
            }, {
              label: "缴费信息",
              prop: "pay",
            }, {
              label: "安装时间",
              prop: "stime",
@@ -436,6 +480,7 @@
              valueFormat: "yyyy-MM-dd HH:mm:ss",
              width: 130
            },
          ]
        },
        data: []
@@ -528,7 +573,7 @@
          });
      },
      searchReset() {
        this.treeDeptId = null;
        this.treeDeptId = "";
        this.query = {};
        this.onLoad(this.page);
      },