Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
d8e7243a
Commit
d8e7243a
authored
Sep 01, 2023
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂存
parent
74e1b7d6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
config/dev.env.js
+2
-2
src/api/wy.js
+1
-1
src/components/common/WLYToDoList.vue
+6
-2
No files found.
config/dev.env.js
View file @
d8e7243a
...
@@ -16,12 +16,12 @@ module.exports = merge(prodEnv, {//zjgyl
...
@@ -16,12 +16,12 @@ module.exports = merge(prodEnv, {//zjgyl
// BASE_URL:"'https://shop.mayi888.com'",
// BASE_URL:"'https://shop.mayi888.com'",
// BASE_URL:"'http://192.168.1.146:3005'",
// BASE_URL:"'http://192.168.1.146:3005'",
// BASE_URL:"'http://172.16.1.18:3000'",
// BASE_URL:"'http://172.16.1.18:3000'",
BASE_URL
:
"'http
s
://test-m-shop.mayi888.cn'"
,
BASE_URL
:
"'http://test-m-shop.mayi888.cn'"
,
ADMIN_URL
:
"'https://test-ant.mayi888.cn'"
,
ADMIN_URL
:
"'https://test-ant.mayi888.cn'"
,
GUIDE_URL
:
"'https://guide-m.mayi888.cn'"
,
GUIDE_URL
:
"'https://guide-m.mayi888.cn'"
,
// BASE_URL:"'http://192.168.137.1:3004'",
// BASE_URL:"'http://192.168.137.1:3004'",
OLSHOP_URL
:
'"http
s
://test-m-shop.mayi888.cn/innerApi/shopApiService"'
,
OLSHOP_URL
:
'"http://test-m-shop.mayi888.cn/innerApi/shopApiService"'
,
// OLSHOP_URL:'"https://shop.mayi888.com/innerApi/shopApiService"',
// OLSHOP_URL:'"https://shop.mayi888.com/innerApi/shopApiService"',
IMG_DOMAIN
:
'"http://test-bucket-ant.oss-cn-shanghai.aliyuncs.com"'
,
IMG_DOMAIN
:
'"http://test-bucket-ant.oss-cn-shanghai.aliyuncs.com"'
,
POSTHOG_KEY
:
'"phc_nTr1oY7NkSuDMZsqCskE6iUIGKgWPmFHlRAKFVuZD2B"'
,
POSTHOG_KEY
:
'"phc_nTr1oY7NkSuDMZsqCskE6iUIGKgWPmFHlRAKFVuZD2B"'
,
...
...
src/api/wy.js
View file @
d8e7243a
...
@@ -12,6 +12,6 @@ export default {
...
@@ -12,6 +12,6 @@ export default {
return
requestPOST1
(
`
${
process
.
env
.
OLSHOP_URL
}
/burgeonStatements/queryFollowByCustomerStatement?month=
${
options
}
`
);
return
requestPOST1
(
`
${
process
.
env
.
OLSHOP_URL
}
/burgeonStatements/queryFollowByCustomerStatement?month=
${
options
}
`
);
},
},
getDzDPdf
(
options
){
getDzDPdf
(
options
){
return
requestGET
(
`http
s
://test-m-shop.mayi888.cn/innerApi/utilsService/genPdf?url=
${
options
}
`
);
return
requestGET
(
`http://test-m-shop.mayi888.cn/innerApi/utilsService/genPdf?url=
${
options
}
`
);
}
}
}
}
src/components/common/WLYToDoList.vue
View file @
d8e7243a
...
@@ -57,9 +57,13 @@ export default {
...
@@ -57,9 +57,13 @@ export default {
async
init
()
{
async
init
()
{
// 获取待办数据
// 获取待办数据
try
{
try
{
let
res
=
wly
.
selectToDoList
();
let
res
=
await
wly
.
selectToDoList
();
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
list
[
0
].
count
=
res
.
data
.
countBooking
;
this
.
list
[
1
].
count
=
res
.
data
.
countMealSecondConfirm
;
}
if
(
res
.
data
.
total
>
0
)
{
this
.
show
=
true
;
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
'error'
,
error
);
console
.
log
(
'error'
,
error
);
...
...
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