You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
4.1 KiB
2 lines
4.1 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/staff/staff"],{225:function(n,e,t){"use strict";(function(n,e){var o=t(4);t(26);o(t(25));var i=o(t(226));n.__webpack_require_UNI_MP_PLUGIN__=t,e(i.default)}).call(this,t(1)["default"],t(2)["createPage"])},226:function(n,e,t){"use strict";t.r(e);var o=t(227),i=t(229);for(var u in i)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(u);t(231);var r,s=t(38),c=Object(s["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,"023cc288",null,!1,o["components"],r);c.options.__file="pages/staff/staff.vue",e["default"]=c.exports},227:function(n,e,t){"use strict";t.r(e);var o=t(228);t.d(e,"render",(function(){return o["render"]})),t.d(e,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(e,"components",(function(){return o["components"]}))},228:function(n,e,t){"use strict";var o;t.r(e),t.d(e,"render",(function(){return i})),t.d(e,"staticRenderFns",(function(){return r})),t.d(e,"recyclableRender",(function(){return u})),t.d(e,"components",(function(){return o}));try{o={uniCard:function(){return t.e("uni_modules/uni-card/components/uni-card/uni-card").then(t.bind(null,1025))},uGrid:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-grid/u-grid")]).then(t.bind(null,975))},uGridItem:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-grid-item/u-grid-item")]).then(t.bind(null,983))},uIcon:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(t.bind(null,1142))},uniList:function(){return t.e("uni_modules/uni-list/components/uni-list/uni-list").then(t.bind(null,1151))},uniListItem:function(){return t.e("uni_modules/uni-list/components/uni-list-item/uni-list-item").then(t.bind(null,1158))},uTag:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-tag/u-tag")]).then(t.bind(null,1165))}}}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 n=this,e=n.$createElement;n._self._c},u=!1,r=[];i._withStripped=!0},229:function(n,e,t){"use strict";t.r(e);var o=t(230),i=t.n(o);for(var u in o)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(u);e["default"]=i.a},230:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={data:function(){return{staffList:[],avatar:"https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png",size:30,type:"",shopOwnerPhone:n.getStorageSync("shopOwnerPhone"),username:n.getStorageSync("username")}},onLoad:function(){this.type=n.getStorageSync("type")},onShow:function(){this.getStaffList()},methods:{onDotClick:function(e,t){0==this.type&&this.shopOwnerPhone==this.username?n.navigateTo({url:"/package1/staff/addStaff?type=".concat(e,"&item=")+JSON.stringify(t)}):this.tui.toast("暂无添加权限")},getStaffList:function(){var n=this;this.tui.request("/app/common/user/findAllUserByShopId","get",{},!1,!1,!0).then((function(e){200===e.code&&(n.staffList=e.result)}))},gotoPerformancePage:function(){0==this.type&&n.getStorageSync("shopOwnerPhone")==n.getStorageSync("username")?n.navigateTo({url:"/package1/staff/performance"}):this.tui.toast("暂无查看权限")},gotoClockPage:function(){this.tui.toast("内测中,暂未开放")},goGuide:function(){this.tui.toast("内测中,暂未开放")}}};e.default=t}).call(this,t(2)["default"])},231:function(n,e,t){"use strict";t.r(e);var o=t(232),i=t.n(o);for(var u in o)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(u);e["default"]=i.a},232:function(n,e,t){}},[[225,"common/runtime","common/vendor"]]]);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/staff/staff.js.map
|