1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
| /**
| * 角色管理的单例
| */
| var HomeSystemConfigure = {
| };
|
|
| /**
| * 修改转发状态
| * @param id
| * @param s
| */
| HomeSystemConfigure.saveHomeSystemConfigure = function(){
| let content = "";
| const label1 = $('#label1').val();
| if(null == label1 || '' == label1){
| Feng.error("请填写完整信息");
| return
| }
| content = [label1];
| var ajax = new $ax(Feng.ctxPath + "/systemConfigure/saveSystemConfigure", function (data) {
| if(data.code == 200 ){
| Feng.success("保存成功!");
| HomeSystemConfigure.table.refresh();
| }else{
| Feng.error(data.msg);
| }
| }, function (data) {
| Feng.error("保存失败!" + data.responseJSON.message + "!");
| });
| ajax.set({
| id: $('#id').val(),
| type: 3,
| content: JSON.stringify(content)
| });
| ajax.start();
| }
|
|
|
| $(function () {
| });
|
|