customEvents.js 321 Bytes
export function ecmCustomEvent(view) {
  // #region 详情页主工具栏事件
  // -------------------ECN编辑-------------------
  this['ECM-edit'] = function(e) {
    this.$router.push({ path: '/editEcm', query: { title: '编辑ECM', id: e.el.propForm.id, subTypeName: e.el.propForm.subTypeName }})
  }.bind(view)
}