management/front/dkha-web-sz-main/node_modules/.cache/vue-loader/8546f8b1c0ec3c10098ec512918...

1 line
5.7 KiB
JSON
Raw Normal View History

2023-12-18 13:12:25 +08:00
{"remainingRequest":"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\\components\\public\\upload-excel-or-img.vue?vue&type=style&index=0&id=6c7e3036&lang=scss&scoped=true&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\components\\public\\upload-excel-or-img.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\css-loader\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\postcss-loader\\src\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\sass-loader\\lib\\loader.js","mtime":1533139052000},{"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\n\n\n\n\n\n\n\n\n\n.el-dialog {\n .el-row {\n color: #fff;\n line-height: 35px;\n\n .el-col-3 {\n text-align: right;\n }\n\n .student-img {\n width: 106px;\n height: 150px;\n }\n }\n}\n",{"version":3,"sources":["upload-excel-or-img.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsIA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA","file":"upload-excel-or-img.vue","sourceRoot":"src/components/public","sourcesContent":["<template>\n <el-dialog\n :title=\"title\"\n :visible.sync=\"dialogVisible\"\n width=\"700px\"\n :close-on-click-modal=\"false\"\n @close=\"clearFileList\"\n >\n <div>\n <el-upload\n ref=\"upload\"\n class=\"upload-demo\"\n :accept=\"accept\"\n :action=\"baseUrl+uploadUrl\"\n :headers=\"uploadHeaders\"\n :on-success=\"handleSuccess\"\n\t\t:before-upload=\"beforeUpload\"\n multiple\n :file-list=\"fileList\"\n >\n <el-button size=\"small\" type=\"primary\" ref=\"uploadBtn\">点击上传</el-button>\n <div slot=\"tip\" class=\"el-upload__tip\">\n {{tips}}\n <a v-if=\"templateUrl\" target=\"_blank\" download :href=\"templateUrl\">下载模板</a>\n </div>\n </el-upload>\n </div>\n </el-dialog>\n</template>\n<script>\n\timport Cookies from 'js-cookie'\n\texport default {\n\t\tprops: {\n\t\t\taccept: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: \"application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\"\n\t\t\t},\n\t\t\tuploadUrl: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: null\n\t\t\t},\n\t\t\ttitle: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: \"导入信息\"\n\t\t\t},\n\t\t\ttips: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: \"只能上传excel文件\"\n\t\t\t},\n\t\t\ttemplateUrl: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: null\n\t\t\t}\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tdialogVisible: false,\n\t\t\t\tfileList: [],\n\t\t\t\tuploadHeaders: {},\n\t\t\t\tcount:0,\n\t\t\t\terrorList:[],\n\t\t\t\tbaseUrl: window.SITE_CONFIG['apiURL']\n\t\t\t}\n\t\t},\n\t\tcreated() {\n\t\t\tthis.uploadHeaders = {\n\t\t\t\tAuthorization: 'Bearer ' + Cookies.get('access_token') || ''\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tinit() {\n\t\t\t\tthis.dialogVisible = true;\n\t\t\t\t// this.$nextTick(()=>{\n\t\t\t\t// this.$refs['uploadBtn'].$el.click();\n\t\t\t\t// })\n\t\t\t},\n\t\t\tbeforeUpload