chunk-2d0da01e.2b49d357.js 921 B

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0da01e"],{"6a85":function(t,e,a){"use strict";a.r(e),a.d(e,"listMixin",(function(){return n}));var n={data:function(){return{total:0}},methods:{eleTableDone:function(t,e,a){this.total=a},reload:function(){this.$refs.table.reload()},search:function(){this.$refs.table.reload({page:1})},parseData:function(t){return console.log("res",t),console.log("res.data.data",t.data.data.length),{code:1==t.code?0:t.code,data:t.data.data,count:t.data.total,msg:t.msg}},handleDelete:function(t){var e=this,a=t.id;this.$post(this.deleteUrl,{id:a},!0).then((function(){e.reload()}))},handleDetail:function(t){this.$refs.addedit.openDetail(t)},reset:function(){var t=this;this.whereFormData=JSON.parse(JSON.stringify(this.defaultWhere)),this.$nextTick((function(){t.reload()}))}},created:function(){this.whereFormData=JSON.parse(JSON.stringify(this.defaultWhere))}}}}]);