中扬CRM客户关系管理系统
#
LSH
2023-11-27 03d3cd458fc0dee8859564073ae3e754df228e2f
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,14 +638,16 @@
                // 构建带参数的内容
                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
                        planId:planIdSign,
                        planIdI:data.id,
                    },
                    success: function(response) {
                        if (response.code==200){