main
kgdxpr 2 years ago
parent aca28f9e60
commit 5d540961ac

@ -57,7 +57,7 @@
<span style="font-weight:normal" id="form_radio"> <span style="font-weight:normal" id="form_radio">
<input type="radio" name="formType" value="1" checked><img src="../imgs/form.png" title="表单" <input type="radio" name="formType" value="1" checked><img src="../imgs/form.png" title="表单"
style="width: 50px;margin-left: -22px;margin-right: 29px;"> style="width: 50px;margin-left: -22px;margin-right: 29px;">
<span style="position: absolute;top: 55px;left: 50px;"> <span style="position: absolute;top: 55px;left: 49px;">
表单 表单
</span> </span>
@ -66,7 +66,7 @@
<input type="radio" name="formType" value="2" style="margin-left: 130px;"><img <input type="radio" name="formType" value="2" style="margin-left: 130px;"><img
src="../imgs/excel.png" title="EXCEL" style="width: 50px;margin-left: -22px;" id="excel"> src="../imgs/excel.png" title="EXCEL" style="width: 50px;margin-left: -22px;" id="excel">
<span style="position: absolute;top: 55px;left: 156px;"> <span style="position: absolute;top: 55px;left: 156px;">
EXCEL Excel
</span> </span>
</span> </span>
</div> </div>
@ -83,8 +83,6 @@
</div> </div>
</form> </form>
<script src="../../../component/layui/layui.js"></script> <script src="../../../component/layui/layui.js"></script>
<script src="../../../component/pear/pear.js"></script> <script src="../../../component/pear/pear.js"></script>
@ -107,21 +105,16 @@
}); });
form.on('submit(save)', function (data) { form.on('submit(save)', function (data) {
parent.layer.close(parent.layer.getFrameIndex(window.name)); parent.layer.close(parent.layer.getFrameIndex(window.name));
window.localStorage.setItem('target_type_id', parseInt(data.field.targetId)); window.localStorage.setItem('target_type_id', parseInt(data.field.targetId));
if (data.field.formType == "1") { if (data.field.formType == "1") {
parent.openFormCreatePage(); parent.openFormCreatePage();
} else { } else {
parent.openExcelCreatePage(); parent.openExcelCreatePage();
} }
return false; return false;
}); });
util.on({ util.on({
form: function () { form: function () {
parent.layer.close(parent.layer.getFrameIndex(window.name)); parent.layer.close(parent.layer.getFrameIndex(window.name));
@ -133,8 +126,6 @@
} }
}); });
}); });
</script> </script>
</body> </body>

@ -223,7 +223,6 @@
var base64Url = Base64.encode('/QingLong/collect/getJobBureauFillInfo?job_id=' + obj.data.job_id + '&type_id=2' + '&status_code=' + obj.data.status_code); var base64Url = Base64.encode('/QingLong/collect/getJobBureauFillInfo?job_id=' + obj.data.job_id + '&type_id=2' + '&status_code=' + obj.data.status_code);
window.open('../exportPdf.html?url=' + base64Url, '_blank'); window.open('../exportPdf.html?url=' + base64Url, '_blank');
} }
} }
window.refresh = function (param) { window.refresh = function (param) {

Loading…
Cancel
Save