1 line
18 KiB
JSON
1 line
18 KiB
JSON
|
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\visitor\\index.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\visitor\\index.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.regexp.search\";\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//\nimport mixinViewModule from '@/mixins/view-module';\nimport addOrUpdate from '@/views/modules/visitor/visitor-add-or-update';\nimport viewVisitor from '@/views/modules/visitor/visitor-view';\nimport { getDictLabel, getDictDataList } from '@/utils';\nexport default {\n mixins: [mixinViewModule],\n components: {\n addOrUpdate: addOrUpdate,\n viewVisitor: viewVisitor\n },\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/scvisitorrecord/page',\n deleteURL: '/system/scvisitorrecord',\n getDataListIsPage: true\n },\n genderList: getDictDataList('gender').filter(function (item) {\n return item.dictValue < 2;\n }),\n dataForm: {\n scStuname: '',\n vrName: '',\n scSex: '',\n deviceNumber: ''\n },\n equipList: [],\n dataList: [],\n limit: 6\n };\n },\n computed: {\n previewList: function previewList() {\n var _this = this;\n\n return this.dataList.map(function (item) {\n return _this.$ImgServerUrl + item.vrPhoneimg;\n });\n }\n },\n created: function created() {\n this.getEquipList();\n },\n activated: function activated() {//let params = this.$route.params;\t\n // // 判断从闸机设备过来 查询对应出入数据\n // let visitorName = window.sessionStorage.getItem('visitorName');\n // if (visitorName) {\n // \twindow.sessionStorage.removeItem('visitorName');\n // \tthis.dataForm.vrName = visitorName;\n // \tthis.search();\n // }\n },\n methods: {\n addVisitor: function addVisitor() {\n this.$refs['addOrUpdate'].init();\n },\n editVisitor: function editVisitor(row) {\n this.$refs['addOrUpdate'].init(row);\n },\n search: function search() {\n this.page = 1;\n this.query();\n },\n resetQuery: function resetQuery() {\n this.dataForm = {\n scStuname: '',\n scSex: ''\n };\n this.search();\n },\n // 详情\n viewHandle: function viewHandle(row) {\n this.$refs['viewVisitor'].init(row);\n },\n // 还卡\n returnCardHandle: function returnCardHandle(row) {\n var _this2 = this;\n\n this.$confirm('确认进行还卡操作?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(function () {\n _this2.$http({\n url: \"/system/scvisitorrecord/returncard/\".concat(row.vrId),\n method: \"put\"\n }).then(function (_ref) {\n var res = _ref.data;\
|