|
@@ -154,12 +154,11 @@ export default { |
|
|
re1.response.forEach((item) => { |
|
|
re1.response.forEach((item) => { |
|
|
let tempt = { ...item } |
|
|
let tempt = { ...item } |
|
|
let a1 = tempt.Option.split('#&') |
|
|
let a1 = tempt.Option.split('#&') |
|
|
let a2 = tempt.Score.split('#&') |
|
|
|
|
|
let option = [] |
|
|
let option = [] |
|
|
for (let index = 0; index < a1.length; index++) { |
|
|
for (let index = 0; index < a1.length; index++) { |
|
|
option.push({ |
|
|
option.push({ |
|
|
label: a1[index], |
|
|
label: a1[index], |
|
|
value: a2[index], |
|
|
|
|
|
|
|
|
value: index + 1, |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
tempt.Option = option |
|
|
tempt.Option = option |
|
@@ -230,7 +229,7 @@ export default { |
|
|
duration: 0, |
|
|
duration: 0, |
|
|
}) |
|
|
}) |
|
|
}, 100) |
|
|
}, 100) |
|
|
let baseUrl = 'http://172.16.1.97:9291' |
|
|
|
|
|
|
|
|
let baseUrl = 'https://dbmq.rzliot.com/heart' |
|
|
return new Promise((res) => { |
|
|
return new Promise((res) => { |
|
|
axios({ |
|
|
axios({ |
|
|
url: `${baseUrl}${url}`, |
|
|
url: `${baseUrl}${url}`, |
|
|