mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-22 18:35:35 +08:00
64 lines
2.3 KiB
HTML
64 lines
2.3 KiB
HTML
<!--
|
|
Copyright 2012-2026 ShopeX (https://www.shopex.cn)
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<{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> |