中扬CRM客户关系管理系统
#
LSH
2023-11-24 a57112aee7438f4f550d1dd5a1b93e2a28fb386c
src/main/webapp/static/js/plan/plan.js
@@ -307,8 +307,7 @@
                data: {
                    'planId': $('.layui-layer-title').text(),
                    'filename': filename,
                    'filesize': file.size,
                    'token': token
                    'filesize': file.size
                },
                method: 'POST',
                success: function (res) {
@@ -639,12 +638,13 @@
                // 构建带参数的内容
                layer.open({
                    type: 1,
                    title: '上传文件-'+planIdSign,
                    title: '上传文件-'+planIdSign+'-'+data.id,
                    content: $('#myModal')
                });
                // 获取路径下的文件列表,使用 jQuery 的 ajax 方法
                $.ajax({
                    url: '/plan/url/view/file/auth',
                    headers: {'token': localStorage.getItem('token')},
                    data:{
                        planId:planIdSign
                    },