- 博客(6)
- 收藏
- 关注
原创 时间(下)
获取当前的日期(返回格式: YYYY-mm-dd)function getCurrentDate(date) {let month = parseInt(date.getMonth() + 1);let day = date.getDate();if (month < 10) {month = '0' + month} if (day < 10) {day = '0' + day } return date.getFullYear() + '-' + month
2021-09-18 10:59:43
141
原创 时间(上)
获取本周开始和结束时间getWeek(){let arr = []; // 周一开始let newdate = new Date();let now = newdate.getTime();let day = newdate.getDay(); // 星期let oneDayTime = 60 * 60 * 24 * 1000;for (let i = 1; i < 8; i++) {if (day >= i) {let dd = new Date(now -
2021-09-18 10:59:11
122
原创 调接口下载excel,pdf文件
下载转换成excelimport axios from '@/assets/js/axios';export function search(url,conditions,config) {**return axios.post(url,conditions,config)}dowmloadTimeDetails1(that, conditons) { //调用名称return new Promise(function (resolve, reject) {search("/
2021-08-20 14:48:59
258
转载 html看板娘
<!DOCTYPE html><html><body><script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script><script>L2Dwidget.init({"model": {// jsonPath:...
2021-07-23 11:18:51
431
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人