|
@@ -97,6 +97,21 @@ function TRPMyInfor:initFiledsAttr()
|
97
|
97
|
attr.cannotEdit = true
|
98
|
98
|
attr.donotJoinKey = true
|
99
|
99
|
table.insert(self.baseFiledsAttr, attr)
|
|
100
|
+ DBUser.isWhiteUser(
|
|
101
|
+ Prefs.getUserName(),
|
|
102
|
+ function(iswhite)
|
|
103
|
+ if iswhite then
|
|
104
|
+ attr = {}
|
|
105
|
+ attr.attrName = "关闭日志"
|
|
106
|
+ attr.id = "closeLog"
|
|
107
|
+ attr.attrType = DBCust.FieldType.text
|
|
108
|
+ attr.ifMust = 0
|
|
109
|
+ attr.cannotEdit = true
|
|
110
|
+ attr.donotJoinKey = true
|
|
111
|
+ table.insert(self.baseFiledsAttr, attr)
|
|
112
|
+ end
|
|
113
|
+ end
|
|
114
|
+ )
|
100
|
115
|
end
|
101
|
116
|
|
102
|
117
|
-- 设置数据
|
|
@@ -163,6 +178,10 @@ function TRPMyInfor:onClickField(go)
|
163
|
178
|
else
|
164
|
179
|
getPanelAsy("PanelBindPhone", onLoadedPanelTT, {phoneNo = self.mdata.phoneNo})
|
165
|
180
|
end
|
|
181
|
+ elseif el.jsonKey == "closeLog" then
|
|
182
|
+ if ReporterMessageReceiver.self and ReporterMessageReceiver.self.gameObject then
|
|
183
|
+ ReporterMessageReceiver.self.gameObject:SetActive(false)
|
|
184
|
+ end
|
166
|
185
|
else
|
167
|
186
|
getPanelAsy(
|
168
|
187
|
"PanelModifyFiled",
|