| 12 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_manage/index"],{293:function(e,n,t){"use strict";(function(e,n){var a=t(4);t(26);a(t(25));var o=a(t(294));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t(1)["default"],t(2)["createPage"])},294:function(e,n,t){"use strict";t.r(n);var a=t(295),o=t(297);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);t(309);var s,c=t(34),r=Object(c["default"])(o["default"],a["render"],a["staticRenderFns"],!1,null,"4c91ccd1",null,!1,a["components"],s);r.options.__file="pages_manage/index.vue",n["default"]=r.exports},295:function(e,n,t){"use strict";t.r(n);var a=t(296);t.d(n,"render",(function(){return a["render"]})),t.d(n,"staticRenderFns",(function(){return a["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return a["recyclableRender"]})),t.d(n,"components",(function(){return a["components"]}))},296:function(e,n,t){"use strict";var a;t.r(n),t.d(n,"render",(function(){return o})),t.d(n,"staticRenderFns",(function(){return s})),t.d(n,"recyclableRender",(function(){return i})),t.d(n,"components",(function(){return a}));try{a={uPopup:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-popup/u-popup")]).then(t.bind(null,740))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.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 e=this,n=e.$createElement;e._self._c},i=!1,s=[];o._withStripped=!0},297:function(e,n,t){"use strict";t.r(n);var a=t(298),o=t.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(i);n["default"]=o.a},298:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=t(290),o=function(){t.e("pages_manage/components/dataIndex").then(function(){return resolve(t(748))}.bind(null,t)).catch(t.oe)},i=function(){Promise.all([t.e("common/vendor"),t.e("pages_manage/components/courseIndex")]).then(function(){return resolve(t(755))}.bind(null,t)).catch(t.oe)},s=function(){t.e("pages_manage/components/memberIndex").then(function(){return resolve(t(762))}.bind(null,t)).catch(t.oe)},c=function(){t.e("pages_manage/components/UrgeIndex").then(function(){return resolve(t(769))}.bind(null,t)).catch(t.oe)},r=function(){t.e("pages_manage/components/manageIndex").then(function(){return resolve(t(776))}.bind(null,t)).catch(t.oe)},u={components:{dataIndex:o,courseIndex:i,memberIndex:s,UrgeIndex:c,manageIndex:r},data:function(){return{showShare:!1,tabact:1,childdata:[],vipPages:"",salsepages:"",projectCode:"",listtab:[{name:"数据",value:0,tab:t(299),tabsel:t(300)},{name:"课程库",value:1,tab:t(301),tabsel:t(302)},{name:"会员",value:2,tab:t(303),tabsel:t(304)},{name:"催课",value:3,tab:t(305),tabsel:t(306)},{name:"管理",value:4,tab:t(307),tabsel:t(308)}],companyUserInfo:JSON.parse(e.getStorageSync("companyUserInfo"))}},computed:{appid:function(){return this.$store.state.appid},imgPath:function(){return this.$store.state.imgpath},imgname:function(){return this.$store.state.logoname}},onShareAppMessage:function(){return 1==this.tabact?{title:this.childdata.title,path:this.childdata.path+"?course="+JSON.stringify(this.childdata.params),imageUrl:this.childdata.img,success:function(e){console.log("分享成功",e)},fail:function(e){console.log("分享失败",e)}}:2==this.tabact?{title:this.$store.state.logoname+"小程序的"+this.companyUserInfo.nickName+"邀请您成为会员!",path:this.vipPages,imageUrl:this.imgPath+"/app/image/logoshare.png"}:4==this.tabact?{title:this.$store.state.logoname+"小程序的"+this.companyUserInfo.nickName+"邀请您成为销售!",path:this.salsepages,imageUrl:this.imgPath+"/app/image/logoshare.png"}:void 0},onLoad:function(e){this.tabact=e.act?e.act:1},methods:{copy:function(){console.log("hhh"),e.showLoading({title:"处理中..."}),this.getlinkCodes()},setlnk:function(){var n="/pages_course/videovip",t={appid:this.appid,linkStr:n+"?course="+JSON.stringify(this.childdata.params)};(0,a.copyuniLink)(t).then((function(n){200==n.code?(e.hideLoading(),setTimeout((function(){e.setClipboardData({data:n.data,success:function(){e.showToast({title:"链接已复制",icon:"none",duration:2e3})},fail:function(){e.showToast({title:"复制失败",icon:"none"})}})}),200)):(e.hideLoading(),e.showToast({title:n.msg,icon:"none"}))}))},getlinkCodes:function(){var e=this;(0,a.getlinkCode)().then((function(n){n.code&&(e.childdata.params.projectCode=n.code,e.projectCode=n.data,e.setlnk(),console.log(e.childdata.params))}))},chlidpages:function(e){this.vipPages=e},chlidSalsepages:function(e){console.log("父组件",e),this.salsepages=e},closeShare:function(){this.showShare=!1},handleParentMethod:function(){},onChildDataUpdate:function(e){this.childdata=e,this.showShare=this.childdata.onshow,console.log(this.childdata),console.log("父组件",this.childdata.path+"?course="+JSON.stringify(this.childdata.params))},tabclick:function(n){this.tabact=n.value,e.setNavigationBarTitle({title:n.name})}}};n.default=u}).call(this,t(2)["default"])},309:function(e,n,t){"use strict";t.r(n);var a=t(310),o=t.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(i);n["default"]=o.a},310:function(e,n,t){}},[[293,"common/runtime","common/vendor"]]]);
- //# sourceMappingURL=../../.sourcemap/mp-weixin/pages_manage/index.js.map
|