update 系统设置 数字字典

qianlishi 3 years ago
parent 701c96b2c2
commit b5059ac2c0

@ -192,7 +192,7 @@ export const constantRouterMap = [
{ {
path: 'file', path: 'file',
name: 'file', name: 'file',
component: () => import('@/views/file-management/index'), component: () => import('@/views/fileManagement/index'),
meta: { meta: {
title: '文件管理', title: '文件管理',
icon: 'iconfill_folder', icon: 'iconfill_folder',

@ -1,5 +1,5 @@
<template> <template>
<anji-crud ref="listPage" :option="crudOption"> </anji-crud> <anji-crud ref="listPage" :option="crudOption" />
</template> </template>
<script> <script>
import { import {
@ -231,11 +231,6 @@ export default {
] ]
} }
}; };
}, }
created() {
console.log(this.searchForm.dictCode);
},
methods: {}
}; };
</script> </script>

@ -1,3 +1,11 @@
<!--
* @Descripttion: 系统设置--数字字典
* @version:
* @Author: qianlishi
* @Date: 2021-12-11 14:48:27
* @LastEditors: qianlishi
* @LastEditTime: 2021-12-13 13:18:11
-->
<template> <template>
<anji-crud ref="listPage" :option="crudOption"> <anji-crud ref="listPage" :option="crudOption">
<template v-slot:buttonLeftOnTable> <template v-slot:buttonLeftOnTable>
@ -10,7 +18,7 @@
</el-button> </el-button>
</template> </template>
<template slot="rowButton" slot-scope="props"> <template slot="rowButtonInMore" slot-scope="props">
<el-button <el-button
type="text" type="text"
@click="editItem(props)" @click="editItem(props)"
@ -24,23 +32,6 @@
>刷新字典项</el-button >刷新字典项</el-button
> >
</template> </template>
<!--自定义的卡片插槽将在编辑详情页面出现在底部新卡片-->
<!-- <template v-slot:cardInEditPage>-->
<!-- <div class="anji-card">-->
<!-- <div class="card-head">-->
<!-- 自定义标题-->
<!-- </div>-->
<!-- <div class="card-body">-->
<!-- 自定义内容区-->
<!-- </div>-->
<!-- </div>-->
<!-- </template>-->
<!--这里可以将自定义的弹出框代码放入到page中
<template v-slot:pageSection>
<div>插入底部html片段</div>
</template>
-->
</anji-crud> </anji-crud>
</template> </template>
<script> <script>
@ -195,8 +186,6 @@ export default {
} }
}; };
}, },
created() {},
methods: { methods: {
// //
async dictRefresh() { async dictRefresh() {

@ -1,3 +1,11 @@
<!--
* @Descripttion: 系统设置--文件管理
* @version:
* @Author: qianlishi
* @Date: 2021-12-11 14:48:27
* @LastEditors: qianlishi
* @LastEditTime: 2021-12-13 13:14:13
-->
<template> <template>
<anji-crud ref="listPage" :option="crudOption"> <anji-crud ref="listPage" :option="crudOption">
<template v-slot:buttonLeftOnTable> <template v-slot:buttonLeftOnTable>
@ -185,7 +193,6 @@ export default {
label: "创建人", label: "创建人",
field: "createByView", field: "createByView",
columnType: "expand", // columnType: "expand", //
inputType: "input", // input inputType: "input", // input
disabled: true // disabled: true //
}, },
@ -193,7 +200,6 @@ export default {
label: "创建时间", label: "创建时间",
field: "createTime", field: "createTime",
columnType: "expand", columnType: "expand",
inputType: "input", inputType: "input",
disabled: true disabled: true
} }
@ -209,11 +215,9 @@ export default {
} }
}, },
created() {},
methods: { methods: {
// //
handleUpload(response, file, fileList) { handleUpload(response, file, fileList) {
console.log(this);
// //
this.$refs.listPage.handleQueryForm(); this.$refs.listPage.handleQueryForm();
//el-upload //el-upload
@ -225,7 +229,7 @@ export default {
type: "error" type: "error"
}); });
}, },
async downloadFile(row) { downloadFile(row) {
window.open(row.urlPath); window.open(row.urlPath);
}, },
customButtom(val) { customButtom(val) {
@ -252,5 +256,6 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
.el-upload { .el-upload {
display: inline-block; display: inline-block;
margin-right: 20px;
} }
</style> </style>
Loading…
Cancel
Save