中扬CRM客户关系管理系统
#
LSH
2023-11-04 aa0161bf05195ccb00bc1d8da4b1b8218f93f4d3
src/main/webapp/views/priOnline2/priOnline_more.html
@@ -3,6 +3,7 @@
    #formAdvForm {
        background-color: #f3f3f3;
    }
    #formAdvForm .layui-form-item {
        margin-top: 20px;
        margin-bottom: 0;
@@ -31,7 +32,8 @@
            <div class="layui-card-header" style="padding-top: 5px; padding-bottom: 5px">
                <div>
                    <i class="layui-icon" style="font-size: 20px;color: #1890ff;font-weight: bold">&#xe656;</i>
                    <span id="form-name" style="margin: 0 6px;font-size: 18px;font-weight: bold;letter-spacing: 1px"></span>
                    <span id="form-name"
                          style="margin: 0 6px;font-size: 18px;font-weight: bold;letter-spacing: 1px"></span>
                    <span style="opacity: .5;font-size: small;margin-left: 5px">核价单</span>
                </div>
            </div>
@@ -74,7 +76,8 @@
    </div>
    <div class="form-group-bottom text-right">
        <button class="layui-btn" lay-filter="refresh" lay-submit><i class="layui-icon">&#xe666;</i>&emsp;刷新&emsp;</button>
        <button class="layui-btn" lay-filter="refresh" lay-submit><i class="layui-icon">&#xe666;</i>&emsp;刷新&emsp;
        </button>
    </div>
</form>
@@ -132,7 +135,8 @@
        form.render('select');
        init();
        function init(){
        function init() {
            notice.msg('正在载入数据......', {icon: 4, position: "topRight"});
            $.ajax({
                url: baseUrl + "/priOnline2/" + priOnlineId + "/auth",
@@ -141,23 +145,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 + "/";
@@ -175,6 +179,7 @@
                type: 'datetime'
            });
        }
        layDateRender();
        /* 监听表单提交 */