|  |  | 
 |  |  |             $("#upload-filename-id-" + file.lastModified).html(filename) | 
 |  |  |             let token = localStorage.getItem("token"); | 
 |  |  |             $.ajax({ | 
 |  |  |                 url: baseUrl+"/plan/url/insert/file/auth", | 
 |  |  |                 url: baseUrl+"/pri/online/url/insert/file/auth", | 
 |  |  |                 headers: {'token': localStorage.getItem('token')}, | 
 |  |  |                 data: { | 
 |  |  |                     'planId': $('.layui-layer-title').text(), | 
 |  |  |                     'filename': filename, | 
 |  |  |                     'filesize': file.size, | 
 |  |  |                     'token': token | 
 |  |  |                     'filesize': file.size | 
 |  |  |                 }, | 
 |  |  |                 method: 'POST', | 
 |  |  |                 success: function (res) { | 
 |  |  | 
 |  |  |                 } | 
 |  |  |                 layer.open({ | 
 |  |  |                     type: 1, | 
 |  |  |                     title: '上传文件-'+planIdSign, | 
 |  |  |                     content: $('#myModal') | 
 |  |  |                     title: '上传文件-'+planIdSign+'-'+data.id, | 
 |  |  |                     content: $('#myModal'), | 
 |  |  |  | 
 |  |  |                 }); | 
 |  |  |                 // 获取路径下的文件列表,使用 jQuery 的 ajax 方法 | 
 |  |  |                 $.ajax({ | 
 |  |  |                     url: '/plan/url/view/file/auth', | 
 |  |  |                     url: '/pri/online/url/view/file/auth', | 
 |  |  |                     headers: {'token': localStorage.getItem('token')}, | 
 |  |  |                     data:{ | 
 |  |  |                         planId:planIdSign | 
 |  |  |                     }, |