mirror of
https://shylinux.com/x/enterprise
synced 2025-04-25 17:18:06 +08:00
18 lines
667 B
JavaScript
18 lines
667 B
JavaScript
var UID = "uid", GROUP_UID = "group_uid", GROUP_NAME = "group_name"
|
|
Volcanos(chat.ONIMPORT, {
|
|
_init: function(can, msg) { can.user.isMobile && can.isCmdMode() && can.onappend.style(can, html.OUTPUT)
|
|
debugger
|
|
can.require([
|
|
"usr/community/src/gonganxitong/portal.js", "usr/community/src/gonganxitong/portal.css?render=replace&index="+can.ConfIndex(),
|
|
], function() {
|
|
can.onimport.myPortal(can, msg, GROUP_UID, GROUP_NAME, "我的团队")
|
|
})
|
|
},
|
|
myValue: function(can, value) {
|
|
return [
|
|
{view: html.TITLE, list: [{text: value.group_name}]},
|
|
{view: html.STATUS, list: [{text: value.group_uid.slice(0, 8)}, {text: value.company_name}]},
|
|
]
|
|
},
|
|
})
|