主要更新uniapp相关功能
This commit is contained in:
1 parent
aa92ca40a2
commit
5b4dbb2b46
65 files changed
+8532
-1921
No files matched your search
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
/**
|
||||
* 子系统注册表
|
||||
*
|
||||
* nav.vue(导航页,无 tabbar)按这里配置渲染子系统宫格;
|
||||
@@ -15,9 +15,7 @@ export const SUBSYSTEMS = [
|
||||
title: '客户关系管理',
|
||||
icon: 'handshake',
|
||||
tint: 'tint-0',
|
||||
desc: '线索 · 客户 · 商机 · 合同 · 回款',
|
||||
// 该子系统在 Web 端有完整系统,概览页展示「进入完整系统」入口
|
||||
webEntry: true
|
||||
desc: '线索 · 客户 · 商机 · 合同 · 回款'
|
||||
},
|
||||
{
|
||||
slug: 'erp',
|
||||
@@ -26,8 +24,7 @@ export const SUBSYSTEMS = [
|
||||
title: '进销存管理',
|
||||
icon: 'boxes-stacked',
|
||||
tint: 'tint-1',
|
||||
desc: '客户 · 供应商 · 账套 · 通讯录',
|
||||
webEntry: true
|
||||
desc: '客户 · 供应商 · 账套 · 通讯录'
|
||||
},
|
||||
{
|
||||
slug: 'oa',
|
||||
@@ -36,8 +33,7 @@ export const SUBSYSTEMS = [
|
||||
title: '协同办公',
|
||||
icon: 'clipboard-check',
|
||||
tint: 'tint-2',
|
||||
desc: '日程 · 通知 · 文档 · 报销 · 人事',
|
||||
webEntry: true
|
||||
desc: '日程 · 通知 · 文档 · 报销 · 人事'
|
||||
},
|
||||
{
|
||||
slug: 'cms',
|
||||
@@ -46,8 +42,7 @@ export const SUBSYSTEMS = [
|
||||
title: '网站内容管理',
|
||||
icon: 'globe',
|
||||
tint: 'tint-3',
|
||||
desc: '文章 · 产品 · 解决方案 · 站点',
|
||||
webEntry: true
|
||||
desc: '文章 · 产品 · 解决方案 · 站点'
|
||||
},
|
||||
{
|
||||
slug: 'toolbox',
|
||||
@@ -56,10 +51,7 @@ export const SUBSYSTEMS = [
|
||||
title: '便捷工具',
|
||||
icon: 'wrench',
|
||||
tint: 'tint-4',
|
||||
desc: '记事本 · 日程 · 密码库',
|
||||
// 便捷工具的记事本 / 日程 / 密码库在端上都有原生页面,
|
||||
// Web 端没有对应系统,因此不展示「进入完整系统」入口
|
||||
webEntry: false
|
||||
desc: '记事本 · 日程 · 密码库'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -80,6 +72,6 @@ export function getSubsystemByModule(module) {
|
||||
*/
|
||||
export function goSubsystem(slug) {
|
||||
if (!getSubsystem(slug)) return false
|
||||
uni.redirectTo({ url: `/pages/${slug}/home/home` })
|
||||
uni.navigateTo({ url: `/pages/sub/tabs?slug=${slug}` })
|
||||
return true
|
||||
}
|
||||
Reference in new issue
Block a user