From 26af69ee99b3a6f446891b2bb020443651c97b0e Mon Sep 17 00:00:00 2001 From: gwbvipvip Date: Tue, 6 Sep 2022 19:03:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.js | 7 + src/app.jsx | 2 +- src/pages/sys/org/components/CreateForm.jsx | 25 +- src/pages/sys/org/index.jsx | 14 +- src/pages/sys/org/service.js | 8 + src/pages/sys/paytemplate/index.jsx | 241 ++++++++++++++++++++ src/pages/sys/paytemplate/service.js | 30 +++ 7 files changed, 320 insertions(+), 7 deletions(-) create mode 100644 src/pages/sys/paytemplate/index.jsx create mode 100644 src/pages/sys/paytemplate/service.js diff --git a/config/routes.js b/config/routes.js index de3b438..093ff73 100644 --- a/config/routes.js +++ b/config/routes.js @@ -33,6 +33,13 @@ export default [ component: './sys/company', access: 'k2', }, + { + name: '支付配置', + icon: 'smile', + path: '/sys/paytemplate', + component: './sys/paytemplate', + access: 'k2', + }, { name: '组织管理', icon: 'smile', diff --git a/src/app.jsx b/src/app.jsx index 0135254..0c631bc 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -723,7 +723,7 @@ export async function getInitialState() { var tempMenu = await queryMenuData(); //创建菜单 //await syncMenus(tempMenu); - if (!isDev) { + if (true) { var data = await dymicMenus(currentUser.data.id); tempMenu = data.data; } diff --git a/src/pages/sys/org/components/CreateForm.jsx b/src/pages/sys/org/components/CreateForm.jsx index 35ab67e..8da2111 100644 --- a/src/pages/sys/org/components/CreateForm.jsx +++ b/src/pages/sys/org/components/CreateForm.jsx @@ -59,23 +59,38 @@ const CreateForm = (props) => { - + + + + {/* ,pattern: /^[-\+]?\d+(\.\d+)\,[-\+]?\d+(\.\d+)$/, message: '经纬度格式不对'} */} - + - + -