diff --git a/src/components/ModulesMenu/allMenus.vue b/src/components/ModulesMenu/allMenus.vue
index 35aeef69..1f58f231 100644
--- a/src/components/ModulesMenu/allMenus.vue
+++ b/src/components/ModulesMenu/allMenus.vue
@@ -5,7 +5,6 @@
:visible.sync="visible"
width="60%"
append-to-body>
-
全部应用
@@ -64,6 +63,7 @@ export default {
}
}
},
+
watch: {
'value': {
handler(nval, oval) {
@@ -74,6 +74,7 @@ export default {
},
'keyWords': 'filterModule'
},
+
data() {
return {
menuLoading: false,
@@ -86,7 +87,6 @@ export default {
},
methods: {
-
searchMenu(val) {
this.keyWords = val;
},
@@ -119,21 +119,25 @@ export default {
selectItem(item) {
if(item.isBuy) {
//路由跳转
- console.log(modulesOfRouter, "modulesOfRouter");
let name = "";
modulesOfRouter.forEach(e => {
if(e.id == item.id) {
name = e.path;
+ item.type = e.type;
}
})
+
if(name != "") {
- this.$router.push({path: name})
+ if(item.type == "link") {
+ window.open(name);
+ }else {
+ this.$router.push({path: name})
+ }
}
this.visible = false;
}
},
-
goBuy(item) {
this.visible = false;
//前往购买页面
@@ -149,9 +153,10 @@ export default {
let branchModules = res2.data.data;
tempData.forEach(k => {
branchModules.forEach(element => {
- if(k.id == element.moduleId) {
- k.isBuy = true;
- }
+ // if(k.id == element.moduleId) {
+ // k.isBuy = true;
+ // }
+ k.isBuy = true;
});
modulesOfIcon.forEach(element => {
diff --git a/src/components/ModulesMenu/modulesOfRouter.js b/src/components/ModulesMenu/modulesOfRouter.js
index 659bc378..0eda3b09 100644
--- a/src/components/ModulesMenu/modulesOfRouter.js
+++ b/src/components/ModulesMenu/modulesOfRouter.js
@@ -1,75 +1,92 @@
export const modulesOfRouter = [
{
id: 'mall',
- path: ''
+ path: 'https://www.qingqinkj.com/mallm/m1/#/dashboard',
+ type: 'link'
},
{
id: 'mall-marketing',
- path: ''
+ path: 'https://www.qingqinkj.com/mk/m1/#/dashboard',
+ type: 'link'
},
{
id: 'mdp-arc',
- path: ''
+ path: 'https://www.qingqinkj.com/arc/m1/#/dashboard',
+ type: 'link'
},
{
id: 'mdp-sys',
- path: ''
+ path: 'https://www.qingqinkj.com/sys/m1/#/mdp/sys/dept/DeptMng',
+ type: 'link'
},
{
id: 'oa-asset',
- path: ''
+ path: 'https://www.qingqinkj.com/oa/m1/#/oa/erp/ass/assetDetail/AssetDetailMng',
+ type: 'link'
},
{
id: 'oa-attendance',
- path: ''
+ path: 'https://www.qingqinkj.com/oa/m1/#/oa/kq/attendance/AttendanceMonth',
+ type: 'link'
},
{
id: 'oa-car',
- path: '',
+ path: 'https://www.qingqinkj.com/oa/m1/#/oa/car/components/watch',
+ type: 'link'
},
{
id: 'oa-contract',
- path: ''
+ path: 'https://www.qingqinkj.com/oa/m1/#/oa/ht/contractCard/ContractCardMng',
+ type: 'link'
},
{
id: 'oa-customer',
- path: ''
+ path: 'https://www.qingqinkj.com/oa/m1/#/oa/crm/customer/CustomerIndex',
+ type: 'link'
},
{
id: 'oa-file',
- path: ''
+ path: 'https://www.qingqinkj.com/oa/m1/#/oa/hr/user/employeeInfo',
+ type: 'link'
},
{
id: 'oa-finance',
- path: ''
+ path: 'https://www.qingqinkj.com/ac/m1/#/dashboard',
+ type: 'link'
},
{
id: 'oa-meeting',
- path: ''
+ path: 'https://www.qingqinkj.com/oa/m1/#/oa/meet/meetMeeting/MeetMeetingMng',
+ type: 'link'
},
{
id: 'oa-office',
- path: ''
+ path: 'https://www.qingqinkj.com/oa/m1/#/oa/om/omAppliance/OmApplianceMng',
+ type: 'link'
},
{
id: 'oa-performance',
- path: ''
+ path: 'https://www.qingqinkj.com/oa/m1/#/oa/jx/AssesssSatistical',
+ type: 'link'
},
{
id: 'oa-schedule',
- path: ''
+ path: 'https://www.qingqinkj.com/oa/m1/#/oa/rc/rcSchedule/RcScheduleMng',
+ type: 'link'
},
{
id: 'oa-seal',
- path: '',
+ path: 'https://www.qingqinkj.com/oa/m1/#/oa/sig/sigSignet/SigSignetMng',
+ type: 'link'
},
{
id: 'oa-supervision',
- path: ''
+ path: 'https://www.qingqinkj.com/oa/m1/#/oa/duban/dubanItem/DutyDubanItem',
+ type: 'link'
},
{
id: 'xm-analysis',
- path: 'reportIndex',
+ path: 'xm/rpt/reportIndex',
},
{
id: 'xm-development',
@@ -85,18 +102,18 @@ export const modulesOfRouter = [
},
{
id: 'xm-project',
- path: 'xmProjectAllMng'
+ path: '/xm/core/xmProject/XmProjectAllMng'
},
{
id: 'xm-test',
- path: 'XmQuestionAdd'
+ path: '/xm/core/xmQuestion/XmQuestionAdd'
},
{
id: 'xm-workload',
- path: 'XmTaskWorkloadInfoMy',
+ path: '/xm/core/xmTaskWorkload/XmTaskWorkloadInfoMy',
},
{
id: 'xm-crowd',
- path: '',
+ path: '/xm/core/crowd/XmTaskCrowdMng',
}
]
\ No newline at end of file
diff --git a/src/views/layout/components/Navbar.vue b/src/views/layout/components/Navbar.vue
index 09b73272..d632d68a 100644
--- a/src/views/layout/components/Navbar.vue
+++ b/src/views/layout/components/Navbar.vue
@@ -27,65 +27,69 @@
-
-
-
![]()
-

-
{{getTimeStatus}},{{userInfo.username}}
-
-
-
-
- 用户名:{{userInfo.username}}
- 账户设置
-
-
-
- 公司:{{userInfo.branchName}}
-
-
-
-
- 部门:{{item.deptName}}
-
- 岗位:
-
-
- {{post.postName}}
-
+
+
+
-
-
- 商户及门店:
-
-
- {{location.locationName}}
-
-
-
- 无门店或者我不是该商户的门店管理员
-
-
-
-
-
-
-
- 我拥有的角色:
-
- {{role.rolename}}
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/order/enterprise.vue b/src/views/order/enterprise.vue
index 9f1dd76b..205872a5 100644
--- a/src/views/order/enterprise.vue
+++ b/src/views/order/enterprise.vue
@@ -226,7 +226,7 @@ export default {
},
watch: {
-
+
allAmount: {
handler(val, oval) {
if(this.menus == null) return;
@@ -235,7 +235,7 @@ export default {
let oa = this.menus.oa.filter(res => {return res.isChecked == true;})
let mall = this.menus.mall.filter(res => {return res.isChecked == true;})
tempData = Array.concat(xm).concat(oa).concat(mall);
- if(tempData.length == 0) return 0;
+ if(tempData.length == 0) return;
let yearAmount = new Decimal(0);
let halfYearAmount = new Decimal(0);
let quarter = new Decimal(0);