| | |
| | | return |
| | | } |
| | | |
| | | let _sort = 0 // 按钮及标签排序 |
| | | |
| | | let btnParam = { // 添加菜单按钮 |
| | | func: 'sPC_Button_AddUpt', |
| | | Type: 60, // 添加按钮表单页下的按钮 |
| | |
| | | PageParam: '', |
| | | LongParam: '', |
| | | LText: config.action.map((item, index) => { |
| | | return `select '${item.uuid}' as menuid, '${item.label}' as menuname, '${(index + 1) * 10}' as Sort` |
| | | _sort++ |
| | | return `select '${item.uuid}' as menuid, '${item.label}' as menuname, '${_sort * 10}' as Sort` |
| | | }) |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | let _LText = [] |
| | | let _index = 1 |
| | | |
| | | config.tabgroups.forEach(groupId => { |
| | | config[groupId].forEach(item => { |
| | | _LText.push(`select '${btnTab.uuid}' as MenuID ,'${item.linkTab}' as Tabid,'${item.label}' as TabName ,'${_index * 10}' as Sort`) |
| | | _index++ |
| | | _sort++ |
| | | _LText.push(`select '${btnTab.uuid}' as MenuID ,'${item.linkTab}' as Tabid,'${item.label}' as TabName ,'${_sort * 10}' as Sort`) |
| | | }) |
| | | }) |
| | | |