gaoluyang
2025-03-25 140751bbfab56528b6f2e8dab4f3aea4ecb17e0a
进出人员管理-赋值默认值
已修改1个文件
11 ■■■■■ 文件已修改
src/views/CNAS/resourceDemand/facilitiesEnvironment/component/Personnel-management-dia.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/CNAS/resourceDemand/facilitiesEnvironment/component/Personnel-management-dia.vue
@@ -77,6 +77,7 @@
  addForeignRegister,
  updateForeignRegister
} from '@/api/cnas/resourceDemand/foreignRegister/foreignRegister'
import {mapGetters} from "vuex";
export default {
  name: 'Personnel-management-dia',
@@ -117,6 +118,9 @@
  mounted() {
  },
  computed: {
    ...mapGetters(["userId"]),
  },
  // 方法集合
  methods: {
    // 打开弹框
@@ -127,7 +131,12 @@
      if (type !== 'add') {
        this.searchInfo(row)
      } else {
        this.form.accompanyingId = JSON.parse(localStorage.getItem("user")).userId
        this.form.accompanyingId = this.userId
        this.form.area = '装备电缆试验室'
        this.form.reason = '参观实验室'
        this.form.accompanyingId = 64
        this.form.approveId = 65
        this.form.confidentiality = '符合'
      }
    },
    // 查询详情