userpopemodify.jsp~16~
资源名称:bangong.rar [点击查看]
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:2k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=GBK" import="officeol.mc.tools.*" %>
- <%request.setCharacterEncoding("GBK"); %>
- <html>
- <head>
- <title>
- 天津市经贸委在线办公
- </title>
- </head>
- <body bgcolor="#ffffff">
- <h1>
- 权限组用户修改
- </h1>
- <%
- String ugmd5 =request.getParameter("ug");
- String sql = "select * from groupmanage where ugmd5 ='"+ugmd5+"'";
- DBConn dbc = new DBConn();
- String[][] gm = dbc.getArray(sql);
- String pgsql = "select popegroup from popedomgroup group by popegroup";
- String[][] pg = dbc.getArray(pgsql);
- if(pg!=null){
- %>
- <form name="form1" method="post" action="userPopeAddAction.do">
- <table width="90%" border="1">
- <tr>
- <td>用户组</td>
- <td>
- <input type="text" value="<%=gm[0][0]%>" disabled="disabled" name="ug"/> </td>
- <td> </td>
- </tr>
- <tr>
- <td>权限组</td>
- <td>
- <select name="pg">
- <%String tm = "";
- for(int i = 0; i < pg.length; i++){
- if(pg[i][0].equals(gm[0][2])){
- tm = "selected="selected"";
- }
- %>
- <option value="<%=pg[i][0]%>" <%=tm%> ><%=pg[i][0] %></option>
- <%
- }
- %>
- </select> </td>
- <td> </td>
- </tr>
- <tr>
- <td>说明</td>
- <td><textarea name="sm" cols="50" rows="5"><%=gm[0][3] %></textarea></td>
- <td> </td>
- </tr>
- <tr>
- <td colspan="3"><input type="submit" name="Submit" value="提交"></td>
- </tr>
- </table>
- </form>
- <p> </p>
- <%
- }else{
- out.print("没有权限组!");
- }
- %>
- </body>
- </html>