⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 transact_detail.jsp

📁 一个做得非常好的电子政务系统
💻 JSP
📖 第 1 页 / 共 2 页
字号:
            str_value = valueRule.getValue(fieldInfor.getZDGZ());
        }
        if (!value_str[iFieldCount].equals("")) {
            str_value = value_str[iFieldCount];
        }
        iFieldCount ++;
        //////列表
        if ( 2 == fieldInfor.getZDBJ() || 3 == fieldInfor.getZDBJ()) {
            continue;
        }
%>
  <tr>
    <td width="<%=sWidth%>" align="right" valign="top"><%=fieldInfor.getZDSM()%></td><td width="<%=iSpace%>">&nbsp;</td>
    <td>
<%
        if ( 0 == fieldInfor.getZDBJKJ()) {
%>
      <input type="text" class="tex3" name="<%=fieldInfor.getZDMC()%>" value="<%=str_value%>" <%if(!canWrite) {%>readonly<%}%>
          <% if (fieldInfor.getZDLX().equals("nvarchar")) {%> maxlength="<%=fieldInfor.getZDCD()%>" <%}%> >
<%
            continue;
        }
        if ( 1 == fieldInfor.getZDBJKJ()) {
%>
      <textarea rows="5" class="drpdwn2" name="<%=fieldInfor.getZDMC()%>" <%if(!canWrite) {%>readonly<%}%>><%=str_value%></textarea>
<%
            continue;
        }
        //KEN 补充数据词典近来
        if ( 2 == fieldInfor.getZDBJKJ() || 4 == fieldInfor.getZDBJKJ()) {
            /////////找关联
            selectTable = fieldInfor.getZDGLBM();
            selectField = fieldInfor.getZDGLZD();
            selectName  = fieldInfor.getZDGLMC();

            if (!canWrite) { ///不可以写,就要把唯一的一个显示出来
                relateCond = selectField + "=" + str_value;
            }

            //数据词典
            Iterator iterDataValue = null;
            com.ijipin.dictionary.DataValueInfor dvInfor = null;
            if (selectTable.trim().equals("")) {
                int iCDID = fieldInfor.getZDSJCD();
                com.ijipin.dictionary.DataValue dv = new com.ijipin.dictionary.DataValue(iCDID, dataConn);
                iterDataValue = dv.getList("1=1").iterator();
                rs = null;
            }
            else { //关联
                rs = dataList.getResultSet(selectTable, selectField + "," + selectName, relateCond);
                iterDataValue = null;
            }

            if (2 == fieldInfor.getZDBJKJ()) { ///////////下拉列表
%>
      <select class="search"  name="<%=fieldInfor.getZDMC()%>" <%if (!canWrite) {%>disabled<%}%> style="width:300">
<%
      //////////////选择的放进iterList
      while ( rs != null && rs.next()) {
          selectValue = Convert.toUnicode(rs.getString(1));
%>
        <option value="<%=selectValue%>" <%if (selectValue.equals(str_value)) {%>selected<%}%>><%=Convert.toUnicode(rs.getString(2))%></option>
<%
      }
      while (iterDataValue != null && iterDataValue.hasNext()) {
          dvInfor = (com.ijipin.dictionary.DataValueInfor)iterDataValue.next();
          selectValue = dvInfor.getJLMC(); //如果是下拉列表,使用数据词典时类型必须是nvarchar,取的是词典的名称
%>
        <option value="<%=selectValue%>" <%if (selectValue.equals(str_value)) {%>selected<%}%>><%=dvInfor.getJLMC()%></option>
<%
      }
%>
      </select>
<%
            } else {  //使用checkbox
    //////////////选择的放进iterList
    while ( rs != null && rs.next()) {
        selectValue = Convert.toUnicode(rs.getString(1));
%>
      <input type="radio" name="<%=fieldInfor.getZDMC()%>" <%if (!canWrite) {%>disabled<%}%> value="<%=selectValue%>" <%if (selectValue.equals(str_value)) {%>checked<%}%>><%=Convert.toUnicode(rs.getString(2))%>
<%
    }
    while (iterDataValue != null && iterDataValue.hasNext()) {
        dvInfor = (com.ijipin.dictionary.DataValueInfor)iterDataValue.next();
        selectValue = dvInfor.getJLMC();
%>
      <input type="radio" name="<%=fieldInfor.getZDMC()%>" <%if (!canWrite) {%>disabled<%}%> value="<%=selectValue%>" <%if (selectValue.equals(str_value)) {%>checked<%}%> ><%=dvInfor.getJLSM()%>
<%
      }
            }
            continue;
        }
        if ( 3 == fieldInfor.getZDBJKJ()) {
%>
      <input type="text" class="tex1" name="<%=fieldInfor.getZDMC()%>" value="<%=str_value%>"  maxlength=10>
      <a href="javascript:void(0)" onclick="gfPop.fPopCalendar(eval(document.form.<%=fieldInfor.getZDMC()%>));return false;" HIDEFOCUS>
       <img name="popcal" align="absbottom" src="<%=strLevel%>share/calendar/calbtn.gif" width="34" height="22" border="0" alt="">
      </a>

<%
            continue;
        }
        if ( 7 == fieldInfor.getZDBJKJ()) {  //部门选择
%>
      <input type="text" class="tex3" name="<%=fieldInfor.getZDMC()%>" value="<%=str_value%>"  maxlength=10 <%if(!canWrite) {%>readonly<%}%>>
      <%if(canWrite) {%><a href="javascript:Win_DepartmentSelect('form.<%=fieldInfor.getZDMC()%>');">>></a><%}%>
<%
            continue;
        }
%>

    </td>
  </tr>
<%
    }
%>
<!--附件-->
<%
    if (hasAnnex) {

%>
  <Script Language="VbScript" src="<%=strLevel%>share/js/upload.vbs"></Script>
  <tr>
    <td colspan=3>
      <table border="0" align="center"  id=tabfj name=tabfj cellspacing="0">
        <tr>
          <td width="100%" valign="top"><b>&nbsp;&nbsp;附件</b></td>
          <td><input type=button class="sbttn" value=增加附件 name="bAddFJ" id="bAddFj" onclick="vbscript:doAddFJ" <%if(!canWrite) {%>disabled<%}%>></td>
        </tr>
<%
        int iLcount=0;
        Annex annex = new Annex(moduleInfor_session.getSXFJ(),dataConn);
        AnnexInfor annexInfor = null;
        Iterator iterAnnex =  annex.getList("FJWZ="+key_value).iterator();
        while (iterAnnex != null && iterAnnex.hasNext()) {
            annexInfor = (AnnexInfor)iterAnnex.next();
%>
        <tr id=tryy<%=iLcount%> class=InputFrameLine>
            <input type=hidden id=yyfjmc<%=iLcount%> name=edit_FJID<%=iLcount%>  class=tex1 value="<%=annexInfor.getFJID()%>">
            <td width="100%">&nbsp;&nbsp;&nbsp;&nbsp;<a target=_blank href="<%=strLevel%><%=annexInfor.getFJDZ()%>"><%=annexInfor.getFJBT()%></a></td>
            <td><input type=button id=bscfj name=bscfj class="sbttn"  value='删除附件' onclick='vbscript:doscfj1(<%=iLcount%>)' <%if(!canWrite) {%>disabled<%}%>></td>
        </tr>
<%
            iLcount =  iLcount + 1 ;
        }
%>
        <input type="hidden"  name="count"  value="0">
        <input type="hidden"  name="edit_count"  value="<%=iLcount%>">
        <input type="hidden" name="delete_FJID" value="">
      </table>
    </td>
  </tr>
<%
    }
%>
<!--管理-->
<%
    if (hasManager) {
        //需要的参数,已选择的人员,需要share/js/util.js
        manager = new Manager(moduleInfor_session.getSXGL(),dataConn);
        String strYGID_USER = manager.getYGIDS(Integer.parseInt(key_value));
%>
  <tr>
    <td width="<%=sWidth%>" align="right" valign="top">管理人员</td><td width="<%=iSpace%>">&nbsp;</td>
    <td><%@ include file="/share/select/user_mult.jsp"%></td>
  </tr>
<%
    }
%>


  <tr>
    <td colspan="3" align="left">
      <br>
      <table border="0" cellspacing="0" cellpadding="0" width="100%" height="800">
        <tr>
          <td>
            <OBJECT id="WebOffice" width="100%" height="100%" classid="clsid:23739A7E-5741-4D1C-88D5-D50B18F7C347" codebase="<%=mClientUrl%>" >
            </OBJECT>
          </td>
        </tr>
        <tr>
          <td height='20'>
                <div id=StatusBar>状态栏</div>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <%
        String sSWLB_FLOW = "38";
        String sXXBM_FLOW = "OA_FWWZ";
        String sXXID_FLOW = mWZID;
	int iBLID_FLOW = Integer.parseInt(mBLID);
        //System.out.println("fff"+sSWLB_FLOW);
  %>
  <tr>
     <td colspan="3" valign="top" height="8"><%@ include file="/share/flow/detail/update_bridge.jsp"%></td>
  </tr>
  <tr>
    <td colspan="3" width="100%" height="10" bgcolor="#FFFFFF"><%@ include file="/share/flow/detail/view_detail.jsp"%></td>
  </tr>
  </form>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <form name="formBar2" method="post" action="<%=strLink_action%>">
  <tr class="toptr2">
    <td>
      <table width="100%" border=0 cellpadding=3 cellspacing=1 >
          <tr>
            <td width="3%"><input type="button" name="btn3" value="" class="buttonClose" onClick="javaScript:window.close();"></td>            <td width="87%">&nbsp;</td>
          </tr>
       </table>
    </td>
  </tr>
  </form>
</table>
<%@ include file="/share/page/page_form.jsp" %>
<Script Language="javaScript" src="<%=strLevel%>share/js/util.js"></Script>
<%
}
catch(Exception e) {
}
finally {
    if (stmt != null) {
        stmt.close();
    }
    if (dataConn != null) {
        dataConn.close();
    }
}
%>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -