Administrator
2022-04-11 79d9fc857559982b00b68b2d709807bdc4cd286f
src/views/securityGuard/securityGuardRegistration.vue
@@ -1,18 +1,18 @@
<template>
    <el-dialog
      :title="!form1.id?'新增':'修改'"
      width="60%"
      modal-append-to-body='false'
      append-to-body='true'
      :close-on-click-model="true"
      :visible.sync="visible"
    >
        <avue-form :option="option" v-model="form1" @submit="update">
          <template slot-scope="{ row }" slot="input">
            <el-tag>{{ row }}</el-tag>
          </template>
        </avue-form>
    </el-dialog>
  <el-dialog
    :title="!form1.id ? '新增' : '修改'"
    width="60%"
    modal-append-to-body="false"
    append-to-body="true"
    :close-on-click-model="true"
    :visible.sync="visible"
  >
    <avue-form :option="option" v-model="form1" @submit="update">
      <template slot-scope="{ row }" slot="input">
        <el-tag>{{ row }}</el-tag>
      </template>
    </avue-form>
  </el-dialog>
</template>
<script>
@@ -78,7 +78,7 @@
        tip: false,
        searchShow: true,
        searchMenuSpan: 6,
        border: false,
        border: true, //liu
        stripe: true,
        index: true,
        selection: true,
@@ -104,7 +104,8 @@
                label: "所属组织机构",
                prop: "deptId",
                type: "tree",
                dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
                dicUrl:
                  "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
                props: {
                  label: "title",
                  value: "id",
@@ -116,7 +117,7 @@
                    required: true,
                    message: "请选择组织机构",
                    trigger: "blur",
                  }
                  },
                ],
              },
              {
@@ -127,7 +128,7 @@
                    required: true,
                    message: "请输入登录账号",
                    trigger: "blur",
                  }
                  },
                ],
                // disabled: true,
              },
@@ -154,12 +155,13 @@
              {
                label: "用户昵称",
                prop: "name",
              }, {
              },
              {
                label: "所属行政区",
                prop: "jurisdiction",
                // multiple: true,
                type: "tree",
                dicUrl: "/api/jurisdiction/lazy-tree?parentId=0",
                dicUrl: "/api/jurisdiction/lazy-tree",
                props: {
                  label: "title",
                  value: "id",
@@ -173,7 +175,8 @@
                    trigger: "click",
                  },
                ],
              },{
              },
              {
                label: "所属角色",
                prop: "roleId",
                multiple: true,
@@ -191,7 +194,8 @@
                    trigger: "click",
                  },
                ],
              },{
              },
              {
                label: "所属岗位",
                prop: "postId",
                type: "tree",
@@ -257,7 +261,7 @@
                  value: "dictKey",
                },
                dataType: "number",
                slot: true
                slot: true,
              },
              {
                label: "政治面貌",
@@ -305,6 +309,8 @@
                label: "用户生日",
                type: "date",
                prop: "birthday",
                format: "yyyy-MM-dd",
                valueFormat: "yyyy-MM-dd",
              },
            ],
          },
@@ -316,7 +322,7 @@
              {
                prop: "UserPractitionersInfo",
                type: "dynamic",
                border: false,
                border: true, //liu
                span: 24,
                children: {
                  align: "left",
@@ -335,7 +341,7 @@
                  column: [
                    {
                      width: 200,
                      label: "单位名称",
                      label: "企业名称",
                      prop: "companyname",
                      formslot: true,
                    },
@@ -390,7 +396,6 @@
      },
      datachild: [],
    };
  },
  watch: {
    "form.tenantId"() {
@@ -475,7 +480,7 @@
            });
          });
          this.loading = false;
          debugger;
          //debugger;
          done();
        },
        (error) => {
@@ -509,8 +514,7 @@
      margin-left: 0px !important;
  } */
.addorupdatetitle{
.addorupdatetitle {
  position: absolute;
  left: 10px;
  top: 70px;
@@ -518,7 +522,6 @@
  height: 10px;
  font-size: 10px;
  cursor: pointer;
}
.xx {
  position: absolute;