From d109b375063dd3e59754973ff55cd88d51d8b95f Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期五, 10 十一月 2023 10:41:00 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/priQuote/priQuote.js | 4 +++- src/main/webapp/static/js/plan/plan.js | 1 - src/main/webapp/static/js/priOnline2/priOnline.js | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/static/js/plan/plan.js b/src/main/webapp/static/js/plan/plan.js index eb46181..45b75bd 100644 --- a/src/main/webapp/static/js/plan/plan.js +++ b/src/main/webapp/static/js/plan/plan.js @@ -287,7 +287,6 @@ $("#upload-file-id-" + file.lastModified).html("涓婁紶涓�") putObject(file,(p) => { - // console.log(p) $("#upload-file-id-" + file.lastModified).html("涓婁紶涓細" + (Math.round(p * 100)) + "%") }).then((result) => { var filename = result.name diff --git a/src/main/webapp/static/js/priOnline2/priOnline.js b/src/main/webapp/static/js/priOnline2/priOnline.js index 0a90cb0..4e1e81c 100644 --- a/src/main/webapp/static/js/priOnline2/priOnline.js +++ b/src/main/webapp/static/js/priOnline2/priOnline.js @@ -317,7 +317,9 @@ var file = _uploadFile $("#upload-file-id-" + file.lastModified).html("涓婁紶涓�") - putObject(file).then((result) => { + putObject(file,(p) => { + $("#upload-file-id-" + file.lastModified).html("涓婁紶涓細" + (Math.round(p * 100)) + "%") + }).then((result) => { var filename = result.name layer.msg('涓婁紶鎴愬姛', {icon: 1}); $("#upload-file-id-" + file.lastModified).html("涓婁紶鎴愬姛") diff --git a/src/main/webapp/static/js/priQuote/priQuote.js b/src/main/webapp/static/js/priQuote/priQuote.js index 5ef585b..bd718e9 100644 --- a/src/main/webapp/static/js/priQuote/priQuote.js +++ b/src/main/webapp/static/js/priQuote/priQuote.js @@ -202,7 +202,9 @@ var file = _uploadFile $("#upload-file-id-" + file.lastModified).html("涓婁紶涓�") - putObject(file).then((result) => { + putObject(file,(p) => { + $("#upload-file-id-" + file.lastModified).html("涓婁紶涓細" + (Math.round(p * 100)) + "%") + }).then((result) => { var filename = result.name layer.msg('涓婁紶鎴愬姛', {icon: 1}); $("#upload-file-id-" + file.lastModified).html("涓婁紶鎴愬姛") -- Gitblit v1.9.1