mitao
2025-04-11 5b9816df1f38db0238ffb2951195a1c7145e8a57
bug修改
1个文件已修改
15 ■■■■ 已修改文件
cloud-server-management/src/main/webapp/WEB-INF/view/system/tHuiminAgreement/tHuiminAgreement_add.html 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
cloud-server-management/src/main/webapp/WEB-INF/view/system/tHuiminAgreement/tHuiminAgreement_add.html
@@ -3,6 +3,8 @@
    <div class="ibox-content">
        <div class="form-horizontal">
            <input type="hidden" id="id" value="${item.id!}"/>
            <input type="hidden" id="objectType" value="${objectType!}"/>
            <input type="hidden" id="operatorId" value="${operatorId!}"/>
            <div class="row">
                @if(objectType == 1){
                    <div class="tabs-container">
@@ -97,7 +99,7 @@
    $(function () {
        var objectType = '${objectType!}';
       var operatorId;
        var operatorId;
        if(objectType == 1){
            //初始化编辑器
            editor_1 = UE.getEditor('editor_1');
@@ -478,16 +480,21 @@
    };
    function submitData() {
        let objectType = $("#objectType").val();
        //提交信息
        var ajax = new $ax(Feng.ctxPath + "/tHuiminAgreement/save", function(data){
            Feng.success("保存成功!");
        },function(data){
            Feng.error("保存失败!" + data.responseJSON.message + "!");
        });
        ajax.set("addUserRemark", editor_1.getContent());
        ajax.set("selectUserRemark", editor_2.getContent());
        if (Number(objectType) === 1) {
            ajax.set("addUserRemark", editor_1.getContent());
            ajax.set("selectUserRemark", editor_2.getContent());
            ajax.set("operatorId", $("#operator").val());
        }else {
            ajax.set("operatorId", $("#operatorId").val());
        }
        ajax.set("storeNoHuiminCardIntro", editor_3.getContent());
        ajax.set("operatorId", $("#operator").val());
        ajax.set("agreementSettings", JSON.stringify(collectDynamicEditors()));
        ajax.set("id", $("#id").val());
        ajax.start();