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

业务数据绑定动态表单功能修改

上级 f3103613
......@@ -22,12 +22,16 @@ layui.config({
ajaxSendLoadBefore: function (hdb) {
},
ajaxSendAfter: function (json) {
$.each(json.bean.dsFormPageMations, function (i, item) {
if (!isNull(json.bean.dsFormPageMations)) {
$.each(json.bean.dsFormPageMations, function (i, item) {
addRow();
$("#dsFormChooseList" + (rowNum - 1)).val(item.pageNum);
$("#dsFormChooseList" + (rowNum - 1)).attr("dataId", item.id);
$("#pageName" + (rowNum - 1)).html(item.pageName);
})
} else {
addRow();
$("#dsFormChooseList" + (rowNum - 1)).val(item.pageNum);
$("#dsFormChooseList" + (rowNum - 1)).attr("dataId", item.id);
$("#pageName" + (rowNum - 1)).html(item.pageName);
})
}
matchingLanguage();
form.render();
......
......@@ -27,8 +27,8 @@ layui.config({
{ field: 'serviceName', title: '服务名称', align: 'left', width: 120, templet: function (d) {
return '<a lay-event="details" class="notice-title-click">' + d.serviceName + '</a>';
}},
{ field: 'className', title: '服务编码', align: 'left', width: 120 },
{ field: 'appId', title: '应用ID', align: 'left', width: 120 },
{ field: 'className', title: '服务编码', align: 'left', width: 400 },
{ field: 'appId', title: '应用ID', align: 'left', width: 240 },
{ field: 'appName', title: '应用名称', align: 'left', width: 120 },
{ field: 'createName', title: systemLanguage["com.skyeye.createName"][languageType], width: 120 },
{ field: 'createTime', title: systemLanguage["com.skyeye.createTime"][languageType], align: 'center', width: 150 },
......@@ -59,7 +59,7 @@ layui.config({
rowId = data.id;
_openNewWindows({
url: "../../tpl/dsFormObjectRelation/dsFormObjectRelationEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
title: '绑定表单',
pageId: "dsFormObjectRelationEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
......@@ -71,7 +71,6 @@ layui.config({
// 详情
function details(data) {
rowId = data.id;
var url = erpOrderUtil.getErpDetailUrl(data);
_openNewWindows({
url: "../../tpl/dsFormObjectRelation/dsFormObjectRelationDetails.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
......
......@@ -16,7 +16,7 @@
<table id="messageTable" lay-filter="messageTable"></table>
<script type="text/html" id="tableBar">
{{# if(auth('1641693544770')){ }}
<a class="layui-btn layui-btn-xs" lay-event="edit"><language showName="com.skyeye.editBtn"></language></a>
<a class="layui-btn layui-btn-xs" lay-event="bindDsFormPage">绑定表单</a>
{{# } }}
</script>
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册