Browse Source

培训计划

tiaosheng-ms
xuesinan 4 years ago
parent
commit
93670a00b2
  1. 11
      index.html

11
index.html

@ -48,11 +48,11 @@
<div class="title"></div>
<div class="flex justify-between">
<div class="text-sm">制定培训计划</div>
<button class="train-plan-btn bg-blue-500 text-sm rounded w-12 h-6 text-white" onclick="p1449927427387301888.submit()">提交</button>
<button class="train-plan-btn px-2.5 h-6 bg-blue-500 text-sm rounded text-white" onclick="p1449927427387301888.submit()">提交</button>
<div class="train-plan-status text-sm" style="display: none;">待审核</div>
<div class="train-plan-status-refuse" style="display: none;">
<span class="text-red-500 text-sm">已驳回</span>
<button class="bg-blue-500 text-xs rounded py-1 px-3 text-white" onclick="p1449927427387301888.submit()">提交</button>
<div class="train-plan-status-refuse flex items-center" style="display: none;">
<span class="mr-1 text-yellow-500 text-sm">已驳回</span>
<button class="px-2.5 h-6 bg-blue-500 text-sm rounded text-white" onclick="p1449927427387301888.submit()">提交</button>
</div>
</div>
@ -96,7 +96,7 @@
<div class="refuse-reason mt-2.5 px-2 py-1 flex justify-between w-full border border-gray-200 rounded-sm text-sm" style="display: none;">
<p class="w-20 flex-shrink-0 text-gray-400">驳回原因</p>
<div>驳回原因驳回原因驳回原因驳回原因驳回原因驳回原因驳回原因驳回原因</div>
<div class="reason"></div>
</div>
</div>
@ -196,6 +196,7 @@
that.showOrHide(1, 0, 1, 0);
} else if (data && data.checkStatus === 2) {
that.showOrHide(1, 2, 1, 1);
that.dom.querySelector('.reason').innerHTML = data.rejectCause;
} else {
that.showOrHide(2, 0, 0, 0);
}

Loading…
Cancel
Save