Files
OMS/app/ome/view/admin/auth/openapi.html
2025-12-28 23:13:25 +08:00

25 lines
1.1 KiB
HTML

<table width="100%" cellspacing="0" cellpadding="0" border="0" >
<tbody>
<tr>
<th ><em class="c-red">*</em>平台:</th>
<td>
<{if $node_id }>
<{input type='select' disabled="true" name='shop[config][node_type]' id="openapi_platform" vtype='required' rows=$platform_list valueColumn='value' labelColumn='label' value=$config.node_type required='true'}>
<{else}>
<{input type='select' name='shop[config][node_type]' id="openapi_platform" vtype='required' rows=$platform_list valueColumn='value' labelColumn='label' value=$config.node_type required='true'}>
<{/if}>
</td>
</tr>
</tbody>
</table>
<div id="openapi_platform_config"></div>
<script type="text/javascript">
$("openapi_platform").addEvents({
'change':function(e){
W.page('index.php?app=ome&&ctl=admin_shop&act=platformconfig&p[0]=<{$shop_id}>&p[1]='+this.value,{update:$('openapi_platform_config'),clearUpdateMap:false});
},
'domready':function(e){
this.fireEvent('change',e);
}
});
</script>