mirror of
https://gitee.com/anji-plus/report.git
synced 2026-03-24 09:48:34 +08:00
update 系统设置 数字字典
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user