Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
flowable-engine-fontend
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王万里
flowable-engine-fontend
Commits
7d87b035
Commit
7d87b035
authored
Apr 23, 2021
by
王万里
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:切换本地和线上环境
parent
fb977b65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
6 deletions
+24
-6
url-config.js
scripts/configuration/url-config.js
+24
-6
No files found.
scripts/configuration/url-config.js
View file @
7d87b035
...
...
@@ -197,29 +197,47 @@ FLOWABLE.APP_URL = {
/* FORM MODEL URLS */
// 获取模型列表
getFormModelsUrl
:
function
(
cookie
)
{
return
'http://localhost:8089/CityInterface/rest/services/PandaWorkflow.svc/GetFormModelList?Cookie='
+
cookie
;
// 本地
// return 'http://localhost:8089/CityInterface/rest/services/PandaWorkflow.svc/GetFormModelList?Cookie=' + cookie;
// 线上
return
window
.
location
.
origin
+
'/CityInterface/rest/services/PandaWorkflow.svc/GetFormModelList?Cookie='
+
cookie
;
},
// 获取模型详情
getFormModelDetail
:
function
(
id
,
key
,
cookie
)
{
return
'http://localhost:8089/CityInterface/rest/services/PandaWorkflow.svc/GetModelDetail?ModelID='
+
id
+
'&Model_key='
+
key
+
'&Cookie='
+
cookie
// 本地
// return 'http://localhost:8089/CityInterface/rest/services/PandaWorkflow.svc/GetModelDetail?ModelID=' + id + '&Model_key=' + key +'&Cookie=' + cookie
// 线上
return
window
.
location
.
origin
+
'/CityInterface/rest/services/PandaWorkflow.svc/GetModelDetail?ModelID='
+
id
+
'&Model_key='
+
key
+
'&Cookie='
+
cookie
},
// 获取字段配置信息
GetColumnConfig
:
function
(
ACTID
,
FORMKEY
)
{
return
`http://localhost:8089/CityInterface/rest/services/PandaWorkflow.svc/GetColumnConfig?ActID=
${
ACTID
}
&FormKey=
${
FORMKEY
}
`
// 本地
// return `http://localhost:8089/CityInterface/rest/services/PandaWorkflow.svc/GetColumnConfig?ActID=${ACTID}&FormKey=${FORMKEY}`
// 线上
return
window
.
location
.
origin
+
`/CityInterface/rest/services/PandaWorkflow.svc/GetColumnConfig?ActID=
${
ACTID
}
&FormKey=
${
FORMKEY
}
`
},
// 保存单个字段配置信息
SaveFieldConfig
:
function
()
{
return
`http://localhost:8089/CityInterface/rest/services/PandaWorkflow.svc/SaveFieldConfig`
// 本地
// return `http://localhost:8089/CityInterface/rest/services/PandaWorkflow.svc/SaveFieldConfig`
// 线上
return
window
.
location
.
origin
+
`/CityInterface/rest/services/PandaWorkflow.svc/SaveFieldConfig`
},
// 保存整个表单字段配置信息
SaveColumnConfig
:
function
(
ACTID
,
FORMKEY
)
{
return
`http://localhost:8089/CityInterface/rest/services/PandaWorkflow.svc/SaveColumnConfig?ActID=
${
ACTID
}
&FormKey=
${
FORMKEY
}
`
// 本地
// return `http://localhost:8089/CityInterface/rest/services/PandaWorkflow.svc/SaveColumnConfig?ActID=${ACTID}&FormKey=${FORMKEY}`
// 线上
return
window
.
location
.
origin
+
`/CityInterface/rest/services/PandaWorkflow.svc/SaveColumnConfig?ActID=
${
ACTID
}
&FormKey=
${
FORMKEY
}
`
},
// 获取员工列表
getStaffList
:
function
()
{
return
'http://localhost:8089/Cityinterface/rest/services/PandaWorkflow.svc/getUserListForRole?_version=9999'
// 本地
// return 'http://localhost:8089/Cityinterface/rest/services/PandaWorkflow.svc/getUserListForRole?_version=9999'
// 线上
return
window
.
location
.
origin
+
'/Cityinterface/rest/services/PandaWorkflow.svc/getUserListForRole?_version=9999'
},
getFormModelValuesUrl
:
function
(
query
)
{
...
...
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