main
kgdxpr 1 year ago
parent e9b2d3e86d
commit f44ebd7f41

@ -4535,20 +4535,20 @@ layui.config({ base: './ayq/modules/' }).define(["layer", 'flow', "laytpl", "ele
var that = this
, options = that.config;
// options.data.forEach(function (item, index) {
// if (item.tag == "grid") {
// item.columns.forEach(function (columnsItem, columnsIndex) {
// columnsItem.list.forEach(function (listItem, listIndex) {
// that.bindPropertyEvent(listItem);
// });
// });
// }
options.data.forEach(function (item, index) {
if (item.tag == "grid") {
item.columns.forEach(function (columnsItem, columnsIndex) {
columnsItem.list.forEach(function (listItem, listIndex) {
that.bindPropertyEvent(listItem);
});
});
}
// if (index === 0) {
// options.selectItem = item;
// }
// that.bindPropertyEvent(item);
// });
if (index === 0) {
options.selectItem = item;
}
that.bindPropertyEvent(item);
});
if (options.viewOrDesign) {
var that = this

@ -242,7 +242,7 @@
{ title: '发布对象', unresize: true, align: 'center', width: "8%", templet: '#targetType' },
{ title: '保存状态', unresize: true, field: 'is_save_name', align: 'center', width: "6%" },
{ title: '发布状态', unresize: true, field: 'publish_state_name', align: 'center', width: "6%" },
{ title: '操作', unresize: true, align: 'left', width: "20%", toolbar: '#table-bar' }
{ title: '操作', unresize: true, align: 'left', width: "25%", toolbar: '#table-bar' }
]],
skin: 'line',
toolbar: '#table-toolbar',

@ -243,7 +243,7 @@
{ title: '发布对象', unresize: true, align: 'center', width: "8%", templet: '#targetType' },
{ title: '保存状态', unresize: true, field: 'is_save_name', align: 'center', width: "6%" },
{ title: '发布状态', unresize: true, field: 'publish_state_name', align: 'center', width: "6%" },
{ title: '操作', unresize: true, align: 'left', width: "20%", toolbar: '#table-bar' }
{ title: '操作', unresize: true, align: 'left', width: "25%", toolbar: '#table-bar' }
]],
skin: 'line',
toolbar: '#table-toolbar',

Loading…
Cancel
Save