hz-zhhq-web/node_modules/.cache/babel-loader/ddd566f7fd2d6aa5c7e4d3d52d2...

1 line
6.0 KiB
JSON

{"remainingRequest":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js!E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js!E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!E:\\hz-zhhq-web\\src\\views\\visitor\\pushRecord\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\visitor\\pushRecord\\index.vue","mtime":1737610069453},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\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\nimport Paging from \"@/views/Public/paging.vue\";\nimport Popup from \"@/views/estate/examine/dialog/popup.vue\";\nimport { getVisitorErrors, ConsumableimportByExcel,\n//导入\nConsumableexportByExcel,\n//导出\nOwn } from \"@/api/getdata\";\nexport default {\n components: {\n Paging: Paging,\n Popup: Popup\n },\n data: function data() {\n return {\n iscontinue: true,\n iscontinue2: true,\n loading: false,\n //初始化loading\n loadingMsg: \"\",\n row: {},\n btn: 3,\n fileList: [],\n validation: false,\n completeTitle: \"删除\",\n nav: \"是否删除?\",\n formInline: {\n personnelName: \"\",\n visitingTime: \"\",\n examinePersonName: \"\"\n },\n examineList: ['待审核', '已通过', '已拒绝'],\n typeList: ['现场预约', '主动邀约'],\n page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n },\n downloadLoading: false,\n tableData: []\n };\n },\n mounted: function mounted() {\n this.createLoad();\n if (this.$route.params.index) {\n this.page.limit = this.$route.params.index;\n }\n this.getDate();\n },\n methods: {\n createLoad: function createLoad() {\n this.loading = true;\n this.loadingMsg = \"加载中...\";\n },\n clearLoad: function clearLoad() {\n this.loading = false;\n this.loadingMsg = \"\";\n },\n //分页\n currentChanges: function currentChanges(val) {\n this.page.limit = val;\n this.createLoad();\n this.getDate();\n },\n getDate: function getDate() {\n var _this = this;\n var limit = this.page.limit == \"0\" || this.page.limit == \"undefined\" ? 1 : this.page.limit;\n var Content = {\n visitorUserName: this.formInline.personnelName,\n beVisitorUserName: this.formInline.examinePersonName,\n type: this.formInline.type,\n machineMac: this.formInline.machineMac,\n examineState: this.formInline.examineState,\n startTime: this.formInline.visitingTime ? this.formInline.visitingTime[0] : '',\n endTime: this.formInline.visitingTime ? this.formInline.visitingTime[1] : '',\n pageNum: limit,\n pageSize: this.page.sizePage\n };\n getVisitorErrors(Content).then(function (res) {\n if (res.returnCode == \"1\") {\n _this.clearLoad();\n console.log(res);\n _this.tableData = res.returnData.data;\n _this.page.total = res.returnData.total;\n _this.page.limit = res.returnData.currentPage;\n // this.tableData.id = res.returnData.data.id;\n } else {\n _this.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n setTimeout(function () {\n _this.clearLoad();\n }, 300);\n }\n }).catch(function (err) {\n setTimeout(function () {\n _this.clearLoad();\n }, 300);\n console.log(err);\n });\n },\n //查询\n onSubmit: function onSubmit() {\n // var chinese = /^[\\u4e00-\\u9fa5]+$/;\n // var english = /^[a-zA-Z]+$/;\n // this.iscontinue = false;\n // this.iscontinue2 = false;\n // // formInline.receiptorName\n // if (\n // chinese.test(this.formInline.examinePersonName) ||\n // english.test(this.formInline.examinePersonName) ||\n // this.formInline.examinePersonName == \"\"\n // ) {\n // this.iscontinue = true;\n // }\n // if (\n // chinese.test(this.formInline.receiptorName) ||\n // english.test(this.formInline.receiptorName) ||\n // this.formInline.receiptorName == \"\"\n // ) {\n // this.iscontinue2 = true;\n // }\n // if (!this.iscontinue || !this.iscontinue2) {\n // this.validation = true;\n // this.completeTitle = \"警告\";\n // this.btn = 2;\n // this.nav = \"姓名格式只支持输入全中或全英文!\";\n // } else {\n this.page.limit = 1;\n this.createLoad();\n this.getDate();\n // }\n // this.page.limit = 1;\n // this.createLoad();\n // this.getDate();\n },\n comeBack: function comeBack() {\n this.$router.push({\n name: \"visitor\",\n params: {\n index: this.indexCall\n }\n });\n }\n }\n};",null]}