中扬CRM客户关系管理系统
LSH
2023-07-29 b67aab4c69b0c2619a334e7ae110becd97cec4bf
src/main/webapp/static/js/plan/plan.js
@@ -3,7 +3,6 @@
var treeCond;
var admin;
var planNeedXmlSelData;
var planNeedXmlFileId;
layui.config({
    base: baseUrl + "/static/layui/lay/modules/"
}).extend({
@@ -209,6 +208,9 @@
        ,auto: false
        ,bindAction: '#testListAction'
        ,choose: function(obj){
            console.log(obj)
            console.log(this.data)
            console.log($('.layui-layer-title').text())
            var that = this;
            var files = this.files = obj.pushFile(); //将每次选择的文件追加到文件队列
            //读取本地文件
@@ -238,6 +240,9 @@
                that.elemList.append(tr);
                element.render('progress'); //渲染新加的进度条组件
            });
        }
        ,data : {
            planId : $('.layui-layer-title').text()
        }
        ,done: function(res, index, upload){ //成功的回调
            var that = this;
@@ -534,10 +539,9 @@
            case "uploadLink":
                // 打开弹窗
                // 构建带参数的内容
                planNeedXmlFileId = data.id;
                layer.open({
                    type: 1,
                    title: '上传文件',
                    title: '上传文件-'+data.id,
                    content: $('#myModal')
                });
                break;