#
luxiaotao1123
2021-04-03 918cf69e763d30a1315fa1c83a964dae4dd88f12
#
3个文件已修改
9 ■■■■■ 已修改文件
src/main/webapp/static/js/locStatis/locStatis.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pda/locDetlIframe.html 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/resource/resource.html 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/locStatis/locStatis.js
@@ -47,7 +47,6 @@
            statusCode: 200
        },
        done: function(res, curr, count) {
            console.log(res)
            if (res.code === 403) {
                top.location.href = baseUrl+"/";
            }
src/main/webapp/views/pda/locDetlIframe.html
@@ -102,7 +102,6 @@
    var countDom = $('#count');
    function save() {
        console.log(countDom.val())
        if (countDom.val() < 1) {
            return;
        }
@@ -133,4 +132,4 @@
        countDom.val(countDom.val() - 1);
    }
</script>
</html>
</html>
src/main/webapp/views/resource/resource.html
@@ -210,7 +210,7 @@
                    form.val('detail', mData);
                    // 表单提交事件
                    form.on('submit(editSubmit)', function (data) {
                        data.field.parentId = insXmSel.getValue('valueStr');
                        data.field.resourceId = insXmSel.getValue('valueStr');
                        var loadIndex = layer.load(2);
                        $.ajax({
                            url: baseUrl+"/resource/"+(mData?'update':'add')+"/auth",
@@ -223,6 +223,9 @@
                                    layer.close(dIndex);
                                    layer.msg(res.msg, {icon: 1});
                                    insTb.refresh();
                                    setTimeout(function () {
                                        insTb.expand(data.field.resourceId);
                                    }, 200)
                                } else if (res.code === 403){
                                    top.location.href = baseUrl+"/";
                                }else {