中扬CRM客户关系管理系统
LSH
2023-07-31 096ffe7665837c03bb30835bfb16a14f5aaa647e
src/main/webapp/static/js/plan/plan.js
@@ -208,9 +208,8 @@
        ,auto: false
        ,bindAction: '#testListAction'
        ,choose: function(obj){
            console.log(obj)
            console.log(this.data)
            console.log($('.layui-layer-title').text())
            // 赋值
            this.data.planId=$('.layui-layer-title').text()
            var that = this;
            var files = this.files = obj.pushFile(); //将每次选择的文件追加到文件队列
            //读取本地文件
@@ -240,9 +239,6 @@
                that.elemList.append(tr);
                element.render('progress'); //渲染新加的进度条组件
            });
        }
        ,data : {
            planId : $('.layui-layer-title').text()
        }
        ,done: function(res, index, upload){ //成功的回调
            var that = this;
@@ -560,9 +556,6 @@
                            targetTable.innerHTML = '';
                            // 将获取到的文件列表添加到文件队列中进行显示
                            response.data.forEach(function(file,index) {
                                console.log('Failed to get file list data.');
                                console.log(file);
                                // 创建tr元素
                                var tr = document.createElement("tr");
                                tr.id = "upload-"+index;