index.js 494 Bytes
// tabRepairOrder/components/reviewPopup/index.js
Component({

  /**
   * 组件的属性列表
   */
  properties: {
    show: {
      type: Boolean
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    // 审核通过
    confirm() {
      this.triggerEvent('confirm')
    },
    // 不通过
    cancel() {
      this.triggerEvent('cancel')
    },
    // 关闭
    close() {
      this.triggerEvent('close')
    }
  }
})