changeMixin.js 795 Bytes
/*
 * @Description: 
 * @Author: huyue
 * @Date: 2023-07-07 11:23:06
 * @LastEditors: huyue
 * @LastEditTime: 2023-07-14 10:41:28
 */
export default {
  watch: {
    // watchReportParams: {
    //   immediate: true,
    //   handler(newval) {
    //     this && this.init && this.init(newval)
    //   }
    // },
    watchSolarYear: {
      immediate: true,
      handler(newval) {
        this && this.init && this.init(newval)
      }
    }
  },
  computed: {
    // watchReportParams() {
    //   return this.$store.state.app.reportParams
    // },
    watchSolarYear() {
      return this.$store.state.app.solarYear
    }
  },
  method: {
    openMessage(msg) {
      this.$message({
        message: msg,
        type: 'warning'
      })
    }
  }
}