bcb5ca6d by zhangmeng

看板

1 parent b4a694ed
...@@ -191,50 +191,50 @@ async function handelGetYS003() { ...@@ -191,50 +191,50 @@ async function handelGetYS003() {
191 191
192 async function handelGetYS004() { 192 async function handelGetYS004() {
193 const res = await getYS004() 193 const res = await getYS004()
194 console.log(res) 194 // console.log(res)
195 // let arrList = res.data.blockgroup 195 let arrList = res.data.blockgroup
196 let arrList = [ 196 // let arrList = [
197 { 197 // {
198 BLOCK: '海上', 198 // BLOCK: '海上',
199 list: [ 199 // list: [
200 { 200 // {
201 BASE: '上海', 201 // BASE: '上海',
202 DAYS: '6', 202 // DAYS: '6',
203 DSO: '20' 203 // DSO: '20'
204 }, 204 // },
205 { 205 // {
206 BASE: '浙江', 206 // BASE: '浙江',
207 DAYS: '3', 207 // DAYS: '3',
208 DSO: '202' 208 // DSO: '202'
209 }, 209 // },
210 { 210 // {
211 BASE: '青岛', 211 // BASE: '青岛',
212 DAYS: '61', 212 // DAYS: '61',
213 DSO: '230' 213 // DSO: '230'
214 } 214 // }
215 ] 215 // ]
216 }, 216 // },
217 { 217 // {
218 BLOCK: '陆地', 218 // BLOCK: '陆地',
219 list: [ 219 // list: [
220 { 220 // {
221 BASE: '合肥', 221 // BASE: '合肥',
222 DAYS: '61', 222 // DAYS: '61',
223 DSO: '20' 223 // DSO: '20'
224 }, 224 // },
225 { 225 // {
226 BASE: '北京', 226 // BASE: '北京',
227 DAYS: '33', 227 // DAYS: '33',
228 DSO: '202' 228 // DSO: '202'
229 }, 229 // },
230 { 230 // {
231 BASE: '河南', 231 // BASE: '河南',
232 DAYS: '61', 232 // DAYS: '61',
233 DSO: '230' 233 // DSO: '230'
234 } 234 // }
235 ] 235 // ]
236 } 236 // }
237 ] 237 // ]
238 let haishang 238 let haishang
239 let dalu 239 let dalu
240 for (const v of arrList) { 240 for (const v of arrList) {
...@@ -297,6 +297,7 @@ async function handelGetYS004() { ...@@ -297,6 +297,7 @@ async function handelGetYS004() {
297 async function handelGetYS005() { 297 async function handelGetYS005() {
298 const res = await getYS005() 298 const res = await getYS005()
299 form.value = res.data 299 form.value = res.data
300 console.log(res)
300 } 301 }
301 302
302 303
......
...@@ -268,6 +268,8 @@ function handelSelect7() { ...@@ -268,6 +268,8 @@ function handelSelect7() {
268 268
269 async function handelGetYS008() { 269 async function handelGetYS008() {
270 const res = await getYS008() 270 const res = await getYS008()
271 list8.value = res.data.list
272 console.log(res)
271 list8Y.value = [] 273 list8Y.value = []
272 month8.value = [] 274 month8.value = []
273 year8.value = [] 275 year8.value = []
...@@ -275,11 +277,11 @@ async function handelGetYS008() { ...@@ -275,11 +277,11 @@ async function handelGetYS008() {
275 list8.value[i].itemStyle = itemStyleList.value[i % itemStyleList.value.length] 277 list8.value[i].itemStyle = itemStyleList.value[i % itemStyleList.value.length]
276 list8Y.value.push(list8.value[i].BASE) 278 list8Y.value.push(list8.value[i].BASE)
277 month8.value.push({ 279 month8.value.push({
278 value: list8.value[i].HKQKTOTAL, 280 value: list8.value[i].HKQKTOTAL / 10000,
279 itemStyle: list8.value[i].itemStyle, 281 itemStyle: list8.value[i].itemStyle,
280 }) 282 })
281 year8.value.push({ 283 year8.value.push({
282 value: list8.value[i].HKQKMONTH, 284 value: list8.value[i].HKQKMONTH / 10000,
283 itemStyle: list8.value[i].itemStyle, 285 itemStyle: list8.value[i].itemStyle,
284 }) 286 })
285 } 287 }
...@@ -503,7 +505,7 @@ const setB = (arrY, arr1, arr2) => { ...@@ -503,7 +505,7 @@ const setB = (arrY, arr1, arr2) => {
503 // Use axis to trigger tooltip 505 // Use axis to trigger tooltip
504 type: 'shadow' // 'shadow' as default; can also be 'line' or 'shadow' 506 type: 'shadow' // 'shadow' as default; can also be 'line' or 'shadow'
505 }, 507 },
506 valueFormatter: (value) => value + '万', 508 valueFormatter: (value) => (value * 1).toFixed() + '万',
507 backgroundColor: 'rgba(5, 28, 51, 1)', // 背景色 509 backgroundColor: 'rgba(5, 28, 51, 1)', // 背景色
508 borderColor: 'rgba(46, 151, 198, 1)', // 边框颜色 510 borderColor: 'rgba(46, 151, 198, 1)', // 边框颜色
509 borderWidth: 1, // 边框宽度 511 borderWidth: 1, // 边框宽度
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!