forked from zhurui/management
1 line
6.3 KiB
JSON
1 line
6.3 KiB
JSON
{"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.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\oss\\oss.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//\nimport mixinViewModule from '@/mixins/view-module';\nimport Config from \"./oss-config\";\nimport Upload from \"./oss-upload\";\nexport default {\n mixins: [mixinViewModule],\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/oss/file/page',\n getDataListIsPage: true,\n deleteURL: '/oss/file',\n deleteIsBatch: true\n },\n dataForm: {},\n configVisible: false,\n uploadVisible: false\n };\n },\n components: {\n Config: Config,\n Upload: Upload\n },\n methods: {\n // 云存储配置\n configHandle: function configHandle() {\n var _this = this;\n\n this.configVisible = true;\n this.$nextTick(function () {\n _this.$refs.config.init();\n });\n },\n // 上传文件\n uploadHandle: function uploadHandle() {\n var _this2 = this;\n\n this.uploadVisible = true;\n this.$nextTick(function () {\n _this2.$refs.upload.init();\n });\n }\n }\n};",{"version":3,"sources":["oss.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDA,OAAA,eAAA,MAAA,sBAAA;AACA,OAAA,MAAA;AACA,OAAA,MAAA;AACA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,gBADA;AAEA,QAAA,iBAAA,EAAA,IAFA;AAGA,QAAA,SAAA,EAAA,WAHA;AAIA,QAAA,aAAA,EAAA;AAJA,OADA;AAOA,MAAA,QAAA,EAAA,EAPA;AAQA,MAAA,aAAA,EAAA,KARA;AASA,MAAA,aAAA,EAAA;AATA,KAAA;AAWA,GAdA;AAeA,EAAA,UAAA,EAAA;AACA,IAAA,MAAA,EAAA,MADA;AAEA,IAAA,MAAA,EAAA;AAFA,GAfA;AAmBA,EAAA,OAAA,EAAA;AACA;AACA,IAAA,YAFA,0BAEA;AAAA;;AACA,WAAA,aAAA,GAAA,IAAA;AACA,WAAA,SAAA,CAAA,YAAA;AACA,QAAA,KAAA,CAAA,KAAA,CAAA,MAAA,CAAA,IAAA;AACA,OAFA;AAGA,KAPA;AAQA;AACA,IAAA,YATA,0BASA;AAAA;;AACA,WAAA,aAAA,GAAA,IAAA;AACA,WAAA,SAAA,CAAA,YAAA;AACA,QAAA,MAAA,CAAA,KAAA,CAAA,MAAA,CAAA,IAAA;AACA,OAFA;AAGA;AAdA;AAnBA,CAAA","sourcesContent":["<template>\n <el-card shadow=\"never\" class=\"aui-card--fill\">\n <div class=\"mod-oss__oss\">\n <el-form :inline=\"true\" :model=\"dataForm\">\n <el-form-item>\n <el-button type=\"primary\" @click=\"configHandle()\">{{ $t('oss.config') }}</el-button>\n </el-form-item>\n <el-form-item>\n <el-button type=\"primary\" @click=\"uploadHandle()\">{{ $t('oss.upload') }}</el-button>\n </el-form-item>\n <el-form-item>\n <el-button type=\"danger\" @click=\"deleteHandle()\">{{ $t('deleteBatch') }}</el-button>\n </el-form-item>\n </el-form>\n <el-table\n v-loading=\"dataListLoading\"\n :data=\"dataList\"\n border\n @selection-change=\"dataListSelectionChangeHandle\"\n @sort-change=\"dataListSortChangeHandle\"\n style=\"width: 100%;\">\n <el-table-column type=\"selection\" header-align=\"center\" align=\"center\" width=\"50\"></el-table-column>\n <el-table-column prop=\"url\" :label=\"$t('oss.url')\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"createDate\" :label=\"$t('oss.createDate')\" sortable=\"custom\" header-align=\"center\" align=\"center\" width=\"180\"></el-table-column>\n <el-table-column :label=\"$t('handle')\" fixed=\"right\" header-align=\"center\" align=\"center\" width=\"150\">\n <template slot-scope=\"scope\">\n <el-button type=\"text\" size=\"small\" @click=\"deleteHandle(scope.row.id)\">{{ $t('delete') }}</el-button>\n </template>\n </el-table-column>\n </el-table>\n <el-pagination\n :current-page=\"page\"\n :page-sizes=\"[10, 20, 50, 100]\"\n :page-size=\"limit\"\n :total=\"total\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n @size-change=\"pageSizeChangeHandle\"\n @current-change=\"pageCurrentChangeHandle\">\n </el-pagination>\n <!-- 弹窗, 云存储配置 -->\n <config v-if=\"configVisible\" ref=\"config\"></config>\n <!-- 弹窗, 上传文件 -->\n <upload v-if=\"uploadVisible\" ref=\"upload\" @refreshDataList=\"getDataList\"></upload>\n </div>\n </el-card>\n</template>\n\n<script>\nimport mixinViewModule from '@/mixins/view-module'\nimport Config from './oss-config'\nimport Upload from './oss-upload'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/oss/file/page',\n getDataListIsPage: true,\n deleteURL: '/oss/file',\n deleteIsBatch: true\n },\n dataForm: {},\n configVisible: false,\n uploadVisible: false\n }\n },\n components: {\n Config,\n Upload\n },\n methods: {\n // 云存储配置\n configHandle () {\n this.configVisible = true\n this.$nextTick(() => {\n this.$refs.config.init()\n })\n },\n // 上传文件\n uploadHandle () {\n this.uploadVisible = true\n this.$nextTick(() => {\n this.$refs.upload.init()\n })\n }\n }\n}\n</script>\n"],"sourceRoot":"src/views/modules/oss"}]} |