Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
967a81c8
authored
2024-12-17 16:51:16 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
分类分级任务联调
1 parent
c98554a2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
src/api/modules/dataMetaService.ts
src/utils/request.ts
src/api/modules/dataMetaService.ts
View file @
967a81c
...
...
@@ -68,19 +68,19 @@ export const saveMetaReportAnalysis = (params) => request({
**/
// 树形数据
export
const
getMetaTreeData
=
(
params
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_
PLAN
_BASEURL
}
/meta-table/meta-tree-list`
,
url
:
`
${
import
.
meta
.
env
.
VITE_APP_
CHECK
_BASEURL
}
/meta-table/meta-tree-list`
,
method
:
'post'
,
data
:
params
})
// 数据库汇总信息
export
const
getMetaDatabaseCollect
=
(
params
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_
PLAN
_BASEURL
}
/meta-table/meta-database-collect-list`
,
url
:
`
${
import
.
meta
.
env
.
VITE_APP_
CHECK
_BASEURL
}
/meta-table/meta-database-collect-list`
,
method
:
'post'
,
data
:
params
})
// 库分页查询
export
const
getMetaDataBase
=
(
params
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_
PLAN
_BASEURL
}
/meta-table/meta-table-collect-list`
,
url
:
`
${
import
.
meta
.
env
.
VITE_APP_
CHECK
_BASEURL
}
/meta-table/meta-table-collect-list`
,
method
:
'post'
,
data
:
params
})
...
...
src/utils/request.ts
View file @
967a81c
...
...
@@ -31,7 +31,7 @@ service.interceptors.request.use(
* 为每一次请求生成一个cancleToken
*/
const
source
=
axios
.
CancelToken
.
source
();
config
.
headers
.
tenant
=
'9e5b9d7bfd8c4f4f8079e05de19bf7e0'
;
//会员guid先写死
config
.
headers
.
tenant
=
localStorage
.
getItem
(
'currentTenantGuid'
)
;
//会员guid先写死
config
.
cancelToken
=
source
.
token
;
if
(
config
.
method
===
"postfile"
)
{
config
.
method
=
"post"
;
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment