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
400c8fbe
Commit
400c8fbe
authored
Aug 13, 2021
by
王苓芝
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'reason' into 'master'
Reason See merge request
!12
parents
534d2a29
c4ea0805
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
12 deletions
+17
-12
env.config.js
config/env.config.js
+6
-6
auditModal.jsx
src/pages/AfterSaleManage/components/auditModal.jsx
+4
-0
services.js
src/pages/afterSale/appeal/services.js
+3
-6
audit.jsx
src/pages/afterSale/components/audit.jsx
+4
-0
No files found.
config/env.config.js
View file @
400c8fbe
const
isProduction
=
process
.
env
.
NODE_ENV
===
'
production
'
;
let
envAPi
=
{
// api: '//backstms-vcc3.liangkebang.net',
api
:
'
//backstms-test2.liangkebang.net
'
,
// kdspApi: '//yapi.quantgroups.com/mock/351',
// kdspApi: 'http://192.168.28.172:8042',
// kdspApi: 'https://kdsp-operation-vcc3.liangkebang.net',
kdspApi
:
'
https://kdsp-operation-test2.liangkebang.net
'
,
kdspOpApi
:
'
https://kdsp-operation-test2.liangkebang.net
'
,
kdspApi
:
'
https://sc-op-api-test2.liangkebang.net/
'
,
qiniuHost
:
'
https://appsync.lkbang.net
'
,
opapiHost
:
'
https://opapi-test2.liangkebang.net
'
,
// opapiHost: 'http://192.168.29.45:7000',
};
let
prodApi
=
{
api
:
'
//backstms.q-gp.com
'
,
kdspApi
:
'
//kdsp-operation.q-gp.com
'
,
kdspOpApi
:
'
//kdsp-operation.q-gp.com
'
,
kdspApi
:
'
//sc-op-api.q-gp.com
'
,
qiniuHost
:
'
https://appsync.lkbang.net
'
,
opapiHost
:
'
https://opapi.xyqb.com
'
,
};
...
...
src/pages/AfterSaleManage/components/auditModal.jsx
View file @
400c8fbe
...
...
@@ -129,6 +129,10 @@ const AuditModal = props => {
{
getFieldDecorator
(
'
receiverPhone
'
,
{
initialValue
:
formData
.
phone
,
rules
:
[
{
pattern
:
new
RegExp
(
/^1
[
3456789
]\d
{9}$/
,
'
g
'
),
message
:
'
手机号码格式不正确!
'
,
},
{
required
:
true
,
message
:
'
请填写手机号码!
'
,
...
...
src/pages/afterSale/appeal/services.js
View file @
400c8fbe
...
...
@@ -9,8 +9,7 @@ export async function query(param) {
pageNo
:
param
.
current
,
};
const
data
=
await
request
.
post
(
'
/api/kdsp/op/appeal/list
'
,
{
// prefix: 'http://yapi.quantgroups.com/mock/351',
prefix
:
config
.
kdspApi
,
prefix
:
config
.
kdspOpApi
,
data
:
stringify
(
_
.
omitBy
(
params
,
v
=>
!
v
)),
headers
:
{
'
Content-Type
'
:
'
application/x-www-form-urlencoded
'
,
...
...
@@ -24,8 +23,7 @@ export async function query(param) {
export
async
function
getDetail
(
params
)
{
const
{
data
}
=
await
request
.
post
(
'
/api/kdsp/op/appeal/info
'
,
{
data
:
stringify
(
_
.
omitBy
(
params
,
v
=>
!
v
)),
prefix
:
config
.
kdspApi
,
// prefix: 'http://yapi.quantgroups.com/mock/351',
prefix
:
config
.
kdspOpApi
,
headers
:
{
'
Content-Type
'
:
'
application/x-www-form-urlencoded
'
,
},
...
...
@@ -36,8 +34,7 @@ export async function getDetail(params) {
export
async
function
audit
(
params
)
{
const
data
=
await
request
.
post
(
'
/api/kdsp/op/appeal/audit
'
,
{
data
:
stringify
(
params
),
prefix
:
config
.
kdspApi
,
// prefix: 'http://yapi.quantgroups.com/mock/351',
prefix
:
config
.
kdspOpApi
,
headers
:
{
'
Content-Type
'
:
'
application/x-www-form-urlencoded
'
,
},
...
...
src/pages/afterSale/components/audit.jsx
View file @
400c8fbe
...
...
@@ -154,6 +154,10 @@ const AuditModal = props => {
<
FormItem
label=
"手机号码"
>
{
getFieldDecorator
(
'
receiverPhone
'
,
{
rules
:
[
{
pattern
:
new
RegExp
(
/^1
[
3456789
]\d
{9}$/
,
'
g
'
),
message
:
'
手机号码格式不正确!
'
,
},
{
required
:
true
,
message
:
'
请填写手机号码!
'
,
...
...
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