2025-03-21 16:50:18 +08:00

2 lines
4.8 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/packageA/user/user_auditing"],{235:function(n,t,e){"use strict";(function(n,t){var i=e(4);e(26);i(e(25));var o=i(e(236));n.__webpack_require_UNI_MP_PLUGIN__=e,t(o.default)}).call(this,e(1)["default"],e(2)["createPage"])},236:function(n,t,e){"use strict";e.r(t);var i=e(237),o=e(239);for(var s in o)["default"].indexOf(s)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(s);var a,r=e(42),c=Object(r["default"])(o["default"],i["render"],i["staticRenderFns"],!1,null,null,null,!1,i["components"],a);c.options.__file="pages/packageA/user/user_auditing.vue",t["default"]=c.exports},237:function(n,t,e){"use strict";e.r(t);var i=e(238);e.d(t,"render",(function(){return i["render"]})),e.d(t,"staticRenderFns",(function(){return i["staticRenderFns"]})),e.d(t,"recyclableRender",(function(){return i["recyclableRender"]})),e.d(t,"components",(function(){return i["components"]}))},238:function(n,t,e){"use strict";var i;e.r(t),e.d(t,"render",(function(){return o})),e.d(t,"staticRenderFns",(function(){return a})),e.d(t,"recyclableRender",(function(){return s})),e.d(t,"components",(function(){return i}));try{i={tnNavBar:function(){return Promise.all([e.e("common/vendor"),e.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(e.bind(null,406))},tnTabs:function(){return Promise.all([e.e("common/vendor"),e.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(e.bind(null,428))},tnModal:function(){return Promise.all([e.e("common/vendor"),e.e("tuniao-ui/components/tn-modal/tn-modal")]).then(e.bind(null,442))}}}catch(r){if(-1===r.message.indexOf("Cannot find module")||-1===r.message.indexOf(".vue"))throw r;console.error(r.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范文档https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var n=this,t=n.$createElement;n._self._c},s=!1,a=[];o._withStripped=!0},239:function(n,t,e){"use strict";e.r(t);var i=e(240),o=e.n(i);for(var s in i)["default"].indexOf(s)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(s);t["default"]=o.a},240:function(n,t,e){"use strict";(function(n){var i=e(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(e(18)),s=e(33),a=(i(e(30)),{data:function(){return{list:[{name:"全部申请"},{name:"信息修改"},{name:"入会申请"}],page:1,all_list:[],current:0,if_xianshi:0,show:!1,title:"提示信息",content:"提示信息的内容",button:[{text:"取消",backgroundColor:"#F4F4F4",fontColor:"#000000",plain:!0,shape:"round"},{text:"确定",backgroundColor:"#548ceb",fontColor:"#FFFFFF"}],key:0,key_info:{}}},onLoad:function(){var t=this;this.getAuditingList(),n.$on("onload",(function(n){t.page=1,t.all_list=[],t.getAuditingList()}))},onReachBottom:function(){this.page+=1,this.getAuditingList()},methods:{setAuditing:function(){var t=this,e=n.getStorageSync("userInfo"),i=1==this.key_info.type?this.key_info.member_id:this.key_info.id,o="";o=1==this.key?1==this.key_info.type?"您提交的资料修改申请已通过审核!":"您提交的入会申请已通过审核!":2==this.key_info.type?"您提交的资料修改申请已被拒绝!":"您提交的入会申请已被拒绝!",(0,s.auditingUpadte)({association_id:e.association_id,member_id:i,if_xianshi:this.key,type:this.key_info.type,content:o,id:this.key_info.id}).then((function(e){console.log(e),1==e.code?(n.showToast({title:e.msg,icon:"none",duration:2e3}),t.page=1,t.all_list=[],t.getAuditingList()):n.showToast({title:e.msg,icon:"none",duration:2e3}),t.show=!1})).catch((function(t){n.showToast({title:t,icon:"none",duration:2e3})}))},dian:function(n){1==n.index?this.setAuditing():this.show=!1},openModal:function(n,t){console.log(t),this.key_info=n,this.key=t,this.show=!0,this.title=1==t?"通过申请":"拒绝申请",this.content=1==t?"确认要通过申请吗?":"确认要拒绝申请吗?"},change:function(n){this.current=n,this.page=1,this.if_xianshi=0,this.all_list=[],this.getAuditingList()},changeXs:function(n){this.page=1,this.all_list=[],this.if_xianshi=n,this.getAuditingList()},getAuditingList:function(){var t=this,e=n.getStorageSync("userInfo");(0,s.getAuditing)({association_id:e.association_id,page:this.page,size:10,if:this.current,if_xianshi:this.if_xianshi}).then((function(n){var e;(console.log(n),1==n.code)&&(e=t.all_list).push.apply(e,(0,o.default)(n.data))})).catch((function(t){n.showToast({title:t,icon:"none",duration:2e3})}))},openUrl:function(t){n.navigateTo({url:t})},goBack:function(){getCurrentPages().length>1?n.navigateBack():n.redirectTo({url:"/pages/index/index"})}}});t.default=a}).call(this,e(2)["default"])}},[[235,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/packageA/user/user_auditing.js.map