以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  按组别显示异常  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=135179)

--  作者:有点甜
--  发布时间:2019/5/20 10:14:00
--  
SystemReady = False
If _UserGroup  <> "管理员" Then
    If _UserGroup  = "质量部"  Then
        e.form.controls("批量异常跟踪").visible = True
    ElseIf _UserGroup  = "计划员"  Then
        e.form.controls("异常关闭").visible = True
        e.form.controls("关闭取消").visible = True
    End If
Else
    e.form.controls("批量异常跟踪").visible = True
    e.form.controls("异常关闭").visible = True
    e.form.controls("关闭取消").visible = True
End If
SystemReady = True

--  作者:有点甜
--  发布时间:2019/5/20 10:58:00
--  
e.form.controls("批量异常跟踪").visible = False
e.form.controls("异常关闭").visible = False
e.form.controls("关闭取消").visible = False
If _UserGroup  <> "管理员" Then
    If _UserGroup  = "质量部"  Then
        e.form.controls("批量异常跟踪").visible = True
    ElseIf _UserGroup  = "计划员"  Then
        e.form.controls("异常关闭").visible = True
        e.form.controls("关闭取消").visible = True
    End If
Else
    e.form.controls("批量异常跟踪").visible = True
    e.form.controls("异常关闭").visible = True
    e.form.controls("关闭取消").visible = True
End If