Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
merchant-manage-ui
Commits
1b66eb80
Commit
1b66eb80
authored
Sep 23, 2022
by
武广
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加套餐接口
parent
716ee3fe
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
13 deletions
+13
-13
env.config.js
config/env.config.js
+10
-10
menu.js
src/models/menu.js
+1
-1
FormRuleSetting.jsx
src/pages/ServiceGoods/components/FormRuleSetting.jsx
+1
-1
index.jsx
src/pages/ServiceGoods/index.jsx
+1
-1
No files found.
config/env.config.js
View file @
1b66eb80
...
...
@@ -2,19 +2,19 @@ const isProduction = process.env.NODE_ENV === 'production';
const
isPre
=
process
.
env
.
PRE_ENV
===
'
pre
'
;
const
envAPi
=
{
api
:
'
https://security-
xyqb.liangkebang.net
'
,
//'https://security-xyqb
.liangkebang.net',
kdspOpApi
:
'
https://sc-merchant-api-
xyqb
.liangkebang.net
'
,
kdspApi
:
'
https://sc-merchant-api-
xyqb
.liangkebang.net
'
,
goodsApi
:
'
https://sc-merchant-api-
xyqb
.liangkebang.net
'
,
// kdspOpApi: 'https://kdsp-operation-
xyqb
.liangkebang.net',
// kdspApi: 'https://sc-op-api-
xyqb
.liangkebang.net',
// goodsApi: 'https://sc-op-api-
xyqb
.liangkebang.net',
querysApi
:
'
https://sc-settlement-api-
xyqb
.liangkebang.net
'
,
api
:
'
https://security-
sc.liangkebang.net
'
,
//'https://security-sc
.liangkebang.net',
kdspOpApi
:
'
https://sc-merchant-api-
sc
.liangkebang.net
'
,
kdspApi
:
'
https://sc-merchant-api-
sc
.liangkebang.net
'
,
goodsApi
:
'
https://sc-merchant-api-
sc
.liangkebang.net
'
,
// kdspOpApi: 'https://kdsp-operation-
sc
.liangkebang.net',
// kdspApi: 'https://sc-op-api-
sc
.liangkebang.net',
// goodsApi: 'https://sc-op-api-
sc
.liangkebang.net',
querysApi
:
'
https://sc-settlement-api-
sc
.liangkebang.net
'
,
// goodsApi: '//192.168.188.111:7000',
prologueDomain
:
'
https://mall-
xyqb
.liangkebang.net
'
,
prologueDomain
:
'
https://mall-
sc
.liangkebang.net
'
,
// qiniuHost: 'https://appsync.lkbang.net',
qiniuHost
:
'
https://kdspstatic.q-gp.com/
'
,
opapiHost
:
'
https://opapi-
xyqb
.liangkebang.net
'
,
opapiHost
:
'
https://opapi-
sc
.liangkebang.net
'
,
};
const
prodApi
=
{
...
...
src/models/menu.js
View file @
1b66eb80
...
...
@@ -30,7 +30,7 @@ const MenuModel = {
const
value
=
[];
const
data
=
[...
tableData
];
data
.
filter
(
item
=>
item
.
node
&&
item
.
node
.
uri
!==
'
/systemManage
'
)
.
filter
(
item
=>
item
.
node
&&
item
.
node
.
code
!==
'
applets
'
&&
item
.
node
.
type
.
value
<
3
)
.
forEach
(
item
=>
{
let
obj
=
{};
obj
=
{
...
item
.
node
};
...
...
src/pages/ServiceGoods/components/FormRuleSetting.jsx
View file @
1b66eb80
...
...
@@ -96,7 +96,7 @@ const FormRuleSetting = forwardRef((props, ref) => {
<
Form
.
Item
name=
"shopIds"
label=
"适用门店"
//
rules={[{ required: true, message: '请选择适用门店!', type: 'array' }]}
rules=
{
[{
required
:
true
,
message
:
'
请选择适用门店!
'
,
type
:
'
array
'
}]
}
>
<
Select
mode=
"multiple"
placeholder=
"请选择适用门店"
>
{
(
supplierIdList
||
[]).
map
(
item
=>
(
...
...
src/pages/ServiceGoods/index.jsx
View file @
1b66eb80
...
...
@@ -149,7 +149,7 @@ const ServiceGoods = options => {
if
(
isEdit
)
{
sendData
.
id
=
pageId
;
}
//
sendMerchantProductHttpRequest(sendData);
sendMerchantProductHttpRequest
(
sendData
);
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment