hz-zhhq-web/node_modules/.cache/babel-loader/639cb33d7bb32318a8858d75624...

1 line
9.8 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\\rentPay\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\house\\rentPay\\index.vue","mtime":1737610069426},{"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//\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 contractId: '',\n updatePopup: false,\n addPopup: false,\n rules: {\n amount: [{\n required: true,\n message: \"请输入缴费金额\",\n trigger: \"blur\"\n }],\n payTime: [{\n required: true,\n message: \"请选择时间\",\n trigger: \"blur\"\n }]\n },\n rowRule: {\n amount: [{\n required: true,\n message: \"请输入缴费金额\",\n trigger: \"blur\"\n }],\n payTime: [{\n required: true,\n message: \"请选择时间\",\n trigger: \"blur\"\n }]\n },\n ruleForm: {\n money: '',\n payTime: '',\n remark: ''\n },\n row: {\n id: '',\n money: '',\n payTime: '',\n remark: ''\n },\n popupBtn: \"3\",\n completeTitle: \"\",\n nav: \"\",\n fileList: [],\n validation: false,\n formInline: {\n value1: ''\n // unit: \"\",\n // kinds: \"\"\n },\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 this.contractId = this.$route.query.contractId;\n this.getlist();\n },\n methods: {\n addRecord: function addRecord() {\n this.addPopup = true;\n this.ruleForm = {\n money: '',\n payTime: '',\n remark: ''\n };\n },\n editRecord: function editRecord(row) {\n this.row.id = row.id;\n this.row.payTime = row.payTime;\n this.row.amount = row.amount;\n this.row.remark = row.remark;\n this.updatePopup = true;\n },\n submitForm: function submitForm(formName) {\n var _this = this;\n this.$refs[formName].validate(function (valid) {\n if (valid) {\n _this.validation = true;\n _this.nav = \"确认添加缴费记录?\";\n _this.completeTitle = \"添加\";\n _this.btn = \"3\";\n }\n });\n },\n submitUpdateForm: function submitUpdateForm(formName) {\n var _this2 = this;\n this.$refs[formName].validate(function (valid) {\n if (valid) {\n _this2.validation = true;\n _this2.nav = \"确认修改缴费记录?\";\n _this2.completeTitle = \"修改\";\n _this2.btn = \"2\";\n }\n });\n },\n del: function del(row) {\n this.row = row;\n this.validation = true;\n this.nav = \"确认删除缴费记录?\";\n this.completeTitle = \"删除\";\n this.btn = \"1\";\n },\n cancal: function cancal(formName) {\n this.getlist();\n this.addPopup = false;\n this.updatePopup = false;\n },\n closeEnd: function closeEnd(val) {\n var _this3 = this;\n this.validation = false;\n if (val == \"1\") {\n this.createLoad();\n var Content = {\n id: this.row.id\n };\n (0, _getdata.delRentData)(Content).then(function (res) {\n if (res.returnCode == \"1\") {\n _this3.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this3.page.limit = 1;\n _this3.getlist();\n _this3.addPopup = false;\n _this3.updatePopup = false;\n } else {\n _this3.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n setTimeout(function () {\n _this3.clearLoad();\n }, 300);\n }\n }).catch(function (err) {\n console.log(\"error\");\n setTimeout(function () {\n _this3.clearLoad();\n }, 300);\n });\n } else if (val == \"2\") {\n console.log(this.row, 888);\n var _Content = {\n id: this.row.id,\n applyId: this.contractId,\n payTime: this.row.payTime,\n amount: this.row.amount,\n remark: this.row.remark\n };\n (0, _getdata.updateRentData)(_Content).then(function (res) {\n if (res.returnCode == \"1\") {\n _this3.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this3.getlist();\n _this3.addPopup = false;\n _this3.updatePopup = false;\n } else {\n _this3.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n setTimeout(function () {\n _this3.clearLoad();\n }, 300);\n }\n }).catch(function (err) {\n console.log(err);\n setTimeout(function () {\n _this3.clearLoad();\n }, 300);\n });\n } else if (val == \"3\") {\n var _Content2 = {\n applyId: this.contractId,\n payTime: this.ruleForm.payTime,\n amount: this.ruleForm.amount,\n remark: this.ruleForm.remark\n };\n (0, _getdata.addRentData)(_Content2).then(function (res) {\n if (res.returnCode == \"1\") {\n _this3.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this3.getlist();\n _this3.addPopup = false;\n } else {\n _this3.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n setTimeout(function () {\n _this3.clearLoad();\n }, 300);\n }\n }).catch(function (err) {\n console.log(err);\n setTimeout(function () {\n _this3.clearLoad();\n }, 300);\n });\n }\n },\n /**返回上一级 */comeBack: function comeBack() {\n this.$router.push({\n name: \"contractList\",\n params: {\n index: this.indexCall\n }\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 _this4 = 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 contractId: this.contractId,\n pageNum: limit,\n pageSize: this.page.sizePage\n };\n (0, _getdata.getRentList)(Content).then(function (res) {\n // console.log(res,212)\n if (res.returnCode == \"1\") {\n _this4.clearLoad();\n _this4.tableData = res.returnData.data;\n console.log(_this4.tableData);\n _this4.page.total = res.returnData.total;\n _this4.page.limit = res.returnData.currentPage;\n } else {\n _this4.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n setTimeout(function () {\n _this4.clearLoad();\n }, 300);\n }\n }).catch(function (err) {\n console.log(err);\n setTimeout(function () {\n _this4.clearLoad();\n }, 300);\n });\n },\n onSubmit: function onSubmit() {\n this.page.limit = 1;\n this.createLoad();\n this.getlist();\n }\n }\n};",null]}