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