摘要:
效果图 <el-dialog title="工单详情" :visible.sync="dialogVisible" :fullscreen="true" :modal="false" width="30%" :before-close="handleClose" > <checkDetail></c 阅读全文
posted @ 2020-05-30 15:25
Janni
阅读(1958)
评论(0)
推荐(1)
摘要:
时间戳转日期 //parseInt()字符串转数字 //new Date()放入时间戳,没有放默认当前时间 this.tableData[i].createTime = this.formatDate(new Date(parseInt(this.tableData[i].createTime))) 阅读全文
posted @ 2020-05-30 14:51
Janni
阅读(2453)
评论(0)
推荐(0)
摘要:
// 排序 this.tableData.sort(function (a, b) { console.log(a[x]) var x = 'inAccessCode'//要排序字段 if (a[x] < b[x]) { return -1 } if (a[x] > b[x]) { return 1 阅读全文
posted @ 2020-05-30 14:44
Janni
阅读(5064)
评论(0)
推荐(0)
摘要:
效果图 代码 <el-table :data="tableData" :span-method="objectSpanMethod" border style="width: 100%;" height="53vh" v-loading="dataListLoading" > this.getSpa 阅读全文
posted @ 2020-05-30 14:42
Janni
阅读(7884)
评论(0)
推荐(0)