mm
This commit is contained in:
@@ -97,6 +97,21 @@ function TRPMyInfor:initFiledsAttr()
|
|||||||
attr.cannotEdit = true
|
attr.cannotEdit = true
|
||||||
attr.donotJoinKey = true
|
attr.donotJoinKey = true
|
||||||
table.insert(self.baseFiledsAttr, attr)
|
table.insert(self.baseFiledsAttr, attr)
|
||||||
|
DBUser.isWhiteUser(
|
||||||
|
Prefs.getUserName(),
|
||||||
|
function(iswhite)
|
||||||
|
if iswhite then
|
||||||
|
attr = {}
|
||||||
|
attr.attrName = "关闭日志"
|
||||||
|
attr.id = "closeLog"
|
||||||
|
attr.attrType = DBCust.FieldType.text
|
||||||
|
attr.ifMust = 0
|
||||||
|
attr.cannotEdit = true
|
||||||
|
attr.donotJoinKey = true
|
||||||
|
table.insert(self.baseFiledsAttr, attr)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- 设置数据
|
-- 设置数据
|
||||||
@@ -163,6 +178,10 @@ function TRPMyInfor:onClickField(go)
|
|||||||
else
|
else
|
||||||
getPanelAsy("PanelBindPhone", onLoadedPanelTT, {phoneNo = self.mdata.phoneNo})
|
getPanelAsy("PanelBindPhone", onLoadedPanelTT, {phoneNo = self.mdata.phoneNo})
|
||||||
end
|
end
|
||||||
|
elseif el.jsonKey == "closeLog" then
|
||||||
|
if ReporterMessageReceiver.self and ReporterMessageReceiver.self.gameObject then
|
||||||
|
ReporterMessageReceiver.self.gameObject:SetActive(false)
|
||||||
|
end
|
||||||
else
|
else
|
||||||
getPanelAsy(
|
getPanelAsy(
|
||||||
"PanelModifyFiled",
|
"PanelModifyFiled",
|
||||||
|
|||||||
Reference in New Issue
Block a user