v1.0.19: 修复人员编辑入口缺失(person.js addPerson/editPerson) + 渠道明细数量字段名(analysis.php cnt) + CDP全量验证43项PASS
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* placeholder.js - 占位页面通用逻辑(媒体管理/竞品管理等未开发模块)
|
||||
* 用法:renderPlaceholder('media_resources'); —— key 需在 MENU_MAP 中存在
|
||||
*/
|
||||
function renderPlaceholder(key) {
|
||||
var m = MENU_MAP[key] || { name: key, icon: 'document' };
|
||||
renderShell(m.name, '业务模块 / ' + m.name);
|
||||
|
||||
var html =
|
||||
'<div class="card" style="padding:60px 20px;text-align:center;">' +
|
||||
' <div style="width:64px;height:64px;margin:0 auto 16px;color:#c3cbd8;">' + (ICONS[m.icon] || '') + '</div>' +
|
||||
' <div style="font-size:18px;color:#1e2a3a;font-weight:600;">' + escHtml(m.name) + '</div>' +
|
||||
' <div style="font-size:13px;color:#8a94a6;margin-top:8px;">该模块正在建设中,敬请期待</div>' +
|
||||
'</div>';
|
||||
$('#page-content').html(html);
|
||||
|
||||
initPage(key, function (user) {
|
||||
if (!checkPagePermission(key)) return;
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user