Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
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
3b3e5ee5
authored
2022-08-29 10:33:39 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:字典
1 parent
f7e30b59
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
src/store/modules/dict.js
src/views/system/dictionaries/dictionaries.vue
src/store/modules/dict.js
View file @
3b3e5ee
...
...
@@ -15,7 +15,6 @@ const mutations = {
}
const
actions
=
{
// 添加全部字典
generateDic
({
commit
})
{
return
new
Promise
(
async
(
resolve
)
=>
{
let
{
result
:
res
}
=
await
getAllDict
()
...
...
src/views/system/dictionaries/dictionaries.vue
View file @
3b3e5ee
...
...
@@ -17,7 +17,7 @@
<el-col
:span=
"12"
class=
"btnCol"
>
<el-form-item>
<el-button
type=
"primary"
@
click=
"fetchData"
>
查询
</el-button>
<el-button
@
click=
"moreQueryClick()"
>
高级查询
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"handleRefresh"
>
刷新缓存
</el-button>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -78,7 +78,9 @@ export default {
this
.
tableData
.
total
=
total
})
},
moreQueryClick
()
{
},
handleRefresh
()
{
this
.
$store
.
dispatch
(
'dict/generateDic'
)
},
editClick
(
row
,
val
)
{
this
.
details
.
rowData
=
row
this
.
details
.
isenable
=
val
...
...
Please
register
or
sign in
to post a comment