164 lines
23 KiB
JavaScript
Raw Normal View History

2026-05-28 09:48:42 +08:00
"use strict";
const common_vendor = require("../../../common/vendor.js");
const common_libraries_day = require("../../../common/libraries/day.js");
const gen_Enums = require("../../../gen/Enums.js");
const ME_attendance_sign_clock_in_method = require("./method.js");
const ME_attendance_sign_clock_in_model = require("./model.js");
require("../../../common/libraries/apiLoading.js");
require("../../../gen/Apis.js");
require("../../../common/libraries/request.js");
require("../../../common/store/useWeAppAuthStore.js");
require("../../../common/store/useWatermarkStore.js");
require("../../../common/store/useWorkStore.js");
require("../../../common/libraries/naviHelper.js");
require("../../../common/libraries/mapDistance.js");
require("../../../common/libraries/tools.js");
if (!Array) {
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
const _easycom_u_steps_item2 = common_vendor.resolveComponent("u-steps-item");
const _easycom_u_steps2 = common_vendor.resolveComponent("u-steps");
const _easycom_hs_button2 = common_vendor.resolveComponent("hs-button");
const _easycom_u_loading_icon2 = common_vendor.resolveComponent("u-loading-icon");
(_easycom_uni_icons2 + _easycom_u_steps_item2 + _easycom_u_steps2 + _easycom_hs_button2 + _easycom_u_loading_icon2)();
}
const _easycom_uni_icons = () => "../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
const _easycom_u_steps_item = () => "../../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js";
const _easycom_u_steps = () => "../../../node-modules/uview-plus/components/u-steps/u-steps.js";
const _easycom_hs_button = () => "../../../components/hs-button/hs-button.js";
const _easycom_u_loading_icon = () => "../../../node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js";
if (!Math) {
(_easycom_uni_icons + _easycom_u_steps_item + _easycom_u_steps + _easycom_hs_button + _easycom_u_loading_icon)();
}
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "index",
setup(__props) {
common_vendor.onLoad((e) => {
var _a, _b;
2026-06-29 13:34:45 +08:00
console.log(e, "e");
2026-05-28 09:48:42 +08:00
ME_attendance_sign_clock_in_model.useModel.formData.value = e;
(_a = ME_attendance_sign_clock_in_method.method) == null ? void 0 : _a.getLocation(e);
(_b = ME_attendance_sign_clock_in_method.method) == null ? void 0 : _b.getAttendanceConfig();
});
common_vendor.onShow(() => {
var _a;
(_a = ME_attendance_sign_clock_in_method.method) == null ? void 0 : _a.init();
});
common_vendor.onUnload(() => {
ME_attendance_sign_clock_in_model.useModel.mapNumber.value = 0;
ME_attendance_sign_clock_in_model.useModel.loading.value = false;
});
return (_ctx, _cache) => {
2026-06-29 13:34:45 +08:00
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja, _Ka, _La, _Ma, _Na, _Oa, _Pa, _Qa, _Ra, _Sa, _Ta, _Ua, _Va, _Wa, _Xa, _Ya, _Za, __a, _$a, _ab, _bb, _cb, _db, _eb, _fb, _gb, _hb, _ib, _jb, _kb, _lb, _mb, _nb, _ob, _pb, _qb, _rb, _sb, _tb, _ub, _vb, _wb, _xb, _yb, _zb, _Ab, _Bb, _Cb, _Db, _Eb, _Fb, _Gb, _Hb, _Ib, _Jb, _Kb, _Lb, _Mb, _Nb, _Ob, _Pb, _Qb, _Rb, _Sb, _Tb, _Ub, _Vb, _Wb, _Xb, _Yb, _Zb, __b, _$b, _ac, _bc, _cc, _dc, _ec, _fc, _gc, _hc, _ic, _jc, _kc, _lc, _mc, _nc, _oc, _pc, _qc, _rc, _sc, _tc, _uc, _vc, _wc, _xc, _yc, _zc, _Ac, _Bc, _Cc, _Dc, _Ec, _Fc, _Gc, _Hc, _Ic, _Jc, _Kc, _Lc, _Mc, _Nc, _Oc, _Pc, _Qc, _Rc, _Sc, _Tc, _Uc, _Vc, _Wc, _Xc, _Yc, _Zc, __c, _$c, _ad, _bd, _cd, _dd, _ed, _fd, _gd, _hd, _id, _jd, _kd, _ld, _md, _nd, _od, _pd, _qd, _rd, _sd, _td, _ud, _vd, _wd, _xd, _yd, _zd, _Ad, _Bd, _Cd, _Dd, _Ed, _Fd, _Gd, _Hd, _Id, _Jd, _Kd, _Ld, _Md, _Nd, _Od;
2026-05-28 09:48:42 +08:00
return common_vendor.e({
a: (_b = (_a = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _a.loading) == null ? void 0 : _b.value
}, ((_d = (_c = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _c.loading) == null ? void 0 : _d.value) ? common_vendor.e({
2026-06-29 13:34:45 +08:00
b: common_vendor.t(common_vendor.unref(common_libraries_day.getShowDay)((_g = (_f = (_e = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _e.formData) == null ? void 0 : _f.value) == null ? void 0 : _g.date)),
c: common_vendor.t(((_i = (_h = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _h.distanceNumber) == null ? void 0 : _i.value) > ((_l = (_k = (_j = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _j.attendanceConfigData) == null ? void 0 : _k.value) == null ? void 0 : _l.check_in_range) ? "不在" : "已在"),
d: common_vendor.p({
color: ((_n = (_m = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _m.distanceNumber) == null ? void 0 : _n.value) > ((_q = (_p = (_o = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _o.attendanceConfigData) == null ? void 0 : _p.value) == null ? void 0 : _q.check_in_range) ? "#767676" : "#0082FA",
2026-05-28 09:48:42 +08:00
type: "location-filled",
size: "16"
}),
2026-06-29 13:34:45 +08:00
e: common_vendor.t(((_u = (_t = (_s = (_r = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _r.showData) == null ? void 0 : _s.value) == null ? void 0 : _t.project) == null ? void 0 : _u.name) || "-"),
f: ((_w = (_v = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _v.distanceNumber) == null ? void 0 : _w.value) > ((_z = (_y = (_x = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _x.attendanceConfigData) == null ? void 0 : _y.value) == null ? void 0 : _z.check_in_range)
}, ((_B = (_A = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _A.distanceNumber) == null ? void 0 : _B.value) > ((_E = (_D = (_C = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _C.attendanceConfigData) == null ? void 0 : _D.value) == null ? void 0 : _E.check_in_range) ? {
g: common_vendor.o(
2026-05-28 09:48:42 +08:00
//@ts-ignore
(...args) => {
var _a2, _b2;
return ((_a2 = common_vendor.unref(ME_attendance_sign_clock_in_method.method)) == null ? void 0 : _a2.handleUpdateLocation) && ((_b2 = common_vendor.unref(ME_attendance_sign_clock_in_method.method)) == null ? void 0 : _b2.handleUpdateLocation(...args));
}
)
} : {}, {
2026-06-29 13:34:45 +08:00
h: common_vendor.n(`sign_clock_in_page_map ${((_G = (_F = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _F.distanceNumber) == null ? void 0 : _G.value) > ((_J = (_I = (_H = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _H.attendanceConfigData) == null ? void 0 : _I.value) == null ? void 0 : _J.check_in_range) ? "sign_clock_in_page_map_opacity" : ""}`),
i: common_vendor.t(common_vendor.unref(common_libraries_day.showTime)(`${(_M = (_L = (_K = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _K.formData) == null ? void 0 : _L.value) == null ? void 0 : _M.date} ${(_Q = (_P = (_O = (_N = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _N.showData) == null ? void 0 : _O.value) == null ? void 0 : _P.period) == null ? void 0 : _Q.work_start_time}`)),
j: (_V = (_U = (_T = (_S = (_R = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _R.showData) == null ? void 0 : _S.value) == null ? void 0 : _T.checkin_status) == null ? void 0 : _U.start) == null ? void 0 : _V.checked
}, ((__ = (_Z = (_Y = (_X = (_W = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _W.showData) == null ? void 0 : _X.value) == null ? void 0 : _Y.checkin_status) == null ? void 0 : _Z.start) == null ? void 0 : __.checked) ? {
k: common_vendor.t((_ea = common_vendor.unref(gen_Enums.AttendanceRecordsStatusEnum)[(_da = (_ca = (_ba = (_aa = (_$ = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _$.showData) == null ? void 0 : _aa.value) == null ? void 0 : _ba.checkin_status) == null ? void 0 : _ca.start) == null ? void 0 : _da.status]) == null ? void 0 : _ea.text)
2026-05-28 09:48:42 +08:00
} : common_vendor.e({
2026-06-29 13:34:45 +08:00
l: common_vendor.unref(common_libraries_day.isOverHalfHourPast)(`${(_ha = (_ga = (_fa = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _fa.formData) == null ? void 0 : _ga.value) == null ? void 0 : _ha.date} ${(_la = (_ka = (_ja = (_ia = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _ia.showData) == null ? void 0 : _ja.value) == null ? void 0 : _ka.period) == null ? void 0 : _la.work_start_time}`)
}, common_vendor.unref(common_libraries_day.isOverHalfHourPast)(`${(_oa = (_na = (_ma = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _ma.formData) == null ? void 0 : _na.value) == null ? void 0 : _oa.date} ${(_sa = (_ra = (_qa = (_pa = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _pa.showData) == null ? void 0 : _qa.value) == null ? void 0 : _ra.period) == null ? void 0 : _sa.work_start_time}`) ? {} : {}), {
m: (_xa = (_wa = (_va = (_ua = (_ta = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _ta.showData) == null ? void 0 : _ua.value) == null ? void 0 : _va.checkin_status) == null ? void 0 : _wa.start) == null ? void 0 : _xa.checked
}, ((_Ca = (_Ba = (_Aa = (_za = (_ya = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _ya.showData) == null ? void 0 : _za.value) == null ? void 0 : _Aa.checkin_status) == null ? void 0 : _Ba.start) == null ? void 0 : _Ca.checked) ? {
n: common_vendor.t(common_vendor.unref(common_libraries_day.showTime)((_Ha = (_Ga = (_Fa = (_Ea = (_Da = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Da.showData) == null ? void 0 : _Ea.value) == null ? void 0 : _Fa.checkin_status) == null ? void 0 : _Ga.start) == null ? void 0 : _Ha.time)),
o: common_vendor.n(`schedules_steps_check schedules_steps_${(_Ma = (_La = (_Ka = (_Ja = (_Ia = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Ia.showData) == null ? void 0 : _Ja.value) == null ? void 0 : _Ka.checkin_status) == null ? void 0 : _La.start) == null ? void 0 : _Ma.status}`)
2026-05-28 09:48:42 +08:00
} : {}, {
2026-06-29 13:34:45 +08:00
p: common_vendor.t(common_vendor.unref(common_libraries_day.showTime)(`${(_Pa = (_Oa = (_Na = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Na.formData) == null ? void 0 : _Oa.value) == null ? void 0 : _Pa.date} ${(_Ta = (_Sa = (_Ra = (_Qa = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Qa.showData) == null ? void 0 : _Ra.value) == null ? void 0 : _Sa.period) == null ? void 0 : _Ta.work_end_time}`)),
q: (_Ya = (_Xa = (_Wa = (_Va = (_Ua = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Ua.showData) == null ? void 0 : _Va.value) == null ? void 0 : _Wa.checkin_status) == null ? void 0 : _Xa.end) == null ? void 0 : _Ya.checked
}, ((_bb = (_ab = (_$a = (__a = (_Za = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Za.showData) == null ? void 0 : __a.value) == null ? void 0 : _$a.checkin_status) == null ? void 0 : _ab.end) == null ? void 0 : _bb.checked) ? {
r: common_vendor.t((_hb = common_vendor.unref(gen_Enums.AttendanceRecordsStatusEnum)[(_gb = (_fb = (_eb = (_db = (_cb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _cb.showData) == null ? void 0 : _db.value) == null ? void 0 : _eb.checkin_status) == null ? void 0 : _fb.end) == null ? void 0 : _gb.status]) == null ? void 0 : _hb.text)
2026-05-28 09:48:42 +08:00
} : common_vendor.e({
2026-06-29 13:34:45 +08:00
s: common_vendor.unref(common_libraries_day.isOverHalfHourPast)(`${(_kb = (_jb = (_ib = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _ib.formData) == null ? void 0 : _jb.value) == null ? void 0 : _kb.date} ${(_ob = (_nb = (_mb = (_lb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _lb.showData) == null ? void 0 : _mb.value) == null ? void 0 : _nb.period) == null ? void 0 : _ob.work_end_time}`)
}, common_vendor.unref(common_libraries_day.isOverHalfHourPast)(`${(_rb = (_qb = (_pb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _pb.formData) == null ? void 0 : _qb.value) == null ? void 0 : _rb.date} ${(_vb = (_ub = (_tb = (_sb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _sb.showData) == null ? void 0 : _tb.value) == null ? void 0 : _ub.period) == null ? void 0 : _vb.work_end_time}`) ? {} : {}), {
t: (_Ab = (_zb = (_yb = (_xb = (_wb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _wb.showData) == null ? void 0 : _xb.value) == null ? void 0 : _yb.checkin_status) == null ? void 0 : _zb.end) == null ? void 0 : _Ab.checked
}, ((_Fb = (_Eb = (_Db = (_Cb = (_Bb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Bb.showData) == null ? void 0 : _Cb.value) == null ? void 0 : _Db.checkin_status) == null ? void 0 : _Eb.end) == null ? void 0 : _Fb.checked) ? {
v: common_vendor.t(common_vendor.unref(common_libraries_day.showTime)((_Kb = (_Jb = (_Ib = (_Hb = (_Gb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Gb.showData) == null ? void 0 : _Hb.value) == null ? void 0 : _Ib.checkin_status) == null ? void 0 : _Jb.end) == null ? void 0 : _Kb.time)),
w: common_vendor.n(`schedules_steps_check schedules_steps_${(_Pb = (_Ob = (_Nb = (_Mb = (_Lb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Lb.showData) == null ? void 0 : _Mb.value) == null ? void 0 : _Nb.checkin_status) == null ? void 0 : _Ob.end) == null ? void 0 : _Pb.status}`)
2026-05-28 09:48:42 +08:00
} : {}, {
2026-06-29 13:34:45 +08:00
x: common_vendor.p({
current: (_Rb = (_Qb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Qb.current) == null ? void 0 : _Rb.value,
2026-05-28 09:48:42 +08:00
direction: "column",
activeColor: "#52C41A",
inactiveColor: "#CBCBCB"
}),
2026-06-29 13:34:45 +08:00
y: (_Ub = (_Tb = (_Sb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Sb.attendanceConfigData) == null ? void 0 : _Tb.value) == null ? void 0 : _Ub.require_photo
}, ((_Xb = (_Wb = (_Vb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Vb.attendanceConfigData) == null ? void 0 : _Wb.value) == null ? void 0 : _Xb.require_photo) ? common_vendor.e({
z: (_$b = (__b = (_Zb = (_Yb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Yb.formData) == null ? void 0 : _Zb.value) == null ? void 0 : __b.photo) == null ? void 0 : _$b.length
}, ((_dc = (_cc = (_bc = (_ac = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _ac.formData) == null ? void 0 : _bc.value) == null ? void 0 : _cc.photo) == null ? void 0 : _dc.length) ? {
A: common_vendor.f((_gc = (_fc = (_ec = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _ec.formData) == null ? void 0 : _fc.value) == null ? void 0 : _gc.photo, (i, index, i0) => {
2026-05-28 09:48:42 +08:00
return {
a: i == null ? void 0 : i.url,
b: common_vendor.o(($event) => {
var _a2;
return (_a2 = common_vendor.unref(ME_attendance_sign_clock_in_method.method)) == null ? void 0 : _a2.onPreviewMedia(i == null ? void 0 : i.url);
}, `img_${index}`),
c: "47899bc6-4-" + i0,
d: common_vendor.o(($event) => {
var _a2;
return (_a2 = common_vendor.unref(ME_attendance_sign_clock_in_method.method)) == null ? void 0 : _a2.handleDelete();
}, `img_${index}`),
e: `img_${index}`
};
}),
2026-06-29 13:34:45 +08:00
B: common_vendor.p({
2026-05-28 09:48:42 +08:00
type: "clear",
color: "#f00",
size: "25"
})
} : {
2026-06-29 13:34:45 +08:00
C: common_vendor.o(($event) => {
2026-05-28 09:48:42 +08:00
var _a2;
return (_a2 = common_vendor.unref(ME_attendance_sign_clock_in_method.method)) == null ? void 0 : _a2.toUpload();
}),
2026-06-29 13:34:45 +08:00
D: common_vendor.p({
2026-05-28 09:48:42 +08:00
label: "点击拍照",
type: "ghost",
size: "large"
})
}) : {}, {
2026-06-29 13:34:45 +08:00
E: ((_ic = (_hc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _hc.distanceNumber) == null ? void 0 : _ic.value) <= ((_lc = (_kc = (_jc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _jc.attendanceConfigData) == null ? void 0 : _kc.value) == null ? void 0 : _lc.check_in_range) && common_vendor.unref(common_libraries_day.isWithinTimeRange)(`${(_oc = (_nc = (_mc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _mc.formData) == null ? void 0 : _nc.value) == null ? void 0 : _oc.date} ${((_rc = (_qc = (_pc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _pc.formData) == null ? void 0 : _qc.value) == null ? void 0 : _rc.checkin_type) === "CheckOut" ? (_vc = (_uc = (_tc = (_sc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _sc.showData) == null ? void 0 : _tc.value) == null ? void 0 : _uc.period) == null ? void 0 : _vc.work_end_time : (_zc = (_yc = (_xc = (_wc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _wc.showData) == null ? void 0 : _xc.value) == null ? void 0 : _yc.period) == null ? void 0 : _zc.work_start_time}`) && ((_Ac = common_vendor.unref(ME_attendance_sign_clock_in_method.method)) == null ? void 0 : _Ac.YesNoCheckinStatus())
}, ((_Cc = (_Bc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Bc.distanceNumber) == null ? void 0 : _Cc.value) <= ((_Fc = (_Ec = (_Dc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Dc.attendanceConfigData) == null ? void 0 : _Ec.value) == null ? void 0 : _Fc.check_in_range) && common_vendor.unref(common_libraries_day.isWithinTimeRange)(`${(_Ic = (_Hc = (_Gc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Gc.formData) == null ? void 0 : _Hc.value) == null ? void 0 : _Ic.date} ${((_Lc = (_Kc = (_Jc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Jc.formData) == null ? void 0 : _Kc.value) == null ? void 0 : _Lc.checkin_type) === "CheckOut" ? (_Pc = (_Oc = (_Nc = (_Mc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Mc.showData) == null ? void 0 : _Nc.value) == null ? void 0 : _Oc.period) == null ? void 0 : _Pc.work_end_time : (_Tc = (_Sc = (_Rc = (_Qc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Qc.showData) == null ? void 0 : _Rc.value) == null ? void 0 : _Sc.period) == null ? void 0 : _Tc.work_start_time}`) && ((_Uc = common_vendor.unref(ME_attendance_sign_clock_in_method.method)) == null ? void 0 : _Uc.YesNoCheckinStatus()) ? common_vendor.e({
F: common_vendor.t(common_vendor.unref(common_libraries_day.showTime)(`${(_Xc = (_Wc = (_Vc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Vc.formData) == null ? void 0 : _Wc.value) == null ? void 0 : _Xc.date} ${((__c = (_Zc = (_Yc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Yc.formData) == null ? void 0 : _Zc.value) == null ? void 0 : __c.checkin_type) === "CheckOut" ? (_cd = (_bd = (_ad = (_$c = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _$c.showData) == null ? void 0 : _ad.value) == null ? void 0 : _bd.period) == null ? void 0 : _cd.work_end_time : (_gd = (_fd = (_ed = (_dd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _dd.showData) == null ? void 0 : _ed.value) == null ? void 0 : _fd.period) == null ? void 0 : _gd.work_start_time}`)),
G: common_vendor.o(($event) => {
2026-05-28 09:48:42 +08:00
var _a2;
return (_a2 = common_vendor.unref(ME_attendance_sign_clock_in_method.method)) == null ? void 0 : _a2.handleCheckin();
}),
2026-06-29 13:34:45 +08:00
H: (_jd = (_id = (_hd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _hd.attendanceConfigData) == null ? void 0 : _id.value) == null ? void 0 : _jd.require_photo
}, ((_md = (_ld = (_kd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _kd.attendanceConfigData) == null ? void 0 : _ld.value) == null ? void 0 : _md.require_photo) ? {} : {}) : common_vendor.e({
I: common_vendor.t(common_vendor.unref(common_libraries_day.showTime)(`${(_pd = (_od = (_nd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _nd.formData) == null ? void 0 : _od.value) == null ? void 0 : _pd.date} ${((_sd = (_rd = (_qd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _qd.formData) == null ? void 0 : _rd.value) == null ? void 0 : _sd.checkin_type) === "CheckOut" ? (_wd = (_vd = (_ud = (_td = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _td.showData) == null ? void 0 : _ud.value) == null ? void 0 : _vd.period) == null ? void 0 : _wd.work_end_time : (_Ad = (_zd = (_yd = (_xd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _xd.showData) == null ? void 0 : _yd.value) == null ? void 0 : _zd.period) == null ? void 0 : _Ad.work_start_time}`)),
J: ((_Cd = (_Bd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Bd.distanceNumber) == null ? void 0 : _Cd.value) > ((_Fd = (_Ed = (_Dd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Dd.attendanceConfigData) == null ? void 0 : _Ed.value) == null ? void 0 : _Fd.check_in_range)
}, ((_Hd = (_Gd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Gd.distanceNumber) == null ? void 0 : _Hd.value) > ((_Kd = (_Jd = (_Id = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Id.attendanceConfigData) == null ? void 0 : _Jd.value) == null ? void 0 : _Kd.check_in_range) ? {
K: common_vendor.t(((_Od = (_Nd = (_Md = (_Ld = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Ld.showData) == null ? void 0 : _Md.value) == null ? void 0 : _Nd.project) == null ? void 0 : _Od.name) || "-")
2026-05-28 09:48:42 +08:00
} : {})) : {
2026-06-29 13:34:45 +08:00
L: common_vendor.p({
2026-05-28 09:48:42 +08:00
text: "努力加载中",
size: "36",
vertical: true
})
});
};
}
});
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/ME/attendance/sign_clock_in/index.vue"]]);
wx.createPage(MiniProgramPage);