main
kgdxpr 1 year ago
parent aca28f9e60
commit 5d540961ac

@ -57,7 +57,7 @@
<span style="font-weight:normal" id="form_radio">
<input type="radio" name="formType" value="1" checked><img src="../imgs/form.png" title="表单"
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>
@ -66,7 +66,7 @@
<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">
<span style="position: absolute;top: 55px;left: 156px;">
EXCEL
Excel
</span>
</span>
</div>
@ -83,8 +83,6 @@
</div>
</form>
<script src="../../../component/layui/layui.js"></script>
<script src="../../../component/pear/pear.js"></script>
@ -107,21 +105,16 @@
});
form.on('submit(save)', function (data) {
parent.layer.close(parent.layer.getFrameIndex(window.name));
window.localStorage.setItem('target_type_id', parseInt(data.field.targetId));
if (data.field.formType == "1") {
parent.openFormCreatePage();
} else {
parent.openExcelCreatePage();
}
}
return false;
});
util.on({
form: function () {
parent.layer.close(parent.layer.getFrameIndex(window.name));
@ -133,8 +126,6 @@
}
});
});
</script>
</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);
window.open('../exportPdf.html?url=' + base64Url, '_blank');
}
}
window.refresh = function (param) {

Loading…
Cancel
Save