1. window.VUE_CURD;//一些页面信息
    2. window.vueDefMethods;//自定义vue的一些工具方法,方便创建组件的时候使用
    3. window.appPage;//当前页面vue 的 this;
    4. window.app;//当前页面的vue createApp 返回值
    5. ######################################################################################################
    6. //使用openBox打开的iframe中,window对象额外有:
    7. window.listVue;//打开当前页面之前的页面的 vue 的 this;
    8. window.parentWindow;//打开当前页面之前的页面的 window;
    9. ###################################################################################################
    10. //异步请求
    11. service(option);
    12. //定义一个get请求
    13. service({url, method: 'get',params,headers:{'X-REQUESTED-WITH':'xmlhttprequest'}});
    14. //定义一个post请求
    15. service({url, method: 'post',data:Qs.stringify(data),headers:{
    16. 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8',
    17. 'X-REQUESTED-WITH':'xmlhttprequest'
    18. }});
    19. ###################################################################################################
    20. //图片预览,images:url的数组或者url字符串(多个以下划线分隔);start:显示时开始的位置,不传入默认从第一张开始,传入url或index
    21. window.top.showImages(images,start);
    22. ###################################################################################################
    23. //时间格式化
    24. parseTime(时间戳|字符串时间|时间对象,'{y}-{m}-{d} {h}:{i}:{s}');
    25. ###################################################################################################
    26. //获取日期属于第几周
    27. weekIndexInYear('2020-01-01');//2019年第52周
    28. //传入时间获取一周的日期范围
    29. getLastWeek(date)
    30. ###################################################################################################
    31. //生成guid
    32. guid();