diff --git a/safesite/templates/equipment.html b/safesite/templates/equipment.html
index c199dabb..3894dac2 100644
--- a/safesite/templates/equipment.html
+++ b/safesite/templates/equipment.html
@@ -23,8 +23,8 @@
{% endif %}
批量绑定检查表
- 批量设定每班检查次数
+
@@ -237,8 +237,7 @@
} else { return '异常' }
}
},
- { field: 'checkform__name', title: '检查表', width: 80 },
- { field: 'checknum', title: '每班检查次数', width: 40 },
+ { field: 'checkform__name', title: '检查表', width: 80 }
]],
onSelect: function (index, data) {
if ($('#b_equipment_change').length) {
diff --git a/safesite/templates/index.html b/safesite/templates/index.html
index 9c801b41..bff463d9 100644
--- a/safesite/templates/index.html
+++ b/safesite/templates/index.html
@@ -176,9 +176,9 @@
var nickname = $('#userindex').attr('nickname');
var headimgurl = $('#userindex').attr('headimgurl');
var issuper = {{ issuper }};
- if (issuper == 1) { $('#setupb').show() }
+ if (issuper == 1) { $('#setupb').show();$('#bindwx').hide()}
if ((openid == 0 ||openid == 'None') && issuper != 1) { $('#wxdg').dialog(); } else { $('#bindwx').text('解绑微信'); };
- if (headimgurl != 0 && headimgurl != 'None') { $('#headimg').attr('src', headimgurl); }
+ if (headimgurl != 0 && headimgurl != 'None' && issuper != 1) { $('#headimg').attr('src', headimgurl); }
function logout() {
$.messager.confirm('系统提示', '您确定要退出本次登录吗?', function (r) {
if (r) {