{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-fvue\\src\\views\\main\\systemSafety\\DeviceManagement.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\src\\views\\main\\systemSafety\\DeviceManagement.vue","mtime":1667327530153},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\babel.config.js","mtime":1667327525434},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar DevicePerson = function DevicePerson() {\n  return import(\"./DevicePerson.vue\");\n};\n\nexport default {\n  components: {\n    DevicePerson: DevicePerson\n  },\n  data: function data() {\n    return {\n      dialogVisible: false,\n      relationDialogVisible: false,\n      data: [],\n      userData: [],\n      // 关联人员表\n      options: [{\n        key: undefined,\n        value: '请选择'\n      }, {\n        key: 'NON_SECRET',\n        value: '非密'\n      }, {\n        key: 'INTERIOR',\n        value: '内部'\n      }, {\n        key: 'SECRET',\n        value: '秘密'\n      }, {\n        key: 'CONFIDENTIALITY',\n        value: '机密'\n      }, {\n        key: 'TOP_SECRET',\n        value: '绝密'\n      }],\n      filtersOptions: [{\n        value: 'NON_SECRET',\n        text: '非密'\n      }, {\n        value: 'INTERIOR',\n        text: '内部'\n      }, {\n        value: 'SECRET',\n        text: '秘密'\n      }, {\n        value: 'CONFIDENTIALITY',\n        text: '机密'\n      }, {\n        value: 'TOP_SECRET',\n        text: '绝密'\n      }],\n      pageResult: {\n        page: 1,\n        pageSize: 50,\n        total: 0\n      },\n      SecurityMachine: {\n        name: '',\n        code: '',\n        ip: '',\n        securityGrade: '',\n        memo: ''\n      },\n      saveMethod: 'POST',\n      ipReg: '^((25[0-5]|2[0-4]\\\\d|[1]{1}\\\\d{1}\\\\d{1}|[1-9]{1}\\\\d{1}|\\\\d{1})($|(?!\\\\.$)\\\\.)){4}$'\n    };\n  },\n  mounted: function mounted() {\n    this.$validator = this.$root.$validator;\n  },\n  methods: {\n    rowClick: function rowClick(row, column, event) {\n      this.$refs.htTable.$refs.htTable.toggleRowSelection(row);\n    },\n    showDialog: function showDialog(id) {\n      var _this = this;\n\n      if (id) {\n        this.saveMethod = 'POST';\n        this.$http.get('${uc}/uc/Machine/v1/' + id).then(function (resp) {\n          _this.SecurityMachine = resp.data;\n          _this.dialogVisible = true;\n        }, function (error) {\n          reject(error);\n        });\n      } else {\n        this.saveMethod = 'POST';\n        this.dialogVisible = true;\n      }\n    },\n    beforeCloseDialog: function beforeCloseDialog() {\n      this.SecurityMachine = {};\n      this.dialogVisible = false;\n    },\n    beforeCloseRelationDialog: function beforeCloseRelationDialog() {\n      this.SecurityMachine = {};\n      this.relationDialogVisible = false;\n    },\n    loadData: function loadData(param, cb) {\n      var _this2 = this;\n\n      this.$http.post('${uc}/uc/Machine/v1/query', param).then(function (resp) {\n        var response = resp.data;\n        _this2.data = response.rows;\n        _this2.pageResult = {\n          page: response.page,\n          pageSize: response.pageSize,\n          total: response.total\n        };\n      }, function (error) {\n        reject(error);\n      }).finally(function () {\n        return cb();\n      });\n    },\n    afterSaveData: function afterSaveData() {\n      var _this3 = this;\n\n      setTimeout(function () {\n        _this3.beforeCloseDialog();\n\n        _this3.$refs.htTable.load();\n      }, 500);\n    },\n    reletePerson: function reletePerson(row) {\n      this.$refs.devicePerson.showDialog(row.id);\n    }\n  }\n};",null]}