This commit is contained in:
caoqianming 2020-05-29 00:13:21 +08:00
parent 6427ea0f63
commit 9040e47284
2 changed files with 5 additions and 6 deletions

View File

@ -23,8 +23,8 @@
{% endif %}
<a id="bindjcb" onclick="javascript:$('#bindjcbdg').dialog('open')" class="easyui-linkbutton"
data-options="iconCls:'fa-plug',plain:true">批量绑定检查表</a>
<a id="setChecknum" onclick="javascript:$('#setChecknumdg').dialog('open')" class="easyui-linkbutton"
data-options="iconCls:'fa-plug',plain:true">批量设定每班检查次数</a>
<!-- <a id="setChecknum" onclick="javascript:$('#setChecknumdg').dialog('open')" class="easyui-linkbutton"
data-options="iconCls:'fa-plug',plain:true">批量设定每班检查次数</a> -->
<!-- <a id="bindfxd" onclick="bindfxd()" class="easyui-linkbutton"
data-options="iconCls:'fa-plug',plain:true">批量绑定风险点</a> -->
</div>
@ -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) {

View File

@ -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) {