diff options
| author | ll <[email protected]> | 2024-07-11 20:41:37 +0800 |
|---|---|---|
| committer | ll <[email protected]> | 2024-07-11 20:41:37 +0800 |
| commit | bafa736c04845e103d7e3747a8152b410d1628fb (patch) | |
| tree | 032d00938963b7cb21ff5c57e4f08723b521ae41 /src/views/menuMBZTGZ/module/source.vue | |
| parent | ac8bc7f895baa346cdb498e1b8be41ce66130afd (diff) | |
Diffstat (limited to 'src/views/menuMBZTGZ/module/source.vue')
| -rw-r--r-- | src/views/menuMBZTGZ/module/source.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/views/menuMBZTGZ/module/source.vue b/src/views/menuMBZTGZ/module/source.vue index 1ce7437..e6688bd 100644 --- a/src/views/menuMBZTGZ/module/source.vue +++ b/src/views/menuMBZTGZ/module/source.vue @@ -25,6 +25,7 @@ export default { // required: true, default: function() { return { + taskid:'', target:'', type: '', } @@ -69,21 +70,24 @@ export default { // this.getRangeDict() }, methods: { + // 获取数据 querydelay(){ const reqParams = { "target": this.left1data.target, + "taskid": this.left1data.taskid, "type": this.left1data.type, } this.loading = true this.$axios.get(this.$http.api.targetDelay, reqParams).then(res => { if (res.code == 200) { + this.zhudouble.xdata = [] + this.zhudouble.ydata1 = [] for (let i = 0; i <res.delay_data.length>10?10:res.delay_data.length ; i++) { this.zhudouble.xdata.push(res.delay_data[i].Id); this.zhudouble.ydata1.push(res.delay_data[i].CurrDelay); } } this.$refs.zhudouble.bingfn(this.zhudouble) - }).catch(err => { console.log(err) }).finally(() => { |
