|
@@ -5,7 +5,32 @@
|
|
|
<div class="f_box_top_title">文件</div>
|
|
|
</div>
|
|
|
<div class="f_box_top_right">
|
|
|
- <div class="btn" @click="serchFile">刷新</div>
|
|
|
+ <el-button type="primary" size="small" @click="serchFile"
|
|
|
+ >刷新</el-button
|
|
|
+ >
|
|
|
+ <el-button type="primary" size="small" @click="addImg($event)"
|
|
|
+ >上传文件
|
|
|
+ <input
|
|
|
+ type="file"
|
|
|
+ accept="*"
|
|
|
+ style="display: none"
|
|
|
+ multiple="multiple"
|
|
|
+ @change="beforeUpload($event)"
|
|
|
+ /></el-button>
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ size="small"
|
|
|
+ @click="openG"
|
|
|
+ v-if="userid == data.userid && data.isMo == '2'"
|
|
|
+ >关联文件</el-button
|
|
|
+ >
|
|
|
+ <el-button type="primary" size="small" @click="batchRemove"
|
|
|
+ >移除</el-button
|
|
|
+ >
|
|
|
+ <el-button type="danger" size="small" @click="batchDelete"
|
|
|
+ >删除</el-button
|
|
|
+ >
|
|
|
+ <!-- <div class="btn" @click="serchFile">刷新</div>
|
|
|
<div class="btn" @click="addImg($event)">
|
|
|
上传文件
|
|
|
<input
|
|
@@ -15,10 +40,10 @@
|
|
|
multiple="multiple"
|
|
|
@change="beforeUpload($event)"
|
|
|
/>
|
|
|
- </div>
|
|
|
- <div class="btn" @click="openG" v-if="userid == data.userid && data.isMo == '2'">关联文件</div>
|
|
|
+ </div> -->
|
|
|
+ <!-- <div class="btn" @click="openG" v-if="userid == data.userid && data.isMo == '2'">关联文件</div>
|
|
|
<div class="btn" @click="batchRemove">移除</div>
|
|
|
- <div class="btn delBtn" @click="batchDelete">删除</div>
|
|
|
+ <div class="btn delBtn" @click="batchDelete">删除</div> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="f_box_top">
|
|
@@ -32,7 +57,7 @@
|
|
|
@input="debouncedSearch"
|
|
|
/>
|
|
|
<div class="serch"></div>
|
|
|
- <!-- @click="serchFile" -->
|
|
|
+ <!-- @click="serchFile" -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -50,39 +75,89 @@
|
|
|
style="width: 100%"
|
|
|
@selection-change="handleSelectionChange"
|
|
|
ref="myTable"
|
|
|
- :row-key="(row) => row.id"
|
|
|
+ :row-key="row => row.id"
|
|
|
>
|
|
|
<el-table-column
|
|
|
type="selection"
|
|
|
width="50px"
|
|
|
:reserve-selection="true"
|
|
|
></el-table-column>
|
|
|
- <el-table-column prop="name" label="文件名" show-overflow-tooltip min-width="15"></el-table-column>
|
|
|
- <el-table-column prop="username" label="拥有者" show-overflow-tooltip min-width="20"></el-table-column>
|
|
|
- <el-table-column prop="folderName" label="所属文件夹" show-overflow-tooltip min-width="20"></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="name"
|
|
|
+ label="文件名"
|
|
|
+ show-overflow-tooltip
|
|
|
+ min-width="15"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="username"
|
|
|
+ label="拥有者"
|
|
|
+ show-overflow-tooltip
|
|
|
+ min-width="20"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="folderName"
|
|
|
+ label="所属文件夹"
|
|
|
+ show-overflow-tooltip
|
|
|
+ min-width="20"
|
|
|
+ ></el-table-column>
|
|
|
<el-table-column label="处理状态" width="80px">
|
|
|
<template slot-scope="scope">
|
|
|
{{ getState(scope.row.ingestionStatus) }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="是否已提取知识图谱" width="150px">
|
|
|
+ <el-table-column label="是否提取" width="80px">
|
|
|
<template slot-scope="scope">
|
|
|
{{ getState2(scope.row.extractionStatus) }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="文件类型" show-overflow-tooltip min-width="10">
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.documentType ? scope.row.documentType : '-' }}
|
|
|
+ <el-table-column
|
|
|
+ label="文件类型"
|
|
|
+ show-overflow-tooltip
|
|
|
+ min-width="10"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{ scope.row.documentType ? scope.row.documentType : "-" }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<!-- <el-table-column label="公开状态" show-overflow-tooltip width="80px"></el-table-column> -->
|
|
|
- <el-table-column prop="time" label="上传时间" show-overflow-tooltip min-width="20"></el-table-column>
|
|
|
- <el-table-column label="操作" width="250px">
|
|
|
+ <el-table-column
|
|
|
+ prop="time"
|
|
|
+ label="上传时间"
|
|
|
+ show-overflow-tooltip
|
|
|
+ min-width="20"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column label="操作" width="300px">
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
- <el-button type="primary" size="small" @click="check(scope.row)" :disabled="scope.row.ingestionStatus == 'failed'">查看</el-button>
|
|
|
- <el-button type="primary" size="small" v-if="userid == data.userid && data.isMo == '2'" @click="removeFile(scope.row.id, scope.row.documentid)">移除</el-button>
|
|
|
- <el-button type="danger" size="small" v-if="userid == scope.row.userid" @click="deleteFile(scope.row.id, scope.row.documentid)">删除</el-button>
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ size="small"
|
|
|
+ @click="extractFile(scope.row)"
|
|
|
+ v-if="userid == data.userid "
|
|
|
+ :disabled="scope.row.ingestionStatus == 'failed'"
|
|
|
+ >提取</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ size="small"
|
|
|
+ @click="checkFile(scope.row)"
|
|
|
+ :disabled="scope.row.ingestionStatus == 'failed'"
|
|
|
+ >查看</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ size="small"
|
|
|
+ v-if="userid == data.userid && data.isMo == '2'"
|
|
|
+ @click="removeFile(scope.row.id, scope.row.documentid)"
|
|
|
+ >移除</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ type="danger"
|
|
|
+ size="small"
|
|
|
+ v-if="userid == scope.row.userid"
|
|
|
+ @click="deleteFile(scope.row.id, scope.row.documentid)"
|
|
|
+ >删除</el-button
|
|
|
+ >
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -129,8 +204,8 @@ import wpdf from "../test/file/wPdf2.vue";
|
|
|
import wOffice from "../test/file/wOffice.vue";
|
|
|
|
|
|
import { v4 as uuidv4 } from "uuid";
|
|
|
-import relateFiles from './components/relateFiles'
|
|
|
-import checkDialog from './components/checkDialog'
|
|
|
+import relateFiles from "./components/relateFiles";
|
|
|
+import checkDialog from "./components/checkDialog";
|
|
|
export default {
|
|
|
components: {
|
|
|
wVideo,
|
|
@@ -141,22 +216,22 @@ export default {
|
|
|
},
|
|
|
props: {
|
|
|
userid: {
|
|
|
- type: String,
|
|
|
+ type: String
|
|
|
},
|
|
|
typeArray: {
|
|
|
- type: Array,
|
|
|
+ type: Array
|
|
|
},
|
|
|
pid: {
|
|
|
- type: String,
|
|
|
+ type: String
|
|
|
},
|
|
|
folderid: {
|
|
|
- type: String,
|
|
|
+ type: String
|
|
|
},
|
|
|
moFolderid: {
|
|
|
- type: String,
|
|
|
+ type: String
|
|
|
},
|
|
|
data: {
|
|
|
- type: Object,
|
|
|
+ type: Object
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
@@ -167,11 +242,11 @@ export default {
|
|
|
this.fileArray = [];
|
|
|
this.checkArray = [];
|
|
|
this.fileName = "";
|
|
|
- this.proVisible = false
|
|
|
- this.page = 1
|
|
|
+ this.proVisible = false;
|
|
|
+ this.page = 1;
|
|
|
this.getData();
|
|
|
- },
|
|
|
- },
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -198,12 +273,12 @@ export default {
|
|
|
limit: 10,
|
|
|
total: 0,
|
|
|
page: 1,
|
|
|
- debounceTimeout: null,
|
|
|
+ debounceTimeout: null
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
- getState() {
|
|
|
- return function (item) {
|
|
|
+ getState() {
|
|
|
+ return function(item) {
|
|
|
if (item == "success") {
|
|
|
return "成功";
|
|
|
} else if (item == "failed") {
|
|
@@ -214,15 +289,15 @@ export default {
|
|
|
return "待处理";
|
|
|
} else if (item == "enriched") {
|
|
|
return "enriched";
|
|
|
- } else if(!item){
|
|
|
- return "上传中"
|
|
|
+ } else if (!item) {
|
|
|
+ return "上传中";
|
|
|
} else {
|
|
|
- return item
|
|
|
+ return item;
|
|
|
}
|
|
|
};
|
|
|
},
|
|
|
getState2() {
|
|
|
- return function (item) {
|
|
|
+ return function(item) {
|
|
|
if (item == "success") {
|
|
|
return "成功";
|
|
|
} else if (item == "failed") {
|
|
@@ -233,13 +308,13 @@ export default {
|
|
|
return "处理中";
|
|
|
} else if (item == "enriched") {
|
|
|
return "enriched";
|
|
|
- } else if(!item){
|
|
|
- return "上传中"
|
|
|
+ } else if (!item) {
|
|
|
+ return "上传中";
|
|
|
} else {
|
|
|
- return item
|
|
|
+ return item;
|
|
|
}
|
|
|
};
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
handleCurrentChange(val) {
|
|
@@ -253,24 +328,27 @@ export default {
|
|
|
folderid: this.folderid,
|
|
|
n: this.fileName.trim(),
|
|
|
page: this.page,
|
|
|
- num: this.limit,
|
|
|
+ num: this.limit
|
|
|
};
|
|
|
this.ajax
|
|
|
.post(this.$store.state.fileApi + "getFile", [params])
|
|
|
- .then((res) => {
|
|
|
+ .then(res => {
|
|
|
this.isLoading = false;
|
|
|
console.log(res.data);
|
|
|
this.total = res.data.result.length ? res.data.result[0].num : 0;
|
|
|
this.fileArray = res.data.result;
|
|
|
})
|
|
|
- .catch((err) => {
|
|
|
+ .catch(err => {
|
|
|
this.isLoading = false;
|
|
|
console.error(err);
|
|
|
});
|
|
|
},
|
|
|
handleSelectionChange(selectedRows) {
|
|
|
- this.checkArray = selectedRows.map((row) => row.id);
|
|
|
- this.checkArray2 = selectedRows.map(row => ({ id: row.id, documentid: row.documentid }));
|
|
|
+ this.checkArray = selectedRows.map(row => row.id);
|
|
|
+ this.checkArray2 = selectedRows.map(row => ({
|
|
|
+ id: row.id,
|
|
|
+ documentid: row.documentid
|
|
|
+ }));
|
|
|
},
|
|
|
addImg(e) {
|
|
|
var el = e.currentTarget;
|
|
@@ -281,7 +359,7 @@ export default {
|
|
|
event.preventDefault(); // 阻止默认的浏览器下载行为
|
|
|
const files = event.dataTransfer.files;
|
|
|
if (files.length) {
|
|
|
- this.beforeUpload({target:{files}});
|
|
|
+ this.beforeUpload({ target: { files } });
|
|
|
}
|
|
|
},
|
|
|
debouncedSearch() {
|
|
@@ -299,18 +377,29 @@ export default {
|
|
|
let cfindex2 = 0;
|
|
|
this.proVisible = true;
|
|
|
const allowedExtensions = [
|
|
|
- "csv","xls","xlsx","md","pdf","txt","ppt","pptx","docx"
|
|
|
+ "csv",
|
|
|
+ "xls",
|
|
|
+ "xlsx",
|
|
|
+ "md",
|
|
|
+ "pdf",
|
|
|
+ "txt",
|
|
|
+ "ppt",
|
|
|
+ "pptx",
|
|
|
+ "docx"
|
|
|
];
|
|
|
// let uuid = uuidv4();
|
|
|
// let res = window.uploadFile({ file: event.target.files[0], uuid, userid:this.userid, folderid:this.folderid, moFolderid: this.moFolderid })
|
|
|
// console.log(res);
|
|
|
-
|
|
|
+
|
|
|
// return
|
|
|
- const uploadFiles = async (files) => {
|
|
|
+ const uploadFiles = async files => {
|
|
|
for (let cfindex = 0; cfindex < files.length; cfindex++) {
|
|
|
file = files[cfindex];
|
|
|
- const fileExtension = file.name.split('.').pop().toLowerCase();
|
|
|
-
|
|
|
+ const fileExtension = file.name
|
|
|
+ .split(".")
|
|
|
+ .pop()
|
|
|
+ .toLowerCase();
|
|
|
+
|
|
|
if (!allowedExtensions.includes(fileExtension)) {
|
|
|
this.$message.error(`不支持的文件格式: ${file.name}`);
|
|
|
await new Promise(resolve => setTimeout(resolve, 1000)); // 延迟1秒再跳过
|
|
@@ -322,11 +411,17 @@ export default {
|
|
|
const timestamp = Date.now();
|
|
|
const baseName = file.name.slice(0, -(fileExtension.length + 1));
|
|
|
let string = [this.folderid, this.moFolderid].filter(id => id);
|
|
|
- formData.append('file', new File([file], `${baseName}${timestamp}.${fileExtension}`));
|
|
|
- formData.append('collection_ids', JSON.stringify(string));
|
|
|
- formData.append('id', uuid);
|
|
|
- formData.append('metadata', JSON.stringify({title: file.name, collection_ids: string}));
|
|
|
- formData.append('ingestion_mode', "fast");
|
|
|
+ formData.append(
|
|
|
+ "file",
|
|
|
+ new File([file], `${baseName}${timestamp}.${fileExtension}`)
|
|
|
+ );
|
|
|
+ formData.append("collection_ids", JSON.stringify(string));
|
|
|
+ formData.append("id", uuid);
|
|
|
+ formData.append(
|
|
|
+ "metadata",
|
|
|
+ JSON.stringify({ title: file.name, collection_ids: string })
|
|
|
+ );
|
|
|
+ formData.append("ingestion_mode", "fast");
|
|
|
|
|
|
// 使用同步方式上传文件
|
|
|
await this.uploadFile(formData, file.name, uuid);
|
|
@@ -336,9 +431,11 @@ export default {
|
|
|
await new Promise(resolve => setTimeout(resolve, 5000));
|
|
|
}
|
|
|
}
|
|
|
- this.proVisible = false;
|
|
|
- this.$message.success("上传成功");
|
|
|
- this.getData(); // 在上传完所有文件后再调用getData
|
|
|
+ setTimeout(() => {
|
|
|
+ this.proVisible = false;
|
|
|
+ this.$message.success("操作完成");
|
|
|
+ this.getData(); // 在上传完所有文件后再调用getData
|
|
|
+ }, 1000);
|
|
|
};
|
|
|
|
|
|
await uploadFiles(event.target.files);
|
|
@@ -347,7 +444,7 @@ export default {
|
|
|
try {
|
|
|
this.ajax.post("https://r2rserver.cocorobo.cn/v3/documents", formData, {
|
|
|
headers: {
|
|
|
- 'Content-Type': 'multipart/form-data'
|
|
|
+ "Content-Type": "multipart/form-data"
|
|
|
}
|
|
|
});
|
|
|
|
|
@@ -359,7 +456,9 @@ export default {
|
|
|
fid: this.folderid,
|
|
|
mofid: this.moFolderid != this.folderid ? this.moFolderid : ""
|
|
|
};
|
|
|
- const res2 = await this.ajax.post(this.$store.state.api + 'addFile', [params]);
|
|
|
+ const res2 = await this.ajax.post(this.$store.state.api + "addFile", [
|
|
|
+ params
|
|
|
+ ]);
|
|
|
|
|
|
console.log(res2);
|
|
|
} catch (err) {
|
|
@@ -382,94 +481,113 @@ export default {
|
|
|
this.$confirm("确定删除该文件吗?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
- type: "warning",
|
|
|
+ type: "warning"
|
|
|
})
|
|
|
- .then(() => {
|
|
|
- let params = [{
|
|
|
- ids: fileid,
|
|
|
- documentids: documentid,
|
|
|
- }];
|
|
|
+ .then(() => {
|
|
|
+ let params = [
|
|
|
+ {
|
|
|
+ ids: fileid,
|
|
|
+ documentids: documentid
|
|
|
+ }
|
|
|
+ ];
|
|
|
this.ajax
|
|
|
- .post(this.$store.state.fileApi + "deleteFile", params)
|
|
|
- .then((res) => {
|
|
|
+ .post(this.$store.state.fileApi + "deleteFile", params)
|
|
|
+ .then(res => {
|
|
|
this.$message({
|
|
|
message: "删除成功",
|
|
|
- type: "success",
|
|
|
+ type: "success"
|
|
|
});
|
|
|
- this.checkArray = []
|
|
|
- this.checkArray2 = []
|
|
|
+ this.checkArray = [];
|
|
|
+ this.checkArray2 = [];
|
|
|
this.$refs.myTable.clearSelection();
|
|
|
this.getData();
|
|
|
})
|
|
|
- .catch((err) => {
|
|
|
+ .catch(err => {
|
|
|
this.$message.error("删除失败");
|
|
|
console.error(err);
|
|
|
});
|
|
|
})
|
|
|
- .catch(() => {});
|
|
|
+ .catch(() => {});
|
|
|
},
|
|
|
- batchDelete(){
|
|
|
- if(!this.checkArray.length){
|
|
|
- this.$message.warning("请选择要删除的文件")
|
|
|
+ batchDelete() {
|
|
|
+ if (!this.checkArray.length) {
|
|
|
+ this.$message.warning("请选择要删除的文件");
|
|
|
return;
|
|
|
}
|
|
|
let array = this.checkArray2.map(item => item.id);
|
|
|
let array2 = this.checkArray2.map(item => item.documentid);
|
|
|
- this.deleteFile(array.join(","), array2.join(","))
|
|
|
+ this.deleteFile(array.join(","), array2.join(","));
|
|
|
},
|
|
|
- removeFile(fileid, documentid){
|
|
|
+ removeFile(fileid, documentid) {
|
|
|
this.$confirm("确定移除该文件吗?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
- type: "warning",
|
|
|
+ type: "warning"
|
|
|
})
|
|
|
- .then(() => {
|
|
|
- let params = [{
|
|
|
- ids: fileid,
|
|
|
- documentids: documentid,
|
|
|
- folderid: this.folderid
|
|
|
- }];
|
|
|
+ .then(() => {
|
|
|
+ let params = [
|
|
|
+ {
|
|
|
+ ids: fileid,
|
|
|
+ documentids: documentid,
|
|
|
+ folderid: this.folderid
|
|
|
+ }
|
|
|
+ ];
|
|
|
this.ajax
|
|
|
- .post(this.$store.state.fileApi + "removeFile", params)
|
|
|
- .then((res) => {
|
|
|
+ .post(this.$store.state.fileApi + "removeFile", params)
|
|
|
+ .then(res => {
|
|
|
this.$message({
|
|
|
message: "移除成功",
|
|
|
- type: "success",
|
|
|
+ type: "success"
|
|
|
});
|
|
|
- this.checkArray = []
|
|
|
- this.checkArray2 = []
|
|
|
+ this.checkArray = [];
|
|
|
+ this.checkArray2 = [];
|
|
|
this.$refs.myTable.clearSelection();
|
|
|
this.getData();
|
|
|
})
|
|
|
- .catch((err) => {
|
|
|
+ .catch(err => {
|
|
|
this.$message.error("移除失败");
|
|
|
console.error(err);
|
|
|
});
|
|
|
})
|
|
|
- .catch(() => {});
|
|
|
+ .catch(() => {});
|
|
|
},
|
|
|
- batchRemove(){
|
|
|
- if(!this.checkArray.length){
|
|
|
- this.$message.warning("请选择要移除的文件")
|
|
|
+ batchRemove() {
|
|
|
+ if (!this.checkArray.length) {
|
|
|
+ this.$message.warning("请选择要移除的文件");
|
|
|
return;
|
|
|
}
|
|
|
let array = this.checkArray2.map(item => item.id);
|
|
|
let array2 = this.checkArray2.map(item => item.documentid);
|
|
|
- this.removeFile(array.join(","), array2.join(","))
|
|
|
+ this.removeFile(array.join(","), array2.join(","));
|
|
|
},
|
|
|
isSelectable(row) {
|
|
|
- return row.isMo !== '2';
|
|
|
+ return row.isMo !== "2";
|
|
|
},
|
|
|
- openG(){
|
|
|
- this.$refs.relateFiles.openG(this.userid, this.folderid, this.moFolderid)
|
|
|
+ openG() {
|
|
|
+ this.$refs.relateFiles.openG(this.userid, this.folderid, this.moFolderid);
|
|
|
},
|
|
|
- check(row){
|
|
|
+ checkFile(row) {
|
|
|
this.$refs.checkDialog.openG(row.documentid);
|
|
|
+ },
|
|
|
+ extractFile(row) {
|
|
|
+ let params = {
|
|
|
+ documentid: row.documentid
|
|
|
+ };
|
|
|
+ // 获取切片
|
|
|
+ try {
|
|
|
+ const res = this.ajax.post(this.$store.state.fileApi + "extractFile2", [
|
|
|
+ params
|
|
|
+ ]);
|
|
|
+ console.log(res.data);
|
|
|
+ this.$message.success("提取文件中");
|
|
|
+ this.getData();
|
|
|
+ } catch (err) {
|
|
|
+ console.error(err);
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
// this.getData();
|
|
|
-
|
|
|
// const script = document.createElement('script');
|
|
|
// script.src = 'https://beta.cloud.cocorobo.cn/js/Common/uploadR2R.js';
|
|
|
// script.type = 'text/javascript';
|
|
@@ -482,7 +600,7 @@ export default {
|
|
|
// console.error('上传脚本加载失败');
|
|
|
// };
|
|
|
// document.head.appendChild(script);
|
|
|
- },
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|
|
|
|
|
@@ -562,18 +680,18 @@ export default {
|
|
|
|
|
|
.f_box_top_right > .input {
|
|
|
position: relative;
|
|
|
- width: 250px;
|
|
|
- height: 35px;
|
|
|
+ width: 280px;
|
|
|
+ height: 40px;
|
|
|
}
|
|
|
|
|
|
.f_box_top_right > .input > input {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- border: 1px solid #d9d9d9;
|
|
|
+ border: 1px solid #dcdfe6;
|
|
|
border-radius: 5px;
|
|
|
- padding: 0 45px 0 10px;
|
|
|
+ padding: 0 45px 0 15px;
|
|
|
box-sizing: border-box;
|
|
|
- font-size: 12px;
|
|
|
+ font-size: 14px;
|
|
|
outline: none;
|
|
|
}
|
|
|
|
|
@@ -916,4 +1034,4 @@ export default {
|
|
|
white-space: nowrap;
|
|
|
text-overflow: ellipsis;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|