create_time为时间格式(字段名create_time 根据自己表字段修改,数据库中存为201610071202) SELECT DATE_FORMAT(create_time, ' %Y%u ' ) weeks, COUNT (id) COUNT FROM role GROUP BY week...
import axios from 'axios' import { Message , MessageBox } from 'element-ui' import store from '../store' import { getToken } from '@/utils/auth' // 创建ax...