中扬CRM客户关系管理系统
LSH
2023-09-12 e542e0baddf674e406e59a8bb40dd6aa80431f54
src/main/webapp/views/priOnline2/priOnline_more.html
@@ -141,23 +141,23 @@
                success: function (res) {
                    notice.destroy();
                    if (res.code === 200) {
                        let priOnlineId = res.data;
                        top.priOnlineIdByMore = null;
                        $("#form-name").html(priOnlineId.name);
                        let priOnline = res.data;
                        top.priOnlineByMore = null;
                        $("#form-name").html(priOnline.name);
                        // 进度步骤图
                        let template0 = Handlebars.compile($('#stepTpl').html());
                        $('#stepBox').html(template0({list: JSON.parse(priOnlineId.settleMsg)}));
                        $('#step-' + Number(priOnlineId.step)).addClass("layui-this");
                        $('#stepBox').html(template0({list: JSON.parse(priOnline.settleMsg)}));
                        $('#step-' + Number(priOnline.step)).addClass("layui-this");
                        let template1 = Handlebars.compile($('#timelineTpl').html());
                        $('#timelineBox').html(template1({list: JSON.parse(priOnlineId.settleMsg)}));
                        $('#timelineBox').html(template1({list: JSON.parse(priOnline.settleMsg)}));
                        // 补充html
                        $('#customizeBox').html(priOnlineId.formHtml);
                        $('#customizeBox').html(priOnline.formHtml);
                        // 设备明细
                        // form.val('formAdvForm', priOnlineId);
                        // form.val('formAdvForm', priOnline);
                        // top.convertDisabled($('#formAdvForm :input'), true);
                        // 跟进人
                        // initFollowers(priOnlineId.id);
                        // initFollowers(priOnline.id);
                        layDateRender();
                    } else if (res.code === 403) {
                        top.location.href = baseUrl + "/";