中扬CRM客户关系管理系统
#
LSH
2023-11-06 01f879c923118cd1667dec998563df0f9e421abd
src/main/webapp/static/js/plan/plan.js
@@ -143,14 +143,45 @@
            // ,{field: 'hostId$', align: 'center',title: '所属商户'}
            ,{field: 'userId$', align: 'left',title: '业务员',hide: false, width: 100}
            ,{field: 'planType$', align: 'left',title: '业务类型', width: 150,hide: false}
            ,{field: 'name', align: 'left',title: '售前规划申请单名称', width: 220, style: 'color: #1890ff;cursor:pointer', event: 'more',hide: false}
            ,{
                field: 'name',
                align: 'left',
                title: '售前规划申请单名称',
                width: 220,
                style: 'color: #1890ff;cursor:pointer',
                event: 'more',
                hide: false
            }
            ,{field: 'uuid', align: 'left',title: '规划单号', width: 100,hide: false}
            ,{field: 'planNeed$', align: 'left',title: '所需', templet:function(d){return emptyShow(d.planNeed$)},hide: false}
            ,{
                field: 'planNeed$',
                align: 'left',
                title: '所需',
                templet:function(d){
                    return emptyShow(d.planNeed$)
                },
                hide: false
            }
            ,{field: 'deptId$', align: 'left',title: '所属部门',hide: true}
            ,{field: 'planner$', align: 'left',title: '规划员',hide: false, width: 100}
            // ,{field: 'nowHeadman$', align: 'left',title: '规划组长',hide: true}
            ,{field: 'orderId$', align: 'left',title: '跟踪项目', width: 220, style: 'color: #1890ff;cursor:pointer', event: 'orderMore',hide: false}
            // ,{field: 'cstmrId$', align: 'left',title: '甲方单位', width: 220, style: 'color: #1890ff;cursor:pointer', event: 'cstmrMore',hide: true}
            ,{
                field: 'orderId$',
                align: 'left',
                title: '跟踪项目',
                width: 220,
                style: 'color: #1890ff;cursor:pointer',
                event: 'orderMore',hide: false
            }
            // ,{
            //     field: 'cstmrId$',
            //     align: 'left',
            //     title: '甲方单位',
            //     width: 220,
            //     style: 'color: #1890ff;cursor:pointer',
            //     event: 'cstmrMore',
            //     hide: true
            // }
            ,{field: 'appleTime$', align: 'left',title: '申请日期', hide: false}
            // ,{field: 'beItem$', align: 'center',title: '立项'}
            // ,{field: 'planner', align: 'left',title: '规划员', templet:function(d){return emptyShow(d.planner)}}
@@ -615,7 +646,9 @@
            data: { downloadUrl: downloadUrl },  // 传递下载链接作为参数
            success: function(response) {
                console.log(response)
                layer.msg(response.msg+',已下载至默认路径!详细下载路径:'+response.data, {icon: 1});
                // layer.msg(response.msg+',已下载至默认路径!详细下载路径:'+response.data, {icon: 1});
                layer.msg(response.msg, {icon: 1});
                location.href = response.data
        //         // window.open(baseUrl+response.msg)
        //         // 创建一个Blob对象
        //         var blob = new Blob([response]);