mirror of
https://shylinux.com/x/operation
synced 2025-07-01 21:21:19 +08:00
add some
This commit is contained in:
parent
cb4a4f5eaf
commit
1ed82cf4d0
BIN
src/production/deal.png
Normal file
BIN
src/production/deal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
BIN
src/production/meet.png
Normal file
BIN
src/production/meet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
17
src/production/studio.go
Normal file
17
src/production/studio.go
Normal file
@ -0,0 +1,17 @@
|
||||
package production
|
||||
|
||||
import "shylinux.com/x/ice"
|
||||
|
||||
type studio struct {
|
||||
Tables
|
||||
fields string `data:"title,content"`
|
||||
create string `name:"create title* content*" role:"leader"`
|
||||
remove string `name:"remove" role:"leader"`
|
||||
list string `name:"list city_name company_name auto"`
|
||||
}
|
||||
|
||||
func (s studio) List(m *ice.Message, arg ...string) {
|
||||
m.Cmdy("city")
|
||||
}
|
||||
|
||||
func init() { ice.TeamCtxCmd(studio{}) }
|
9
src/production/studio.js
Normal file
9
src/production/studio.js
Normal file
@ -0,0 +1,9 @@
|
||||
Volcanos(chat.ONIMPORT, {
|
||||
_init: function(can, msg) {
|
||||
can.onimport.myView(can, msg, function(value) { return [
|
||||
{view: html.TITLE, list: [value.title||value.name||value.user_name, can.onimport.titleAction(can, value)]},
|
||||
{view: html.STATUS, list: [value.uid.slice(0, 6), can.onimport.timeView(can, value), value.user_name]},
|
||||
{view: html.OUTPUT, list: [value.content||value.info]},
|
||||
] })
|
||||
},
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user