1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
- <script type="text/javascript">
- function ryxxview(ryid){
- var path="/xkzbg/viewmain?path=8:id="+$('#id').val()+"";
- location.href=$.app+'/ry/view?id='+ryid+'&path='+path;
- }
-
- function ryxxdelete(ryid){
- $.confirm({
- title: '确认框',
- content: '确认删除吗',
- confirm: function(){
- $.post($.app + "/ry/delete", {
- id : ryid
- }, function(data) {
- if (data.success) {
- $.alert({
- title: '提示',
- content: '操作成功',
- confirm: function(){
- initryxx();
- }
- });
- } else {
- $.alert({
- title: '提示',
- content: data.message,
- confirm: function(){
-
- }
- });
- }
- }, "json");
- },
- cancel: function(){
-
- }
- });
- }
- function initryxx(){
- $.post($.app + "/gkjyr/ryxx2", {
- id : $('#jyrid').val(),
- czid:$('#id').val(),
- recordStatus:10
- }, function(data) {
- if (data) {
- var str =""
- for(var i=0;i<data.length;i++){
- var ry = data[i];
- str+="<tr class='tr_bg'>";
- str+="<td>"+(i+1)+"</td>";
- str+="<td>"+(ry.ssjyrzw==null? "":ry.ssjyrzw)+"</td>";
- str+="<td>"+ry.xm+"</td>";
- str+="<td>"+ry.rylxzw+"</td>";
- str+="<td>";
- str+="<a class='btn btn-default btn-xs' href='#' onclick=\"ryxxview('"+ry.id+"')\"> <i class='glyphicon glyphicon-search'></i> 查看</a>";
- str+="</td>";
- str+="</tr>";
- }
- $('#ryxxdiv').empty();
- $('#ryxxdiv').append(str);
- } else {
-
- }
- }, "json");
- }
- </script>
-
- <table class="main_table" cellpadding="0" cellspacing="0">
- <tr>
- <th width="5%">序号</th>
- <th width="15%">港口经营人</th>
- <th width="15%">姓名</th>
- <th width="15%">人员类型</th>
- <th width="20%">操作</th>
- </tr>
- <tbody id="ryxxdiv"></tbody>
- </table>
|