summaryrefslogtreecommitdiff
path: root/src/views/menuMBZTGZ/module/source.vue
diff options
context:
space:
mode:
authorll <[email protected]>2024-07-11 20:41:37 +0800
committerll <[email protected]>2024-07-11 20:41:37 +0800
commitbafa736c04845e103d7e3747a8152b410d1628fb (patch)
tree032d00938963b7cb21ff5c57e4f08723b521ae41 /src/views/menuMBZTGZ/module/source.vue
parentac8bc7f895baa346cdb498e1b8be41ce66130afd (diff)
Initial commitHEADmain
Diffstat (limited to 'src/views/menuMBZTGZ/module/source.vue')
-rw-r--r--src/views/menuMBZTGZ/module/source.vue6
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(() => {