平板端快衣店
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([["package1/staff/signRule"],{"19fc":function(e,t,n){"use strict";(function(e,t){var u=n("47a9");n("82ca");u(n("3240"));var i=u(n("c463"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"26f1":function(e,t,n){},"2b31":function(e,t,n){"use strict";n.r(t);var u=n("b560"),i=n.n(u);for(var o in u)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return u[e]}))}(o);t["default"]=i.a},"30b5":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return u}));var u={uniForms:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-forms/components/uni-forms/uni-forms")]).then(n.bind(null,"9657"))},uniFormsItem:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-forms/components/uni-forms-item/uni-forms-item")]).then(n.bind(null,"ac84"))},uniDataSelect:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-data-select/components/uni-data-select/uni-data-select")]).then(n.bind(null,"c807"))},uButton:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-button/u-button")]).then(n.bind(null,"bfd6"))}},i=function(){var e=this.$createElement;this._self._c},o=[]},"50f8":function(e,t,n){"use strict";var u=n("26f1"),i=n.n(u);i.a},b560:function(e,t,n){"use strict";(function(e){var u=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(n("7eb4")),o=u(n("ee10")),a={data:function(){return{addForm:{startTime:"06:00",endTime:"14:00",latitude:"",longitude:"",categoryId:""},categoryList:[{value:1,text:"100米"},{value:2,text:"200米"},{value:3,text:"500米"}],rules:{categoryId:{rules:[{required:!0,errorMessage:"请选择打卡范围"}]},latitude:{rules:[{required:!0,errorMessage:"请定位店铺位置"}]}}}},onLoad:function(){},methods:{bindTimeChange:function(e){this.time=e.detail.value},clockPosi:function(){var t=this;e.getLocation({type:"wgs84",isHighAccuracy:!0,accuracy:"best",success:function(e){t.addForm.latitude=e.latitude,t.addForm.longitude=e.longitude}})},onFormSubmit:function(){var t=this;this.$refs.addForm.validate().then((0,o.default)(i.default.mark((function n(){var u,o;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return"edit"==t.type?(u="/app/common/user/edit",t.addForm.id=t.id):u="/app/common/user/add",n.next=3,t.tui.request(u,"post",t.addForm,!1,!0,!1);case 3:o=n.sent,200==o.code?e.navigateBack():t.tui.toast(o.message);case 5:case"end":return n.stop()}}),n)}))),(function(e){}))},start:function(e){this.addForm.startTime=e.detail.value},end:function(e){this.addForm.endTime=e.detail.value}}};t.default=a}).call(this,n("df3c")["default"])},c463:function(e,t,n){"use strict";n.r(t);var u=n("30b5"),i=n("2b31");for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n("50f8");var a=n("828b"),r=Object(a["a"])(i["default"],u["b"],u["c"],!1,null,"08b95dea",null,!1,u["a"],void 0);t["default"]=r.exports}},[["19fc","common/runtime","common/vendor"]]]);