2 lines
4.3 KiB
JavaScript
2 lines
4.3 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/packageA/user/my_add"],{323:function(e,t,n){"use strict";(function(e,t){var o=n(4);n(26);o(n(25));var i=o(n(324));e.__webpack_require_UNI_MP_PLUGIN__=n,t(i.default)}).call(this,n(1)["default"],n(2)["createPage"])},324:function(e,t,n){"use strict";n.r(t);var o=n(325),i=n(327);for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);n(329);var a,s=n(42),c=Object(s["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],a);c.options.__file="pages/packageA/user/my_add.vue",t["default"]=c.exports},325:function(e,t,n){"use strict";n.r(t);var o=n(326);n.d(t,"render",(function(){return o["render"]})),n.d(t,"staticRenderFns",(function(){return o["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return o["recyclableRender"]})),n.d(t,"components",(function(){return o["components"]}))},326:function(e,t,n){"use strict";var o;n.r(t),n.d(t,"render",(function(){return i})),n.d(t,"staticRenderFns",(function(){return a})),n.d(t,"recyclableRender",(function(){return r})),n.d(t,"components",(function(){return o}));try{o={tnNavBar:function(){return Promise.all([n.e("common/vendor"),n.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(n.bind(null,394))},tnTabs:function(){return Promise.all([n.e("common/vendor"),n.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(n.bind(null,416))}}}catch(s){if(-1===s.message.indexOf("Cannot find module")||-1===s.message.indexOf(".vue"))throw s;console.error(s.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var e=this,t=e.$createElement,n=(e._self._c,e.list.length),o=e.__map(e.list,(function(t,n){var o=e.__get_orig(t),i=t.files.length;return{$orig:o,g0:i}}));e.$mp.data=Object.assign({},{$root:{g1:n,l0:o}})},r=!1,a=[];i._withStripped=!0},327:function(e,t,n){"use strict";n.r(t);var o=n(328),i=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);t["default"]=i.a},328:function(e,t,n){"use strict";(function(e){var o=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(18)),r=n(33),a=o(n(30)),s={data:function(){return{list:[],apiImgUrl:this.$store.state.imgUrl,current:0,tab_list:[{name:"发布成功"},{name:"发布失败"}],page:1}},mounted:function(){this.getTweetsList()},methods:{del:function(t){var n=this;e.showModal({title:"提示",content:"确定要删除吗?",success:function(e){e.confirm?n.delShow(t):e.cancel&&console.log("用户点击取消")}})},delShow:function(t){var n=this;(0,r.tweetsDel)({id:t.id}).then((function(t){console.log(t),1==t.code?(e.showToast({title:"删除成功!",icon:"none",duration:2e3}),n.page=1,n.list=[],n.getTweetsList()):e.showToast({title:t.msg,icon:"none",duration:2e3})})).catch((function(t){e.showToast({title:t,icon:"none",duration:2e3})}))},change:function(e){this.current=e,this.page=1,this.list=[],this.getTweetsList()},openImg:function(t,n){console.log(n),console.log(t.files),e.previewImage({current:n,urls:t.files})},switchTabbar:function(t){console.log(t),a.default.commit("$tStore",{name:"Gid",value:t.id}),e.setStorageSync("Gid",t.id),e.$emit("getGid",{gid:t.id}),e.$emit("depId",{index:0})},onsubmit:function(){this.page=1,this.list=[],this.getAssociationIndex()},getTweetsList:function(){var t=this;(0,r.tweetsList)({me:1,association_name:1,page:this.page,state:0==this.current?2:3,size:10}).then((function(e){var n;(console.log(e),1==e.code)&&(n=t.list).push.apply(n,(0,i.default)(e.data.data))})).catch((function(t){e.showToast({title:t,icon:"none",duration:2e3})}))},tn:function(t){e.navigateTo({url:t})},goBack:function(){getCurrentPages().length>1?e.navigateBack():e.redirectTo({url:"/pages/index/index"})}}};t.default=s}).call(this,n(2)["default"])},329:function(e,t,n){"use strict";n.r(t);var o=n(330),i=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);t["default"]=i.a},330:function(e,t,n){}},[[323,"common/runtime","common/vendor"]]]);
|
||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/packageA/user/my_add.js.map
|