openatc-components 0.0.89 → 0.0.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -344,6 +344,7 @@ export default {
344
344
  this.handleReset()
345
345
  return new Promise((resolve, reject) => {
346
346
  getChannelizatonChart(this.AgentId).then(data => {
347
+ this.$emit('getChannelizationSetting', data)
347
348
  if (!data.data.success) {
348
349
  // let parrenterror = getMessageByCode(data.data.code, this.$i18n.locale)
349
350
  // if (data.data.data) {
@@ -731,7 +731,6 @@ export default {
731
731
  if (this.CrossMapData.svgstr !== '') {
732
732
  temp.crossMap = this.CrossMapData
733
733
  }
734
- // this.$store.dispatch('SetShowHomePage', 'Channelization')
735
734
  this.saveChannelizatonChart(temp)
736
735
  },
737
736
  // 加载
@@ -834,6 +833,7 @@ export default {
834
833
  data: ChannelizatonData
835
834
  }
836
835
  saveChannelizatonChart(params).then(data => {
836
+ this.$emit('saveCallback', data)
837
837
  if (!data.data.success) {
838
838
  let parrenterror = getMessageByCode(data.data.code, this.$i18n.locale)
839
839
  if (data.data.data) {
@@ -854,7 +854,6 @@ export default {
854
854
  type: 'success',
855
855
  duration: 1 * 1000
856
856
  })
857
- this.$emit('saveCallback', data)
858
857
  })
859
858
  },
860
859
  // getChannelizatonChart () {
@@ -60,7 +60,7 @@ export default {
60
60
  this.pageindex = index
61
61
  }
62
62
  },
63
- curOpenatcAgentid: {
63
+ AgentId: {
64
64
  handler: function (val) {
65
65
  this.getChannelizatonChart()
66
66
  },