|
|
@ -47,7 +47,7 @@ |
|
|
|
<!-- 示例插件2 id=100--> |
|
|
|
<button class="bg-blue-500 py-2 px-5 rounded text-white" onclick="p100.show()">测试组建2</button> |
|
|
|
|
|
|
|
<div data-tname="考勤" data-pid="1458744703108521984" data-uid="1217647686598135808" data-rid="1458744707302825984" data-tid="tid444" data-did="did555" style="height:500px;width:100%"> |
|
|
|
<div data-tname="考勤" data-pid="1458744703108521984" data-uid="1438701238123368448" data-rid="1458744707302825984" data-tid="tid444" data-did="did555" style="height:500px;width:100%"> |
|
|
|
<!-- 考勤插件 --> |
|
|
|
<div data-root="p1432643387798069248" style="height:100%;width:100%;"> |
|
|
|
<div class="pb-3 flex justify-between items-center border-b"> |
|
|
@ -60,23 +60,6 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="title"></div> |
|
|
|
<div class="flex flex-1 flex-row"> |
|
|
|
<!-- 早打卡 --> |
|
|
|
<div class="flex-1"> |
|
|
|
<button class="morningClockBtn bg-blue-500 text-xs rounded-md py-1 px-3 text-white" onclick="p1432643387798069248.punch(0)">早打卡</button> |
|
|
|
<div style="position: relative;float: left;"> |
|
|
|
<div class="morningClockText" style="display: none;font-weight: 700;"></div> |
|
|
|
<span class="morningDot rounded-full bg-red-500" style="position: absolute;top: 0;right: -10px;width: 6px;height: 6px;display: none;"></span> |
|
|
|
</div> |
|
|
|
<div class="morningClockReject" style="text-decoration:line-through;color: #f00;font-weight: 700;display: none;"></div> |
|
|
|
<div class="morningClockAgree" style="color: #13acc4;font-weight: 700;display: none;"></div> |
|
|
|
</div> |
|
|
|
<div onclick="p1432643387798069248.jumpDetails(this)"> |
|
|
|
<img style="width:15px" src="https://www.tall.wiki/staticrec/icon/right.svg" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="mt-2 px-2"> |
|
|
|
<div class="flex items-center text-center h-10 border-b"> |
|
|
|
<div class="text-sm" style="width: 20%;">姓名</div> |
|
|
@ -166,7 +149,6 @@ |
|
|
|
currentIndex: '', |
|
|
|
memberId: '', // 打卡人id |
|
|
|
checkerId: '', // 审核员id |
|
|
|
// checkerName: '', // 审核员 |
|
|
|
id: '', // 记录id |
|
|
|
today: '', // 今天日期 |
|
|
|
clockType: -1, // 打卡类型 0 早打卡 1 晚打卡 |
|
|
@ -198,8 +180,7 @@ |
|
|
|
const { success, code, data, msg } = res; |
|
|
|
if (success && code === 200) { |
|
|
|
that.token = data.token; |
|
|
|
// 查询考勤信息 |
|
|
|
// that.getClockQuery() |
|
|
|
// 查询项目成员列表 |
|
|
|
that.getQueryChecker() |
|
|
|
} else { |
|
|
|
console.log('msg: ', msg); |
|
|
@ -246,7 +227,6 @@ |
|
|
|
that.dom.querySelector('.record-wrap').innerHTML = html; |
|
|
|
|
|
|
|
for (let i = 0; i < that.recordList.length; i++) { |
|
|
|
// let record = that.recordList[i]; |
|
|
|
that.renderData(i); |
|
|
|
} |
|
|
|
|
|
|
@ -309,7 +289,7 @@ |
|
|
|
data[i].choose = true |
|
|
|
that.lists.push(data[i]) |
|
|
|
} |
|
|
|
|
|
|
|
// 查询考勤信息 |
|
|
|
that.getClockQuery() |
|
|
|
} else { |
|
|
|
console.log('msg: ', msg); |
|
|
|