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
5.5 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["subPackages-clockIn-apply"],{"06ff":function(t,n,e){"use strict";e.r(n);var i=e("19f1"),a=e("e360");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("9ed8");var d=e("828b"),s=Object(d["a"])(a["default"],i["b"],i["c"],!1,null,"5dd3535d",null,!1,i["a"],void 0);n["default"]=s.exports},1932:function(t,n,e){var i=e("ce0a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("967d").default;a("9d9fd63e",i,!0,{sourceMap:!1,shadowMode:!1})},"19f1":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var i=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{staticClass:"bg"},[e("v-uni-view",{staticClass:"user-other-info"},[e("v-uni-view",{staticClass:"userinfo-item edit"},[e("span",[t._v("打卡日期")]),e("v-uni-view",[e("v-uni-view",{staticClass:"text-overflow"},[t._v(t._s(t.timeFormat(new Date)))])],1)],1),e("v-uni-view",{staticClass:"userinfo-item",staticStyle:{border:"none"}},[e("span",[t._v("审批事由")])]),e("v-uni-textarea",{staticClass:"reason",attrs:{"auto-height":!0,placeholder:"请填写您审批的事由"},model:{value:t.info.reason,callback:function(n){t.$set(t.info,"reason",n)},expression:"info.reason"}}),e("v-uni-view",{staticClass:"btn-tao",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.submit.apply(void 0,arguments)}}},[t._v("提交")])],1)],1)},a=[]},"9ed8":function(t,n,e){"use strict";var i=e("1932"),a=e.n(i);a.a},ce0a:function(t,n,e){var i=e("c86c");n=i(!1),n.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-5dd3535d]{box-sizing:initial}.bg[data-v-5dd3535d]{min-height:calc(100vh - 44px - env(safe-area-inset-top));overflow-x:hidden;background:#fff;padding-bottom:%?50?%}.empty-value[data-v-5dd3535d]{font-weight:500;font-size:%?28?%;color:#999}.user-other-info[data-v-5dd3535d]{margin:0 %?30?%}.user-other-info .info-title[data-v-5dd3535d]{font-weight:700;font-size:%?32?%;color:#000}.userinfo-item[data-v-5dd3535d]{display:flex;justify-content:space-between;align-items:center;font-size:%?28?%;border-bottom:%?1?% solid #d8d8d8;padding:%?40?% %?30?% %?40?% 0;height:%?48?%;color:#333;position:relative}.info-avatar-top span[data-v-5dd3535d]{font-weight:500;font-size:%?31?%;flex-shrink:0}.userinfo-item > span[data-v-5dd3535d]{font-weight:500;font-size:%?31?%;flex-shrink:0;color:#000;width:%?200?%}.userinfo-item > span[data-v-5dd3535d]::before{content:"*";color:#96684f}.userinfo-item > i[data-v-5dd3535d]{font-weight:500;font-size:%?24?%;color:#999}.userinfo-item.edit > uni-view[data-v-5dd3535d]::after{content:"";width:%?20?%;height:%?20?%;margin-left:%?6?%;background-image:url(https://static.ticket.sz-trip.com/tongli/images/user/rightIcon-gray.png);background-size:100% 100%;position:absolute;right:0;margin:auto;top:0;bottom:0}.birthday-box[data-v-5dd3535d]{text-align:right}.dialog-footer .change-avatar-btn[data-v-5dd3535d]{position:fixed;text-align:center;bottom:%?80?%;left:50%;margin-left:%?-110?%}.btn-tao[data-v-5dd3535d]{text-align:center;font-size:%?30?%;width:%?697?%;height:%?80?%;background:#96684f;border-radius:%?40?%;line-height:%?80?%;color:#fff;position:absolute;bottom:%?50?%}.reason[data-v-5dd3535d]{background:#f5f5f5;border-radius:%?13?%;min-height:%?265?%;width:100%;padding:%?20?% %?12?%;box-sizing:border-box;font-size:%?28?%}',""]),t.exports=n},d10d:function(t,n,e){"use strict";function i(t){var n=new Date,e=n.getFullYear(),i=n.getMonth()+1,a=n.getDate();return"start"===t?e-=10:"end"===t&&(e+=10),i=i>9?i:"0"+i,a=a>9?a:"0"+a,"".concat(e,"-").concat(i,"-").concat(a)}e("6a54"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("c223"),e("0c26");var a={data:function(){return{info:{date:"",time:"",timeStr:"",reason:""},startDate:i("start"),endDate:i("end"),timeArr:["09:00-10:00"]}},onLoad:function(){},methods:{bindDateChange:function(t){this.info.date=t.detail.value},bindPickerChange:function(t){console.log(t.detail.value),this.info.time=t.detail.value},submit:function(){this.info.reason.trim()?this.Post({reason:this.info.reason},"/api/Merchants/guideClockExamine").then((function(t){uni.showToast({title:"提交成功",icon:"none"}),setTimeout((function(){uni.navigateTo({url:"/subPackages/clockIn/record"})}),1e3)})):this.showToast({title:"请输入审批事由",icon:"none"})}}};n.default=a},e360:function(t,n,e){"use strict";e.r(n);var i=e("d10d"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a}}]);