平板端快衣店
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.
 
 
 
 
 

1 lines
2.6 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/staff/staff"],{"0e0a":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={data:function(){return{staffList:[],avatar:"https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png",type:"",shopOwnerPhone:n.getStorageSync("shopOwnerPhone"),username:n.getStorageSync("username")}},onLoad:function(){this.type=n.getStorageSync("type")},onShow:function(){this.getStaffList()},methods:{onDotClick:function(t,e){0==this.type&&this.shopOwnerPhone==this.username?n.navigateTo({url:"/package1/staff/addStaff?type=".concat(t,"&item=")+JSON.stringify(e)}):this.tui.toast("暂无添加权限")},getStaffList:function(){var n=this;this.tui.request("/app/common/user/findAllUserByShopId","get",{},!1,!1,!0).then((function(t){200===t.code&&(n.staffList=t.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("内测中,暂未开放")}}};t.default=e}).call(this,e("df3c")["default"])},"10be":function(n,t,e){"use strict";var o=e("2432"),i=e.n(o);i.a},2432:function(n,t,e){},5418:function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return u})),e.d(t,"a",(function(){return o}));var o={uniCard:function(){return e.e("uni_modules/uni-card/components/uni-card/uni-card").then(e.bind(null,"afb8"))},uniIcons:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(e.bind(null,"d3ec"))},uIcon:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(e.bind(null,"83a8"))}},i=function(){var n=this.$createElement;this._self._c},u=[]},6810:function(n,t,e){"use strict";e.r(t);var o=e("0e0a"),i=e.n(o);for(var u in o)["default"].indexOf(u)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(u);t["default"]=i.a},ca04:function(n,t,e){"use strict";(function(n,t){var o=e("47a9");e("82ca");o(e("3240"));var i=o(e("f01e"));n.__webpack_require_UNI_MP_PLUGIN__=e,t(i.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},f01e:function(n,t,e){"use strict";e.r(t);var o=e("5418"),i=e("6810");for(var u in i)["default"].indexOf(u)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(u);e("10be");var a=e("828b"),c=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,"854ad038",null,!1,o["a"],void 0);t["default"]=c.exports}},[["ca04","common/runtime","common/vendor"]]]);