摘要: 首先我们需要安装sortable.js这款插件 npm install sortablejs 然后我们在页面中引入这个插件 import Sortable from "sortablejs"; 表格加上row-key=“id” <el-table :data="userlist" ref="sing 阅读全文
posted @ 2022-04-07 17:42 无你旅行 阅读(1099) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <el-dialog title="提示" :visible.sync="dialogVisible" width="30%" > <span>这是一段信息</span> <span slot="footer" class="dialog-footer"> <el- 阅读全文
posted @ 2022-02-10 20:22 无你旅行 阅读(186) 评论(0) 推荐(0) 编辑
摘要: /** * 地图3.0版本 ,修改时间轴控件和事件,封装geoJson获取事件 * 显示南海诸岛 下钻的标题样式修改 * 设置geoIndex 和 visualMap 里面的seriesIndex 就可以让地图和点同时存在 * 这个时候地图颜色的配置就在 geo里面配置了而不是 series里面 * 阅读全文
posted @ 2022-01-20 16:54 无你旅行 阅读(80) 评论(0) 推荐(0) 编辑
摘要: option = { backgroundColor: '#000', tooltip: { trigger: 'item', formatter: '{a} <br/>{b}: {c} t ({d}%)' }, series: [ { name: '排放量', type: 'pie', radiu 阅读全文
posted @ 2022-01-20 16:51 无你旅行 阅读(250) 评论(0) 推荐(0) 编辑
摘要: var legendData = ['车辆数', '设计车位']; //图例 var indicator = [{ text: '小型车', max: 6000, }, { text: '中型车', max: 5000 }, { text: '大型车', max: 5000 }, { text: ' 阅读全文
posted @ 2022-01-20 16:47 无你旅行 阅读(491) 评论(0) 推荐(0) 编辑
摘要: option = { title: { text: 'Stacked Line' }, tooltip: { trigger: 'axis' }, legend: { data: ['广州西门子变压器公司', '耐恒(广州)纸品有限公司', '广州斗原钢铁有限公司', '广州璨宇光学有限公司', ' 阅读全文
posted @ 2022-01-20 16:46 无你旅行 阅读(70) 评论(0) 推荐(0) 编辑
摘要: var xData =['济南','济宁','临沂','淄博','潍坊','烟台','临沂', '淄博','泰安','日照','威海','莱芜','聊城','德州','东营','潍坊'] var tq=[800,-200,300,499,188,900,488,399,277,490,580,280 阅读全文
posted @ 2022-01-20 16:44 无你旅行 阅读(42) 评论(0) 推荐(0) 编辑
摘要: option = { backgroundColor: "#062a44", series: [{ name: '刻度', type: 'gauge', radius: '53%', min:0,//最小刻度 max:16,//最大刻度 splitNumber: 8, //刻度数量 startAng 阅读全文
posted @ 2022-01-20 16:40 无你旅行 阅读(41) 评论(0) 推荐(0) 编辑
摘要: /**/ var dataArry = { one: 500, two: 300, three: 200 }; option = { backgroundColor:'#040042', tooltip: { formatter: "{a} <br/>{c} {b}" }, series: [{ n 阅读全文
posted @ 2022-01-20 16:39 无你旅行 阅读(60) 评论(0) 推荐(0) 编辑
摘要: let value = 55.33; let title = '超期率'; let int = value.toFixed(2).split('.')[0]; let float = value.toFixed(2).split('.')[1]; option = { backgroundColor 阅读全文
posted @ 2022-01-20 16:38 无你旅行 阅读(57) 评论(0) 推荐(0) 编辑