|
@@ -82,7 +82,7 @@
|
|
|
<td class="file-details-cell text-[#999]">{{ getfilesize(item.size) }}</td>
|
|
|
<td class="file-details-cell points">{{ userInfo?.subscriberType === 1 ? 0 : item.price }}</td>
|
|
|
<td class="file-details-cell select w-106px">
|
|
|
- <select v-show="item.status !== 6" v-model="item.output" class="transfer-select appearance-none text-center min-w-90px" @change="changeOutput(item, index)" :disabled =" !changeFileFlag">
|
|
|
+ <select v-show="item.status !== 6" v-model="item.output" class="transfer-select appearance-none min-w-90px" @change="changeOutput(item, index)" :disabled =" !changeFileFlag">
|
|
|
<option value="docx" class="text-center">DOCX</option>
|
|
|
<option value="pptx" class="text-center">PPTX</option>
|
|
|
<option value="xlsx" class="text-center">XLSX</option>
|
|
@@ -727,6 +727,8 @@ export default {
|
|
|
},
|
|
|
data: fileArr
|
|
|
};
|
|
|
+ this.uploadSuccessNum = 0
|
|
|
+ this.uploadErrNum = 0
|
|
|
this.$axios("/mission/create", config).then((res) => {
|
|
|
if (res.code === 200) {
|
|
|
const missionFiles = res.result.missionFilePoJos;
|
|
@@ -744,8 +746,6 @@ export default {
|
|
|
// 转档第二步,上传文件download="${item.name}"
|
|
|
uploadFile(file, id, missionId) {
|
|
|
this.uploadNum = 0;
|
|
|
- this.uploadSuccessNum = 0
|
|
|
- this.uploadErrNum = 0
|
|
|
const formData = new FormData();
|
|
|
formData.append("file", file);
|
|
|
formData.append("missionFileId", id);
|
|
@@ -760,6 +760,8 @@ export default {
|
|
|
this.uploadNum++;
|
|
|
this.uploadSuccessNum++;
|
|
|
let uploadAllNum = this.uploadErrNum + this.uploadSuccessNum
|
|
|
+ // console.log("uploadAllNum",uploadAllNum)
|
|
|
+ // console.log("this.uniqFileArr.length",this.uniqFileArr.length)
|
|
|
if (uploadAllNum === this.uniqFileArr.length) {
|
|
|
this.convertFile(file.name, missionId);
|
|
|
}
|
|
@@ -1163,7 +1165,8 @@ export default {
|
|
|
font-size: 14px;
|
|
|
color: #ff4f4f;
|
|
|
line-height: 22px;
|
|
|
- // padding-left: 30px;
|
|
|
+ padding-left: 20px;
|
|
|
+ padding-right: 20px;
|
|
|
border-radius: 2px;
|
|
|
background: url(http://cn-file.17pdf.com/website/converter/ic_trans_xiala_nor.png) no-repeat 72px 6px;
|
|
|
}
|