提交 e364dd0d authored 作者: 龙菲's avatar 龙菲

解决大文件上传带来的git冲突

上级 dc9d1cc6
...@@ -174,13 +174,9 @@ export default { ...@@ -174,13 +174,9 @@ export default {
}; };
</script> </script>
<<<<<<< HEAD
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep .el-form-item{ ::v-deep .el-form-item{
margin-bottom: 0; margin-bottom: 0;
} }
=======
<style>
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
</style> </style>
\ No newline at end of file
...@@ -63,7 +63,3 @@ div:focus { ...@@ -63,7 +63,3 @@ div:focus {
.app-container { .app-container {
padding: 40px; padding: 40px;
} }
<<<<<<< HEAD
=======
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
...@@ -220,7 +220,6 @@ export function formatNum(num) { ...@@ -220,7 +220,6 @@ export function formatNum(num) {
} }
} }
<<<<<<< HEAD
// 格式化文件大小 // 格式化文件大小
export function renderSize(value) { export function renderSize(value) {
...@@ -235,5 +234,3 @@ export function renderSize(value) { ...@@ -235,5 +234,3 @@ export function renderSize(value) {
size = size.toFixed(2);//保留的小数位数 size = size.toFixed(2);//保留的小数位数
return size + unitArr[index]; return size + unitArr[index];
} }
=======
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
...@@ -2,18 +2,13 @@ ...@@ -2,18 +2,13 @@
<div class="app-container"> <div class="app-container">
<div class="top-bar"> <div class="top-bar">
<SearchBar :config="searchConfig" @search="search" @reset="reset" /> <SearchBar :config="searchConfig" @search="search" @reset="reset" />
<<<<<<< HEAD
<!-- <el-button <!-- <el-button
=======
<el-button
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
type="primary" type="primary"
@click.native="handleOperation({ type: 'add' })" @click.native="handleOperation({ type: 'add' })"
icon="el-icon-plus" icon="el-icon-plus"
> >
发布</el-button 发布</el-button
> >
<<<<<<< HEAD
</div> --> </div> -->
<!-- <el-button type="primary" @click.native="handleCopy">复制</el-button> --> <!-- <el-button type="primary" @click.native="handleCopy">复制</el-button> -->
</div> </div>
...@@ -63,10 +58,6 @@ ...@@ -63,10 +58,6 @@
</el-upload> </el-upload>
</div> </div>
</div> </div>
=======
<!-- <el-button type="primary" @click.native="handleCopy">复制</el-button> -->
</div>
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
<TablePage <TablePage
:data="list.records" :data="list.records"
:tableTitle="tableTitle" :tableTitle="tableTitle"
...@@ -144,7 +135,6 @@ ...@@ -144,7 +135,6 @@
@handleCopySelect="handleCopySelect" @handleCopySelect="handleCopySelect"
:list="list" :list="list"
/> --> /> -->
<<<<<<< HEAD
<ImportRecordDialog <ImportRecordDialog
:visible="importRecordVisible" :visible="importRecordVisible"
@reload="loadData" @reload="loadData"
...@@ -158,8 +148,6 @@ ...@@ -158,8 +148,6 @@
@handleCancel="handleMultiUploadCancel" @handleCancel="handleMultiUploadCancel"
/> />
=======
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
<el-image-viewer <el-image-viewer
v-if="imgViewerVisible" v-if="imgViewerVisible"
:on-close="closeImgViewer" :on-close="closeImgViewer"
...@@ -180,7 +168,6 @@ import { ...@@ -180,7 +168,6 @@ import {
} from "@/api/display"; } from "@/api/display";
import InfoEditDialog from "./components/InfoEditDialog"; import InfoEditDialog from "./components/InfoEditDialog";
import PreviewDialog from "./components/PreviewDialog"; import PreviewDialog from "./components/PreviewDialog";
<<<<<<< HEAD
import ImportRecordDialog from "./components/ImportRecordDialog"; import ImportRecordDialog from "./components/ImportRecordDialog";
// import CopyDialog from "./components/CopyDialog"; // import CopyDialog from "./components/CopyDialog";
import SearchBar from "@/components/SearchBar"; import SearchBar from "@/components/SearchBar";
...@@ -189,12 +176,6 @@ import { mapGetters } from "vuex"; ...@@ -189,12 +176,6 @@ import { mapGetters } from "vuex";
import { themeTypeCode } from "./contants"; import { themeTypeCode } from "./contants";
import { getToken } from "@/utils/auth"; import { getToken } from "@/utils/auth";
import { importZip } from "@/utils/file"; import { importZip } from "@/utils/file";
=======
import CopyDialog from "./components/CopyDialog";
import SearchBar from "@/components/SearchBar";
import { mapGetters } from "vuex";
import { themeTypeCode } from "./contants";
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
export default { export default {
components: { components: {
TablePage, TablePage,
...@@ -202,13 +183,9 @@ export default { ...@@ -202,13 +183,9 @@ export default {
InfoEditDialog, InfoEditDialog,
PreviewDialog, PreviewDialog,
SearchBar, SearchBar,
<<<<<<< HEAD
// CopyDialog, // CopyDialog,
ImportRecordDialog, ImportRecordDialog,
UploadListDialog, UploadListDialog,
=======
CopyDialog,
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
"el-image-viewer": () => "el-image-viewer": () =>
import("element-ui/packages/image/src/image-viewer"), import("element-ui/packages/image/src/image-viewer"),
}, },
...@@ -275,7 +252,6 @@ export default { ...@@ -275,7 +252,6 @@ export default {
displayTypes: {}, displayTypes: {},
curPreviewObj: {}, //当前预览的对象 curPreviewObj: {}, //当前预览的对象
currentPageIds: [], //当前的id数组,用于给详情页切换用 currentPageIds: [], //当前的id数组,用于给详情页切换用
<<<<<<< HEAD
importZipUrl: process.env.VUE_APP_BASE_API + "/bizImport/importZip", importZipUrl: process.env.VUE_APP_BASE_API + "/bizImport/importZip",
headers: { headers: {
authorization: getToken(), authorization: getToken(),
...@@ -286,8 +262,6 @@ export default { ...@@ -286,8 +262,6 @@ export default {
uploadCount: 0, //处于上传中的文件数量,当等于fileList的时候就关闭弹窗,请求完毕一个就++ uploadCount: 0, //处于上传中的文件数量,当等于fileList的时候就关闭弹窗,请求完毕一个就++
cancelUploadArr: [], //保存每个文件上传接口对应的取消请求的函数[fn,fn,fn...] cancelUploadArr: [], //保存每个文件上传接口对应的取消请求的函数[fn,fn,fn...]
isUpLoading: false, isUpLoading: false,
=======
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
}; };
}, },
computed: { computed: {
...@@ -316,7 +290,6 @@ export default { ...@@ -316,7 +290,6 @@ export default {
await this.$store.dispatch("dict/getDictList", ["displayType"]); await this.$store.dispatch("dict/getDictList", ["displayType"]);
this.loadData(); this.loadData();
}, },
<<<<<<< HEAD
//watch部分 //watch部分
watch: { watch: {
...@@ -335,8 +308,6 @@ export default { ...@@ -335,8 +308,6 @@ export default {
} }
}, },
}, },
=======
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
methods: { methods: {
async search(form) { async search(form) {
var params = { var params = {
...@@ -399,7 +370,6 @@ export default { ...@@ -399,7 +370,6 @@ export default {
this.$message.success("删除成功!"); this.$message.success("删除成功!");
} }
break; break;
<<<<<<< HEAD
case "multiAdd": case "multiAdd":
// debugger // debugger
// this.multiUploadVisible = true; // this.multiUploadVisible = true;
...@@ -515,11 +485,6 @@ export default { ...@@ -515,11 +485,6 @@ export default {
this.filesList = []; this.filesList = [];
}, },
=======
}
},
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
async reloadDisplay(exhibitionId) { async reloadDisplay(exhibitionId) {
this.$refs.InfoEditDialog.submitLoading = true; this.$refs.InfoEditDialog.submitLoading = true;
this.$refs.InfoEditDialog.loadingText = "加载中..."; this.$refs.InfoEditDialog.loadingText = "加载中...";
...@@ -607,7 +572,6 @@ export default { ...@@ -607,7 +572,6 @@ export default {
themeTypeCode(code) { themeTypeCode(code) {
return themeTypeCode[code]; return themeTypeCode[code];
}, },
<<<<<<< HEAD
// // 文件个数超出 // // 文件个数超出
// handleExceed() { // handleExceed() {
...@@ -680,8 +644,6 @@ export default { ...@@ -680,8 +644,6 @@ export default {
handleCancelAllUpLoad() { handleCancelAllUpLoad() {
this.cancelUploadArr.forEach((cancelCallBack) => cancelCallBack()); //批量取消上传 this.cancelUploadArr.forEach((cancelCallBack) => cancelCallBack()); //批量取消上传
}, },
=======
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
}, },
}; };
</script> </script>
...@@ -690,7 +652,6 @@ export default { ...@@ -690,7 +652,6 @@ export default {
.top-bar { .top-bar {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
<<<<<<< HEAD
flex-direction: column; flex-direction: column;
height: 68px; height: 68px;
} }
...@@ -709,9 +670,5 @@ export default { ...@@ -709,9 +670,5 @@ export default {
.upload-button { .upload-button {
margin: 0 10px; margin: 0 10px;
} }
=======
align-items: center;
margin-bottom: 10px;
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
} }
</style> </style>
\ No newline at end of file
...@@ -224,26 +224,16 @@ ...@@ -224,26 +224,16 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
<<<<<<< HEAD
margin-bottom: 20px; margin-bottom: 20px;
=======
margin-bottom: 10px;
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
} }
.pagination { .pagination {
margin: 16px; margin: 16px;
} }
<<<<<<< HEAD
// .el-button { // .el-button {
// margin-bottom: 22px; // margin-bottom: 22px;
// } // }
=======
.el-button {
margin-bottom: 22px;
}
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
::v-deep .el-card__header { ::v-deep .el-card__header {
padding: 10px 20px; padding: 10px 20px;
......
...@@ -243,11 +243,8 @@ export default { ...@@ -243,11 +243,8 @@ export default {
.pagination { .pagination {
margin: 16px; margin: 16px;
} }
<<<<<<< HEAD
::v-deep .el-form-item{ ::v-deep .el-form-item{
margin-bottom: 20px; margin-bottom: 20px;
} }
=======
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
</style> </style>
\ No newline at end of file
...@@ -356,11 +356,7 @@ export default { ...@@ -356,11 +356,7 @@ export default {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
<<<<<<< HEAD
margin-bottom: 20px; margin-bottom: 20px;
=======
margin-bottom: 10px;
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
} }
.pagination { .pagination {
margin: 16px; margin: 16px;
......
...@@ -301,11 +301,7 @@ export default { ...@@ -301,11 +301,7 @@ export default {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
<<<<<<< HEAD
margin-bottom: 20px; margin-bottom: 20px;
=======
margin-bottom: 10px;
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
} }
.pagination { .pagination {
margin: 16px; margin: 16px;
......
...@@ -267,11 +267,7 @@ export default { ...@@ -267,11 +267,7 @@ export default {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: flex-end; align-items: flex-end;
<<<<<<< HEAD
margin-bottom: 20px; margin-bottom: 20px;
=======
margin-bottom: 10px;
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
} }
.pagination { .pagination {
......
...@@ -295,11 +295,7 @@ export default { ...@@ -295,11 +295,7 @@ export default {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
<<<<<<< HEAD
margin-bottom: 20px; margin-bottom: 20px;
=======
margin-bottom: 10px;
>>>>>>> f07b1c1b191bef418ce077a9c7b4d53fd7b72cee
} }
.pagination { .pagination {
margin: 16px; margin: 16px;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论