diff --git a/src/api/financial.js b/src/api/financial.js new file mode 100644 index 0000000..c7a34da --- /dev/null +++ b/src/api/financial.js @@ -0,0 +1,15 @@ +import {financialRequest} from '@/utils/api' + +// 金融相关API +export const financialAPI = { + // 登录 + list: (params) => financialRequest.get('/financial/list', {params}), + add: (data) => financialRequest.post('/financial', data), + update: (data) => financialRequest.patch("/financial", data), + delete: (id) => financialRequest.delete(`/financial/${id}`), + getOne: (id) => financialRequest.get(`/financial/${id}`), +} + +export default { + financialAPI +} diff --git a/src/assets/svg/financial.svg b/src/assets/svg/financial.svg new file mode 100644 index 0000000..2cb8f6e --- /dev/null +++ b/src/assets/svg/financial.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/RichTextEditor.vue b/src/components/RichTextEditor.vue index 2d0cf71..9ceaf4a 100644 --- a/src/components/RichTextEditor.vue +++ b/src/components/RichTextEditor.vue @@ -115,7 +115,7 @@ const editorConfig = { fontFamily: { fontFamilyList: [ '黑体', '仿宋', '楷体', '标楷体', '华文仿宋', '华文楷体', '宋体', '微软雅黑', - 'Arial', 'Tahoma', 'Verdana', 'Times New Roman', 'Courier New' + // 'Arial', 'Tahoma', 'Verdana', 'Times New Roman', 'Courier New' ] }, // 配置颜色 diff --git a/src/layout/Layout.vue b/src/layout/Layout.vue index 2dda9e7..7002022 100644 --- a/src/layout/Layout.vue +++ b/src/layout/Layout.vue @@ -3,131 +3,177 @@ - + - + + + - + - + + + - + - + + + - + - + + + - + + + + + + + + + + - + + + - + - + + + - + + + - + + + - + - + + + - +
- + + + + - + {{ item.title }}
- +
- + + + - + - + + + - + + + \ No newline at end of file diff --git a/src/views/Program.vue b/src/views/Program.vue index 789d773..841ceb7 100644 --- a/src/views/Program.vue +++ b/src/views/Program.vue @@ -170,7 +170,7 @@ - + @@ -388,7 +388,7 @@ const reset = () => { introduction: undefined, paymentMethod: undefined } - formRef.value.resetForm() + proxy.$refs["formRef"].resetFields() } const cancel = () => { diff --git a/vite.config.js b/vite.config.js index 8399b31..3a5413f 100644 --- a/vite.config.js +++ b/vite.config.js @@ -47,6 +47,11 @@ export default defineConfig({ changeOrigin: true, rewrite: (path) => path.replace(/^\/message/, '') }, + '/financial':{ + target: 'http://192.168.0.15:3008', + changeOrigin: true, + rewrite: (path) => path.replace(/^\/financial/, '') + }, '/uploads': { target: 'https://test.zrbjr.com', changeOrigin: true