摘要: 加载图表 //基于准备好的dom,初始化echarts实例 const echarts_dom: any = ref(); var myChart: any; let echartNull: any = null; if (myChart != null && myChart != "" && my 阅读全文
posted @ 2023-12-01 16:11 JaneLifeVlog 阅读(34) 评论(0) 推荐(0)
摘要: switch (item.key) { case "self_pickup": form.self_pickup = Number(item.value); break; case "same_city": form.same_city = Number(item.value); break; ca 阅读全文
posted @ 2023-12-01 11:05 JaneLifeVlog 阅读(50) 评论(0) 推荐(0)
摘要: 引用组件 // city_dialog.vue //PopWindow 弹出层组件 //AreaList 省市区数据组件 //areaData 省市区数据 <PopWindow :dialogVisible="dialogVisible" title="省市区选择" sizeType="large" 阅读全文
posted @ 2023-12-01 11:02 JaneLifeVlog 阅读(784) 评论(0) 推荐(0)
摘要: //基于准备好的dom,初始化echarts实例 const barDOM: any = ref(); var myChart: any; let echartNull: any = null; // 渲染echart const init_chart = () => { if (myChart ! 阅读全文
posted @ 2023-12-01 10:53 JaneLifeVlog 阅读(205) 评论(0) 推荐(0)
摘要: 父组件 //引入子组件 <jyqk :selectData="selectData" ref="jyqk_ref"></jyqk> import fxjy from "./components/fxjy.vue"; const jyqk_ref = ref<any>(); const change_ 阅读全文
posted @ 2023-12-01 10:50 JaneLifeVlog 阅读(133) 评论(0) 推荐(0)
摘要: let t_data = sortByKey(pz_data.data, "yield_per_mu"); //array:当前数组 //key:数组中需要比较大小的值 export const sortByKey = (array: any, key: any) => { return array 阅读全文
posted @ 2023-12-01 10:46 JaneLifeVlog 阅读(126) 评论(0) 推荐(0)
摘要: {{ numberToCurrencyNo(1245) }} export const numberToCurrencyNo = (value: any) => { if (!value) return 0; // 获取整数部分 const intPart = Math.trunc(value); 阅读全文
posted @ 2023-12-01 10:45 JaneLifeVlog 阅读(240) 评论(0) 推荐(0)
摘要: <template> <div class="header_body"> <div class="header_inner"> <div class="title_line"></div> <el-row class="titleBodyComl"> <div class="icon"> <div 阅读全文
posted @ 2023-12-01 10:43 JaneLifeVlog 阅读(72) 评论(0) 推荐(0)
摘要: backgroundColor: { image: pic_url,//图片的路径 }, 阅读全文
posted @ 2023-12-01 10:42 JaneLifeVlog 阅读(269) 评论(0) 推荐(0)
摘要: // 获取当前时间、星期 var date_val = ref(""); var time_val = ref(""); // 获取当前时间、星期 const getTime = () => { let date = new Date(); let year: any = date.getFullY 阅读全文
posted @ 2023-12-01 10:38 JaneLifeVlog 阅读(43) 评论(0) 推荐(0)