diff --git a/src/components/FirstJob/recordBill.vue b/src/components/FirstJob/recordBill.vue index ffc8b57..582360a 100644 --- a/src/components/FirstJob/recordBill.vue +++ b/src/components/FirstJob/recordBill.vue @@ -690,7 +690,7 @@ export default { that.dataObj.policy = response.data.policy that.dataObj.signature = response.data.signature that.dataObj.ossaccessKeyId = response.data.accessid - that.dataObj.key = response.data.dir + that.getUUID() + '_${filename}' + that.dataObj.key = response.data.dir + that.getUUID() that.dataObj.dir = response.data.dir that.dataObj.host = response.data.host console.log('响应的数据222。。。', that.dataObj) @@ -712,7 +712,8 @@ export default { let _self = this this.loading = true var formData = new FormData() - + let str = file.file.name.replace(/\s/g, "") + _self.dataObj.key = _self.dataObj.key + str //注意formData里append添加的键的大小写 formData.append('key', _self.dataObj.key) //存储在oss的文件路径 formData.append('OSSAccessKeyId', _self.dataObj.ossaccessKeyId) //accessKeyId @@ -785,7 +786,7 @@ export default { file.onSuccess() _self.uploadFileFlag = true console.log(data) - var img = _self.dataObj.host + '/' + _self.dataObj.key.replace('${filename}', file.file.name) + var img = _self.dataObj.host + '/' + _self.dataObj.key _self.form.idCardImageUrl = img console.log(_self.form.idCardImageUrl) }, @@ -801,7 +802,8 @@ export default { let _self = this var formData = new FormData() - + let str = file.file.name.replace(/\s/g, "") + _self.dataObj.key = _self.dataObj.key + str //注意formData里append添加的键的大小写 formData.append('key', _self.dataObj.key) //存储在oss的文件路径 formData.append('OSSAccessKeyId', _self.dataObj.ossaccessKeyId) //accessKeyId @@ -829,7 +831,7 @@ export default { success: function (data) { file.onSuccess() console.log(data) - var img = _self.dataObj.host + '/' + _self.dataObj.key.replace('${filename}', file.file.name) + var img = _self.dataObj.host + '/' + _self.dataObj.key that.fileListT2.push(img) }, fail: function (err) { diff --git a/src/components/screen/largeScreen.vue b/src/components/screen/largeScreen.vue index 7f20b7c..0334779 100644 --- a/src/components/screen/largeScreen.vue +++ b/src/components/screen/largeScreen.vue @@ -186,7 +186,7 @@ export default { ruzhiStyle: '', array: [], isAuto: true, - autoSpeed: 1000000, + autoSpeed: 10000, pageSize: 10, // pageSize: 5, @@ -859,7 +859,8 @@ div{ } .ttd{ text-align: center; - font-size: 22px; + font-size: 22px; + line-height: 1.6; } .lNum{ font-size: 22px;