Browse Source

培训计划

tiaosheng-ms
xuesinan 4 years ago
parent
commit
f86588d23f
  1. 24
      index.html

24
index.html

@ -48,8 +48,12 @@
<div class="title"></div>
<div class="flex justify-between">
<div class="text-sm">制定培训计划</div>
<div class="train-plan-status" style="display: none;">待审核</div>
<div class="train-plan-btn bg-blue-500 text-xs rounded-md py-1 px-3 text-white" onclick="p1449927427387301888.submit()">提交</div>
<div class="train-plan-status text-xs" style="display: none;">待审核</div>
<div class="train-plan-status-refuse" style="display: none;">
<span class="text-red-500 text-xs">已驳回</span>
<button class="bg-blue-500 text-xs rounded-md py-1 px-3 text-white" onclick="p1449927427387301888.submit()">提交</button>
</div>
</div>
<div class="border-2 w-full mt-2.5 flex justify-between p-2 text-sm">
@ -68,6 +72,11 @@
<p style="color: #999999;">山西跳协**培训红头文件</p>
<button class="text-xs text-blue-400 border border-blue-400 rounded-full w-10 h-5">预览</button>
</div>
<div class="refuse-reason border-2 w-full mt-2.5 flex justify-between p-2 text-sm" style="display: none;">
<p class="w-20 flex-shrink-0" style="color: #999999;">驳回原因</p>
<div>驳回原因驳回原因驳回原因驳回原因驳回原因驳回原因驳回原因驳回原因</div>
</div>
</div>
</div>
</div>
@ -155,6 +164,19 @@
} else if (data && data.checkStatus === 0 || data && data.checkStatus === 2) {
trainPlan.style.display = 'block';
fileCheck.style.display = 'flex';
var trainPlanBtn = that.dom.querySelector('.train-plan-btn ');
trainPlanBtn.style.display = 'none';
if (data.checkStatus === 0) {
var trainPlanStatus = that.dom.querySelector('.train-plan-status');
trainPlanStatus.style.display = 'block';
} else if (data.checkStatus === 2) {
var trainPlanStatusRefuse = that.dom.querySelector('.train-plan-status-refuse');
trainPlanStatusRefuse.style.display = 'block';
var refuseReason = that.dom.querySelector('.refuse-reason');
refuseReason.style.display = 'flex';
}
} else {
trainPlan.style.display = 'none';
}

Loading…
Cancel
Save