hz-zhhq-app/unpackage/dist/build/web/static/js/pages-statistics-statistics...

1 line
30 KiB
JavaScript
Raw Normal View History

2025-02-25 15:19:01 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-statistics-statistics-yuyue"],{2833:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c223");var n=i("2352"),o=i("5ffc"),r=a(i("144a")),d=a(i("4c78")),c=a(i("3c81")),s=(a(i("ec41")),(new Date).getTime(),{data:function(){return{formatDate:n.formatDate,startDate:this.getDay(),endDate:this.getDay(),page:1,pageSize:10,loadingType:0,contentText:{contentdown:"上拉加载更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"},tjData:[],statisticsTypes:["","理发","洗车","","","用车","报修","咨询","投诉","报事","就诊"],listType:["类型","理发","洗车","用车","报修"],listTypeIndex:0,startListDate:this.getDay(),endListDate:this.getDay(),sLevel:"",listLevel:["满意度","非常满意","满意","一般"],listLevelIndex:0,currentTabIndex:0,commentList:[],satisfiedLevel:"",type:"",commentGrade:[{value:"0",name:"非常满意"},{value:"1",name:"满意",checked:"true"},{value:"2",name:"一般"}]}},components:{loadMore:r.default,contentNone:d.default,datetimePicker:c.default},onLoad:function(t){this.currentTabIndex=t.currentTabIndex||0,1==this.currentTabIndex||this.getYuyueStatistics()},watch:{currentTabIndex:function(t,e){1==t&&(this.page=1,this.loadingType=0,this.getCommentListByType())}},methods:{gocurrentTabIndex2:function(t,e){this.type=t,this.satisfiedLevel=e,this.startListDate=this.startDate,this.endListDate=this.endDate,this.currentTabIndex=1},getCommentListByType:function(){var t=this,e={method:o.getCommentListByType,data:{type:this.type,pageSize:this.pageSize,startDate:this.startListDate,endDate:this.endListDate,satisfiedLevel:this.satisfiedLevel,pageNum:this.page}};(0,n.callbackRequest)(e).then((function(e){e=e.data,1==e.returnCode?1==t.page?t.commentList=e.returnData:e.returnData.length>0?(t.commentList=t.commentList.concat(e.returnData),t.loadingType=0):t.loadingType=2:(0,n.alertTip)(e.returnMsg)}))},getYuyueStatistics:function(){var t=this,e={method:o.getYuyueStatistics,data:{startDate:this.startDate,endDate:this.endDate}};(0,n.callbackRequest)(e).then((function(e){1==e.data.returnCode&&(t.tjData=e.data.returnData)}))},toDetail:function(t){uni.navigateTo({url:t})},getDay:function(){var t=new Date,e=t.getFullYear(),i=t.getMonth()+1;i<10&&(i="0"+i);var a=t.getDate();return e+"-"+i+"-"+a},startDateChange:function(t){this.startDate=t.target.value,this.getYuyueStatistics()},endDateChange:function(t){this.endDate=t.target.value,this.getYuyueStatistics()},startListDateChange:function(t){this.startListDate=t.target.value},endListDateChange:function(t){this.endListDate=t.target.value},listTypeChange:function(t){this.listType=t.detail.value},listLevelChange:function(t){this.listLevel=t.detail.value}},onReachBottom:function(){if(1==this.currentTabIndex){if(0!==this.loadingType)return!1;this.loadingType=1,this.page=this.page+1,this.getCommentListByType()}}});e.default=s},"48df":function(t,e,i){"use strict";i.r(e);var a=i("e24c"),n=i("f1f6");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("76da");var r=i("828b"),d=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"737ee028",null,!1,a["a"],void 0);e["default"]=d.exports},"76da":function(t,e,i){"use strict";var a=i("d5eb"),n=i.n(a);n.a},b678:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */@font-face{font-family:iconfont;src:url(/static/ttf/iconfont.eot?t=1564651597095);\n /* IE9 */src:url(/static/ttf/iconfont.eot?t=1564651597095#iefix) format("embedded-opentype"),url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABhMAAsAAAAAKtgAABf+AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCIFgq/aLMaATYCJAOBHAtQAAQgBYRtB4MlG28jM5KzWniiKJWLJvs/JHAyxrKAq9GKoqBGzCLTaMPhKOFZHqNlFow4Nu21gxh5J5+e4BTeRVEr6h2OGsb/tUrXahFVV9Ye9cGHJEWTh2K//529Ys++mE0nkVRDMUvdeiKkxaYzPM3pv3d3CUnuLrlLHIkR2g7SIDqoJCRYNXgFs3q