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

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/staff/staff"],{"029c":function(n,t,e){"use strict";var i=e("5a88"),u=e.n(i);u.a},1389:function(n,t,e){"use strict";e.r(t);var i=e("3b69"),u=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(o);t["default"]=u.a},"3b69":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",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(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"])},"51aa":function(n,t,e){"use strict";e.r(t);var i=e("cb67"),u=e("1389");for(var o in u)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(o);e("029c");var a=e("828b"),r=Object(a["a"])(u["default"],i["b"],i["c"],!1,null,"7a750b2c",null,!1,i["a"],void 0);t["default"]=r.exports},"5a88":function(n,t,e){},a26e:function(n,t,e){"use strict";(function(n,t){var i=e("47a9");e("18e5");i(e("3240"));var u=i(e("51aa"));n.__webpack_require_UNI_MP_PLUGIN__=e,t(u.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},cb67:function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return o})),e.d(t,"a",(function(){return i}));var i={uniCard:function(){return e.e("uni_modules/uni-card/components/uni-card/uni-card").then(e.bind(null,"05b0"))},uGrid:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-grid/u-grid")]).then(e.bind(null,"119a"))},uGridItem:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-grid-item/u-grid-item")]).then(e.bind(null,"5dcd"))},uIcon:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(e.bind(null,"49f9"))},uniList:function(){return e.e("uni_modules/uni-list/components/uni-list/uni-list").then(e.bind(null,"33b0"))},uniListItem:function(){return e.e("uni_modules/uni-list/components/uni-list-item/uni-list-item").then(e.bind(null,"9ebb"))},uTag:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-tag/u-tag")]).then(e.bind(null,"5f2e"))}},u=function(){var n=this.$createElement;this._self._c},o=[]}},[["a26e","common/runtime","common/vendor"]]]);