44323
2023-09-16 fd658508f4470f0c479b2a36738b0f50481cbbe9
cloud-server-management/src/main/webapp/static/modular/system/benefits/TBenefits.js
@@ -29,7 +29,12 @@
            }}
    ];
};
/**
 * 关闭此对话框
 */
TQuestion.close = function() {
    parent.layer.close(window.parent.TQuestion.layerIndex);
}
/**
 * 检查是否选中
 */
@@ -266,6 +271,8 @@
        data: JSON.stringify(data),
        contentType: "application/json",
        success: function (response) {
            window.parent.TQuestion.table.refresh();
            TQuestion.close();
            Feng.success("添加成功");
        },
@@ -273,7 +280,7 @@
            Feng.error("添加失败!" + error);
        }
    });
    TSite.search();
};
TQuestion.updateSubmit = function(){
    var data = {
@@ -304,14 +311,17 @@
        data: JSON.stringify(data),
        contentType: "application/json",
        success: function (response) {
            window.parent.TQuestion.table.refresh();
            TQuestion.close();
            Feng.success("添加成功");
        },
        error: function (xhr, status, error) {
            Feng.error("添加失败!" + error);
        }
    });
    TSite.search();
};
/**
 * 查询列表
 */