摘要: <template slot-scope="scope"> <el-radio-group v-model="scope.row.HandleState" size="small"> <el-radio :label="0" @change="operation(scope.row, RepairO 阅读全文
posted @ 2018-12-25 10:17 Angel-01 阅读(4116) 评论(0) 推荐(0) 编辑
摘要: let date=(new Date()).valueOf(); // console.log(date) let date=(new Date()).valueOf(); // console.log(date) 阅读全文
posted @ 2018-12-25 10:12 Angel-01 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 来回切换3个状态值如何得到对应ID的最后一个对象 var is_push = () => { for (var i = 0; i < this.form.FaultDevices.length; i++) { if (this.form.FaultDevices[i].ID row.ID) { re 阅读全文
posted @ 2018-12-24 14:05 Angel-01 阅读(894) 评论(0) 推荐(0) 编辑
摘要: echarts.init(document.getElementById('WaterCategoryStatistics')).setOption({ legend: { orient:'vertical', left:'left', data: ['II', 'III', 'IV', 'V', 阅读全文
posted @ 2018-12-19 11:17 Angel-01 阅读(2236) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title></title> <!-- jquery cdn引入 --> <script src="http://code.jquery.com/jquery-1.11.0.m 阅读全文
posted @ 2018-12-19 11:06 Angel-01 阅读(1529) 评论(0) 推荐(0) 编辑
摘要: 样式 .hoveTitle { text-align: left; width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } 样式 .hoveTitle { text-align: left; wi 阅读全文
posted @ 2018-12-14 15:01 Angel-01 阅读(4203) 评论(0) 推荐(0) 编辑
摘要: 生命周期 <div> <button @click="handleClick">clickMe</button> <h1 v-if="count < 6" v-change="count">it is a custom directive</h1> <button @click="handleCli 阅读全文
posted @ 2018-11-29 15:17 Angel-01 阅读(2219) 评论(0) 推荐(1) 编辑
摘要: xls,xlsx 格式 if (res.status == 200) { const content = res.data; const blob = new Blob([content]); const fileName = "XXXXX.xls"; if ("download" in docum 阅读全文
posted @ 2018-11-28 11:38 Angel-01 阅读(876) 评论(0) 推荐(0) 编辑
摘要: let startTime = 1527647143949; // 开始时间 var time = new Countdown('timer',startTime); function Countdown (el,startTime) { this.startTime = startTime || 阅读全文
posted @ 2018-08-08 17:11 Angel-01 阅读(230) 评论(0) 推荐(1) 编辑
摘要: tooltip: { trigger: "axis", axisPointer: { // 坐标轴指示器,坐标轴触发有效 type: "line" // 默认为直线,可选为:'line' | 'shadow' }, formatter: function(params) { var texts = 阅读全文
posted @ 2018-08-08 16:57 Angel-01 阅读(896) 评论(0) 推荐(1) 编辑