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
02724e38
Commit
02724e38
authored
Dec 07, 2021
by
何虹
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
action查询保存
parent
1c37c978
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
7 deletions
+34
-7
hsWebHttpClient.js
dist/hsWebHttpClient.js
+31
-4
hsWebHttpClient.min.js
dist/hsWebHttpClient.min.js
+1
-1
webChartConfig.js
src/packages/modules/webChartConfig.js
+2
-2
No files found.
dist/hsWebHttpClient.js
View file @
02724e38
...
...
@@ -21798,11 +21798,11 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export */
"SEND_BILLS"
:
function
()
{
return
/* binding */
SEND_BILLS
;
},
/* harmony export */
"UN_SEND_BILLS"
:
function
()
{
return
/* binding */
UN_SEND_BILLS
;
},
/* harmony export */
"REJECT_BILLS"
:
function
()
{
return
/* binding */
REJECT_BILLS
;
},
/* harmony export */ "CONFIG_API": function() { return /* binding */ CONFIG_API; },
/* harmony export */
"getWEB_QUERY"
:
function
()
{
return
/* binding */
getWEB_QUERY
;
},
/* harmony export */
"getWEB_QUERY_QUERY"
:
function
()
{
return
/* binding */
getWEB_QUERY_QUERY
;
},
/* harmony export */
"getWEB_QUERY_QUERY_VALUE"
:
function
()
{
return
/* binding */
getWEB_QUERY_QUERY_VALUE
;
},
/* harmony export */ "getWEB_QUERY_PAGE": function() { return /* binding */ getWEB_QUERY_PAGE; }
/* harmony export */
"getWEB_QUERY_PAGE"
:
function
()
{
return
/* binding */
getWEB_QUERY_PAGE
;
},
/* harmony export */
"getPbWebDyncCode"
:
function
()
{
return
/* binding */
getPbWebDyncCode
;
}
/* harmony export */
});
/* harmony import */
var
_commonProxy__WEBPACK_IMPORTED_MODULE_0__
=
__webpack_require__
(
31
);
...
...
@@ -21822,7 +21822,6 @@ 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_API = `${_commonProxy__WEBPACK_IMPORTED_MODULE_0__.CONFIG_PROXY}/`
function
getWEB_QUERY
(
isConfig
)
{
const
start
=
isConfig
?
_commonProxy__WEBPACK_IMPORTED_MODULE_0__
.
CONFIG_PROXY
:
_commonProxy__WEBPACK_IMPORTED_MODULE_0__
.
TOOL_PROXY
return
`
${
start
}
/web_query/`
...
...
@@ -21839,6 +21838,10 @@ function getWEB_QUERY_PAGE(isConfig){
const
start
=
isConfig
?
_commonProxy__WEBPACK_IMPORTED_MODULE_0__
.
CONFIG_PROXY
:
_commonProxy__WEBPACK_IMPORTED_MODULE_0__
.
TOOL_PROXY
return
`
${
start
}
/web_chart_config/query_page/`
}
function
getPbWebDyncCode
(
isConfig
){
const
start
=
isConfig
?
_commonProxy__WEBPACK_IMPORTED_MODULE_0__
.
CONFIG_PROXY
:
_commonProxy__WEBPACK_IMPORTED_MODULE_0__
.
TOOL_PROXY
return
`
${
start
}
/api/queryBi/pbWebDyncCode/`
}
/***/
}),
/* 31 */
...
...
@@ -22133,7 +22136,7 @@ class Control {
const
db_name
=
config_db_name
||
this
.
requestClient
.
getDbName
()
return
db_name
}
hasConfigDb
()
{
hasConfigDb
()
{
return
!!
config_db_name
}
getInitDbConfigParam
()
{
...
...
@@ -22143,6 +22146,30 @@ class Control {
}
:
false
}
// 获取 动态中的action列表
queryBillpbWebDyncCode
(
data
=
{})
{
const
{
appCode
,
pageName
}
=
data
const
param
=
{
app_code
:
appCode
||
this
.
requestClient
.
appCode
,
page_name
:
pageName
||
this
.
requestClient
.
pageName
,
usable
:
1
}
const
url
=
(
0
,
_common_commonModule__WEBPACK_IMPORTED_MODULE_0__
.
getPbWebDyncCode
)(
this
.
hasConfigDb
())
return
this
.
restfulClient
.
get
(
url
,
param
)
}
// 获取 动态中的action列表
saveBillpbWebDyncCode
(
data
=
{})
{
const
{
appCode
,
pageName
,
app_code
,
page_name
}
=
data
if
(
!
appCode
&&
!
app_code
)
{
data
.
app_code
=
this
.
requestClient
.
appCode
}
if
(
!
pageName
&&
!
page_name
)
{
data
.
page_name
=
this
.
requestClient
.
pageName
data
.
page_url
=
this
.
requestClient
.
pageName
}
const
url
=
(
0
,
_common_commonModule__WEBPACK_IMPORTED_MODULE_0__
.
getPbWebDyncCode
)(
this
.
hasConfigDb
())
return
this
.
restfulClient
.
post
(
url
,
data
,
getInitDbConfigParam
)
}
}
/* harmony default export */
__webpack_exports__
[
"default"
]
=
(
Control
);
...
...
dist/hsWebHttpClient.min.js
View file @
02724e38
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/packages/modules/webChartConfig.js
View file @
02724e38
...
...
@@ -279,7 +279,7 @@ class Control {
usable
:
1
}
const
url
=
getPbWebDyncCode
(
this
.
hasConfigDb
())
return
this
.
re
stful
Client
.
get
(
url
,
param
)
return
this
.
re
quest
Client
.
get
(
url
,
param
)
}
// 获取 动态中的action列表
saveBillpbWebDyncCode
(
data
=
{})
{
...
...
@@ -292,7 +292,7 @@ class Control {
data
.
page_url
=
this
.
requestClient
.
pageName
}
const
url
=
getPbWebDyncCode
(
this
.
hasConfigDb
())
return
this
.
re
stful
Client
.
post
(
url
,
data
,
getInitDbConfigParam
)
return
this
.
re
quest
Client
.
post
(
url
,
data
,
getInitDbConfigParam
)
}
}
export
default
Control
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