mirror of
https://shylinux.com/x/community
synced 2025-04-25 17:48:06 +08:00
add some
This commit is contained in:
parent
2de61939b4
commit
95bcab02db
@ -93,9 +93,9 @@ Volcanos(chat.ONIMPORT, {
|
||||
})), can.page.Append(can, target, [{view: html.ACTION, _init: function(target) { can.onappend._action(can, msg.Option(ice.MSG_ACTION), target) }}])
|
||||
return place_uid||""
|
||||
},
|
||||
myCount: function(can, msg, target) {
|
||||
myCount: function(can, msg, target) { var dashboard_uid = msg.Option("dashboard_uid")
|
||||
can.page.Append(can, target, [{view: html.TITLE, list: [{text: can.user.trans(can, "My Count", "我的数据")}]}])
|
||||
can.onappend.plugin(can._root.Action, {space: "20240903-operation", index: "web.team.dashboard.summary", args: ["e61693838bfe34ab15485b0bc2355d19"]}, function() {}, target)
|
||||
can.onappend.plugin(can._root.Action, {width: can.ConfWidth()-40, space: "20240903-operation", index: "web.team.dashboard.summary", args: [dashboard_uid||"e61693838bfe34ab15485b0bc2355d19"]}, function() {}, target)
|
||||
},
|
||||
myInit: function(can, msg, value, target) { if (!msg) { return } can.onmotion.hidden(can, target)
|
||||
return
|
||||
|
@ -6,11 +6,15 @@ type {{.Option "table"}} struct {
|
||||
Table
|
||||
fields string `data:"title,content"`
|
||||
create string `name:"create title* content*" role:"leader"`
|
||||
remove string `name:"remove" role:"leader"`
|
||||
}
|
||||
|
||||
func (s {{.Option "table"}}) Create(m *ice.Message, arg ...string) {
|
||||
s.Table.ValueCreate(m, arg...)
|
||||
}
|
||||
func (s {{.Option "table"}}) Remove(m *ice.Message, arg ...string) {
|
||||
s.Table.ValueRemove(m, arg...)
|
||||
}
|
||||
func (s {{.Option "table"}}) List(m *ice.Message, arg ...string) {
|
||||
s.Table.ValueList(m, arg).Display("")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user