zengh
2022-03-08 9a2526acbc26a34aac5972deba4799b3f3ba4ffb
工作地辖区
1 files modified
59 ■■■■ changed files
src/views/system/user.vue 59 ●●●● patch | view | raw | blame | history
src/views/system/user.vue
@@ -294,6 +294,7 @@
      option: {
        height: "auto",
        calcHeight: 54,
        labelWidth:120,
        tip: false,
        searchShow: true,
        searchMenuSpan: 4,
@@ -327,13 +328,30 @@
            display: false,
          },
          {
            label: "所属辖区",
            label: "居住地辖区",
            prop: "jurisdiction",
            search: true,
            overHidden: true,
            parent: false,
            type: "tree",
            searchLabelWidth: 80,
            searchLabelWidth: 90,
            searchSpan: 4,
            dicUrl: "/api/jurisdiction/lazy-tree",
            props: {
              label: "title",
              value: "id"
            },
            checkStrictly: true,
            display: false,
          },
          {
            label: "工作地辖区",
            prop: "workjurisdiction",
            search: true,
            overHidden: true,
            parent: false,
            type: "tree",
            searchLabelWidth: 90,
            searchSpan: 4,
            dicUrl: "/api/jurisdiction/lazy-tree",
            props: {
@@ -349,13 +367,13 @@
            slot: true,
            display: false,
          },
          {
            label: "所属部门",
            prop: "deptName",
            slot: true,
            display: false,
            width: 260,
          },
          // {
          //   label: "所属部门",
          //   prop: "deptName",
          //   slot: true,
          //   display: false,
          //   width: 260,
          // },
          {
            label: "行政区",
            prop: "district",
@@ -465,8 +483,28 @@
                ],
              },
              {
                label: "所属辖区",
                label: "居住地辖区",
                prop: "jurisdiction",
                overHidden: true,
                parent: false,
                type: "tree",
                dicUrl: "/api/jurisdiction/lazy-tree",
                props: {
                  label: "title",
                  value: "id"
                },
                checkStrictly: true,
                rules: [
                  {
                    required: true,
                    message: "请选择所属辖区",
                    trigger: "click"
                  }
                ]
              },
              {
                label: "工作地辖区",
                prop: "workjurisdiction",
                overHidden: true,
                parent: false,
                type: "tree",
@@ -641,6 +679,7 @@
                },
                checkStrictly: true,
                slot: true,
                parent: false,
                rules: [
                  {
                    required: true,