bhq@iemsoft.cn
2018-05-14 14e1579c3e9663be4dfedbef411cf94dc7c2a3ed
发布时 只显示保存按钮
1 files modified
67 ■■■■ changed files
publish/js/customMin/customS_min.js 67 ●●●● patch | view | raw | blame | history
publish/js/customMin/customS_min.js
@@ -8461,40 +8461,39 @@
customShow.getFormSetting = function (btnFlag) {
    var ren = 1;
    if (btnFlag == 'printableBtn') {
        ren = customShow.options.formsetting['printable'];
    } else if (btnFlag == 'exportBtn') {
        ren = customShow.options.formsetting['exportable'];
    } else if (btnFlag == 'rejectBtn') {
        ren = customShow.options.formsetting['rejectable'];
    } else if (btnFlag == 'submitBtn') {
        ren = customShow.options.formsetting['submitable'];
    } else if (btnFlag == 'auditableBtn') {
        ren = customShow.options.formsetting['auditable'];
    } else if (btnFlag == 'queryBtn') {
        ren = customShow.options.formsetting['queryable'];
    } else if (btnFlag == 'createBtn') {
        ren = customShow.options.formsetting['createable'];
    } else if (btnFlag == 'clearBtn') {
        // ren = customShow.options.formsetting['clearable'];
        ren = 1;
    } else if (btnFlag == 'disposableBtn') {
        // ren = customShow.options.formsetting['disposable'];
        ren = 1;
    //} else if (btnFlag == 'fromSaveBtn') {
    //    if(customShow.options.customShowFlag != '3'){//发布修改  李伟民 0120
    //        ren = customShow.options.formsetting['saveable'];
    //
    //    }else{
    //        ren = 1;
    //    }
        // ren = 1;
    } else if (btnFlag == 'editableBtn') {
        ren = customShow.options.formsetting['editableBtn'];//编辑按钮受权限控制  李伟民 0204
        // ren = 1;
    }
    return ren;
    if(customShow.options.customShowFlag == '3' && btnFlag == 'saveable'){//发布修改  李伟民 0120
        ren = 1;
    } else {
        var ren = 1;
        if (btnFlag == 'printableBtn') {
            ren = customShow.options.formsetting['printable'];
        } else if (btnFlag == 'exportBtn') {
            ren = customShow.options.formsetting['exportable'];
        } else if (btnFlag == 'rejectBtn') {
            ren = customShow.options.formsetting['rejectable'];
        } else if (btnFlag == 'submitBtn') {
            ren = customShow.options.formsetting['submitable'];
        } else if (btnFlag == 'auditableBtn') {
            ren = customShow.options.formsetting['auditable'];
        } else if (btnFlag == 'queryBtn') {
            ren = customShow.options.formsetting['queryable'];
        } else if (btnFlag == 'createBtn') {
            ren = customShow.options.formsetting['createable'];
        } else if (btnFlag == 'clearBtn') {
            // ren = customShow.options.formsetting['clearable'];
            ren = 1;
        } else if (btnFlag == 'disposableBtn') {
            // ren = customShow.options.formsetting['disposable'];
        } else if (btnFlag == 'fromSaveBtn') {
           ren = customShow.options.formsetting['saveable'];
            // ren = 1;
        } else if (btnFlag == 'editableBtn') {
            ren = customShow.options.formsetting['editableBtn'];//编辑按钮受权限控制  李伟民 0204
            // ren = 1;
        }
    }
    return ren;
}
var customLinkageAnalysis = customLinkageAnalysis || {};