hz-zhhq-web/node_modules/.cache/babel-loader/52ef5d0b19ddbe78e19cbe58757...

1 line
3.3 KiB
JSON
Raw Normal View History

2025-02-25 13:43:48 +08:00
{"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\\estate\\examine\\dialog\\addChange.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\estate\\examine\\dialog\\addChange.vue","mtime":1737610069418},{"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\nimport { setTimeout } from 'timers';\nimport Popup from \"@/views/estate/examine/dialog/popup.vue\";\nexport default {\n props: [\"type\", \"row\"],\n components: {\n Popup: Popup\n },\n data: function data() {\n return {\n validation: false,\n completeTitle: '',\n nav: '',\n // this.type:'添加'\n titleV: this.type == '1' ? '添加' : this.type == '2' ? '修改' : '添加',\n dialogVisible: this.type ? true : false /*弹出窗 */,\n ruleForm: {\n name: this.type == '2' ? this.row.compony : '',\n khMonth: this.type == '2' ? this.row.month : ''\n },\n rules: {\n name: [{\n required: true,\n message: \"请输入考核的物业公司\",\n trigger: \"blur\"\n }\n // { min: 3, max: 5, message: '长度在 3 到 5 个字符', trigger: 'blur' }\n ],\n khMonth: [{\n required: true,\n message: \"请输入考核月份\",\n trigger: \"blur\"\n }]\n }\n };\n },\n methods: {\n /*关闭弹窗 */handleClose: function handleClose() {\n var _this = this;\n this.dialogVisible = false;\n this.$emit('closeDialog');\n setTimeout(function () {\n _this.dialogVisible = true;\n });\n },\n /*保存 */submitForm: function submitForm(formName) {\n var _this2 = this;\n this.$refs[formName].validate(function (valid) {\n if (valid) {\n _this2.validation = true;\n _this2.completeTitle = _this2.type == '2' ? '修改' : '添加';\n _this2.nav = _this2.type == '2' ? '确认修改嘛?' : '确认添加嘛?';\n } else {\n console.log(\"error submit!!\");\n return false;\n }\n });\n },\n closeEnd: function closeEnd(val) {\n var _this3 = this;\n if (val == '2' || val == '3') {\n this.dialogVisible = false;\n this.$emit('closeDialog', this.ruleForm);\n setTimeout(function () {\n _this3.dialogVisible = true;\n });\n }\n this.validation = false;\n }\n }\n};",null]}