| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- <%@ page language="java" contentType="text/html;charset=GBK"
- pageEncoding="GBK"%>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <Title>标准库配置</Title>
- <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
- <link href="/shares/js/yw/master1/liger/skins/ynet/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <link href="/shares/xheditor/xheditor-1.1.14/demos/common.css" rel="stylesheet" type="text/css" media="screen" />
- <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/Gray/css/form.css" rel="stylesheet" type="text/css" />
- <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDateEditor.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDialog.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerCheckBox.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerResizable.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerSpinner.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerTextBox.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerSpinner.js" type="text/javascript"></script>
- <script src="/shares/js/common.js" type="text/javascript"></script>
- <script type="text/javascript" src="/shares/js/yw/master1_asset/asset-common.js"></script>
- <script type="text/javascript" src="/shares/js/yw/master1_asset/editDataDictionary.js"></script>
- <link href="/shares/css/yw/master1/reset.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript">
- var parentId = "${requestScope.dataDictionary.universalid}";
- var isValidEditorSelect = [{ value: 1, text: '是' }, { value: 0, text: '否'}];
- var isDefaultEditorSelect = [{ value: 0, text: '否' }, { value: 1, text: '是'}];
- <c:choose>
- <c:when test="${dataDictionary.type == 'U'}">
- var dnameEditor = { type: 'text' };
- var dvalueEditor = {type: 'text' };
- var dorderEditor = { type: 'int',minValue :0};
- var isDefaultEditor = { type: 'select', data: isDefaultEditorSelect, valueColumnName: 'value', displayColumnName: 'text'};
- var isValidEditor = { type: 'select', data: isValidEditorSelect, valueColumnName: 'value', displayColumnName: 'text'};
- </c:when>
- </c:choose>
- function getTypeText(type){
- if(type == "U"){
- return "普通";
- }else if(type == "S"){
- return "系统";
- }else if(type == "C"){
- return "内置";
- }else{
- return "未知";
- }
- }
- $(function() {
- $("#type").val(getTypeText($("#type").val()));
- <c:if test="${dataDictionary.type != 'S'}">
- searchChildList();
- </c:if>
- });
- </script>
- </head>
- <body style="background: #ffffff;">
- <div class="s_title b10 f6">
- <img src="/shares/images/master1/gg_ico.png" width="27" height="26" /> 标准库配置
- <div class="article_title">
- <input class="art_back" title="返回" style="width: 50px;" name="" onclick="location='MTAssetDataDictionaryAction.do?task=toList';" type="button" />
- <input class="art_sub" title="保存" id="save" name="save" onclick="save1()" value="" type="button"/>
- </div>
- </div>
- <div class="container-layout" style="padding-top: 103px;">
- <div class="forum-container">
- <table class="l-table-edit">
- <thead>
- <tr>
- <th colspan="4">
- 请填写以下标准基本信息
- </th>
- </tr>
- </thead>
- <tr>
- <td class="l-table-edit-text">标准名称<FONT
- COLOR="red">*</FONT>:
- </td>
- <td class="l-table-edit-td"><input type="hidden"
- name="universalid" id="universalid"
- value="${dataDictionary.universalid }"> <input type="text"
- class="default-text" name="dname" id="dname"
- value="${dataDictionary.dname }" disabled="disabled"
- readonly="readonly"> <label id="dnameMsg"></label></td>
- <td class="l-table-edit-text">摘要:</td>
- <td class="l-table-edit-td"><input type="text"
- class="default-text" name="remark" id="remark"
- value="${dataDictionary.remark }" disabled="disabled"
- readonly="readonly" /></td>
- </tr>
- <tr>
- <td class="l-table-edit-text">设定值<FONT
- COLOR="red">*</FONT>:
- </td>
- <td class="l-table-edit-td"><input type="text"
- class="default-text" name="dvalue" id="dvalue"
- value="${dataDictionary.dvalue }"
- ${dataDictionary.type == 'S' ? '' : 'disabled'} /> <label
- id="dvalueMsg"></label></td>
- <td class="l-table-edit-text">类型:</td>
- <td class="l-table-edit-td"><input type="text"
- class="default-text" name="type" id="type"
- value="${dataDictionary.type }" disabled="disabled" /> <label
- id="dorderMsg"></label></td>
- </tr>
-
- <c:if test="${dataDictionary.type != 'S'}">
- <tr>
- <th colspan="4">标准项配置
-
- </th>
- </tr>
- <tr>
- <td colspan="4">
- <input type="button"
- class="l-button" onclick="addNewRow()" value="新增标准项"
- style="margin-top: 5px; margin-left: 5px;" />
- <div id="childDataDictionaryTable" style="margin-top: 5px;"></div>
- </td>
- </tr>
-
- </c:if>
- </table>
- </div>
- </div>
- </body>
- </html>
|