1 line
5.9 KiB
JSON
1 line
5.9 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\\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":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\nimport { updatePersonCharge } from \"@/api/getdata\";\nimport { getToken } from '@/utils/auth';\nimport Cookies from 'js-cookie';\nimport Popup from \"@/views/estate/examine/dialog/popup.vue\";\nimport { constants } from \"crypto\";\nexport default {\n components: {\n Popup: Popup\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].resetF
|