mirror of
https://shylinux.com/x/community
synced 2025-04-25 17:48:06 +08:00
add some
This commit is contained in:
parent
3d4578f176
commit
b56fcf3fcb
@ -1,5 +1,5 @@
|
|||||||
Volcanos(chat.ONIMPORT, {
|
Volcanos(chat.ONIMPORT, {
|
||||||
_init: function(can, msg) { can.onimport.shareTitle(can, msg)
|
_init: function(can, msg) { can.onimport.shareTitle && can.onimport.shareTitle(can, msg)
|
||||||
var PLACE_NAME = msg.Option("_place_name"), PLACE_TYPE = msg.Option("_place_type"), USER_PLACE_ROLE = msg.Option("_user_place_role")
|
var PLACE_NAME = msg.Option("_place_name"), PLACE_TYPE = msg.Option("_place_type"), USER_PLACE_ROLE = msg.Option("_user_place_role")
|
||||||
can.onimport.itemcards(can, msg, function(value) { value._style = [value[PLACE_TYPE]||"", value[USER_PLACE_ROLE]||""]
|
can.onimport.itemcards(can, msg, function(value) { value._style = [value[PLACE_TYPE]||"", value[USER_PLACE_ROLE]||""]
|
||||||
return [
|
return [
|
||||||
|
@ -9,6 +9,8 @@ import (
|
|||||||
|
|
||||||
type message struct {
|
type message struct {
|
||||||
Table
|
Table
|
||||||
|
order string `data:"100"`
|
||||||
|
portal string `data:"true"`
|
||||||
domain string `data:"gonganxitong"`
|
domain string `data:"gonganxitong"`
|
||||||
read string `name:"read" role:"void"`
|
read string `name:"read" role:"void"`
|
||||||
done string `name:"done" role:"void"`
|
done string `name:"done" role:"void"`
|
||||||
|
@ -64,7 +64,8 @@ Volcanos(chat.ONIMPORT, {
|
|||||||
},
|
},
|
||||||
myList: function(can, msg, target, PLACE_UID, USER_PLACE_ROLE) {
|
myList: function(can, msg, target, PLACE_UID, USER_PLACE_ROLE) {
|
||||||
var width = (can.ConfWidth()-40)/parseInt((can.ConfWidth()-40)/100), height = width+20; can.user.isMobile && !can.user.isLandscape() && (width = (can.ConfWidth()-40)/4, height = width+20)
|
var width = (can.ConfWidth()-40)/parseInt((can.ConfWidth()-40)/100), height = width+20; can.user.isMobile && !can.user.isLandscape() && (width = (can.ConfWidth()-40)/4, height = width+20)
|
||||||
return can.page.Append(can, target||can._output, msg.Table(function(value) { if (value.enable != ice.TRUE) { return }
|
return can.page.Append(can, target||can._output, msg.Table(function(value) {
|
||||||
|
// if (value.enable != ice.TRUE) { return }
|
||||||
return {view: [[html.ITEM, ctx.INDEX].concat(
|
return {view: [[html.ITEM, ctx.INDEX].concat(
|
||||||
value.type? [mdb.TYPE]: [], can.core.Split(value.type||""),
|
value.type? [mdb.TYPE]: [], can.core.Split(value.type||""),
|
||||||
value.role? [aaa.ROLE]: [], can.core.Split(value.role||""),
|
value.role? [aaa.ROLE]: [], can.core.Split(value.role||""),
|
||||||
|
@ -11,6 +11,8 @@ import (
|
|||||||
|
|
||||||
type recent struct {
|
type recent struct {
|
||||||
Table
|
Table
|
||||||
|
order string `data:"101"`
|
||||||
|
portal string `data:"true"`
|
||||||
domain string `data:"gonganxitong"`
|
domain string `data:"gonganxitong"`
|
||||||
create string `name:"create name icon space index args"`
|
create string `name:"create name icon space index args"`
|
||||||
remove string `name:"remove" role:"void"`
|
remove string `name:"remove" role:"void"`
|
||||||
|
@ -19,9 +19,8 @@ import (
|
|||||||
|
|
||||||
type service struct {
|
type service struct {
|
||||||
Table
|
Table
|
||||||
order string `data:"100"`
|
order string `data:"102"`
|
||||||
portal string `data:"true"`
|
portal string `data:"true"`
|
||||||
role string `data:"creator"`
|
|
||||||
domain string `data:"gonganxitong"`
|
domain string `data:"gonganxitong"`
|
||||||
update string `name:"update name icon index"`
|
update string `name:"update name icon index"`
|
||||||
autogen string `name:"autogen name* help* class* table*" icon:"bi bi-plus-square-dotted"`
|
autogen string `name:"autogen name* help* class* table*" icon:"bi bi-plus-square-dotted"`
|
||||||
|
@ -2,7 +2,12 @@ package gonganxitong
|
|||||||
|
|
||||||
import "shylinux.com/x/ice"
|
import "shylinux.com/x/ice"
|
||||||
|
|
||||||
type support struct{ Tables }
|
type support struct {
|
||||||
|
Tables
|
||||||
|
order string `data:"103"`
|
||||||
|
portal string `data:"true"`
|
||||||
|
domain string `data:"gonganxitong"`
|
||||||
|
}
|
||||||
|
|
||||||
func (s support) List(m *ice.Message, arg ...string) {}
|
func (s support) List(m *ice.Message, arg ...string) {}
|
||||||
|
|
||||||
|
@ -74,6 +74,7 @@
|
|||||||
"icons": "https://img.icons8.com/officel/80/multiple-smartphones.png",
|
"icons": "https://img.icons8.com/officel/80/multiple-smartphones.png",
|
||||||
"index": "web.team.guanlixitong.recent",
|
"index": "web.team.guanlixitong.recent",
|
||||||
"name": "最近访问",
|
"name": "最近访问",
|
||||||
|
"order": "100",
|
||||||
"time": "2024-08-20 11:07:54.831"
|
"time": "2024-08-20 11:07:54.831"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -96,6 +97,15 @@
|
|||||||
"time": "2024-08-07 12:36:07.526"
|
"time": "2024-08-07 12:36:07.526"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"c27ad1df8aa9059d6018fb5add5ee546": {
|
||||||
|
"meta": {
|
||||||
|
"icons": "https://img.icons8.com/officel/80/customer-support.png",
|
||||||
|
"index": "web.team.guanlixitong.support",
|
||||||
|
"name": "客服支持",
|
||||||
|
"order": "100",
|
||||||
|
"time": "2024-08-20 21:24:17.126"
|
||||||
|
}
|
||||||
|
},
|
||||||
"c36d47e2611b0d1e7a14088bc3293d04": {
|
"c36d47e2611b0d1e7a14088bc3293d04": {
|
||||||
"meta": {
|
"meta": {
|
||||||
"_target": [
|
"_target": [
|
||||||
@ -114,6 +124,7 @@
|
|||||||
"icons": "https://img.icons8.com/officel/80/test-partial-passed.png",
|
"icons": "https://img.icons8.com/officel/80/test-partial-passed.png",
|
||||||
"index": "web.team.guanlixitong.message",
|
"index": "web.team.guanlixitong.message",
|
||||||
"name": "消息待办",
|
"name": "消息待办",
|
||||||
|
"order": "100",
|
||||||
"time": "2024-08-20 11:07:54.833"
|
"time": "2024-08-20 11:07:54.833"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -43,9 +43,11 @@
|
|||||||
},
|
},
|
||||||
"377f3c0dae9dbf423a8e188bfd245b7a": {
|
"377f3c0dae9dbf423a8e188bfd245b7a": {
|
||||||
"meta": {
|
"meta": {
|
||||||
|
"enable": "true",
|
||||||
"icons": "https://img.icons8.com/officel/80/multiple-smartphones.png",
|
"icons": "https://img.icons8.com/officel/80/multiple-smartphones.png",
|
||||||
"index": "web.team.yuehaoxitong.recent",
|
"index": "web.team.yuehaoxitong.recent",
|
||||||
"name": "最近访问",
|
"name": "最近访问",
|
||||||
|
"order": "100",
|
||||||
"time": "2024-08-20 11:07:54.840"
|
"time": "2024-08-20 11:07:54.840"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -106,9 +108,11 @@
|
|||||||
},
|
},
|
||||||
"98d6d53a44113b33a82c4e914cb23489": {
|
"98d6d53a44113b33a82c4e914cb23489": {
|
||||||
"meta": {
|
"meta": {
|
||||||
|
"enable": "true",
|
||||||
"icons": "https://img.icons8.com/officel/80/test-partial-passed.png",
|
"icons": "https://img.icons8.com/officel/80/test-partial-passed.png",
|
||||||
"index": "web.team.yuehaoxitong.message",
|
"index": "web.team.yuehaoxitong.message",
|
||||||
"name": "消息待办",
|
"name": "消息待办",
|
||||||
|
"order": "100",
|
||||||
"time": "2024-08-20 11:07:54.887"
|
"time": "2024-08-20 11:07:54.887"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -140,6 +144,16 @@
|
|||||||
"time": "2024-08-11 09:30:00.509"
|
"time": "2024-08-11 09:30:00.509"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"b811b4ed8b1b372958bbb4bb1b2709b8": {
|
||||||
|
"meta": {
|
||||||
|
"enable": "true",
|
||||||
|
"icons": "https://img.icons8.com/officel/80/customer-support.png",
|
||||||
|
"index": "web.team.yuehaoxitong.support",
|
||||||
|
"name": "客服支持",
|
||||||
|
"order": "100",
|
||||||
|
"time": "2024-08-20 21:24:17.275"
|
||||||
|
}
|
||||||
|
},
|
||||||
"ba468c870a9645a8a162c31c4d860fbd": {
|
"ba468c870a9645a8a162c31c4d860fbd": {
|
||||||
"meta": {
|
"meta": {
|
||||||
"_target": [
|
"_target": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user