From 9040e47284d61fa5553d8a1e7f0c631d9bbd707e Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 29 May 2020 00:13:21 +0800 Subject: [PATCH] index --- safesite/templates/equipment.html | 7 +++---- safesite/templates/index.html | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) 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) {