hz-zhhq-web/node_modules/.cache/babel-loader/9a40d179737bada285d8131e947...

1 line
6.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"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\\eacount\\pcharge\\addPchargeDetail\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\eacount\\pcharge\\addPchargeDetail\\index.vue","mtime":1737610069413},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1740463332762},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":1740463332584},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1740463332762},{"path":"E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js","mtime":1740463340941}],"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 _getdata = require(\"@/api/getdata\");\nvar _auth = require(\"@/utils/auth\");\nvar _jsCookie = _interopRequireDefault(require(\"js-cookie\"));\nvar _popup = _interopRequireDefault(require(\"@/views/estate/examine/dialog/popup.vue\"));\nvar _crypto = require(\"crypto\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 Popup: _popup.default\n },\n data: function data() {\n var priceVa = function priceVa(rule, value, callback) {\n var reg = /^\\d{1,}(\\.\\d{1,2})?$/;\n var reg2 = /[`~!@#$%^&*()_\\-+=<>?:\"{}|,;'\\\\[\\]·~@#¥%……&*()——\\-+={}|《》?:“”【】、;‘’,。、]/g;\n if (reg.test(value) && !reg2.test(value)) {\n callback();\n } else {\n callback(new Error(\"请输入数字、且小数点后最多两位!\"));\n }\n };\n var titleVa = function titleVa(rule, value, callback) {\n var reg = /[`~!@#$%^&*()_\\-+=<>?:\"{}|,./;'\\\\[\\]·~@#¥%……&*()——\\-+={}|《》?:“”【】、;‘’,。、]/g;\n if (!reg.test(value)) {\n callback();\n } else {\n callback(new Error(\"不支持输入@#¥%……...等特殊字符 \"));\n }\n };\n return {\n indexCall: this.$route.query.index ? this.$route.query.index : window.localStorage.getItem(\"personChargeIndex\"),\n validation: false,\n completeTitle: \"\",\n nav: \"\",\n dialogImageUrl: \"\",\n dialogVisible: false,\n view: false,\n ruleForm: {\n type: \"\",\n money: \"\",\n recharge_reason: \"\"\n },\n aa: \"\",\n til: \"添加\",\n id: \"\",\n rules: {\n title: [{\n required: true,\n message: \"请输入标题\",\n trigger: \"blur\"\n }, {\n validator: titleVa,\n trigger: \"blur\"\n }],\n money: [{\n required: true,\n message: \"请输入金额\",\n trigger: \"blur\"\n }, {\n validator: priceVa,\n trigger: \"blur\"\n }]\n }\n };\n },\n created: function created() {},\n mounted: function mounted() {\n var data = typeof this.$route.query.rowdata == \"string\" ? JSON.parse(window.localStorage.getItem(\"personChargeRowdata\")) : this.$route.query.rowdata;\n this.ruleForm.type = data ? data.type : \"\";\n this.ruleForm.money = data ? data.money : \"\";\n this.ruleForm.recharge_reason = data ? data.recharge_reason : '';\n this.til = data ? data.til : \"添加\";\n this.id = data ? data.id : \"\";\n },\n methods: {\n /**返回上一级 */comeBack: function comeBack() {\n this.$router.push({\n path: \"eacount-pcharge-index\",\n params: {\n index: this.indexCall\n }\n });\n },\n resetForm: function resetForm(formName) {\n if (!this.view) {\n this.$refs[formName].resetFields();\n }\n this.$router.push({\n path: \"eacount-pcharge-index\",\n params: {\n index: this.indexCall\n }\n });\n if (!this.view) {\n this.$message({\n message: \"取消成功\",\n type: \"success\",\n duration: 800\n });\n }\n },\n submitForm: function submitForm(formName, idx) {\n var _this = this;\n this.$refs[formName].validate(function (valid) {\n if (valid) {\n // if (this.til == \"编辑\") {\n _this.validation = true;\n _this.completeTitle = \"编辑\";\n _this.nav = \"是否编辑?\";\n // } else {\n // this.validation = true;\n // this.completeTitle = \"添加\";\n // this.nav = \"是否添加?\";\n // }\n }\n });\n this.ruleForm.status = idx;\n },\n closeDialogDel: function closeDialogDel(val) {\n var _this2 = this;\n if (val == \"2\") {\n var Content = {\n id: this.id,\n type: this.ruleForm.type,\n money: this.ruleForm.money,\n recharge_reason: this.ruleForm.recharge_reason\n };\n (0, _getdata.updatePersonCharge)(Content).then(function (res) {\n if (res.returnCode == \"1\") {\n _this2.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this2.$router.push({\n path: \"eacount-pcharge-index\",\n params: {\n index: _this2.indexCall\n }\n });\n // this.$router.go(-1);\n } else {\n _this2.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n console.log(err);\n });\n }\n this.validation = false;\n }\n }\n};",null]}