3b3e5ee5 by 任超

style:字典

1 parent f7e30b59
......@@ -15,7 +15,6 @@ const mutations = {
}
const actions = {
// 添加全部字典
generateDic ({ commit }) {
return new Promise(async (resolve) => {
let { result: res } = await getAllDict()
......
......@@ -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
......