html
用户信息页面{{$moment ().format (yyyy-mm-ddhh : mm : ss ) }
@ size-change=' handlesizechange ' @ current-change=' handlecurrentchange ' : current-page=' current page ' 3366666
Vue.prototype.$moment=moment
Vue.prototype.$http=axios
varvue=newVue({ (
El : ' # APP ',
数据: {
//表的当前页面数据
tableData:[],
//默认每页的数据量
页:10,
//当前页码
目前页面:1,
//默认数据总axdlc/p totalCount:0、
//url参axdlc/p urlParams:{
第:1页,
limit:10,
(,
(,
计算: {
获取查询字符串:函数(
letQueryString=' ';
for(variinthis.URLParams ) {
query string=I '=' this.URL params [ I ] ';
console.log(I;
console.log(I,this.urlParams[i] );
}
console.log(querystring;
返回查询字符串. slice (0,-1);
(,
(,
methods:{
//从服务器读取数据
load data :函数(
let_this=this
this.$http.get(http://xxxxx