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
c70996d6
authored
2025-06-21 14:29:52 +0800
by
fanguang
Committed by
lihua
2025-06-30 14:28:21 +0800
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
15334b20
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
src/api/modules/dataMetaService.ts
src/views/data_meta/components/dictFileds.vue
src/api/modules/dataMetaService.ts
View file @
c70996d
...
...
@@ -311,5 +311,6 @@ export const deleteStandardCodeFieldsData = (params) => request({
export
const
exportStandardCodeData
=
(
params
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_STANDARD_URL
}
/standard-code/data/data-export`
,
method
:
'post'
,
data
:
params
data
:
params
,
responseType
:
'blob'
})
\ No newline at end of file
...
...
src/views/data_meta/components/dictFileds.vue
View file @
c70996d
...
...
@@ -215,7 +215,7 @@ const toolBtnClick = (btn) => {
})
}
})
}
}
}
const
tableBtnClick
=
(
scope
,
btn
)
=>
{
...
...
@@ -266,7 +266,7 @@ const exportData = (type: any = null) => {
}
exportStandardCodeData
(
body
).
then
((
res
:
any
)
=>
{
if
(
res
&&
!
res
.
msg
)
{
download
(
res
,
'标准代码表.xlsx'
,
'excel'
)
download
(
res
,
`
${
standardName
.
value
}
.xlsx`
,
'excel'
)
}
else
{
res
?.
msg
&&
ElMessage
.
error
(
res
?.
msg
);
}
...
...
@@ -582,6 +582,7 @@ defineExpose({
<el-button
@
click=
"batching('delete')"
v-preReClick
:disabled=
"loading"
>
批量删除
</el-button>
<el-button
@
click=
"toolBtnClick(
{ value: 'import' })" v-preReClick :disabled="loading">导入数据
</el-button>
<el-button
@
click=
"toolBtnClick(
{ value: 'export' })" v-preReClick :disabled="loading">导出数据
</el-button>
<el-button
@
click=
"getFirstPageData"
v-preReClick
:disabled=
"loading"
>
刷新结果
</el-button>
</div>
<!--
<el-input
class=
"table_search_input"
v-model
.
trim=
"tableSearchInput"
placeholder=
"输入名称搜索"
:suffix-icon=
"Search"
clearable
@
change=
"val => toSearch(
{})" /> -->
...
...
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