This commit is contained in:
IT 老营长 @云轩领航-创始人 2025-05-04 08:49:42 +08:00
parent cb4a4f5eaf
commit 1ed82cf4d0
4 changed files with 26 additions and 0 deletions

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

17
src/production/studio.go Normal file
View 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
View 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]},
] })
},
})