Commit 40d737a9 authored by 华国豪's avatar 华国豪 🙄

‘部分修改’

parent 64db3e8d
......@@ -1020,7 +1020,7 @@ export default {
let fileSize = file.file.size<1024? file.file.size:(file.file.size / 1024).toFixed(0);
this.saveMsg.push({
Type:fileTypeNumber,
Content: x.name,
Content: x.data.FilePath,
Url: this.domainManager().ViittoFileUrl + x.data.FilePath,
});
this.$message.success('上传成功');
......
......@@ -656,14 +656,14 @@ export default {
let fileSize = file.file.size<1024? file.file.size:(file.file.size / 1024).toFixed(0);
if (this.inUploadTrue) {
this.inList[this.inUploadIndex].vorcherInos.push({
Content: this.domainManager().ViittoFileUrl + x.data.FilePath,
Content: x.data.FilePath,
ID:0,
Type:fileTypeNumber,
Url:this.domainManager().ViittoFileUrl + x.data.FilePath,
})
} else {
this.outList[this.inUploadIndex].vorcherInos.push({
Content: this.domainManager().ViittoFileUrl + x.data.FilePath,
Content: x.data.FilePath,
ID:0,
Type:fileTypeNumber,
Url:this.domainManager().ViittoFileUrl + x.data.FilePath,
......
......@@ -816,7 +816,7 @@ export default {
this.UploadSelfFile(path, newArr, x => {
let fileSize = file.file.size<1024? file.file.size:(file.file.size / 1024).toFixed(0);
this.saveMsg.push({
Content: this.domainManager().ViittoFileUrl + x.data.FilePath,
Content: x.data.FilePath,
ID:0,
Type:fileTypeNumber,
Url: this.domainManager().ViittoFileUrl + x.data.FilePath,
......
......@@ -779,7 +779,7 @@ export default {
this.UploadSelfFile(path, newArr, x => {
let fileSize = file.file.size<1024? file.file.size:(file.file.size / 1024).toFixed(0);
this.saveMsg.push({
Content: this.domainManager().ViittoFileUrl + x.data.FilePath,
Content: x.data.FilePath,
ID:0,
Type:fileTypeNumber,
Url: this.domainManager().ViittoFileUrl + x.data.FilePath,
......
......@@ -735,7 +735,7 @@
let path = "/Upload/Temporary/";
this.UploadSelfFile(path, newArr, x => {
this.TemporaryItem.VoucherPicList.push({
id: x.name,
id: x.data.FilePath,
FileName: file.file.name,
url: this.domainManager().ViittoFileUrl + x.data.FilePath,
})
......
......@@ -774,7 +774,7 @@ export default {
let path = "/Upload/Temporary/";
this.UploadSelfFile(path, newArr, x => {
this.apipost('dmc_get_visa_UploadVisaInformation', {
Path: this.domainManager().ViittoFileUrl + x.data.FilePath,
Path: x.data.FilePath,
FileName: file.file.name,
Status: 1,
TCID: this.uploadTCID
......
......@@ -749,8 +749,8 @@
let fileName = file.file.name;
var path = "/Upload/DMC/";
this.UploadSelfFile(path, newArr, x => {
var str = this.domainManager().ViittoFileUrl + x.data.FilePath;
var imgUrl = str;
var str = x.data.FilePath;
var imgUrl = this.domainManager().ViittoFileUrl + str;
this.imgArray.push(imgUrl);
this.PicPathArray.push(str);
});
......
......@@ -527,7 +527,7 @@
let fileSize = file.file.size<1024? file.file.size:(file.file.size / 1024).toFixed(0);
this.saveMsg = []
this.saveMsg.push({
Path: this.domainManager().ViittoFileUrl + x.data.FilePath,
Path: x.data.FilePath,
FileName: file.file.name,
MD5Sign: file.file.uid,
FileSize: fileSize,
......
......@@ -962,9 +962,8 @@
//统一图片处理
var obj = this.$DMCUtils.DMCImageObj();
var str = this.domainManager().ViittoFileUrl + x.data.FilePath;
var imgUrl = str;
obj.Path = str;
obj.ShowPath = imgUrl;
obj.Path = x.data.FilePath;
obj.ShowPath = str;
this.TicketCouponsImageArray.push(obj);
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment