{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\oss\\oss-config.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\oss\\oss-config.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\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//\nimport debounce from 'lodash/debounce';\nexport default {\n data: function data() {\n return {\n visible: false,\n dataForm: {\n type: 0,\n qiniuDomain: '',\n qiniuPrefix: '',\n qiniuAccessKey: '',\n qiniuSecretKey: '',\n qiniuBucketName: '',\n aliyunDomain: '',\n aliyunPrefix: '',\n aliyunEndPoint: '',\n aliyunAccessKeyId: '',\n aliyunAccessKeySecret: '',\n aliyunBucketName: '',\n qcloudDomain: '',\n qcloudPrefix: '',\n qcloudAppId: 0,\n qcloudSecretId: '',\n qcloudSecretKey: '',\n qcloudBucketName: '',\n qcloudRegion: '',\n fastdfsDomain: '',\n localDomain: '',\n localPrefix: '',\n localPath: ''\n }\n };\n },\n computed: {\n dataRule: function dataRule() {\n return {\n qiniuDomain: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n qiniuAccessKey: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n qiniuSecretKey: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n qiniuBucketName: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n aliyunDomain: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n aliyunEndPoint: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n aliyunAccessKeyId: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n aliyunAccessKeySecret: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n aliyunBucketName: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n qcloudDomain: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n qcloudAppId: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n qcloudSecretId: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n qcloudSecretKey: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n qcloudBucketName: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n qcloudRegion: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n fastdfsDomain: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n localDomain: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n localPath: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n minioEndPoint: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n minioAccessKey: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n minioSecretKey: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }],\n minioBucketName: [{\n required: true,\n message: this.$t('validate.required'),\n trigger: 'blur'\n }]\n };\n }\n },\n watch: {\n 'dataForm.type': function dataFormType(val) {\n this.$refs['dataForm'].clearValidate();\n }\n },\n methods: {\n init: function init() {\n var _this = this;\n\n this.visible = true;\n this.$nextTick(function () {\n _this.$refs['dataForm'].resetFields();\n\n _this.getInfo();\n });\n },\n // 获取信息\n getInfo: function getInfo() {\n var _this2 = this;\n\n this.$http.get('/oss/file/info').then(function (_ref) {\n var res = _ref.data;\n\n if (res.code !== 0) {\n return _this2.$message.error(res.msg);\n }\n\n _this2.dataForm = res.data;\n }).catch(function () {});\n },\n // 表单提交\n dataFormSubmitHandle: debounce(function () {\n var _this3 = this;\n\n this.$refs['dataForm'].validate(function (valid) {\n if (!valid) {\n return false;\n }\n\n _this3.$http.post('/oss/file', _this3.dataForm).then(function (_ref2) {\n var res = _ref2.data;\n\n if (res.code !== 0) {\n return _this3.$message.error(res.msg);\n }\n\n _this3.$message({\n message: _this3.$t('prompt.success'),\n type: 'success',\n duration: 500,\n onClose: function onClose() {\n _this3.visible = false;\n\n _this3.$emit('refreshDataList');\n }\n });\n }).catch(function () {});\n });\n }, 1000, {\n 'leading': true,\n 'trailing': false\n })\n }\n};",{"version":3,"sources":["oss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\n \n \n {{ $t('oss.type1') }}\n {{ $t('oss.type2') }}\n {{ $t('oss.type3') }}\n {{ $t('oss.type4') }}\n {{ $t('oss.type5') }}\n {{ $t('oss.type6') }}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {{ $t('cancel') }}\n {{ $t('confirm') }}\n \n \n\n\n\n"],"sourceRoot":"src/views/modules/oss"}]}