(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-manage-clean"],{"1cb3":function(t,a,i){"use strict";i.r(a);var n=i("a3b7"),e=i.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(a,t,(function(){return n[t]}))}(s);a["default"]=e.a},8815:function(t,a,i){"use strict";i.d(a,"b",(function(){return n})),i.d(a,"c",(function(){return e})),i.d(a,"a",(function(){}));var n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("v-uni-view",{staticClass:"user",class:t.$store.state.AppStyle,staticStyle:{"background-color":"#f6f6f6"}},[i("v-uni-view",{staticClass:"header",style:[{height:t.CustomBar+"px"}]},[i("v-uni-view",{staticClass:"cu-bar bg-white",style:{height:t.CustomBar+"px","padding-top":t.StatusBar+"px"}},[i("v-uni-view",{staticClass:"action",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.back.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"cuIcon-back"})],1),i("v-uni-view",{staticClass:"content text-bold",style:[{top:t.StatusBar+"px"}]},[t._v("数据清理")])],1)],1),i("v-uni-view",{style:[{padding:t.NavBar+"px 10px 0px 10px"}]}),i("v-uni-form",[i("v-uni-view",{staticClass:"cu-form-group margin-top"},[i("v-uni-view",{staticClass:"title"},[t._v("清理用户30天前签到日志")]),i("v-uni-view",{staticClass:"action"},[i("v-uni-text",{staticClass:"cu-btn bg-red radius",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.dataClean(1)}}},[t._v("确认清理")])],1)],1),i("v-uni-view",{staticClass:"cu-form-group margin-top"},[i("v-uni-view",{staticClass:"title"},[t._v("清理用户30天前资产日志")]),i("v-uni-view",{staticClass:"action"},[i("v-uni-text",{staticClass:"cu-btn bg-red  radius",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.dataClean(2)}}},[t._v("确认清理")])],1)],1),i("v-uni-view",{staticClass:"cu-form-group margin-top"},[i("v-uni-view",{staticClass:"title"},[t._v("清理用户30天前订单数据")]),i("v-uni-view",{staticClass:"action"},[i("v-uni-text",{staticClass:"cu-btn bg-red  radius",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.dataClean(3)}}},[t._v("确认清理")])],1)],1),i("v-uni-view",{staticClass:"cu-form-group margin-top"},[i("v-uni-view",{staticClass:"title"},[t._v("清理已使用充值码")]),i("v-uni-view",{staticClass:"action"},[i("v-uni-text",{staticClass:"cu-btn bg-red  radius",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.dataClean(4)}}},[t._v("确认清理")])],1)],1),i("v-uni-view",{staticClass:"cu-form-group margin-top"},[i("v-uni-view",{staticClass:"title"},[t._v("清理已使用邀请码")]),i("v-uni-view",{staticClass:"action"},[i("v-uni-text",{staticClass:"cu-btn bg-red  radius",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.dataClean(5)}}},[t._v("确认清理")])],1)],1),i("v-uni-view",{staticClass:"cu-form-group margin-top"},[i("v-uni-view",{staticClass:"title"},[t._v("清理超一年未登录用户")]),i("v-uni-view",{staticClass:"action"},[i("v-uni-text",{staticClass:"cu-btn bg-red  radius",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.dataClean(6)}}},[t._v("确认清理")])],1)],1),i("v-uni-view",{staticClass:"cu-form-group margin-top"},[i("v-uni-view",{staticClass:"title"},[t._v("清理未支付订单")]),i("v-uni-view",{staticClass:"action"},[i("v-uni-text",{staticClass:"cu-btn bg-red  radius",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.dataClean(7)}}},[t._v("确认清理")])],1)],1),i("v-uni-view",{staticClass:"cu-form-group margin-top"},[i("v-uni-view",{staticClass:"title"},[t._v("清理用户30天前广告日志")]),i("v-uni-view",{staticClass:"action"},[i("v-uni-text",{staticClass:"cu-btn bg-red  radius",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.dataClean(8)}}},[t._v("确认清理")])],1)],1)],1)],1)},e=[]},a3b7:function(t,a,i){"use strict";i("6a54"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=i("af30"),e={data:function(){return{StatusBar:this.StatusBar,CustomBar:this.CustomBar,NavBar:this.StatusBar+this.CustomBar,AppStyle:this.$store.state.AppStyle}},onPullDownRefresh:function(){},onShow:function(){},onLoad:function(t){},methods:{back:function(){uni.navigateBack({delta:1})},dataClean:function(t){var a=this,i="";if(n.localStorage.getItem("userinfo")){var e=JSON.parse(n.localStorage.getItem("userinfo"));i=e.token}var s={clean:t,token:i};uni.showModal({title:"确定要删除该类数据吗？",success:function(t){t.confirm?(uni.showLoading({title:"加载中"}),a.$Net.request({url:a.$API.dataClean(),data:s,header:{"Content-Type":"application/x-www-form-urlencoded"},method:"get",dataType:"json",success:function(t){setTimeout((function(){uni.hideLoading()}),1e3),uni.showToast({title:t.data.msg,icon:"none"})},fail:function(t){setTimeout((function(){uni.hideLoading()}),1e3),uni.showToast({title:"网络开小差了哦",icon:"none"})}})):t.cancel&&console.log("用户点击取消")}})}}};a.default=e},e9db:function(t,a,i){"use strict";i.r(a);var n=i("8815"),e=i("1cb3");for(var s in e)["default"].indexOf(s)<0&&function(t){i.d(a,t,(function(){return e[t]}))}(s);var u=i("828b"),c=Object(u["a"])(e["default"],n["b"],n["c"],!1,null,"0f4176a7",null,!1,n["a"],void 0);a["default"]=c.exports}}]);