customEvents.js 455 Bytes
/**
 * @Description: 上下文详情页
 * @author wx
 * @date 2021/7/15
 */

export function changeCustomEvent(view) {
  // #region 详情页主工具栏事件
  this['refreshNodeData'] = function(e) {
    this.refreshNodeData(e.el.basicData, true)
  }.bind(view)
  // 设置状态
  this['DxContext-changeStatus'] = function(e) {
    this.dialogTitle = '设置状态'
    this.dialogShow = true
    this.componentName = 'ChangeStatus'
  }.bind(view)
}