Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hsWebHttpClient
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
何虹
hsWebHttpClient
Commits
c2fd96d6
Commit
c2fd96d6
authored
Dec 07, 2021
by
何虹
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
断点
parent
978685df
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
14 deletions
+30
-14
hsWebHttpClient.js
dist/hsWebHttpClient.js
+22
-8
hsWebHttpClient.min.js
dist/hsWebHttpClient.min.js
+1
-1
commonModule.js
src/packages/common/commonModule.js
+2
-2
commonProxy.js
src/packages/common/commonProxy.js
+1
-1
webChartConfig.js
src/packages/modules/webChartConfig.js
+4
-2
No files found.
dist/hsWebHttpClient.js
View file @
c2fd96d6
...
...
@@ -21818,7 +21818,7 @@ const UN_CLOSE_BILLS = `${_commonProxy__WEBPACK_IMPORTED_MODULE_0__.COMMON_UTIL_
const
SEND_BILLS
=
`
${
_commonProxy__WEBPACK_IMPORTED_MODULE_0__
.
COMMON_UTIL_PROXY
}
/send_bills/`
const
UN_SEND_BILLS
=
`
${
_commonProxy__WEBPACK_IMPORTED_MODULE_0__
.
COMMON_UTIL_PROXY
}
/un_send_bills/`
const
REJECT_BILLS
=
`
${
_commonProxy__WEBPACK_IMPORTED_MODULE_0__
.
COMMON_UTIL_PROXY
}
/reject_bills/`
const CONFIG_TOOL_API = `${_commonProxy__WEBPACK_IMPORTED_MODULE_0__.CO
MMON_UTI
L_PROXY}/`
const
CONFIG_TOOL_API
=
`
${
_commonProxy__WEBPACK_IMPORTED_MODULE_0__
.
CO
NFIG_TOO
L_PROXY
}
/`
...
...
@@ -21937,7 +21937,8 @@ class Control {
}
return
this
.
requestClient
.
post
(
this
.
getConfigDbNameApiProxy
()
||
_common_commonModule__WEBPACK_IMPORTED_MODULE_0__
.
WEB_QUERY
,
postData
postData
,
this
.
getInitDbConfigParam
()
)
}
// 查询配置
...
...
@@ -21973,7 +21974,8 @@ class Control {
}
return
this
.
requestClient
.
post
(
this
.
getConfigDbNameApiProxy
()
||
_common_commonModule__WEBPACK_IMPORTED_MODULE_0__
.
WEB_QUERY_QUERY
,
postData
postData
,
this
.
getInitDbConfigParam
()
)
}
// 获取将要另存到本地的配置
...
...
@@ -21987,7 +21989,8 @@ class Control {
}
return
this
.
requestClient
.
post
(
this
.
getConfigDbNameApiProxy
()
||
_common_commonModule__WEBPACK_IMPORTED_MODULE_0__
.
WEB_QUERY_QUERY_VALUE
,
postData
postData
,
this
.
getInitDbConfigParam
()
)
}
// 另存配置
...
...
@@ -22044,7 +22047,8 @@ class Control {
}
return
this
.
requestClient
.
post
(
this
.
getConfigDbNameApiProxy
()
||
_common_commonModule__WEBPACK_IMPORTED_MODULE_0__
.
WEB_QUERY_QUERY
,
postData
postData
,
this
.
getInitDbConfigParam
()
)
}
webChartConfigQueryLog
(
data
=
{})
{
...
...
@@ -22057,7 +22061,8 @@ class Control {
}
return
this
.
requestClient
.
post
(
this
.
getConfigDbNameApiProxy
()
||
_common_commonModule__WEBPACK_IMPORTED_MODULE_0__
.
WEB_QUERY_QUERY
,
postData
postData
,
this
.
getInitDbConfigParam
()
)
}
webChartConfigRevert
(
data
=
{})
{
...
...
@@ -22070,7 +22075,8 @@ class Control {
}
return
this
.
requestClient
.
post
(
this
.
getConfigDbNameApiProxy
()
||
_common_commonModule__WEBPACK_IMPORTED_MODULE_0__
.
WEB_QUERY
,
postData
postData
,
this
.
getInitDbConfigParam
()
)
}
// 控件配置查询
...
...
@@ -22101,7 +22107,8 @@ class Control {
}
return
this
.
requestClient
.
post
(
this
.
getConfigDbNameApiProxy
()
||
_common_commonModule__WEBPACK_IMPORTED_MODULE_0__
.
WEB_QUERY_PAGE
,
postData
postData
,
this
.
getInitDbConfigParam
()
)
}
getRealDbName
()
{
...
...
@@ -22111,6 +22118,13 @@ class Control {
getConfigDbNameApiProxy
()
{
return
config_db_name
?
_common_commonModule__WEBPACK_IMPORTED_MODULE_0__
.
CONFIG_TOOL_API
:
''
}
getInitDbConfigParam
()
{
return
config_db_name
?
{
db_name
:
config_db_name
}
:
false
}
}
/* harmony default export */
__webpack_exports__
[
"default"
]
=
(
Control
);
...
...
dist/hsWebHttpClient.min.js
View file @
c2fd96d6
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/packages/common/commonModule.js
View file @
c2fd96d6
import
{
TOOL_PROXY
,
GQL_PROXY
,
COMMON_UTIL_PROXY
,
SERVICE_PROXY
,
CONFIG_
TOOL_
PROXY
}
from
'./commonProxy'
import
{
TOOL_PROXY
,
GQL_PROXY
,
COMMON_UTIL_PROXY
,
SERVICE_PROXY
,
CONFIG_PROXY
}
from
'./commonProxy'
export
const
WEB_QUERY
=
`
${
TOOL_PROXY
}
/web_query/`
export
const
WEB_QUERY_QUERY
=
`
${
TOOL_PROXY
}
/web_query/query/`
export
const
WEB_QUERY_QUERY_VALUE
=
`
${
TOOL_PROXY
}
/web_query/query_value/`
...
...
@@ -15,5 +15,5 @@ export const UN_CLOSE_BILLS = `${COMMON_UTIL_PROXY}/un_close_bills/`
export
const
SEND_BILLS
=
`
${
COMMON_UTIL_PROXY
}
/send_bills/`
export
const
UN_SEND_BILLS
=
`
${
COMMON_UTIL_PROXY
}
/un_send_bills/`
export
const
REJECT_BILLS
=
`
${
COMMON_UTIL_PROXY
}
/reject_bills/`
export
const
CONFIG_
TOOL_API
=
`
${
CONFIG_TOOL
_PROXY
}
/`
export
const
CONFIG_
API
=
`
${
CONFIG
_PROXY
}
/`
src/packages/common/commonProxy.js
View file @
c2fd96d6
...
...
@@ -6,4 +6,4 @@ export const COMMON_PROXY = 'COMMON_PROXY' // `http://${api}/`
export
const
GQL_PROXY
=
'GQL_PROXY'
// `http://${api}/GQL/api/`
export
const
FILE_RESOURCE_PROXY
=
'FILE_RESOURCE_PROXY'
// `http://${api}/fileresource/api/`
export
const
SERVICE_PROXY
=
'SERVICE_PROXY'
// `SERVICE_PROXY`
export
const
CONFIG_
TOOL_PROXY
=
'CONFIG_TOOL
_PROXY'
// `新模式toolconfig`
export
const
CONFIG_
PROXY
=
'CONFIG
_PROXY'
// `新模式toolconfig`
src/packages/modules/webChartConfig.js
View file @
c2fd96d6
...
...
@@ -3,7 +3,7 @@ import {
WEB_QUERY_QUERY
,
WEB_QUERY_QUERY_VALUE
,
WEB_QUERY_PAGE
,
CONFIG_
TOOL_
API
CONFIG_API
}
from
'../common/commonModule'
import
hsUtil
from
'hs-util-js'
const
urlParam
=
hsUtil
.
SystemModule
.
getUrlParams
()
...
...
@@ -261,7 +261,9 @@ class Control {
return
db_name
}
getConfigDbNameApiProxy
()
{
return
config_db_name
?
CONFIG_TOOL_API
:
''
const
str
=
config_db_name
?
CONFIG_API
:
''
console
.
log
(
str
)
return
str
}
getInitDbConfigParam
()
{
return
config_db_name
...
...
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