Bladeren bron

Merge branch 'master' of http://218.108.80.158:8081/zhangjy/TXbackstage

张佳燕 1 jaar geleden
bovenliggende
commit
45b7862a42

+ 2 - 2
.env.development

@@ -1,5 +1,5 @@
 # just a flag
 ENV = 'development'
 
-# base api   http://192.168.11.10:9100/yx-fyzd https://noise.hz-hanghui.com:8088/yx-fyzd
-VUE_APP_BASE_API = ''
+# base api   http://192.168.11.17:9100/yx-fyzd
+VUE_APP_BASE_API = 'http://192.168.11.17:9100/yx-fyzd'

+ 1 - 1
.env.production

@@ -2,5 +2,5 @@
 ENV = 'production'
 
 # base api
-VUE_APP_BASE_API = '..'
+VUE_APP_BASE_API = 'https://tx.hz-hanghui.com:8088/yx-fyzd'
 

BIN
back.rar


+ 0 - 5
public/config.js

@@ -1,5 +0,0 @@
-window.g = {
-  ApiUrl: 'http://192.168.11.17:9100/yx-fyzd/' // 本地
-  // ApiUrl: 'https://tx.hz-hanghui.com:8088/yx-fyzd' // 线上
-
-}

+ 173 - 135
src/api/ordinary_user.js

@@ -1,152 +1,151 @@
-import request from '@/utils/request'
-
+import request from "@/utils/request";
 
 /******************************** 改-常客管理 ********************************/
 // 获得白名单列表
 export function getPageList(data) {
   return request({
-    url: '/admin/userWhitelis/getPageList',
-    method: 'post',
-    data
-  })
+    url: "/admin/userWhitelis/getPageList",
+    method: "post",
+    data,
+  });
 }
 
 // 添加白名单
 export function insert(data) {
   return request({
-    url: '/admin/userWhitelis/insert',
-    method: 'post',
-    data
-  })
+    url: "/admin/userWhitelis/insert",
+    method: "post",
+    data,
+  });
 }
 
 // 删除白名单
 export function delete_user(id) {
   return request({
-    url: '/admin/userWhitelis/delete',
-    method: 'get',
+    url: "/admin/userWhitelis/delete",
+    method: "get",
     params: {
-      UserWhitelistId: id
-    }
-  })
+      UserWhitelistId: id,
+    },
+  });
 }
 
 // 删除所有人员
 export function deleteAll() {
   return request({
-    url: '/admin/userWhitelis/deleteAll',
-    method: 'get',
-    params: {}
-  })
+    url: "/admin/userWhitelis/deleteAll",
+    method: "get",
+    params: {},
+  });
 }
 
 // 编辑白名单
 export function update(data) {
   return request({
-    url: '/admin/userWhitelis/update',
-    method: 'post',
-    data
-  })
+    url: "/admin/userWhitelis/update",
+    method: "post",
+    data,
+  });
 }
 
 // 批量导入
 export function uploadUserWhitelistExcel(data) {
   return request({
-    url: '/admin/userWhitelis/uploadUserWhitelistExcel',
-    method: 'post',
+    url: "/admin/userWhitelis/uploadUserWhitelistExcel",
+    method: "post",
     headers: {
       "Content-Type": "multipart/form-data",
     },
-    data
-  })
+    data,
+  });
 }
 // 上传图片
 export function pictureLocal(data) {
   return request({
-    url: '/upload/pictureLocal',
-    method: 'post',
-    data
-  })
+    url: "/upload/pictureLocal",
+    method: "post",
+    data,
+  });
 }
 
 /******************************** 改-访客管理 ********************************/
 // 获得访客列表
 export function getPageListVisitor(data) {
   return request({
-    url: '/admin/userVisitorList/getPageList',
-    method: 'post',
-    data
-  })
+    url: "/admin/userVisitorList/getPageList",
+    method: "post",
+    data,
+  });
 }
 
 // 访客添加到常客
 export function addWhiteList(id) {
   return request({
-    url: '/admin/userVisitorList/addWhite',
-    method: 'get',
-    params:{id}
-  })
+    url: "/admin/userVisitorList/addWhite",
+    method: "get",
+    params: { id },
+  });
 }
 // 访客批量添加到常客
 export function addWhiteAll(data) {
   return request({
-    url: '/admin/userVisitorList/addWhiteAll',
-    method: 'post',
-    data
-  })
+    url: "/admin/userVisitorList/addWhiteAll",
+    method: "post",
+    data,
+  });
 }
 
 // 访客添加到黑名单
 export function addBlackList(id) {
   return request({
-    url: '/admin/userVisitorList/addBlack',
-    method: 'get',
-    params:{id}
-  })
+    url: "/admin/userVisitorList/addBlack",
+    method: "get",
+    params: { id },
+  });
 }
 
 /******************************** 改-黑名单管理 ********************************/
 // 获得常客列表
 export function getPageListBlack(data) {
   return request({
-    url: '/admin/userBlackList/getPageList',
-    method: 'post',
-    data
-  })
+    url: "/admin/userBlackList/getPageList",
+    method: "post",
+    data,
+  });
 }
 
 // 移除黑名单
 export function removeBlack(id) {
   return request({
-    url: '/admin/userBlackList/delete',
-    method: 'get',
+    url: "/admin/userBlackList/delete",
+    method: "get",
     params: {
-      id: id
-    }
-  })
+      id: id,
+    },
+  });
 }
 
 /******************************** 编辑账号资料 ********************************/
 // 编辑账号资料
 export function doEditSelf(data) {
   return request({
-    url: '/admin/auth/updateAdmin',
-    method: 'post',
-    data
-  })
+    url: "/admin/auth/updateAdmin",
+    method: "post",
+    data,
+  });
 }
 
 /******************************** 账号管理 ********************************/
 // 批量导入
 export function uploadAdminInfoExcel(data) {
   return request({
-    url: '/admin/auth/uploadAdminInfoExcel',
-    method: 'post',
+    url: "/admin/auth/uploadAdminInfoExcel",
+    method: "post",
     headers: {
       "Content-Type": "multipart/form-data",
     },
-    data
-  })
+    data,
+  });
 }
 
 /******************************** 数据大屏 ********************************/
@@ -154,28 +153,28 @@ export function uploadAdminInfoExcel(data) {
 // 通行信息
 export function getAdminData() {
   return request({
-    url: 'admin/dataShow/getAdminData',
-    method: 'post',
-    data: {}
-  })
+    url: "admin/dataShow/getAdminData",
+    method: "post",
+    data: {},
+  });
 }
 
 // 进出人员数据
 export function getInOutData(data) {
   return request({
-    url: 'inOutStatistics/data',
-    method: 'post',
-    data
-  })
+    url: "inOutStatistics/data",
+    method: "post",
+    data,
+  });
 }
 
 // 设备数量
 export function getDeviceNumber() {
   return request({
-    url: '/admin/dataShow/getDeviceNumber',
-    method: 'post',
-    data: {}
-  })
+    url: "/admin/dataShow/getDeviceNumber",
+    method: "post",
+    data: {},
+  });
 }
 // -----------------预约场景-------------------------
 
@@ -183,73 +182,73 @@ export function getDeviceNumber() {
 export function appointmentDelete(placeDetailId) {
   return request({
     url: `/admin/place/appointmentDelete`,
-    method: 'get',
-    params:{placeDetailId}
-  })
+    method: "get",
+    params: { placeDetailId },
+  });
 }
 // 预约信息保存
 export function appointmentSave(data) {
   return request({
-    url: '/admin/place/appointmentSave',
-    method: 'post',
-    data
-  })
+    url: "/admin/place/appointmentSave",
+    method: "post",
+    data,
+  });
 }
 // 修改状态预约信息
 export function appointmentUpdate(data) {
   return request({
-    url: '/admin/place/appointmentUpdate',
-    method: 'post',
-    data
-  })
+    url: "/admin/place/appointmentUpdate",
+    method: "post",
+    data,
+  });
 }
 
 // 查询
 export function getplace() {
   return request({
-    url: '/admin/place/query',
-    method: 'get',
-    params: {}
-  })
+    url: "/admin/place/query",
+    method: "get",
+    params: {},
+  });
 }
 // 基础信息保存
 export function placeSave(data) {
   return request({
-    url: '/admin/place/save',
-    method: 'post',
-    data
-  })
+    url: "/admin/place/save",
+    method: "post",
+    data,
+  });
 }
 // 预约列表
 // 查询
 export function appointmentPerson(data) {
   return request({
-    url: '/admin/appointmentPerson/getPageList',
-    method: 'post',
-    data
-  })
+    url: "/admin/appointmentPerson/getPageList",
+    method: "post",
+    data,
+  });
 }
 // 详情
 export function detail(id) {
   return request({
     url: `/admin/appointmentPerson/detail/${id}`,
-    method: 'get',
-  })
+    method: "get",
+  });
 }
 // 重新下发
 export function issue(id) {
   return request({
     url: `/admin/appointmentPerson/issue/${id}`,
-    method: 'post',
-  })
+    method: "post",
+  });
 }
 // 全量下发
 export function appointmentPersonIssueAll(data) {
   return request({
-    url: '/admin/appointmentPerson/issueAll',
-    method: 'post',
-    data
-  })
+    url: "/admin/appointmentPerson/issueAll",
+    method: "post",
+    data,
+  });
 }
 
 // 全量下发-新版(携带有效期)
@@ -257,69 +256,108 @@ export function addSnIssued(data) {
   return request({
     url: `/admin/appointmentPerson/issueAll/${deviceId}`,
     data: data,
-    method: 'get',
-  })
+    method: "get",
+  });
 }
 
 // 删除
 export function deleteId(id) {
   return request({
     url: `/admin/appointmentPerson/${id}`,
-    method: 'DELETE',
-  })
+    method: "DELETE",
+  });
 }
 
-
 // -----------------健康码三方对接-------------------------
 // 分页
 export function healthCodeGetPageList(data) {
   return request({
-    url: '/admin/healthCodeConfig/getPageList',
-    method: 'post',
-    data
-  })
+    url: "/admin/healthCodeConfig/getPageList",
+    method: "post",
+    data,
+  });
 }
 // 保存
 export function healthCodeSave(data) {
   return request({
-    url: '/admin/healthCodeConfig/save',
-    method: 'post',
-    data
-  })
+    url: "/admin/healthCodeConfig/save",
+    method: "post",
+    data,
+  });
 }
 // 删除
 export function healthCodeDel(id) {
   return request({
     url: `/admin/healthCodeConfig/del/${id}`,
-    method: 'delete',
-  })
+    method: "delete",
+  });
 }
 // 获取常客有效期
 export function getUserWhitelistEffectiveTime(adminId) {
   return request({
-    url: '/admin/userWhitelis/getUserWhitelistEffectiveTime',
-    method: 'get',
-    params: { adminId }
-  })
+    url: "/admin/userWhitelis/getUserWhitelistEffectiveTime",
+    method: "get",
+    params: { adminId },
+  });
 }
 
-
 // 常客--批量编辑
 export function editUserWhitelistExcel(data) {
   return request({
-    url: '/admin/userWhitelis/editUserWhitelistExcel',
-    method: 'post',
+    url: "/admin/userWhitelis/editUserWhitelistExcel",
+    method: "post",
     headers: {
       "Content-Type": "multipart/form-data",
     },
-    data
-  })
+    data,
+  });
 }
 // 新增黑名单
 export function iuserBlackListInsert(data) {
   return request({
-    url: '/admin/userBlackList/insert',
-    method: 'post',
-    data
-  })
+    url: "/admin/userBlackList/insert",
+    method: "post",
+    data,
+  });
+}
+// -------------楼宇常客审核权限-----------------
+// 权限人员列表
+export function userWhitelistCheckGetPageList(data) {
+  return request({
+    url: "/admin/userWhitelistCheck/getPageList",
+    method: "post",
+    data,
+  });
+}
+// 获取公司列表列表
+export function getAdminList() {
+  return request({
+    url: "/admin/userWhitelistCheck/getAdminList",
+    method: "get",
+  });
+}
+
+// 获取常客列表
+export function getUserWhitelist(adminId) {
+  return request({
+    url: "/admin/userWhitelistCheck/getUserWhitelist",
+    method: "get",
+    params: { adminId },
+  });
+}
+// 添加人员
+export function userWhitelistCheckInsert(data) {
+  return request({
+    url: "/admin/userWhitelistCheck/insert",
+    method: "post",
+    data,
+  });
+}
+// 删除人员
+export function userWhitelistCheckDelete(userWhitelistCheckId) {
+  return request({
+    url: "/admin/userWhitelistCheck/delete",
+    method: "get",
+    params: { userWhitelistCheckId },
+  });
 }

+ 7 - 3
src/layout/components/Sidebar/SidebarItem.vue

@@ -87,6 +87,7 @@ export default {
       problemReportFlag: this.$store.getters.problemReportFlag,
       disinfectFlag: this.$store.getters.disinfectFlag,
       isOpenExam: this.$store.getters.isOpenExam,
+      buildingCheckType: this.$store.getters.buildingCheckType,
     };
   },
   created() {},
@@ -129,15 +130,18 @@ export default {
       if (this.placeType != 2 && item.path.indexOf("enterprise") > -1) {
         return false;
       }
-      if (this.placeType != 2 && item.path.indexOf("audit_authority") > -1) {
-        return false;
-      }
+
       if (
         item.path === "/exception_model" &&
         this.tagName != "车管所" &&
         this.tagName != null
       ) {
         return false;
+      } else if (
+        this.buildingCheckType ==1 &&
+        item.path.indexOf("audit_authority") > -1
+      ) {
+        return false;
       } else if (
         this.isControlEarlyWarning == 2 &&
         item.path === "/monitor_management"

+ 1 - 1
src/router/index.js

@@ -160,7 +160,7 @@ export const constantRoutes = [
         path: 'index',
         name: 'white_list',
         component: () => import('@/views/audit_authority/index'),
-        meta: { title: '审核权限列表', role: [5], visitorType: ['1'], icon: 'el-icon-paperclip' }
+        meta: { title: '申请审核权限列表', role: [5], icon: 'el-icon-paperclip' }
       }
     ]
   },

+ 1 - 0
src/store/getters.js

@@ -34,6 +34,7 @@ const getters = {
   favicon:state=>state.user.favicon,
   bg:state=>state.user.bg,
   isOpenExam:state=>state.user.isOpenExam,
+  buildingCheckType:state=>state.user.buildingCheckType,
 
 }
 export default getters

+ 7 - 2
src/store/modules/user.js

@@ -32,7 +32,8 @@ const getDefaultState = () => {
     problemReportFlag: null,//是否开启问题上报
     disinfectFlag: null,//是否开启区域巡查
     isOpenExam: false,//是否开启考试
-    openInOutStatistics: false // 是否启用进出人员数据统计
+    openInOutStatistics: false, // 是否启用进出人员数据统计
+    buildingCheckType:2,//楼宇访客预约审核方式
     // 背景图片、标题等
     // title:'防控终端管理平台',
     // logo:'',
@@ -133,7 +134,10 @@ const mutations = {
   },
   SET_OPENINOUTSTATISTICS: (state, openInOutStatistics) => {
     state.openInOutStatistics = openInOutStatistics
-  }
+  },
+  SET_BUILDINGCHECKTYPE: (state, buildingCheckType) => {
+    state.buildingCheckType = buildingCheckType
+  },
   // SET_TITLE: (state, title) => {
   //   state.title = title
   // },
@@ -232,6 +236,7 @@ const actions = {
         commit('SET_PROBLEMREPORTFLAG', data.problemReportFlag)
         commit('SET_ISOPENEXAM', data.isOpenExam)
         commit('SET_OPENINOUTSTATISTICS', data.openInOutStatistics)
+        commit('SET_BUILDINGCHECKTYPE', data.buildingCheckType)
         resolve(data)
       }).catch(error => {
         reject(error)

+ 2 - 3
src/utils/request.js

@@ -3,8 +3,7 @@ import { MessageBox, Message } from 'element-ui'
 import store from '@/store'
 import { getToken } from '@/utils/auth'
 import { waitLogOut } from '@/utils/waitLogOut'
-var baseURLStr = window.g.ApiUrl
-// var baseURLStr = window.g.ApiUrl
+
 let start = 0;
 function showErr(res, duration) {
     let now = Date.now();
@@ -20,7 +19,7 @@ function showErr(res, duration) {
 
 // create an axios instance
 const service = axios.create({
-  baseURL: baseURLStr, // url = base url + request url
+  baseURL: process.env.VUE_APP_BASE_API, // url = base url + request url
   // withCredentials: true, // send cookies when cross-domain requests
   timeout: 200000 // request timeout
 })

+ 291 - 0
src/views/audit_authority/index.vue

@@ -0,0 +1,291 @@
+<template>
+  <div class="app-container">
+    <!--操作区-->
+    <el-button
+      type="primary"
+      icon="el-icon-plus"
+      @click="create('add')"
+      class="margin-left"
+      >添加审核人员</el-button
+    >
+    <!--主表格-->
+    <el-table
+      class="table"
+      ref="table_form"
+      v-loading="listLoading"
+      :data="list"
+      element-loading-text="Loading"
+      border
+      fit
+      highlight-current-row
+    >
+      <el-table-column label="序号" align="center" width="80px">
+        <template slot-scope="scope">
+          {{ indexMethod(scope.$index) }}
+        </template>
+      </el-table-column>
+      <el-table-column label="照片" align="center">
+        <template slot-scope="scope">
+          <el-image
+            style="width: 70px; height: 70px"
+            :src="scope.row.userWhitelistLessVO.avatar"
+            :preview-src-list="[scope.row.userWhitelistLessVO.avatar]"
+          >
+            <div slot="error" class="image-slot">
+              {{ scope.row.userWhitelistLessVO.avatar ? "加载失败" : "暂无照片" }}
+            </div>
+          </el-image>
+        </template>
+      </el-table-column>
+      <el-table-column label="姓名" align="center">
+        <template slot-scope="scope">
+          {{ scope.row.userWhitelistLessVO.name | matchNull }}
+        </template>
+      </el-table-column>
+      <el-table-column label="手机号" align="center">
+        <template slot-scope="scope">
+          {{ scope.row.userWhitelistLessVO.phone | desensitization( 3, 7) }}
+        </template>
+      </el-table-column>
+      <el-table-column label="身份证号" align="center">
+        <template slot-scope="scope">
+          {{ scope.row.userWhitelistLessVO.idNumber | desensitization( 6,14) }}
+        </template>
+      </el-table-column>
+      <el-table-column label="卡号" align="center">
+        <template slot-scope="scope">
+          {{ scope.row.userWhitelistLessVO.cardIdEx | matchNull }}
+        </template>
+      </el-table-column>
+      <el-table-column label="创建时间" align="center">
+        <template slot-scope="scope">
+          {{ scope.row.createTime | matchNull }}
+        </template>
+      </el-table-column>
+      <el-table-column align="center" prop="" label="操作区" width="320">
+        <template slot-scope="scope">
+          <el-button
+            type="danger"
+            size="small"
+            @click="deleteUser(scope.row.userWhitelistCheckId)"
+            >删除</el-button
+          >
+          <el-button
+            type="primary"
+            size="small"
+            @click="create('update', scope.row)"
+            >编辑</el-button
+          >
+        </template>
+      </el-table-column>
+    </el-table>
+    <el-dialog
+      title="添加审核人"
+      :visible.sync="dialogVisible"
+      width="800px"
+      :close-on-click-modal="false"
+    >
+      <el-form
+        ref="form"
+        :model="form"
+        :rules="rules"
+        label-width="80px"
+        label-position="left"
+      >
+        <el-form-item label="选择企业" prop="adminId">
+          <el-select
+            style="width: 100%"
+            filterable
+            clearable
+            v-model="form.adminId"
+            placeholder="请选择企业"
+            @change="getUserWhitelist"
+          >
+            <el-option
+              v-for="item in admin_list"
+              :key="item.adminId"
+              :label="item.username"
+              :value="item.adminId"
+            >
+            </el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item label="审核人员" prop="adminId">
+          <el-select
+            style="width: 100%"
+            filterable
+            clearable
+            v-model="form.userWhitelistId"
+            placeholder="请选择审核人"
+          >
+            <el-option
+              v-for="item in user_list"
+              :key="item.userWhitelistId"
+              :label="item.name"
+              :value="item.userWhitelistId"
+            >
+            </el-option>
+          </el-select>
+        </el-form-item>
+      </el-form>
+      <div slot="footer" class="dialog-footer">
+        <el-button @click="dialogVisible = false"> 取消 </el-button>
+        <el-button type="primary" @click="add()"> 确定 </el-button>
+      </div>
+    </el-dialog>
+    <!--分页栏-->
+    <pagination
+      :total="total"
+      :page.sync="page.pageNum"
+      :limit.sync="page.pageSize"
+      @pagination="fetchData"
+    />
+  </div>
+</template>
+<script>
+import {
+  userWhitelistCheckGetPageList,
+  getUserWhitelist,getAdminList,
+  userWhitelistCheckInsert,
+  userWhitelistCheckDelete,
+} from "@/api/ordinary_user";
+import Pagination from "@/components/Pagination";
+export default {
+  components: { Pagination },
+  filters: {
+    matchNull(str) {
+      if (!str) {
+        return "未填写";
+      } else {
+        return str;
+      }
+    },
+    // 脱敏
+    desensitization(string = "", start, end) {
+      if (string) {
+        var star = "";
+        function makeStar(number) {
+          if (number > 0) {
+            star += "*";
+            return makeStar(--number);
+          } else {
+            return star;
+          }
+        }
+        return (
+          string.substring(0, start) +
+          makeStar(end - start) +
+          string.substring(end)
+        );
+      }
+    },
+  },
+  data() {
+    return {
+      // 主表格&主表格加载状态
+      list: null,
+      listLoading: true,
+      // 分页参数
+      page: {
+        data: {},
+        pageNum: 1,
+        pageSize: 10,
+      },
+      total: 0,
+
+      // 对话框标题
+      dialogTitle: {
+        add: "添加审核人",
+        update: "编辑审核人",
+      },
+      dialogType: "add",
+      form: {},
+      form_copy: {},
+      rules: {
+        adminId: [{ required: true, message: "请选择", trigger: "blur" }],
+        userWhitelistId: [{ required: true, message: "请选择", trigger: "blur" }],
+      },
+      dialogVisible: false,
+      adminId: this.$store.getters.adminId,
+      user_list: [],
+      admin_list: [],
+    };
+  },
+  created() {
+    this.fetchData();
+    this.getAdminList();
+    this.form_copy = JSON.parse(JSON.stringify(this.form));
+  },
+  methods: {
+    fetchData() {
+      this.listLoading = true;
+      userWhitelistCheckGetPageList(this.page).then((res) => {
+        this.list = res.data.list;
+        this.total = res.data.total;
+        this.listLoading = false;
+      });
+    },
+    getAdminList() {
+      getAdminList(this.adminId).then((res) => {
+        this.admin_list = res.data;
+      });
+    },
+    getUserWhitelist(e){
+      getUserWhitelist(e).then(res=>{
+        this.user_list=res.data
+      })
+    },
+    // 打开添加对话框
+    create(type) {
+      this.form = JSON.parse(JSON.stringify(this.form_copy));
+      this.dialogType = type;
+      this.dialogVisible = true;
+      this.$nextTick(() => {
+        this.$refs["form"].clearValidate();
+      });
+    },
+    // 确定添加
+    add() {
+      this.$refs["form"].validate((valid) => {
+        if (valid) {
+          userWhitelistCheckInsert(this.form).then((res) => {
+            this.dialogVisible = false;
+            this.fetchData();
+            this.$message({
+              type: "success",
+              message: "添加成功!",
+            });
+          });
+        }
+      });
+    },
+    // 删除
+    deleteUser(id) {
+      this.$confirm("确定要删除此人员吗?", "提示", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+        center: true,
+      }).then(() => {
+        userWhitelistCheckDelete(id).then((res) => {
+          this.fetchData();
+          this.$message({
+            type: "success",
+            message: "删除成功!",
+          });
+        });
+      });
+    },
+    // 返回列表序号
+    indexMethod(index) {
+      return (this.page.pageNum - 1) * this.page.pageSize + index + 1;
+    },
+  },
+};
+</script>
+
+<style scoped lang="scss">
+.table {
+  margin-top: 15px;
+}
+</style>

+ 1 - 0
src/views/basic_setup/index.vue

@@ -1003,6 +1003,7 @@ export default {
   display: flex;
   flex-wrap: wrap;
   padding: 0 5px;
+  width: 1150px;
   & > div {
     width: calc(50% - 30px);
     flex: none;

+ 16 - 33
src/views/user_manage/index.vue

@@ -844,7 +844,6 @@
               </el-checkbox-group>
             </el-form-item>
           </div>
-
           <div v-if="user_form.type === 5">
             <div class="flex" v-if="user_form.placeType === 0">
               <el-form-item
@@ -868,39 +867,7 @@
                 </el-radio-group>
               </el-form-item>
             </div>
-            <!-- <div class="flex" v-if="user_form.placeType === 0">
-              <el-form-item
-                label="小程序登录方式"
-                class="form-item-style item-margin-bottom"
-                prop="wxLoginType"
-              >
-                <el-radio-group v-model="user_form.wxLoginType">
-                  <el-radio :label="1">身份证号</el-radio>
-                  <el-radio :label="2">卡号</el-radio>
-                </el-radio-group>
-              </el-form-item>
-              <el-form-item
-                label="小程序实名认证"
-                class="form-item-style item-margin-bottom"
-                prop="isNeedRealAuthentication"
-              >
-                <el-radio-group v-model="user_form.isNeedRealAuthentication">
-                  <el-radio :label="true">启用</el-radio>
-                  <el-radio :label="false">停用</el-radio>
-                </el-radio-group>
-              </el-form-item>
-            </div> -->
             <div class="flex">
-              <!-- <el-form-item
-                label="是否输入手机号"
-                class="form-item-style item-margin-bottom"
-                prop="mobileAutoInputFlag"
-              >
-                <el-radio-group v-model="user_form.mobileAutoInputFlag">
-                  <el-radio :label="2">否</el-radio>
-                  <el-radio :label="1">是</el-radio>
-                </el-radio-group>
-              </el-form-item> -->
               <el-form-item
                 label="是否开启考试"
                 class="form-item-style item-margin-bottom"
@@ -945,6 +912,18 @@
                 </el-radio-group>
               </el-form-item>
             </div>
+            <div class="flex" v-if="user_form.placeType==2">
+              <el-form-item
+                label="审核配置"
+                prop="buildingCheckType"
+                class="form-item-style item-margin-bottom"
+              >
+                <el-radio-group v-model="user_form.buildingCheckType">
+                  <el-radio :label="1">受访人审核</el-radio>
+                  <el-radio :label="2">指定人员审核</el-radio>
+                </el-radio-group>
+              </el-form-item>
+            </div>
           </div>
         </div>
         <!-- 登录配置 -->
@@ -2055,6 +2034,7 @@ export default {
         visitorAppPhoto: true,
         visitorAppPhone: true,
         visitorAppLoginList: [1, 2],
+        buildingCheckType:1,
       },
       user_form_copy: {},
       scene_list: [
@@ -2328,6 +2308,9 @@ export default {
         visitorAppLoginList: [
           { required: true, message: "请选择", trigger: "blur" },
         ],
+        buildingCheckType: [
+          { required: true, message: "请选择", trigger: "blur" },
+        ],
       },
       // 批量导入结果返回
       resultVisible: false,