How to keep on line alway. (AlwayAlive)

栏目:云星空知识作者:金蝶来源:金蝶云社区发布:2024-09-16浏览:1

How to keep on line alway. (AlwayAlive)

Coding in main console forms by plugins. 

please try to following the example.


#py_alway_alive
from Kingdee.BOS.Core import *
from Kingdee.BOS.JSON import *

def AfterBindData(e):
    custarg = JSONObject()
    ViewUtils.FireClientCustomEvents(this.View, 'FAlwayAlive''XXX.XXX.XXX.AlwayAlive'60000, custarg)
    
    
def CustomEvents(e):
    if(e.EventName=='XXX.XXX.XXX.AlwayAlive'):
        custarg = JSONObject()
        ViewUtils.FireClientCustomEvents(this.View, 'FAlwayAlive''XXX.XXX.XXX.AlwayAlive'60000, custarg)


#py_alway_alive
from Kingdee.BOS.Core import *
from Kingdee.BOS.JSON import *
def AfterBindData(e):
    custarg = JSONObject()
    ViewUtils.FireClientCustomEvents(this.View, 'FAlwayAlive', 'XXX.XXX.XXX.AlwayAlive', 60000, custarg)
def CustomEvents(e):
    if(e.EventName=='XXX.XXX.XXX.AlwayAlive'):
        custarg = JSONObject()
        ViewUtils.FireClientCustomEvents(this.View, 'FAlwayAlive', 'XXX.XXX.XXX.AlwayAlive', 60000, custarg)


* When the code be copied to ide and throw exception, pls to ref. the following article to fixed .

  https://wenku.my7c.com/article/158166130920311808 


How to keep on line alway. (AlwayAlive)

Coding in main console forms by plugins. please try to following the example.#py_alway_alivefrom Kingdee.BOS.Core impor...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息