diff --git a/groups/views.py b/groups/views.py
index 46e26bf6..792175ed 100644
--- a/groups/views.py
+++ b/groups/views.py
@@ -183,7 +183,7 @@ class CompanyCreateView(CreateView):
menus = list(role.permissions.all().values_list('menuid',flat=True))
s_models.Group.objects.create(groupname='超管', grouptype=0, usecomp=obj, menulist=menus)
s_models.Group.objects.create(groupname='安全员', grouptype=1, usecomp=obj, menulist=menus)
- s_models.Group.objects.create(groupname='全体用户', grouptype=3, usecomp=obj, menulist=menus)
+ s_models.Group.objects.create(groupname='全体用户', grouptype=3, usecomp=obj, menulist=[11])
z = s_models.Group.objects.create(groupname='主管', grouptype=2,usecomp=obj, menulist=menus)
z.users.add(adminuser)
s_models.Yjsetup.objects.create(monthyhavg=100, safev=50, warnv=75, alertv=100, maxv=200, yhpgqz=4,
diff --git a/safesite/templates/question.html b/safesite/templates/question.html
index 6ac0dbc2..b8fa2f2e 100644
--- a/safesite/templates/question.html
+++ b/safesite/templates/question.html
@@ -178,27 +178,6 @@
$("#tmtable").datagrid('reload');
}
});
- $('#gwfl').datagrid({
- url: 'grouphandle?a=list',
-
- rownumbers: true,
- singleSelect: true,
- striped: true,
- method: 'get',
- border:false,
- title:'按岗位',
- columns: [[
- { field: 'groupid', title: '用户组ID', hidden: true },
- { field: 'groupname', title: '名称', width: 100 },
- { field: 'grouptype', title: '类型', hidden:true,width: 100 },
- ]],
- onClickRow: function (index, row) {
-
- $("#tmtable").datagrid({
- url: 'api/question?a=listall&gwlx=' + row.groupid,
- });
- }
- });
$('#tmtable').datagrid({
url:'api/question',
queryParams:{a:'listall'},
diff --git a/safesite/templates/questionadd.html b/safesite/templates/questionadd.html
index 0e4823b8..6e32823b 100644
--- a/safesite/templates/questionadd.html
+++ b/safesite/templates/questionadd.html
@@ -18,20 +18,6 @@
-
diff --git a/safesite/templates/questionadd2.html b/safesite/templates/questionadd2.html
index 9a18720c..2ad50c89 100644
--- a/safesite/templates/questionadd2.html
+++ b/safesite/templates/questionadd2.html
@@ -41,20 +41,6 @@
});
-
diff --git a/safesite/templates/questionadd3.html b/safesite/templates/questionadd3.html
index 022417a4..d645e4d7 100644
--- a/safesite/templates/questionadd3.html
+++ b/safesite/templates/questionadd3.html
@@ -42,20 +42,6 @@
-
diff --git a/safesite/templates/questionchoose.html b/safesite/templates/questionchoose.html
index 9641b8fa..9cbf9099 100644
--- a/safesite/templates/questionchoose.html
+++ b/safesite/templates/questionchoose.html
@@ -106,26 +106,6 @@
$("#tmtable").datagrid('reload');
}
});
- // $('#gwfl').datagrid({
- // url: 'grouphandle?a=list',
- // rownumbers: true,
- // singleSelect: true,
- // striped: true,
- // method: 'get',
- // border:false,
- // title:'按岗位',
- // columns: [[
-
- // { field: 'groupid', title: '用户组ID', hidden: true },
- // { field: 'groupname', title: '名称', width: 100 },
- // { field: 'grouptype', title: '类型', hidden:true,width: 100 },
- // ]],
- // onClickRow: function (index, row) {
- // $("#tmtable").datagrid({
- // url: 'api/question?a=listall&gwlx=' + row.groupid,
- // });
- // }
- // });
$('#tmtable').datagrid({
url:'api/question?a=listall',
rownumbers: true,
diff --git a/safesite/templates/questionedit.html b/safesite/templates/questionedit.html
index c836c84f..0f965968 100644
--- a/safesite/templates/questionedit.html
+++ b/safesite/templates/questionedit.html
@@ -18,20 +18,6 @@
-
diff --git a/safesite/templates/questionedit2.html b/safesite/templates/questionedit2.html
index 7852fe8f..6d3d8ef1 100644
--- a/safesite/templates/questionedit2.html
+++ b/safesite/templates/questionedit2.html
@@ -41,20 +41,6 @@
});
-
diff --git a/safesite/templates/questionedit3.html b/safesite/templates/questionedit3.html
index 6b25122c..c4241c79 100644
--- a/safesite/templates/questionedit3.html
+++ b/safesite/templates/questionedit3.html
@@ -42,20 +42,6 @@
-
diff --git a/safesite/templates/usergroup.html b/safesite/templates/usergroup.html
index fc145ebc..478b37a7 100644
--- a/safesite/templates/usergroup.html
+++ b/safesite/templates/usergroup.html
@@ -37,7 +37,7 @@