|
|
|
@ -28,7 +28,7 @@
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
td img {
|
|
|
|
@ -54,20 +54,21 @@
|
|
|
|
|
<div class="layui-form-item">
|
|
|
|
|
<label class="layui-form-label" style="width: auto !important;">任务格式:</label>
|
|
|
|
|
<div class="layui-input-block" style="margin-left: 90px !important;">
|
|
|
|
|
<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="表单"
|
|
|
|
|
style="width: 50px;margin-left: -22px;margin-right: 29px;">
|
|
|
|
|
<span style="position: absolute;top: 55px;left: 49px;">
|
|
|
|
|
表单
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
<span style="position: absolute;top: 55px;left: 49px;">
|
|
|
|
|
表单
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
<span style="font-weight:normal" id="excel_radio">
|
|
|
|
|
<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
|
|
|
|
|
</span>
|
|
|
|
|
src="../imgs/excel.png" title="EXCEL" style="width: 50px;margin-left: -22px;"
|
|
|
|
|
id="excel">
|
|
|
|
|
<span style="position: absolute;top: 55px;left: 156px;">
|
|
|
|
|
Excel
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -94,8 +95,8 @@
|
|
|
|
|
|
|
|
|
|
localStorage.removeItem('target_type_id');
|
|
|
|
|
|
|
|
|
|
form.on('radio(targetId)', function (data) {
|
|
|
|
|
if (data.value == 2) {
|
|
|
|
|
form.on('radio(targetId)', function (data) {
|
|
|
|
|
if (data.value == 2) {
|
|
|
|
|
$('#excel_radio').hide();
|
|
|
|
|
$('input[name="formType"][value="1"]').prop('checked', true);
|
|
|
|
|
layui.form.render('radio');
|
|
|
|
@ -111,7 +112,7 @@
|
|
|
|
|
parent.openFormCreatePage();
|
|
|
|
|
} else {
|
|
|
|
|
parent.openExcelCreatePage();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|