Files
OMS/app/taoexlib/view/ietask_export.html
2025-12-28 23:13:25 +08:00

53 lines
1.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--
Copyright © ShopeX http://www.shopex.cn. All rights reserved.
See LICENSE file for license details.
-->
<{capture name="header"}>
<{css app="ome" src="ome.css"}>
<{css app="ome" src="style.css"}>
<{script src="coms/autocompleter.js" app="desktop"}>
<{script src="coms/pager.js" app="desktop"}>
<{/capture}>
<form method="post" action="index.php?app=taoexlib&ctl=ietask&act=save_ietask">
<{toinput from=$env.post}>
<div class="tableform">
<div class="division">
<input type="radio" checked="" value="csv" name="_io_type">csv
<span style="padding:0 10px">
<button class="btn btn-has-icon" app="desktop" type="submit">
<span>
<span>
<i class="btn-icon">
<{img app="desktop" src="bundle/btn_get_world.gif"}></i>
导出</span>
</span>
</button>
</span><br>
<input id="app" name="app" type="hidden" value="<{$app}>" />
<input id="model" name="model" type="hidden" value="<{$model}>" />
<input id="task_name" name="task_name" type="hidden" value="<{$task_name}>" />
</div>
</div>
</form>
<script>
var form = document.getElementById('finder-form-<{$finder_id}>');
var inputs = form.getElementsByTagName('input');
var filter_data = document.getElementById('filter_data').value;
if(filter_data == '') {
// finder查询条件
for(var i=0;i<inputs.length;i++){
if(inputs[i].value != '') {
if(inputs[i].name != '') {
filter_data += inputs[i].name + '=' + inputs[i].value + '&';
}else{
filter_data += inputs[i].value + '&';
}
}
}
document.getElementById('filter_data').value = filter_data;
}
</script>