mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
tableData增加打开页面参数;
This commit is contained in:
@@ -53,9 +53,19 @@
|
||||
} else {
|
||||
options.index += '?';
|
||||
}
|
||||
|
||||
options.index += 'select_mode=' + options.selectType;
|
||||
|
||||
if(!options.selectIndex){
|
||||
options.selectIndex = options.index;
|
||||
}else{
|
||||
if (options.selectIndex.indexOf('?') > -1) {
|
||||
options.selectIndex += '&';
|
||||
} else {
|
||||
options.selectIndex += '?';
|
||||
}
|
||||
options.selectIndex += 'select_mode=' + options.selectType;
|
||||
}
|
||||
|
||||
if (options.type == 'textarea') {
|
||||
options.className = 'layui-textarea';
|
||||
}
|
||||
@@ -143,7 +153,7 @@
|
||||
title: '选择数据',
|
||||
type: 2,
|
||||
area: [options.width, options.height],
|
||||
content: options.index + '&selectedIds=' + selectedIds.join(','),
|
||||
content: options.selectIndex + '&selectedIds=' + selectedIds.join(','),
|
||||
maxmin: true,
|
||||
moveOut: true,
|
||||
shadeClose: true,
|
||||
|
||||
Reference in New Issue
Block a user