Browse Source

红头文件

tiaosheng-ms
xuesinan 4 years ago
parent
commit
e451ece82d
  1. 32
      index.html

32
index.html

@ -105,11 +105,11 @@
</div> -->
<div class="formulate-plan">
<div class="flex justify-between">
<!-- <div class="flex justify-between">
<div class="text-sm">生成红头文件</div>
<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>
</div> -->
<div class="mt-2.5 p-2 border border-gray-200 rounded-sm text-sm">
<div class="temp flex justify-between items-center w-full">
@ -170,7 +170,16 @@
</div> -->
</div>
<div class="preview-box" style="display: none;">
<div class="mt-4 flex justify-between items-center w-full text-sm">
<button class="border border-blue-500 text-blue-500 rounded-sm" style="width: 45%; height: 34px;" onclick="p1449927427387301888.bigImg()">预览</button>
<button class="border border-blue-500 bg-blue-500 text-white rounded-sm" style="width: 45%; height: 34px;" onclick="p1449927427387301888.submit()">提交</button>
</div>
<div class="img-preview fixed z-10 inset-0 bg-black bg-opacity-60 p-4 flex justify-center items-center" style="display: none;">
<img id="img" src="http://test.tall.wiki/staticrec/plan.png" />
</div>
<!-- <div class="preview-box" style="display: none;">
<div class="certificate-box mt-2.5 px-2 py-1 flex justify-between w-full border border-gray-200 rounded-sm text-sm">
<p class="w-20 flex-shrink-0 text-gray-400">预览</p>
<div class="certificate py-1 flex justify-end" style="max-width: 100px; max-height: 100px;">
@ -181,7 +190,7 @@
<div class="img-preview fixed z-10 inset-0 bg-black bg-opacity-60 p-4 flex justify-center items-center" style="display: none;">
<img id="img" src="http://test.tall.wiki/staticrec/plan.png" />
</div>
</div>
</div> -->
</div>
</div>
</div>
@ -368,20 +377,7 @@
},
submit() {
var that = this;
let previewBox = that.dom.querySelector('.preview-box');
let organizer = that.dom.querySelector('.organizer-name').value;
let planStatus = that.dom.querySelector('.train-plan-status');
let planBtn = that.dom.querySelector('.train-plan-btn');
// if (!organizer) {
// window.alert("请输入主办单位");
// return false;
// }
previewBox.style.display = 'block';
planStatus.style.display = 'block';
planBtn.style.display = 'none';
},
// 文件上传

Loading…
Cancel
Save