提交 a90fadc6 编写于 作者: doc_wei's avatar doc_wei

【基本功能】桌面新增code属性

上级 32bd1fd7
......@@ -19,6 +19,7 @@ layui.config({
var params = {
desktopName: $("#desktopName").val(),
desktopCnName: $("#desktopCnName").val(),
desktopCode: $("#code").val(),
state: $("input[name='state']:checked").val(),
appPageUrl: $("#appPageUrl").val(),
logo: $("#logo").find("input[name='upload']").attr("oldurl")
......
......@@ -29,6 +29,7 @@ layui.config({
id: parent.rowId,
desktopName: $("#desktopName").val(),
desktopCnName: $("#desktopCnName").val(),
desktopCode: $("#code").val(),
state: $("input[name='state']:checked").val(),
appPageUrl: $("#appPageUrl").val(),
logo: $("#logo").find("input[name='upload']").attr("oldurl")
......
......@@ -27,6 +27,7 @@ layui.config({
{ title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers'},
{ field: 'desktopName', title: '桌面名称', align: 'left', width: 150 },
{ field: 'desktopCnName', title: '英文名称', align: 'left', width: 150 },
{ field: 'code', title: '编码', align: 'left', width: 120 },
{ field: 'logo', title: 'LOGO', align: 'center', width: 60, templet: function (d) {
if(isNull(d.logo)){
return '<img src="../../assets/images/os_windows.png" class="photo-img">';
......
......@@ -16,12 +16,21 @@
<label class="layui-form-label">中文名称<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="desktopName" name="desktopName" win-verify="required" placeholder="请输入桌面名称" class="layui-input"/>
<div class="layui-form-mid layui-word-aux">该名称在系统中唯一。</div>
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">英文名称<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="desktopCnName" name="desktopCnName" win-verify="required" placeholder="请输入英文名称" class="layui-input"/>
<div class="layui-form-mid layui-word-aux">该名称可重复。</div>
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">编码<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="code" name="code" win-verify="required" placeholder="请输入编码" class="layui-input"/>
<div class="layui-form-mid layui-word-aux">该编码在系统中唯一。例如:ERP_DESKTOP</div>
</div>
</div>
<div class="layui-form-item layui-col-xs12">
......
......@@ -22,12 +22,21 @@
<label class="layui-form-label">中文名称<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="desktopName" name="desktopName" win-verify="required" placeholder="请输入桌面名称" class="layui-input" value="{{desktopName}}"/>
<div class="layui-form-mid layui-word-aux">该名称在系统中唯一</div>
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">英文名称<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="desktopCnName" name="desktopCnName" win-verify="required" placeholder="请输入英文名称" class="layui-input" value="{{desktopCnName}}"/>
<div class="layui-form-mid layui-word-aux">该名称可重复</div>
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">编码<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="code" name="code" win-verify="required" placeholder="请输入编码" class="layui-input" value="{{code}}"/>
<div class="layui-form-mid layui-word-aux">该编码在系统中唯一例如ERP_DESKTOP</div>
</div>
</div>
<div class="layui-form-item layui-col-xs12">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册