fix: 记账账户管理,去掉新增删除功能。

This commit is contained in:
tianyongbao
2024-07-05 19:12:48 +08:00
parent 79a6d367b5
commit c89ba3ceda
3 changed files with 69 additions and 3 deletions

View File

@@ -30,11 +30,20 @@
"@editorjs/quote": "^2.6.0",
"@editorjs/table": "^2.3.0",
"@element-plus/icons-vue": "^2.0.10",
"@fullcalendar/bootstrap5": "^6.1.14",
"@fullcalendar/core": "^6.1.14",
"@fullcalendar/daygrid": "^6.1.14",
"@fullcalendar/interaction": "^6.1.14",
"@fullcalendar/list": "^6.1.14",
"@fullcalendar/timegrid": "^6.1.14",
"@fullcalendar/vue3": "^6.1.14",
"@vue/eslint-config-prettier": "^7.0.0",
"@vueuse/core": "9.5.0",
"@wangeditor/editor": "^5.1.23",
"@wangeditor/editor-for-vue": "^5.1.12",
"axios": "0.27.2",
"bootstrap": "^5.3.3",
"bootstrap-icons": "^1.11.3",
"echarts": "5.4.0",
"element-plus": "2.2.27",
"eslint-config-prettier": "^8.6.0",

View File

@@ -0,0 +1,57 @@
<template>
<br />
<FullCalendar :options="calendarOptions" />
</template>
<script>
import FullCalendar from '@fullcalendar/vue3'
import dayGridPlugin from '@fullcalendar/daygrid'
import interactionPlugin from '@fullcalendar/interaction'
import timeGridPlugin from '@fullcalendar/timegrid'
import listPlugin from '@fullcalendar/list'
export default {
name: 'ListByCalendar',
components: { FullCalendar },
data() {
return {
calendarOptions: {
plugins: [dayGridPlugin, interactionPlugin, timeGridPlugin, listPlugin],
initialView: 'dayGridMonth',
// themeSystem: 'bootstrap5',
// 语言
locale: 'zh-cn',
// 周起始日
firstDay: 1,
allDayText: '全天',
// 是否可以选中日历格
selectable: true,
// 周次
weekNumbers: true,
headerToolbar: {
left: 'today',
center: 'prevYear,prev title next,nextYear',
right: 'dayGridMonth,timeGridWeek,timeGridDay,listDay'
},
buttonText: {
today: '今天',
month: '月',
week: '周',
day: '日',
list: '列表',
prev: '',
next: '',
prevYear: '«',
nextYear: '»'
}
}
}
}
}
</script>
<style scoped>
:deep(h2) {
display: inline-block;
vertical-align: middle;
}
</style>

View File

@@ -26,8 +26,8 @@
<div class="title-con">
<div class="title">基本信息</div>
<div class="operate-btn-con">
<el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:accounts:add']">新增</el-button>
<el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:accounts:remove']">删除</el-button>
<!-- <el-button @click="handleAdd" icon="Plus" v-hasPermi="['invest:accounts:add']">新增</el-button> -->
<!-- <el-button :disabled="multiple" icon="Delete" @click="handleDelete" v-hasPermi="['invest:accounts:remove']">删除</el-button> -->
<el-button @click="handleExport" icon="Download" v-hasPermi="['invest:accounts:export']">导出</el-button>
</div>
</div>
@@ -241,7 +241,7 @@ const queryTransferRecordParams = ref({
const operateList = ref([
{ id: 'view', icon: 'View', title: '查看', hasPermi: ['invest:accounts:query'] },
{ id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:accounts:edit'] },
{ id: 'delete', icon: 'Delete', title: '删除', hasPermi: ['invest:accounts:remove'] },
// { id: 'delete', icon: 'Delete', title: '删除', hasPermi: ['invest:accounts:remove'] },
{ id: 'dealRecord', icon: 'Tickets', title: '交易记录', hasPermi: ['invest:accounts:query'] },
{ id: 'transDeal', icon: 'Cellphone', title: '转账记录', hasPermi: ['invest:accounts:query'] }
])