Răsfoiți Sursa

提交样式

luowei 2 ani în urmă
părinte
comite
38be637057
3 a modificat fișierele cu 34 adăugiri și 695 ștergeri
  1. 1 15
      src/router/index.js
  2. 33 32
      src/views/system/user/extend.vue
  3. 0 648
      src/views/system/user/information.vue

+ 1 - 15
src/router/index.js

@@ -42,21 +42,7 @@ export const constantRoutes = [
     ]
   },
 
-    //用户管理扩展
-    {
-      path: '/system/user-information',
-      component: Layout,
-      hidden: true,
-      permissions: ['system:user:list'],
-      children: [
-        {
-          path: 'information/:id(\\d+)',
-          component: () => import('@/views/system/user/information'),
-          name: 'Data',
-          meta: { title: '用户信息管理', activeMenu: '/system/user' }
-        }
-      ]
-    },
+
 // {
   //   //自己添加的公开路由页面,不要添加在动态路由中!
   //   path: '/dept/extend',

+ 33 - 32
src/views/system/user/extend.vue

@@ -7,7 +7,6 @@
         <el-descriptions-item label="角色">{{ roleName }}</el-descriptions-item>
         <el-descriptions-item label="性别">{{ sex }}</el-descriptions-item>
         <el-descriptions-item label="状态">{{ status }}</el-descriptions-item>
-        <!-- <el-descriptions-item label="机构类型">一级机构</el-descriptions-item> -->
       </el-descriptions>
     </div>
     <div class="info-box">
@@ -39,13 +38,13 @@
         </el-row>
         <el-row  >
           <el-col :xs="24" :sm="12" :md="8" :lg="6" >
-            <el-form-item label="所属部门" prop="deptId">
-              <tree-select v-model="formData.deptId"  :options="deptList" :show-count="true" :normalizer="tenantIdnormalizer" placeholder="所属部门"> </tree-select>
+            <el-form-item  label="所属部门" prop="deptId">
+              <tree-select style="width: 217px;" v-model="formData.deptId"  :options="deptList" :show-count="true" :normalizer="tenantIdnormalizer" placeholder="所属部门"> </tree-select>
             </el-form-item>
           </el-col>
           <el-col :xs="24" :sm="12" :md="8" :lg="6" >
-            <el-form-item label="责任职务"  prop="duties">
-              <el-select v-model="formData.duties" placeholder="请选择">
+            <el-form-item  label="责任职务"  prop="duties">
+              <el-select style="width: 217px;" v-model="formData.duties" placeholder="请选择">
         <el-option
                 v-for="dict in dict.type.sys_duties"
                 :key="dict.value"
@@ -55,34 +54,37 @@
               </el-select> 
             </el-form-item>
           </el-col>
-          
+       
           <el-col :xs="24" :sm="12" :md="8" :lg="6" >
-            <el-form-item label="用工形式" prop="workType">
-              <el-select v-model="formData.workType" placeholder="请选择">
+            <el-form-item  label="最高学历" prop="highestEducation">
+              <el-select style="width: 217px;" v-model="formData.highestEducation" placeholder="请选择">
         <el-option
-                v-for="dict in dict.type.sys_work_type"
+                v-for="dict in dict.type.sys_highest_education"
                 :key="dict.value"
                 :label="dict.label"
                 :value="dict.value"
               />
               </el-select> 
-            </el-form-item>
+              </el-form-item>
           </el-col>
+        </el-row>
+        <el-row>
+      
           <el-col :xs="24" :sm="12" :md="8" :lg="6" >
-            <el-form-item label="最高学历" prop="highestEducation">
-              <el-select v-model="formData.highestEducation" placeholder="请选择">
+            <el-form-item  label="用工形式" prop="workType">
+              <el-select style="width: 217px;" v-model="formData.workType" placeholder="请选择">
         <el-option
-                v-for="dict in dict.type.sys_highest_education"
+                v-for="dict in dict.type.sys_work_type"
                 :key="dict.value"
                 :label="dict.label"
                 :value="dict.value"
               />
               </el-select> 
-              </el-form-item>
+            </el-form-item>
           </el-col>
           <el-col :xs="24" :sm="12" :md="8" :lg="6" >
-            <el-form-item label="学历取得方式" prop="educationType">
-              <el-select v-model="formData.educationType" placeholder="请选择">
+            <el-form-item  label="学历取得方式" prop="educationType">
+              <el-select style="width: 217px;" v-model="formData.educationType" placeholder="请选择">
         <el-option
                 v-for="dict in dict.type.sys_education_type"
                 :key="dict.value"
@@ -90,27 +92,26 @@
                 :value="dict.value"
               />
               </el-select> 
-            
             </el-form-item>
           </el-col>
-        </el-row>
-        <el-row>
-    
+
           <el-col :xs="24" :sm="12" :md="8" :lg="6" >
-            <el-form-item label="初级以上相关专业技术职业资格" prop="professionalQualifications">
-              <el-input v-model="formData.professionalQualifications" placeholder="请输入">
+            <el-form-item  label="初级以上相关专业技术职业资格" prop="professionalQualifications">
+              <el-input style="width: 217px;" v-model="formData.professionalQualifications" placeholder="请输入">
               </el-input>
             </el-form-item>
           </el-col>
-        
+        </el-row>
+
+        <el-row>
           <el-col :xs="24" :sm="12" :md="8" :lg="6" >
-            <el-form-item label="持证上岗未通过原因" prop="certificateFailReason">
-              <el-input v-model="formData.certificateFailReason" placeholder="请输入">
+            <el-form-item  label="持证上岗未通过原因" prop="certificateFailReason">
+              <el-input style="width: 217px;" v-model="formData.certificateFailReason" placeholder="请输入">
               </el-input>
             </el-form-item>
           </el-col>
           <el-col :xs="24" :sm="12" :md="8" :lg="6" >
-            <el-form-item label="参加工作时间" prop="workTime">
+            <el-form-item style="width: 517px;" label="参加工作时间" prop="workTime">
               <el-date-picker
                 clearable
                 v-model="formData.workTime"
@@ -121,7 +122,7 @@
             </el-form-item>
           </el-col>
           <el-col :xs="24" :sm="12" :md="8" :lg="6" >
-            <el-form-item label="现任职时间"  prop="workTime">
+            <el-form-item style="width: 517px;" label="现任职时间"  prop="workTime">
               <el-date-picker
                 clearable
                 v-model="formData.entryTime"
@@ -132,7 +133,7 @@
             </el-form-item>
           </el-col>
           <el-col :xs="24" :sm="12" :md="8" :lg="6" >
-            <el-form-item label="出生日期" prop="bornTime">
+            <el-form-item style="width: 517px;" label="出生日期" prop="bornTime">
               <el-date-picker
                 clearable
                 v-model="formData.bornTime"
@@ -143,14 +144,14 @@
             </el-form-item>
           </el-col>
           <el-col :xs="24" :sm="12" :md="8" :lg="6" >
-            <el-form-item label="分管领导姓名" prop="responsibilitiesLeaderName">
-              <el-input v-model="formData.responsibilitiesLeaderName" placeholder="请输入">
+            <el-form-item  label="分管领导姓名" prop="responsibilitiesLeaderName">
+              <el-input style="width: 217px;" v-model="formData.responsibilitiesLeaderName" placeholder="请输入">
               </el-input>
             </el-form-item>
           </el-col>
           <el-col :xs="24" :sm="12" :md="8" :lg="6" >
-            <el-form-item label="分管领导职务" prop="responsibilitiesLeaderDuties">
-              <el-select v-model="formData.responsibilitiesLeaderDuties" placeholder="请选择">
+            <el-form-item  label="分管领导职务" prop="responsibilitiesLeaderDuties">
+              <el-select style="width: 217px;" v-model="formData.responsibilitiesLeaderDuties" placeholder="请选择">
               <el-option
                 v-for="dict in dict.type.sys_duties"
                 :key="dict.value"

+ 0 - 648
src/views/system/user/information.vue

@@ -1,648 +0,0 @@
-<template>
-  <div class="container" style="
-      min-height: 100%;
-      padding-bottom: 100px;
-      margin-left: 25px;
-      margin-top: 20px;
-    ">
-
-    <el-descriptions title="编辑管理人员信息">
-      <el-descriptions-item label="用户名">{{ username }}</el-descriptions-item>
-      <el-descriptions-item label="姓名">{{ name }}</el-descriptions-item>
-      <el-descriptions-item label="工号">{{
-        jobNumber
-      }}</el-descriptions-item>
-      <el-descriptions-item label="手机">{{
-        phone
-      }}</el-descriptions-item>
-      <el-descriptions-item label="性别">{{
-        gender > 0 ? (gender > 1 ? "未知" : "女") : "男"
-      }}</el-descriptions-item>
-      <el-descriptions-item label="状态">{{
-        isLock !== "0" ? "禁用" : "启用"
-      }}</el-descriptions-item>
-      <el-descriptions-item label="机构">{{ orgName }}</el-descriptions-item>
-
-      <el-descriptions-item label="角色">{{
-        roleName
-      }}</el-descriptions-item>
-
-      <!-- <el-descriptions-item label="机构类型">一级机构</el-descriptions-item> -->
-    </el-descriptions>
-
-    <el-descriptions title="补充基础信息"></el-descriptions>
-    <div class="info-box">
-      <el-form inline class="demo-form-inline" label-position="left" label-width="120px">
-        <el-row >
-          <!-- <el-col :span="8">
-            <el-form-item label="机构类型">
-              <el-select v-model="orgType" placeholder="机构类型">
-                <el-option
-                  v-for="(orgTyp, key) in deptList"
-                  :key="key"
-                  :label="orgTyp.label"
-                  :value="orgTyp.value"
-                ></el-option>
-              </el-select>
-            </el-form-item>
-          </el-col> -->
-
-        
-          <el-col :span="8">
-            <el-form-item label="归属部门" prop="deptId">
-              <treeselect v-model="deptId" :options="deptList" :show-count="true" :normalizer="tenantIdnormalizer"
-                :props="{ checkStrictly: true, label: 'deptName' }" placeholder="请选择归属部门" />
-            </el-form-item>
-          </el-col>
-     
-
-          <!-- <el-col :span="8">
-            <el-form-item  label="天气区域编码" >
-              <el-input
-                v-model="weatherAreaCode"
-                placeholder="天气区域编码"
-              ></el-input>
-            </el-form-item>
-          </el-col>
-          <el-col :span="8">
-            <el-form-item  label="营业场所面积">
-              <el-input v-model="premisesArea" placeholder="营业场所面积"></el-input>
-            </el-form-item>
-          </el-col>
-          <el-col :span="8">
-           <el-form-item
-             
-             label="建设时间"
-             prop="constructionTime"
-           >
-             <el-date-picker
-               clearable
-               v-model="constructionTime"
-               type="date"
-               value-format="yyyy-MM-dd HH:mm:ss"
-               placeholder="请选择建设时间"
-             >
-             </el-date-picker>
-           </el-form-item>
-         </el-col>
-          <el-col :span="8">
-            <el-form-item
-              
-              label="最近一次更新"
-              prop="lastUpdateTime"
-            >
-              <el-date-picker
-                clearable
-                v-model="lastUpdateTime"
-                type="date"
-                value-format="yyyy-MM-dd HH:mm:ss"
-                placeholder="请选择更新日期"
-              >
-              </el-date-picker>
-            </el-form-item>
-          </el-col>
-          <el-col :span="8">
-            <el-form-item  label="平台品牌">
-              <el-select v-model="platformBrand" placeholder="平台品牌">
-                <el-option
-                  v-for="(platformB, key) in platformBrands"
-                  :key="key"
-                  :label="platformB.label"
-                  :value="platformB.value"
-                ></el-option>
-              </el-select>
-            </el-form-item>
-          </el-col>
-          <el-col :span="8">
-            <el-form-item
-            
-              label="平台供应商品牌">
-              <el-select
-                v-model="platformSupplierBrand"
-                placeholder="平台供应商品牌">
-                <el-option
-                  v-for="(platformSupplierB, key) in platformSupplierBrands"
-                  :key="key"
-                  :label="platformSupplierB.label"
-                  :value="platformSupplierB.value"
-                ></el-option>
-              </el-select>
-            </el-form-item>
-          </el-col> -->
-        </el-row>
-      </el-form>
-    </div>
-    
-    <div style="margin-top: 50px; margin-left: 42%">
-      <el-button type="primary" @click="saveExtend" size="small">提交</el-button>
-      <el-button type="primary" @click="nosaveExtend" size="small">取消</el-button>
-    </div>
-  </div>
-</template>
-
-<script>
-import uploadpng from "@/assets/images/upload.png";
-import uplpng from "@/assets/images/upl.png";
-import { deptTreeList } from "@/api/system/public";
-import {
-  getUser
-} from "@/api/system/user";
-import{ getInformationByUserId}from "@/api/system/information"
-import request from '@/utils/request'
-import treeselect from '@riophae/vue-treeselect'
-import "@riophae/vue-treeselect/dist/vue-treeselect.css";
-import { deptTreeSelect } from "@/api/system/public";
-
-// import {
-//   listOrgPhysicalDefenseConstruction,
-//   getOrgPhysicalDefenseConstruction,
-//   addOrgPhysicalDefenseConstruction,
-//   updateOrgPhysicalDefenseConstruction,
-//   delOrgPhysicalDefenseConstruction,
-// } from "@/api/system/OrgPhysicalDefenseConstruction";
-// import {
-//   listBankPhysicalDefenseConstruction,
-//   getBankPhysicalDefenseConstruction,
-//   delBankPhysicalDefenseConstruction,
-//   addBankPhysicalDefenseConstruction,
-//   updateBankPhysicalDefenseConstruction,
-// } from "@/api/system/BankPhysicalDefenseConstruction";
-export default {
-  dicts:['sys_highest_education'],
-  props: [],
-
-  components: { treeselect },
-  data() {
-    return {
-      //个人信息回显的
-      username: null,
-      name: null,
-      jobNumber: null,
-      phone: null,
-      gender: null,
-      isLock: null,
-      orgName: null,
-      roleName: null,
-      id: null,
-      //机构补充信息
-      deptId: null,
-      dutiesId: null,
-      workType: null,
-      isFullTime: null,
-      highestEducation: null,
-      educationType: null,
-      certificateWork: null,
-      professionalQualifications: null,
-      certificateFailReason: null,
-      workTime: null,
-      entryTime: null,
-      bornTime: null,
-      responsibilitiesLeaderName: null,
-      responsibilitiesLeaderDuties: null,
-      qualificationCertificateUrl: null,
-          // 查询参数
-          queryParams: {
-        pageNum: 1,
-        pageSize: 10,
-        name: null,
-        updateId: null,
-        orgType: null
-      },
-      // orgType: 1,
-      // weatherAreaCode: null,
-      // premisesArea: null,
-      // ownership: null,
-      // outsideArea: null,
-      // askari: 1,
-      // businessLibraryType: 1,
-      // dutyMode: 0,
-      // remoteControl: null,
-      // selfServiceBank: null,
-      // lobbyEquipment: 1,
-      // wallPenetratingEquipment: 2,
-      // platformBrand: null,
-      // platformSupplierBrand: null,
-      // constructionTime:null,
-      // lastUpdateTime:null,
-      //机构建设数据
-
-      // 遮罩层
-      orgloading: true,
-      // 选中数组
-      orgids: [],
-      // 选中数组
-      Bankids: [],
-      // 非单个禁用
-      single: true,
-      // 非多个禁用
-      multiple: true,
-      // 显示搜索条件
-      showSearch: true,
-      // 总条数
-      total: 0,
-      // 机构物防建设表格数据
-      constructionList: [],
-      // 银行物防建设表格数据
-      BankPhysicalDefenseConstructionList: [],
-      // 部门树选项
-      deptOptions: undefined,
-      // 机构树选项
-      deptList: undefined,
-      // 弹出层标题
-      orgtitle: "",
-      // 弹出层标题
-      Banktitle: "",
-      // 是否显示弹出层
-      Bankopen: false,
-      // 表单参数
-      Bankform: {},
-      // 是否显示弹出层
-      orgopen: false,
-      // 表单参数
-      orgform: {},
-      //2个图片信息
-      uploadp: uploadpng,
-      uplp: uplpng,
-      //下拉框生成信息
-      orgTypes: {
-        orgTyp1: { label: "营业网点", value: 0 },
-        orgTyp2: { label: "监控中心", value: 1 },
-      },
-      businessLibraryTypes: {
-        businessLibraryTyp1: { label: "1类业务库", value: 1 },
-        businessLibraryTyp2: { label: "2类业务库", value: 2 },
-        businessLibraryTyp3: { label: "3类业务库", value: 3 },
-      },
-      platformBrands: {
-        platformBrand1: { label: "品牌1", value: 0 },
-        platformBrand2: { label: "品牌2", value: 1 },
-      },
-      platformSupplierBrands: {
-        platformSupplierBrand1: { label: "品牌1", value: 0 },
-        platformSupplierBrand2: { label: "品牌2", value: 1 },
-      },
-      prop: "",
-      propItem: "",
-
-      row: "",
-    };
-  },
-  watch: {},
-  computed: {
-    switchModel: {
-      get() {
-        return this.switchValue === 1; // 将0转换为false,1转换为true
-      },
-      set(value) {
-        this.switchValue = value ? 1 : 0; // 将false转换为0,true转换为1
-      },
-    },
-  },
-  /** 查询机构下拉树结构 */
-  // getDeptTree() {
-  //     deptTreeSelect().then(response => {
-  //       this.deptOptions = response.data;
-  //       console.log(this.deptOptions, ' this.deptOptions')
-  //       this.defaultKeys.push(response.data[0].id);
-  //       this.queryParams.orgId = response.data[0].id;
-  //       this.handleQuery();
-  //     });
-  //   },
-
-
-  created() {
-    this.getOrgInfo();
-    this.getDeptTreeList();
-
-    // this.getOrgPhysicalDefenseConstructionInfo();
-    //this.getBankPhysicalDefenseConstructionInfo();
-  },
-  mounted() { },
-
-  methods: {
-
-    //自定义数据
-    tenantIdnormalizer(node, instanceId) {
-      if (node.children && !node.children.length) {
-        delete node.children
-      }
-      return {
-        id: node.deptId,
-        label: node.deptName,
-        children: node.children
-      }
-    },
-
-     /** 查询部门下拉树结构 */
-     getDeptTree() {
-      deptTreeSelect().then(response => {
-        this.deptOptions = response.data;
-        console.log(this.deptOptions, ' this.deptOptions')
-        this.defaultKeys.push(response.data[0].id);
-        this.queryParams.orgId = response.data[0].id;
-        this.handleQuery();
-      });
-    },
-    tenantIdnormalizer(node, instanceId) {
-      if (node.children && !node.children.length) {
-        delete node.children
-      }
-      return {
-        id: node.id,
-        label: node.name,
-        children: node.children
-      }
-    },
-        // 表单重置
-        reset() {
-      this.form = {
-        id: null,
-        checkName: null,
-        areaId: null,
-        orgId: null,
-        createTime: null,
-        updateTime: null,
-        updateId: null,
-        createBy: null,
-        delFlag: null,
-        updateBy: null
-      };
-      this.resetForm("form");
-    },
-    request() { },
-    handleChange(value) { },
-    getOrgInfo() {
-      getUser(this.$route.params.id).then((data) => {
-        if (data.data != null) {
-          this.username = data.data.username;
-          this.name = data.data.name;
-          this.jobNumber = data.data.jobNumber;
-          this.phone = data.data.phone;
-          this.gender = data.data.gender;
-          this.isLock = data.data.isLock;
-          this.orgName = data.data.orgName;
-          this.roleName = data.roleName;
-
-        }
-      });
-    },
-    /** 查询机构下拉树结构 */
-    getDeptTreeList() {
-      deptTreeList().then(response => {
-        this.deptList = response.data;
-        this.defaultKeys.push(response.data[0].deptId);
-        this.queryParams.deptId = response.data[0].deptId;
-        this.handleQuery();
-      });
-    },
-
-    getInformation(){
-      getInformationByUserId(this.$route.params.id).then((data)=>{
-        if (data.data != null) {
-          this.deptId=data.data.deptId;
-          this.dutiesId=data.data.dutiesId;
-          this.workType=data.data.workType;
-          this.isFullTime=data.data.isFullTime;
-          this.highestEducation=data.data.highestEducation;
-          this.educationType=data.data.educationType;
-          this.certificateWork=data.data.certificateWork;
-          this.professionalQualifications=data.data.professionalQualifications;
-          this.certificateFailReason=data.data.certificateFailReason;
-          this.workTime=data.data.workTime;
-          this.entryTime=data.data.entryTime;
-          this.bornTime=data.data.bornTime;
-          this.responsibilitiesLeaderName=data.data.responsibilitiesLeaderName;
-          this.responsibilitiesLeaderDuties=data.data.responsibilitiesLeaderDuties;
-          this.qualificationCertificateUrl=data.data.qualificationCertificateUrl;
-        }
-      })
-    },
-    // getExtendInfo() {
-    //   getExtendByOrgId(this.$route.params.id).then((data) => {
-
-    //     if (data.data != null) {
-    //       this.orgType = data.data.orgType;
-    //       this.weatherAreaCode = data.data.weatherAreaCode;
-    //       this.premisesArea = data.data.premisesArea;
-    //       this.ownership = data.data.ownership;
-    //       this.outsideArea = data.data.outsideArea;
-    //       this.askari = data.data.askari;
-    //       this.remoteControl = data.data.remoteControl;
-    //       this.selfServiceBank = data.data.selfServiceBank;
-    //       this.lobbyEquipment = data.data.lobbyEquipment;
-    //       this.wallPenetratingEquipment = data.data.wallPenetratingEquipment;
-    //     }
-    //   });
-    // },
-    getOrgPhysicalDefenseConstructionInfo() {
-      this.orgloading = true;
-      let dat = { orgId: this.$route.params.id };
-      listOrgPhysicalDefenseConstruction(dat).then((data) => {
-        console.log(data);
-        this.constructionList = data.rows;
-        this.orgloading = false;
-      });
-    },
-
-
-    tenantIdnormalizer(node, instanceId) {
-      if (node.children && !node.children.length) {
-        delete node.children
-      }
-      return {
-        id: node.id,
-        label: node.name,
-        children: node.children
-      }
-    },
-    // 取消按钮
-    Bankcancel() {
-      this.Bankopen = false;
-      this.Bankreset();
-    },
-
-    // 多选框选中数据
-    handleBankSelectionChange(selection) {
-      this.Bankids = selection.map((item) => item.id);
-      this.single = selection.length !== 1;
-      this.multiple = !selection.length;
-    },
-    /** 新增按钮操作 */
-    handleBankAdd() {
-      this.Bankreset();
-      this.Bankopen = true;
-      this.Banktitle = "添加银行物防建设";
-    },
-    /** 修改按钮操作 */
-    handleBankUpdate(row) {
-      this.Bankreset();
-      const id = row.id || this.Bankids;
-      getBankPhysicalDefenseConstruction(id).then((response) => {
-        this.Bankform = response.data;
-        this.Bankopen = true;
-        this.Banktitle = "修改银行物防建设";
-      });
-    },
-    /** 提交按钮 */
-    submitBankForm() {
-      this.Bankform.orgId = this.$route.params.id;
-      this.$refs["Bankform"].validate((valid) => {
-        if (valid) {
-          if (this.Bankform.id != null) {
-            updateBankPhysicalDefenseConstruction(this.Bankform).then(
-              (response) => {
-                this.$modal.msgSuccess("修改成功");
-                this.Bankopen = false;
-                this.getBankPhysicalDefenseConstructionInfo();
-              }
-            );
-          } else {
-            addBankPhysicalDefenseConstruction(this.Bankform).then(
-              (response) => {
-                this.$modal.msgSuccess("新增成功");
-                this.Bankopen = false;
-                this.getBankPhysicalDefenseConstructionInfo();
-              }
-            );
-          }
-        }
-      });
-    },
-    /** 删除按钮操作 */
-    handleBankDelete(row) {
-      const Bankids = row.id || this.Bankids;
-      this.$modal
-        .confirm('是否确认删除银行物防建设编号为"' + Bankids + '"的数据项?')
-        .then(function () {
-          return delBankPhysicalDefenseConstruction(Bankids);
-        })
-        .then(() => {
-          this.getBankPhysicalDefenseConstructionInfo();
-          this.$modal.msgSuccess("删除成功");
-        })
-        .catch(() => { });
-    },
-    // 表单重置
-    // orgreset() {
-    //   this.orgform = {
-    //     id: null,
-    //     standard: null,
-    //     dateOfCompliance: null,
-    //     certificateEvidence: null,
-    //     certificate: null,
-    //     evidence: null,
-    //     createTime: null,
-    //     updateTime: null,
-    //     createBy: null,
-    //     updateBy: null,
-    //     orgId: null,
-    //   };
-    //   this.resetForm("orgform");
-    // },
-    // 取消按钮
-    orgcancel() {
-      this.orgopen = false;
-      this.orgreset();
-    },
-    // 多选框选中数据
-    handleOrgSelectionChange(selection) {
-      this.orgids = selection.map((item) => item.id);
-      this.single = selection.length !== 1;
-      this.multiple = !selection.length;
-    },
-    /** 新增按钮操作 */
-    handleOrgAdd() {
-      this.orgreset();
-      this.orgopen = true;
-      this.orgtitle = "添加机构物防建设";
-    },
-    /** 修改按钮操作 */
-    handleOrgUpdate(row) {
-      this.orgreset();
-      const id = row.id || this.orgids;
-      getOrgPhysicalDefenseConstruction(id).then((response) => {
-        // console.log(response)
-        this.orgform = response.data;
-        this.orgopen = true;
-        this.orgtitle = "修改机构物防建设";
-      });
-    },
-    /** 提交按钮 */
-    submitOrgForm() {
-      this.orgform.orgId = this.$route.params.id;
-      this.$refs["orgform"].validate((valid) => {
-        if (valid) {
-          if (this.orgform.id != null) {
-            updateOrgPhysicalDefenseConstruction(this.orgform).then(
-              (response) => {
-                this.$modal.msgSuccess("修改成功");
-                this.orgopen = false;
-                this.getOrgPhysicalDefenseConstructionInfo();
-              }
-            );
-          } else {
-            addOrgPhysicalDefenseConstruction(this.orgform).then((response) => {
-              this.$modal.msgSuccess("新增成功");
-              this.orgopen = false;
-              this.getOrgPhysicalDefenseConstructionInfo();
-            });
-          }
-        }
-      });
-    },
-    /** 删除按钮操作 */
-    handleOrgDelete(row) {
-      const orgids = row.id || this.orgids;
-      this.$modal
-        .confirm('是否确认删除机构物防建设编号为"' + orgids + '"的数据项?')
-        .then(function () {
-          return delOrgPhysicalDefenseConstruction(orgids);
-        })
-        .then(() => {
-          this.getOrgPhysicalDefenseConstructionInfo();
-          this.$modal.msgSuccess("删除成功");
-        })
-        .catch(() => { });
-    },
-    saveExtend() {
-      let dat = {
-        deptId: this.deptId,
-        dutiesId: this.dutiesId,
-        workType: this.premisesArea,
-        ownership: this.ownership,
-        outsideArea: this.outsideArea,
-        askari: this.askari,
-        businessLibraryType: this.businessLibraryType,
-        dutyMode: this.dutyMode,
-        remoteControl: this.remoteControl,
-        selfServiceBank: this.selfServiceBank,
-        lobbyEquipment: this.lobbyEquipment,
-        wallPenetratingEquipment: this.wallPenetratingEquipment,
-        platformBrand: this.platformBrand,
-        platformSupplierBrand: this.platformSupplierBrand,
-        constructionTime: this.constructionTime,
-        lastUpdateTime: this.lastUpdateTime,
-      };
-      console.log(dat);
-    },
-    nosaveExtend() { },
-  },
-  fillter: {},
-};
-</script>
-
-<style scoped>
-.demo-form-inline {}
-
-.dialog-footer {}
-
-.container {}
-
-.image-container {
-  display: inline-block;
-  width: 200px;
-  height: 200px;
-  margin-right: 20px;
-  /* 设置与下一个div的水平间距 */
-}
-</style>