| | |
| | | }, |
| | | { |
| | | icon: "/static/images/icon/caigouguanli.png", |
| | | label: "采购管理", |
| | | label: "采购审批", |
| | | }, |
| | | { |
| | | icon: "/static/images/icon/baojiaguanli.png", |
| | | label: "报价管理", |
| | | label: "报价审批", |
| | | }, |
| | | { |
| | | icon: "/static/images/icon/chukuguanli@2x.png", |
| | | label: "出库管理", |
| | | label: "发货审批", |
| | | }, |
| | | ]); |
| | | // 考勤财务合并菜单(考勤3个 + 财务4个 = 7个) |
| | | const kaoqinCaiwu = reactive([ |
| | | { |
| | | icon: "/static/images/icon/gongchuguanli@2x.png", |
| | | label: "公出管理", |
| | | }, |
| | | { |
| | | icon: "/static/images/icon/qingjiaguanli@2x.png", |
| | | label: "请假管理", |
| | | }, |
| | | { |
| | | icon: "/static/images/icon/chuchaiguanli@2x.png", |
| | | label: "出差管理", |
| | | }, |
| | | { |
| | | icon: "/static/images/icon/baoxiaoguanli.png", |
| | | label: "报销管理", |
| | | }, |
| | | { |
| | | icon: "/static/images/icon/caigouguanli.png", |
| | | label: "采购审批", |
| | | }, |
| | | { |
| | | icon: "/static/images/icon/baojiaguanli.png", |
| | | label: "报价审批", |
| | | }, |
| | | { |
| | | icon: "/static/images/icon/chukuguanli@2x.png", |
| | | label: "发货审批", |
| | | }, |
| | | ]); |
| | | |
| | |
| | | url: "/pages/cooperativeOffice/collaborativeApproval/index4", |
| | | }); |
| | | break; |
| | | case "采购管理": |
| | | case "采购审批": |
| | | uni.navigateTo({ |
| | | url: "/pages/cooperativeOffice/collaborativeApproval/index5", |
| | | }); |
| | | break; |
| | | case "报价管理": |
| | | case "报价审批": |
| | | uni.navigateTo({ |
| | | url: "/pages/cooperativeOffice/collaborativeApproval/index6", |
| | | }); |
| | | break; |
| | | case "出库管理": |
| | | case "发货审批": |
| | | uni.navigateTo({ |
| | | url: "/pages/cooperativeOffice/collaborativeApproval/index7", |
| | | }); |
| | |
| | | commonItems.value = huiyi; |
| | | } else if (operationType.value === "财务管理") { |
| | | commonItems.value = caiwu; |
| | | } else if (operationType.value === "协同审批") { |
| | | commonItems.value = kaoqinCaiwu; |
| | | operationType.value = "协同审批"; |
| | | } |
| | | } |
| | | console.log(operationType.value); |