Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
op-web-service
Commits
41234707
Commit
41234707
authored
Aug 16, 2021
by
liwenhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 导出打印和修改流线改成线上环境
parent
eb1b90e5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
index.vue
src/pages/Groupmeal/Distrib/index.vue
+8
-8
groupmeal.js
src/service/Groupmeal/groupmeal.js
+8
-8
No files found.
src/pages/Groupmeal/Distrib/index.vue
View file @
41234707
...
@@ -363,14 +363,14 @@ export default {
...
@@ -363,14 +363,14 @@ export default {
// 下载路线
// 下载路线
handleDownload
(
url
)
{
handleDownload
(
url
)
{
// url && window.open("http://bp-dev.ini.yidian-inc.com" + url);
// url && window.open("http://bp-dev.ini.yidian-inc.com" + url);
var
ENV
;
var
ENV
=
"http://bp.ini.yidian-inc.com/"
;
if
(
process
.
env
.
NODE_ENV
==
"development"
)
{
//
if (process.env.NODE_ENV == "development") {
ENV
=
"http://bp-dev.ini.yidian-inc.com/"
;
//
ENV = "http://bp-dev.ini.yidian-inc.com/";
}
else
if
(
process
.
env
.
NODE_ENV
==
"test"
)
{
//
} else if (process.env.NODE_ENV == "test") {
ENV
=
"http://bp-test.ini.yidian-inc.com/"
;
//
ENV = "http://bp-test.ini.yidian-inc.com/";
}
else
{
//
} else {
ENV
=
"http://bp.ini.yidian-inc.com/"
;
//
ENV = "http://bp.ini.yidian-inc.com/";
}
//
}
url
&&
window
.
open
(
ENV
+
url
);
url
&&
window
.
open
(
ENV
+
url
);
},
},
// 分配保存
// 分配保存
...
...
src/service/Groupmeal/groupmeal.js
View file @
41234707
...
@@ -106,14 +106,14 @@ export async function orderRefundReject(params) {
...
@@ -106,14 +106,14 @@ export async function orderRefundReject(params) {
// 导出订单
// 导出订单
export
function
getOrderExportURL
(
eventId
,
type
)
{
export
function
getOrderExportURL
(
eventId
,
type
)
{
var
ENV
;
var
ENV
=
"http://bp.ini.yidian-inc.com/"
;
if
(
process
.
env
.
NODE_ENV
==
"development"
){
//
if(process.env.NODE_ENV == "development"){
ENV
=
"http://bp-dev.ini.yidian-inc.com/"
//
ENV = "http://bp-dev.ini.yidian-inc.com/"
}
else
if
(
process
.
env
.
NODE_ENV
==
"test"
){
//
}else if(process.env.NODE_ENV == "test"){
ENV
=
"http://bp-test.ini.yidian-inc.com/"
//
ENV = "http://bp-test.ini.yidian-inc.com/"
}
else
{
//
}else{
ENV
=
"http://bp.ini.yidian-inc.com/"
//
ENV = "http://bp.ini.yidian-inc.com/"
}
//
}
return
`
${
ENV
}
order/oldbackground/order_export?marketing_id=
${
eventId
}
&type=
${
type
}
`
;
return
`
${
ENV
}
order/oldbackground/order_export?marketing_id=
${
eventId
}
&type=
${
type
}
`
;
}
}
...
...
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