Browse Source

培训审核

ts-red-header-file-review
jarvis 4 years ago
parent
commit
55a8da1f80
  1. 21
      index.html

21
index.html

@ -43,7 +43,7 @@
<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:5.375rem;width:100%">
<div data-root="p1432643387798069248" style="height:100%;width:100%;">
<div data-root="p1449927427387301888" style="height:100%;width:100%;">
<div class="title"></div>
<div class="flex justify-between mt-4">
<div class="text-sm">培训审核</div>
@ -58,9 +58,7 @@
<button class="text-xs text-white bg-blue-500 border rounded-full w-10 h-5">盖章</button>
</div>
</div>
</div>
</div>
<div class="pl-7 pr-7 pt fixed z-10 statusChoose bg-black bg-opacity-50" style="display:none;top: 0;bottom: 0;left: 0;right: 0;">
<div class="pl-7 pr-7 pt fixed z-10 statusChoose bg-black bg-opacity-50" style="display:none;top: 0;bottom: 0;left: 0;right: 0;">
<div class=" bg-white">
<!-- <div class="bg-gray-200" style="width:100%;height: 1px"></div> -->
<!-- <ul class="flex text-center" style="height: 240px;overflow-y: auto;">
@ -70,7 +68,7 @@
<p class="mt-8 checkReject text-center">驳回原因</p>
<div class="pl-6 pr-6">
<div class="mt-8 border-b pt-2 pb-2">
<input type="text" class="border-none" style="width: 100%;" placeholder="请输入驳回原因">
<input type="text" class="border-none outline-none" style="width: 100%;" placeholder="请输入驳回原因">
</div>
</div>
<div class="border-t btn mt-6 flex justify-between">
@ -80,6 +78,9 @@
</div>
</div>
</div>
</div>
</div>
<script>
// 显示驳回弹框
@ -88,7 +89,7 @@
statusChoose.style.display='block';
var list = ''
for (let i=0;i < this.lists.length; i++) {
list += `<li class="py-3" onclick="p1432643387798069248.chooseItem(${i})">` + this.lists[i].name + '</li>';
list += `<li class="py-3" onclick="p1449927427387301888.chooseItem(${i})">` + this.lists[i].name + '</li>';
}
var ul = this.dom.querySelector('ul');
ul.innerHTML = list
@ -108,7 +109,7 @@
var statusChoose = document.querySelector('.statusChoose');
statusChoose.style.display='none';
}
// var p1432643387798069248 = {
// var p1449927427387301888 = {
// token: '',
// projectId: '',
// roleId: '',
@ -121,7 +122,7 @@
// id: '', // 记录id
// init() {
// this.dom = document.querySelector("div[data-root=p1432643387798069248]");
// this.dom = document.querySelector("div[data-root=p1449927427387301888]");
// var domBox = this.dom.parentNode;
// var title = this.dom.querySelector('.title');
@ -301,7 +302,7 @@
// statusChoose.style.display='block';
// var list = ''
// for (let i=0;i < this.lists.length; i++) {
// list += `<li class="py-3" onclick="p1432643387798069248.chooseItem(${i})">` + this.lists[i].name + '</li>';
// list += `<li class="py-3" onclick="p1449927427387301888.chooseItem(${i})">` + this.lists[i].name + '</li>';
// }
// var ul = this.dom.querySelector('ul');
// ul.innerHTML = list
@ -452,7 +453,7 @@
// location.href = `https://www.tall.wiki/checkwork/?pid=${pId}&uid=${uId}&rid=${rId}`;
// }
// }
// p1432643387798069248.init()
// p1449927427387301888.init()
</script>
</div>
</div>

Loading…
Cancel
Save