市长热线演示版

formopt.js 633B

123456789101112131415161718192021222324252627282930
  1. 
  2. /*
  3. ---坐席框架写日志文件及调试显示---
  4. ---2015-07-21
  5. ---type 日志类型:0-ocx方法;1-ocx事件;2-一般;3-错误
  6. ---name 日志标题及操作位置
  7. ---res 日志信息描述
  8. */
  9. function WriteFileLogs(type, name, res) {
  10. try {
  11. window.external.Web_AddLogs(type, name, res);
  12. }
  13. catch (e) {
  14. }
  15. }
  16. /*
  17. ---坐席框架消息提示显示---
  18. ---2015-07-21
  19. ---type 类型:0-一般;1-告警;2-错误
  20. ---title 标题
  21. ---res 信息描述
  22. */
  23. function ShowFormMessage(type, title, res) {
  24. try {
  25. window.external.Web_ShowFormMessage(type, title, res);
  26. }
  27. catch (e) {
  28. }
  29. }