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

1 line
6.7 KiB
JSON

{"remainingRequest":"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\\house\\contractList\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\house\\contractList\\index.vue","mtime":1737610069425},{"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\\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":["\"use strict\";\n\nvar _interopRequireDefault = require(\"E:/hz-zhhq-web/node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _paging = _interopRequireDefault(require(\"@/views/Public/paging.vue\"));\nvar _getdata = require(\"@/api/getdata\");\nvar _popup = _interopRequireDefault(require(\"@/views/estate/examine/dialog/popup.vue\"));\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 _default = exports.default = {\n components: {\n Paging: _paging.default,\n Popup: _popup.default\n },\n data: function data() {\n return {\n loading: false,\n //初始化loading\n loadingMsg: \"\",\n row: {},\n fileList: [],\n validation: false,\n completeTitle: \"删除\",\n nav: \"是否删除?\",\n // food_name: \"\",\n formInline: {\n // value1: '',\n // title: \"\",\n responsible: '',\n // timeStart: '',\n // timeEnd: '',\n // type: \"\",\n state: \"\"\n },\n page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n },\n downloadLoading: false,\n tableData: [],\n stateList: ['正常', '即将过期', '过期']\n };\n },\n mounted: function mounted() {\n this.timeDefaultShow = new Date();\n this.createLoad();\n if (this.$route.params.index) {\n this.currentChanges(this.$route.params.index);\n } else {\n this.getlist();\n }\n // this.getCardTypeList()\n },\n methods: {\n toDetail: function toDetail(v) {\n this.$router.push({\n path: '/cardDetail',\n query: {\n // url的参数, 类似get请求的传参\n row: JSON.stringify(v)\n }\n });\n },\n mouseoverSpan: function mouseoverSpan(e) {\n if (e.target.scrollWidth > e.target.offsetWidth) {\n e.target.setAttribute(\"class\", \"cell-box span-overflow\");\n }\n },\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.createLoad();\n this.page.limit = val;\n this.getlist();\n },\n getlist: function getlist() {\n var _this = this;\n var limit = this.page.limit == \"0\" || this.page.limit == \"undefined\" ? 1 : this.page.limit;\n var Content = {\n currentPage: this.page.limit == 0 ? 1 : this.page.limit,\n responsible: this.formInline.responsible.trim(),\n state: this.formInline.state,\n // startTime: this.formInline.value1 ? this.formInline.value1[0] : '',\n // endTime: this.formInline.value1 ? this.formInline.value1[1] : '',\n pageNum: limit,\n pageSize: this.page.sizePage\n };\n // console.log(Content)\n (0, _getdata.getContract)(Content).then(function (res) {\n console.log(res);\n // console.log(res,212)\n if (res.returnCode == \"1\") {\n _this.clearLoad();\n // console.log(res.returnData)\n _this.tableData = res.returnData.data;\n console.log(_this.tableData);\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 console.log(err);\n setTimeout(function () {\n _this.clearLoad();\n }, 300);\n });\n },\n handleAvatarSuccess: function handleAvatarSuccess(aa, bb) {\n // console.log(aa, bb, 888);\n },\n onSubmit: function onSubmit() {\n // console.log(this.formInline);\n this.page.limit = 1;\n this.createLoad();\n this.getlist();\n },\n handlePay: function handlePay(row) {\n this.$router.push({\n path: \"/rentPay\",\n query: {\n contractId: row.ID\n }\n });\n },\n onOutFile: function onOutFile(row) {\n (0, _getdata.Own)().then(function (res) {\n if (res.returnCode === \"1\") {\n var str = \"id=\" + row.ID;\n var url = process.env.VUE_APP_BASE_API + \"/greenH5/greenWebmodul/rest/house/downloadContract?\" + str;\n window.location.href = url;\n }\n });\n },\n formatJson: function formatJson(filterVal, jsonData) {\n return jsonData.map(function (v) {\n return filterVal.map(function (j) {\n if (j === \"timestamp\") {\n return parseTime(v[j]);\n } else {\n return v[j];\n }\n });\n });\n }\n }\n};",null]}