update 系统设置 数字字典

qianlishi 3 years ago
parent 701c96b2c2
commit b5059ac2c0

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

@ -1,5 +1,5 @@
<template>
<anji-crud ref="listPage" :option="crudOption"> </anji-crud>
<anji-crud ref="listPage" :option="crudOption" />
</template>
<script>
import {
@ -231,11 +231,6 @@ export default {
]
}
};
},
created() {
console.log(this.searchForm.dictCode);
},
methods: {}
}
};
</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>
<anji-crud ref="listPage" :option="crudOption">
<template v-slot:buttonLeftOnTable>
@ -10,7 +18,7 @@
</el-button>
</template>
<template slot="rowButton" slot-scope="props">
<template slot="rowButtonInMore" slot-scope="props">
<el-button
type="text"
@click="editItem(props)"
@ -24,23 +32,6 @@
>刷新字典项</el-button
>
</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>
</template>
<script>
@ -195,8 +186,6 @@ export default {
}
};
},
created() {},
methods: {
//
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>
<anji-crud ref="listPage" :option="crudOption">
<template v-slot:buttonLeftOnTable>
@ -185,7 +193,6 @@ export default {
label: "创建人",
field: "createByView",
columnType: "expand", //
inputType: "input", // input
disabled: true //
},
@ -193,7 +200,6 @@ export default {
label: "创建时间",
field: "createTime",
columnType: "expand",
inputType: "input",
disabled: true
}
@ -209,11 +215,9 @@ export default {
}
},
created() {},
methods: {
//
handleUpload(response, file, fileList) {
console.log(this);
//
this.$refs.listPage.handleQueryForm();
//el-upload
@ -225,7 +229,7 @@ export default {
type: "error"
});
},
async downloadFile(row) {
downloadFile(row) {
window.open(row.urlPath);
},
customButtom(val) {
@ -252,5 +256,6 @@ export default {
<style scoped lang="scss">
.el-upload {
display: inline-block;
margin-right: 20px;
}
</style>
Loading…
Cancel
Save