From ac722e27848280a5cd5df66d1b383ea3b358913d Mon Sep 17 00:00:00 2001 From: mhsnet Date: Mon, 19 Aug 2024 16:13:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=8F=E5=90=8C=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jnpf-app/api/yys/materialProcurementOrder.js | 15 ++ jnpf-app/pages.json | 40 ++-- .../pages/work/components/CategoryPanel.vue | 180 +++++++++--------- .../components/CustomNavbar.vue | 23 +++ .../yys/materialProcurementOrder/index.vue | 159 ++++++++++++++++ 5 files changed, 310 insertions(+), 107 deletions(-) create mode 100644 jnpf-app/api/yys/materialProcurementOrder.js create mode 100644 jnpf-app/pages/yys/materialProcurementOrder/components/CustomNavbar.vue create mode 100644 jnpf-app/pages/yys/materialProcurementOrder/index.vue diff --git a/jnpf-app/api/yys/materialProcurementOrder.js b/jnpf-app/api/yys/materialProcurementOrder.js new file mode 100644 index 0000000..e3099ec --- /dev/null +++ b/jnpf-app/api/yys/materialProcurementOrder.js @@ -0,0 +1,15 @@ +import request from "@/utils/request"; + +// 采购协同列表-App +export function getOrderList(params) { + let data = { + orderStatus: params.orderStatus, + moduleId: "591255416864768197", + menuId: "591260119262560581", + }; + return request({ + url: "/api/example/YysMaterialProcurementOrder/list", + method: "POST", + data, + }); +} \ No newline at end of file diff --git a/jnpf-app/pages.json b/jnpf-app/pages.json index c84acf5..40556df 100644 --- a/jnpf-app/pages.json +++ b/jnpf-app/pages.json @@ -3,7 +3,8 @@ "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue", "^jnpf-(.*)": "@/components/jnpf/jnpf-$1/index.vue" }, - "pages": [{ + "pages": [ + { "path": "pages/launch/index", "style": { "app-plus": { @@ -56,6 +57,13 @@ } } }, + { + "path": "pages/yys/materialProcurementOrder/index", + "style": { + "navigationStyle": "custom", + "navigationBarTextStyle": "white" + } + }, { "path": "pages/login/index", "style": { @@ -170,18 +178,21 @@ // #ifdef H5 { "root": "pages/mpPortal", - "pages": [{ - "path": "index", - "style": { - "navigationStyle": "custom", // 隐藏系统导航栏 - "navigationBarTextStyle": "black" // 状态栏字体为白色 + "pages": [ + { + "path": "index", + "style": { + "navigationStyle": "custom", // 隐藏系统导航栏 + "navigationBarTextStyle": "black" // 状态栏字体为白色 + } } - }] + ] }, // #endif { "root": "pages/message", - "pages": [{ + "pages": [ + { "path": "userDetail/index", "style": { "navigationBarTitleText": "", @@ -213,7 +224,8 @@ }, { "root": "pages/workFlow", - "pages": [{ + "pages": [ + { "path": "flowBefore/index", "style": { "navigationBarTitleText": "" @@ -313,7 +325,8 @@ }, { "root": "pages/apply", - "pages": [{ + "pages": [ + { "path": "reportLog/index", "style": { "navigationBarTitleText": "汇报日志" @@ -396,11 +409,11 @@ } ] }, - // #ifdef APP-PLUS { "root": "pages/componentLibrary", - "pages": [{ + "pages": [ + { "path": "index" }, // parse-富文本解析器 @@ -912,7 +925,8 @@ // #endif { "root": "pages/my", - "pages": [{ + "pages": [ + { "path": "settings/index", "style": { "navigationBarTitleText": "设置", diff --git a/jnpf-app/pages/work/components/CategoryPanel.vue b/jnpf-app/pages/work/components/CategoryPanel.vue index c610600..b811f9e 100644 --- a/jnpf-app/pages/work/components/CategoryPanel.vue +++ b/jnpf-app/pages/work/components/CategoryPanel.vue @@ -1,102 +1,94 @@ + // min-height: 80vh; + .module { + width: 100%; + + // margin: 10rpx 0; + .module-title { + font-size: 32rpx; + color: #1d2129; + } + + .category-item { + border-radius: 16rpx; + margin: 40rpx 0; + display: flex; + flex-direction: column; + justify-content: space-between; + align-items: center; + box-sizing: border-box; + box-shadow: 0px 3px 12px 0px rgba(63, 112, 157, 0.5); + width: 100%; + + .icon { + width: 100%; + height: 240rpx; + } + } + } + + .empty-data { + position: absolute; + left: 50%; + top: 50%; + width: 480rpx; + height: 528rpx; + transform: translate(-50%, -50%); + } + } + \ No newline at end of file diff --git a/jnpf-app/pages/yys/materialProcurementOrder/components/CustomNavbar.vue b/jnpf-app/pages/yys/materialProcurementOrder/components/CustomNavbar.vue new file mode 100644 index 0000000..e87b785 --- /dev/null +++ b/jnpf-app/pages/yys/materialProcurementOrder/components/CustomNavbar.vue @@ -0,0 +1,23 @@ + + + diff --git a/jnpf-app/pages/yys/materialProcurementOrder/index.vue b/jnpf-app/pages/yys/materialProcurementOrder/index.vue new file mode 100644 index 0000000..ac563d5 --- /dev/null +++ b/jnpf-app/pages/yys/materialProcurementOrder/index.vue @@ -0,0 +1,159 @@ + + + + +