|
@@ -37,6 +37,8 @@
|
|
|
});
|
|
|
function insertTitle(tValue){
|
|
|
console.log('insertTitle')
|
|
|
+ var id = $("#id").val()
|
|
|
+ console.log('id',id)
|
|
|
var list = "${projectRecords.workAttachments}";
|
|
|
var size = (list.split('url')).length-1;
|
|
|
var files = $("#attachment_file_conciliationRecords")[0].files;
|
|
@@ -47,7 +49,7 @@
|
|
|
console.log(file);
|
|
|
var timestamp = new Date().getTime();
|
|
|
var description = ""
|
|
|
- var storeAs = "externalUnit";
|
|
|
+ var storeAs = "externalUnit/"+id;
|
|
|
var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
|
|
|
/*将这段字符串存到数据库即可*/
|
|
|
var divId = "_exterNoProcess";
|