{"remainingRequest":"D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\cqlt-fvue\\src\\views\\configureInfo\\dialog\\add.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\src\\views\\configureInfo\\dialog\\add.vue","mtime":1677132741570},{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 req from '@/request.js';\nvar portal = window.context.portal;\nexport default {\n name: 'add',\n data: function data() {\n return {\n visible: false,\n dialogForm: {\n business: 'Finance',\n tyep: 1,\n fillRate: 'dynamic',\n flag: 0\n },\n dialogRules: {\n key: {\n required: true,\n message: this.$t('reportManagement.input') + this.$t('reportManagement.key'),\n trigger: 'blur'\n },\n name: {\n required: true,\n message: this.$t('reportManagement.input') + this.$t('reportManagement.name'),\n trigger: 'blur'\n },\n nameEn: {\n required: true,\n message: this.$t('reportManagement.input') + this.$t('reportManagement.nameEn'),\n trigger: 'blur'\n },\n tyep: {\n required: true,\n message: this.$t('reportManagement.select') + this.$t('reportManagement.tyep'),\n trigger: 'blur'\n },\n business: {\n required: true,\n message: this.$t('reportManagement.select') + this.$t('reportManagement.business'),\n trigger: 'blur'\n },\n fillRate: {\n required: true,\n message: this.$t('reportManagement.select') + this.$t('reportManagement.fillRate'),\n trigger: 'blur'\n }\n },\n loading: false\n };\n },\n methods: {\n open: function open(row) {\n this.visible = true;\n this.loading = false;\n\n if (!row) {\n this.dialogForm = {\n business: 'Finance',\n tyep: 1,\n fillRate: 'dynamic',\n flag: 0\n };\n } else {\n this.dialogForm = row;\n }\n },\n submit: function submit() {\n var _this = this;\n\n this.loading = true;\n var api;\n\n if (this.dialogForm.id) {\n api = '/qfReportInfo/v1/updateInfoById';\n } else {\n api = '/qfReportInfo/v1/insertInfo';\n }\n\n req.post(portal + api, this.dialogForm).then(function (res) {\n _this.loading = true;\n if (!res.data.state) return;\n _this.visible = false;\n\n _this.$emit('updata');\n });\n },\n handleDialogClose: function handleDialogClose() {\n this.visible = false;\n }\n }\n};",null]}