1 line
6.4 KiB
JavaScript
1 line
6.4 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bundle-pages-settled_recode-settled_recode"],{5927:function(t,e,n){var o=n("b65e");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var i=n("4f06").default;i("2f7d7056",o,!0,{sourceMap:!1,shadowMode:!1})},"60c8":function(t,e,n){"use strict";n.r(e);var o=n("a0f1"),i=n("ce10");for(var s in i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);n("9f25");var l,r=n("f0c5"),a=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,"23c91f14",null,!1,o["a"],l);e["default"]=a.exports},"9df2":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={data:function(){return{mescroll:null}},onPullDownRefresh:function(){this.mescroll&&this.mescroll.onPullDownRefresh()},onPageScroll:function(t){this.mescroll&&this.mescroll.onPageScroll(t)},onReachBottom:function(){this.mescroll&&this.mescroll.onReachBottom()},methods:{mescrollInit:function(t){console.log(t),this.mescroll=t,this.mescrollInitByRef()},mescrollInitByRef:function(){if(!this.mescroll||!this.mescroll.resetUpScroll){var t=this.$refs.mescrollRef;t&&(this.mescroll=t.mescroll)}},downCallback:function(){var t=this;this.mescroll.optUp.use?this.mescroll.resetUpScroll():setTimeout((function(){t.mescroll.endSuccess()}),500)},upCallback:function(){var t=this;setTimeout((function(){t.mescroll.endErr()}),500)}},mounted:function(){this.mescrollInitByRef()}},i=o;e.default=i},"9f25":function(t,e,n){"use strict";var o=n("5927"),i=n.n(o);i.a},a0f1:function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return o}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("mescroll-body",{ref:"mescrollRef",attrs:{down:t.downOption,up:t.upOption},on:{init:function(e){arguments[0]=e=t.$handleEvent(e),t.mescrollInit.apply(void 0,arguments)},down:function(e){arguments[0]=e=t.$handleEvent(e),t.downCallback.apply(void 0,arguments)},up:function(e){arguments[0]=e=t.$handleEvent(e),t.upCallback.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"settled-recode"},[n("v-uni-view",{staticClass:"settled-list"},t._l(t.list,(function(e,o){return n("router-link",{key:o,attrs:{to:{path:"/bundle/pages/settled_result/settled_result",query:{id:e.id}}}},[n("v-uni-view",{staticClass:"settled-item bg-white m-t-20"},[n("v-uni-view",{staticClass:"settled-title md bold"},[t._v(t._s(e.name))]),n("v-uni-view",{staticClass:"settled-info"},[n("v-uni-view",{staticClass:"sm muted m-t-26"},[t._v("提交时间:"+t._s(e.apply_time))]),n("v-uni-view",{staticClass:"flex row-between m-t-20"},[n("v-uni-view",{staticClass:"muted sm",staticStyle:{"align-self":"flex-end"}},[n("v-uni-text",[t._v("申请状态:")]),n("v-uni-text",{class:{primary:3==e.audit_status}},[t._v(t._s(e.audit_status_desc))])],1),n("v-uni-view",{staticClass:"watch-btn br60 flex row-center",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onShowDetail.apply(void 0,arguments)}}},[t._v("查看")])],1)],1)],1)],1)})),1)],1)],1)},s=[]},b194:function(t,e,n){"use strict";var o=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getShopList=s,e.getShopCategory=l,e.getShopInfo=r,e.getShopGoodsCategory=a,e.changeShopFollow=c,e.shopApply=u,e.shopApplyRecord=d,e.shopApplyDetail=p,e.getTreaty=f,e.getShopService=v,e.getInvoiceSetting=h,e.apiInvoiceAdd=m,e.apiInvoiceEdit=g,e.apiInvoiceDetail=_,e.apiOrderInvoiceDetail=y;var i=o(n("b175"));n("357b");function s(t){return i.default.get("shop/getShopList",{params:t})}function l(){return i.default.get("shop_category/getList")}function r(t){return i.default.get("shop/getShopInfo",{params:t})}function a(t){return i.default.get("shop_goods_category/getShopGoodsCategory",{params:t})}function c(t){return i.default.post("shop_follow/changeStatus",t)}function u(t){return i.default.post("ShopApply/apply",t)}function d(t){return i.default.get("ShopApply/record",{params:t})}function p(t){return i.default.get("ShopApply/detail",{params:{id:t}})}function f(){return i.default.get("ShopApply/getTreaty")}function v(t){return i.default.get("setting/getShopCustomerService",{params:{shop_id:t}})}function h(t){return i.default.get("order_invoice/setting",{params:t})}function m(t){return i.default.post("order_invoice/add",t)}function g(t){return i.default.post("order_invoice/edit",t)}function _(t){return i.default.get("order_invoice/detail",{params:t})}function y(t){return i.default.get("order/invoice",{params:t})}},b65e:function(t,e,n){var o=n("24fb");e=o(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.settled-recode .settled-list[data-v-23c91f14]{padding:%?20?%}.settled-recode .settled-list .settled-item[data-v-23c91f14]{border-radius:%?10?%;padding:%?20?% %?30?% %?30?%}.settled-recode .settled-list .settled-item .settled-title[data-v-23c91f14]{padding:%?21?% 0 %?25?%;border-bottom:1px solid #e5e5e5}.settled-recode .settled-list .settled-item .settled-info .watch-btn[data-v-23c91f14]{border:1px solid #e5e5e5;height:%?52?%;width:%?124?%}',""]),t.exports=e},ce10:function(t,e,n){"use strict";n.r(e);var o=n("d541"),i=n.n(o);for(var s in o)"default"!==s&&function(t){n.d(e,t,(function(){return o[t]}))}(s);e["default"]=i.a},d541:function(t,e,n){"use strict";var o=n("4ea4");n("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n("9df2")),s=n("b194"),l={mixins:[i.default],data:function(){return{upOption:{empty:{icon:"/static/images/order_null.png",tip:"暂无记录"}},list:[]}},methods:{upCallback:function(t){var e=this;(0,s.shopApplyRecord)({page_size:t.size,page_no:t.num}).then((function(n){var o=n.data;1==t.num&&(e.list=[]);var i=o.lists,s=i.length,l=!!o.more;e.list=e.list.concat(i),e.mescroll.endSuccess(s,l)})).catch((function(){e.mescroll.endErr()}))}}};e.default=l}}]); |