|
|
@ -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="1433332016270811136" data-uid="1217647686598135808" data-rid="rid333" data-tid="tid444" data-did="did555" style="height:50px;width:100%"> |
|
|
|
<div data-tname="考勤" data-pid="1502190532024344576" data-uid="1481458741295714304" data-rid="1502190532368277504" data-token="eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2NDc0ODExNTIsInN1YiI6IjE0ODE0NTg3NDEyOTU3MTQzMDQiLCJhdXRoSWQiOiIxNDgxNDU4NzQxNTMwNTk1MzI4IiwiZXhwIjoxNjQ3NDg4MzUyfQ.njPjNxCwWfzNCyya5r6zymJ0SQ2JF5Ykm_u2k9b-OEM" data-url="http://101.201.226.163:7320/v1.0" data-tid="tid444" data-did="did555" style="height:50px;width:100%"> |
|
|
|
<!-- 考勤插件 --> |
|
|
|
<div data-root="p1485171846022434817" class="flex flex-row justify-space items-center" style="height:100%;width:100%;"> |
|
|
|
<div class="title"></div> |
|
|
@ -444,13 +444,15 @@ |
|
|
|
|
|
|
|
add0(m){return m<10?'0'+m:m }, |
|
|
|
|
|
|
|
// // 跳转详情 |
|
|
|
// jumpDetails(that) { |
|
|
|
// const pId = this.dom.parentNode.getAttribute('data-pid'); |
|
|
|
// const uId = this.dom.parentNode.getAttribute('data-uid'); |
|
|
|
// const rId = this.dom.parentNode.getAttribute('data-rid'); |
|
|
|
// location.href = `https://www.tall.wiki/checkwork/?pid=${pId}&uid=${uId}&rid=${rId}`; |
|
|
|
// } |
|
|
|
// 跳转详情 |
|
|
|
jumpDetails(that) { |
|
|
|
const pId = this.dom.parentNode.getAttribute('data-pid'); |
|
|
|
const uId = this.dom.parentNode.getAttribute('data-uid'); |
|
|
|
const token = this.dom.parentNode.getAttribute('data-token'); |
|
|
|
const rId = this.dom.parentNode.getAttribute('data-rid'); |
|
|
|
const url = this.dom.parentNode.getAttribute('data-url'); |
|
|
|
location.href = `https://www.tall.wiki/checkwork/?pid=${pId}&uid=${uId}&rid=${rId}&token=${token}&url=${url}`; |
|
|
|
} |
|
|
|
} |
|
|
|
p1485171846022434817.init() |
|
|
|
</script> |
|
|
|