commit bcafab2ab0ce60838af509cc6700c9bed5267399 Author: 于阔 Date: Mon Oct 28 14:45:49 2024 +0800 Init diff --git a/.env.base b/.env.base new file mode 100644 index 0000000..72f7033 --- /dev/null +++ b/.env.base @@ -0,0 +1,14 @@ +# 环境 +NODE_ENV=development + +# 接口前缀 +VITE_API_BASE_PATH=base + +# 打包路径 +VITE_BASE_PATH=/ + +# 标题 +VITE_APP_TITLE=东方国信 + +# 是否使用在线图标 +VITE_USE_ONLINE_ICON=true diff --git a/.env.dev b/.env.dev new file mode 100644 index 0000000..f8da9b8 --- /dev/null +++ b/.env.dev @@ -0,0 +1,26 @@ +# 环境 +NODE_ENV=production + +# 接口前缀-用于2.0系统尝试1 +VITE_API_BASE_PATH=dev + +# 打包路径 +VITE_BASE_PATH=./ + +# 是否删除debugger +VITE_DROP_DEBUGGER=true + +# 是否删除console.log +VITE_DROP_CONSOLE=true + +# 是否sourcemap +VITE_SOURCEMAP=true + +# 输出路径 +VITE_OUT_DIR=dist-dev + +# 标题 +VITE_APP_TITLE=东方国信 + +# 是否使用在线图标 +VITE_USE_ONLINE_ICON=true diff --git a/.env.gitee b/.env.gitee new file mode 100644 index 0000000..ebe7dec --- /dev/null +++ b/.env.gitee @@ -0,0 +1,26 @@ +# 环境 +NODE_ENV=production + +# 接口前缀 +VITE_API_BASE_PATH=pro + +# 打包路径 +VITE_BASE_PATH=/vue-element-plus-admin/ + +# 是否删除debugger +VITE_DROP_DEBUGGER=true + +# 是否删除console.log +VITE_DROP_CONSOLE=true + +# 是否sourcemap +VITE_SOURCEMAP=false + +# 输出路径 +VITE_OUT_DIR=dist-pro + +# 标题 +VITE_APP_TITLE=东方国信 + +# 是否使用在线图标 +VITE_USE_ONLINE_ICON=true diff --git a/.env.pro b/.env.pro new file mode 100644 index 0000000..b1db8b6 --- /dev/null +++ b/.env.pro @@ -0,0 +1,26 @@ +# 环境 +NODE_ENV=production + +# 接口前缀 +VITE_API_BASE_PATH=pro + +# 打包路径 +VITE_BASE_PATH=./ + +# 是否删除debugger +VITE_DROP_DEBUGGER=true + +# 是否删除console.log +VITE_DROP_CONSOLE=true + +# 是否sourcemap +VITE_SOURCEMAP=false + +# 输出路径 +VITE_OUT_DIR=dist-pro + +# 标题 +VITE_APP_TITLE=东方国信 + +# 是否使用在线图标 +VITE_USE_ONLINE_ICON=false diff --git a/.env.test b/.env.test new file mode 100644 index 0000000..04a3f89 --- /dev/null +++ b/.env.test @@ -0,0 +1,26 @@ +# 环境 +NODE_ENV=production + +# 接口前缀 +VITE_API_BASE_PATH=test + +# 打包路径 +VITE_BASE_PATH=/dist-test/ + +# 是否删除debugger +VITE_DROP_DEBUGGER=false + +# 是否删除console.log +VITE_DROP_CONSOLE=false + +# 是否sourcemap +VITE_SOURCEMAP=true + +# 输出路径 +VITE_OUT_DIR=dist-test + +# 标题 +VITE_APP_TITLE=BONC + +# 是否使用在线图标 +VITE_USE_ONLINE_ICON=true diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..1e85c0f --- /dev/null +++ b/.eslintignore @@ -0,0 +1,8 @@ +/build/ +/config/ +/dist/ +/*.js +/test/unit/coverage/ +/node_modules/* +/dist* +/src/main.ts diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..c9610ba --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,70 @@ +// @ts-check +const { defineConfig } = require('eslint-define-config') +module.exports = defineConfig({ + root: true, + env: { + browser: true, + node: true, + es6: true + }, + parser: 'vue-eslint-parser', + parserOptions: { + parser: '@typescript-eslint/parser', + ecmaVersion: 2020, + sourceType: 'module', + jsxPragma: 'React', + ecmaFeatures: { + jsx: true + } + }, + extends: [ + 'plugin:vue/vue3-recommended', + 'plugin:@typescript-eslint/recommended', + // 'prettier', + // 'plugin:prettier/recommended' + ], + rules: { + 'vue/no-setup-props-destructure': 'off', + 'vue/script-setup-uses-vars': 'error', + 'vue/no-reserved-component-names': 'off', + '@typescript-eslint/ban-ts-ignore': 'off', + '@typescript-eslint/explicit-function-return-type': 'off', + '@typescript-eslint/no-explicit-any': 'off', + '@typescript-eslint/no-var-requires': 'off', + '@typescript-eslint/no-empty-function': 'off', + 'vue/custom-event-name-casing': 'off', + 'no-use-before-define': 'off', + '@typescript-eslint/no-use-before-define': 'off', + '@typescript-eslint/ban-ts-comment': 'off', + '@typescript-eslint/ban-types': 'off', + '@typescript-eslint/no-non-null-assertion': 'off', + '@typescript-eslint/explicit-module-boundary-types': 'off', + '@typescript-eslint/no-unused-vars': 'off', + 'no-unused-vars': 'off', + 'space-before-function-paren': 'off', + + 'vue/attributes-order': 'off', + 'vue/one-component-per-file': 'off', + 'vue/html-closing-bracket-newline': 'off', + 'vue/max-attributes-per-line': 'off', + 'vue/multiline-html-element-content-newline': 'off', + 'vue/singleline-html-element-content-newline': 'off', + 'vue/attribute-hyphenation': 'off', + 'vue/require-default-prop': 'off', + 'vue/require-explicit-emits': 'off', + 'vue/html-self-closing': [ + 'error', + { + html: { + void: 'always', + normal: 'never', + component: 'always' + }, + svg: 'always', + math: 'always' + } + ], + 'vue/multi-word-component-names': 'off', + 'vue/no-v-html': 'off' + } +}) diff --git a/.fleet/settings.json b/.fleet/settings.json new file mode 100644 index 0000000..9351bc7 --- /dev/null +++ b/.fleet/settings.json @@ -0,0 +1,6 @@ +{ + "editor.guides": [], + "toolchains": [], + "nodejs.typescript.node.options": "", + "nodejs.typescript.rebuildOnChanges": false +} \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e401f40 --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +node_modules +.DS_Store +.vscode +dist +dist-ssr +*.local +/dist* +*-lock.* +pnpm-debug +dist-pro +dist-dev +.idea diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..15cf071 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,10 @@ +/node_modules/** +/dist/ +/dist* +/public/* +/docs/* +/vite.config.ts +/src/types/env.d.ts +/docs/**/* +/plop/**/* +CHANGELOG diff --git a/.stylelintignore b/.stylelintignore new file mode 100644 index 0000000..aa605b4 --- /dev/null +++ b/.stylelintignore @@ -0,0 +1,6 @@ +/dist/* +/public/* +public/* +/dist* +/src/types/env.d.ts +/docs/**/* diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9861118 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021-present Archer + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..9126f1b --- /dev/null +++ b/README.md @@ -0,0 +1,62 @@ +

krm-admin-ui

+ + +## 介绍 + +krm-admin-ui 是一套基于vue3、element-plus、typesScript、vite4的后台集成方案。 + +## 特性 + +- **最新技术栈**:使用 Vue3/vite4 等前端前沿技术开发 +- **TypeScript**: 应用程序级 JavaScript 的语言 +- **主题**: 可配置的主题 +- **国际化**:内置完善的国际化方案 +- **自定义数据** 内置 Mock 数据方案 +- **权限** 内置完善的动态路由权限生成方案 +- **组件** 二次封装了多个常用的组件 +- **示例** 内置丰富的示例 + +## 前序准备 + +- [node](http://nodejs.org/) 和 [git](https://git-scm.com/) - 项目开发环境 +- [Vite4](https://vitejs.dev/) - 熟悉 vite 特性 +- [Vue3](https://v3.vuejs.org/) - 熟悉 Vue 基础语法 +- [TypeScript](https://www.typescriptlang.org/) - 熟悉 `TypeScript` 基本语法 +- [Es6+](http://es6.ruanyifeng.com/) - 熟悉 es6 基本语法 +- [Vue-Router-Next](https://next.router.vuejs.org/) - 熟悉 vue-router 基本使用 +- [Element-Plus](https://element-plus.org/) - element-plus 基本使用 +- [Mock.js](https://github.com/nuysoft/Mock) - mockjs 基本语法 + +## 安装和使用 + +- 安装依赖 + +```bash +cd krm-admin-ui + +pnpm install + +``` + +- 运行 + +```bash +pnpm run dev +``` + +- 打包正常使用反洗钱 + +```bash +pnpm run build:pro +``` + +-将反洗钱加入到2.8系统打包 +```bash +pnpm run build:dev +``` + +## 许可证 + +[MIT](./LICENSE) + +## 将界面嵌入到2.8系统使用route中routeRep中apply2版本,正常反洗钱使用apply3版本 \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..507d616 --- /dev/null +++ b/index.html @@ -0,0 +1,142 @@ + + + + + + + <%= title %> + + +
+ +
+
+
+ +
<%= title %>
+
+
+
+
+
+
+
+
+ + + diff --git a/mock/_createProductionServer.ts b/mock/_createProductionServer.ts new file mode 100644 index 0000000..caa26bf --- /dev/null +++ b/mock/_createProductionServer.ts @@ -0,0 +1,18 @@ +import { createProdMockServer } from 'vite-plugin-mock/es/createProdMockServer' + +const modules = import.meta.glob('./**/*.ts', { + import: 'default', + eager: true +}) + +const mockModules: any[] = [] +Object.keys(modules).forEach(async (key) => { + if (key.includes('_')) { + return + } + mockModules.push(...(modules[key] as any)) +}) + +export function setupProdMockServer() { + createProdMockServer(mockModules) +} diff --git a/mock/analysis/index.ts b/mock/analysis/index.ts new file mode 100644 index 0000000..3128049 --- /dev/null +++ b/mock/analysis/index.ts @@ -0,0 +1,89 @@ +import config from '@/config/axios/config' +import { MockMethod } from 'vite-plugin-mock' + +const { code } = config + +const timeout = 1000 + +export default [ + // 分析页统计接口 + { + url: '/analysis/total', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: { + users: 102400, + messages: 81212, + moneys: 9280, + shoppings: 13600 + } + } + } + }, + // 用户来源 + { + url: '/analysis/userAccessSource', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: [ + { value: 1000, name: 'analysis.directAccess' }, + { value: 310, name: 'analysis.mailMarketing' }, + { value: 234, name: 'analysis.allianceAdvertising' }, + { value: 135, name: 'analysis.videoAdvertising' }, + { value: 1548, name: 'analysis.searchEngines' } + ] + } + } + }, + // 每周用户活跃量 + { + url: '/analysis/weeklyUserActivity', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: [ + { value: 13253, name: 'analysis.monday' }, + { value: 34235, name: 'analysis.tuesday' }, + { value: 26321, name: 'analysis.wednesday' }, + { value: 12340, name: 'analysis.thursday' }, + { value: 24643, name: 'analysis.friday' }, + { value: 1322, name: 'analysis.saturday' }, + { value: 1324, name: 'analysis.sunday' } + ] + } + } + }, + // 每月销售额 + { + url: '/analysis/monthlySales', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: [ + { estimate: 100, actual: 120, name: 'analysis.january' }, + { estimate: 120, actual: 82, name: 'analysis.february' }, + { estimate: 161, actual: 91, name: 'analysis.march' }, + { estimate: 134, actual: 154, name: 'analysis.april' }, + { estimate: 105, actual: 162, name: 'analysis.may' }, + { estimate: 160, actual: 140, name: 'analysis.june' }, + { estimate: 165, actual: 145, name: 'analysis.july' }, + { estimate: 114, actual: 250, name: 'analysis.august' }, + { estimate: 163, actual: 134, name: 'analysis.september' }, + { estimate: 185, actual: 56, name: 'analysis.october' }, + { estimate: 118, actual: 99, name: 'analysis.november' }, + { estimate: 123, actual: 123, name: 'analysis.december' } + ] + } + } + } +] as MockMethod[] diff --git a/mock/department/index.ts b/mock/department/index.ts new file mode 100644 index 0000000..67ac648 --- /dev/null +++ b/mock/department/index.ts @@ -0,0 +1,205 @@ +import config from '@/config/axios/config' +import { MockMethod } from 'vite-plugin-mock' +import { toAnyString } from '@/utils' +import Mock from 'mockjs' + +const { code } = config + +const departmentList: any = [] + +const citys = ['厦门总公司', '北京分公司', '上海分公司', '福州分公司', '深圳分公司', '杭州分公司'] + +for (let i = 0; i < 5; i++) { + departmentList.push({ + // 部门名称 + departmentName: citys[i], + id: toAnyString(), + createTime: '@datetime', + // 状态 + status: Mock.Random.integer(0, 1), + // 备注 + remark: '@cword(10, 15)', + children: [ + { + // 部门名称 + departmentName: '研发部', + createTime: '@datetime', + // 状态 + status: Mock.Random.integer(0, 1), + id: toAnyString(), + remark: '@cword(10, 15)' + }, + { + // 部门名称 + departmentName: '产品部', + createTime: '@datetime', + // 状态 + status: Mock.Random.integer(0, 1), + id: toAnyString(), + remark: '@cword(10, 15)' + }, + { + // 部门名称 + departmentName: '运营部', + createTime: '@datetime', + // 状态 + status: Mock.Random.integer(0, 1), + id: toAnyString(), + remark: '@cword(10, 15)' + }, + { + // 部门名称 + departmentName: '市场部', + createTime: '@datetime', + // 状态 + status: Mock.Random.integer(0, 1), + id: toAnyString(), + remark: '@cword(10, 15)' + }, + { + // 部门名称 + departmentName: '销售部', + createTime: '@datetime', + // 状态 + status: Mock.Random.integer(0, 1), + id: toAnyString(), + remark: '@cword(10, 15)' + }, + { + // 部门名称 + departmentName: '客服部', + createTime: '@datetime', + // 状态 + status: Mock.Random.integer(0, 1), + id: toAnyString(), + remark: '@cword(10, 15)' + } + ] + }) +} + +export default [ + // 列表接口 + { + url: '/department/list', + method: 'get', + response: () => { + return { + code: code, + data: { + list: departmentList + } + } + } + }, + { + url: '/department/table/list', + method: 'get', + response: () => { + return { + code: code, + data: { + list: departmentList, + total: 5 + } + } + } + }, + { + url: '/department/users', + method: 'get', + timeout: 1000, + response: ({ query }) => { + const { pageSize } = query + // 根据pageSize来创建数据 + const mockList: any = [] + for (let i = 0; i < pageSize; i++) { + mockList.push( + Mock.mock({ + // 用户名 + username: '@cname', + // 账号 + account: '@first', + // 邮箱 + email: '@EMAIL', + // 创建时间 + createTime: '@datetime', + // 角色 + role: '@first', + // 用户id + id: toAnyString() + }) + ) + } + return { + code: code, + data: { + total: 100, + list: mockList + } + } + } + }, + // 保存接口 + { + url: '/department/user/save', + method: 'post', + timeout: 1000, + response: () => { + return { + code: code, + data: 'success' + } + } + }, + // 删除接口 + { + url: '/department/user/delete', + method: 'post', + response: ({ body }) => { + const ids = body.ids + if (!ids) { + return { + code: 500, + message: '请选择需要删除的数据' + } + } else { + return { + code: code, + data: 'success' + } + } + } + }, + // 保存接口 + { + url: '/department/save', + method: 'post', + timeout: 1000, + response: () => { + return { + code: code, + data: 'success' + } + } + }, + // 删除接口 + { + url: '/department/delete', + method: 'post', + response: ({ body }) => { + const ids = body.ids + if (!ids) { + return { + code: 500, + message: '请选择需要删除的数据' + } + } else { + return { + code: code, + data: 'success' + } + } + } + } +] as MockMethod[] diff --git a/mock/dict/index.ts b/mock/dict/index.ts new file mode 100644 index 0000000..00230b8 --- /dev/null +++ b/mock/dict/index.ts @@ -0,0 +1,63 @@ +import config from '@/config/axios/config' +import { MockMethod } from 'vite-plugin-mock' + +const { code } = config + +const timeout = 1000 + +const dictObj: Recordable = { + importance: [ + { + value: 0, + label: 'tableDemo.commonly' + }, + { + value: 1, + label: 'tableDemo.good' + }, + { + value: 2, + label: 'tableDemo.important' + } + ] +} + +export default [ + // 字典接口 + { + url: '/dict/list', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: dictObj + } + } + }, + // 获取某个字典 + { + url: '/dict/one', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: [ + { + label: 'test1', + value: 0 + }, + { + label: 'test2', + value: 1 + }, + { + label: 'test3', + value: 2 + } + ] + } + } + } +] as MockMethod[] diff --git a/mock/menu/index.ts b/mock/menu/index.ts new file mode 100644 index 0000000..488b82c --- /dev/null +++ b/mock/menu/index.ts @@ -0,0 +1,265 @@ +import config from '@/config/axios/config' +import { MockMethod } from 'vite-plugin-mock' +import Mock from 'mockjs' + +const { code } = config + +const timeout = 1000 + +export default [ + // 列表接口 + { + url: '/menu/list', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: { + list: [ + { + path: '/dashboard', + component: '#', + redirect: '/dashboard/analysis', + name: 'Dashboard', + status: Mock.Random.integer(0, 1), + id: 1, + title: '首页', + meta: { + title: '首页', + icon: 'ant-design:dashboard-filled', + alwaysShow: true + }, + children: [ + { + path: 'analysis', + component: 'views/Dashboard/Analysis', + name: 'Analysis', + status: Mock.Random.integer(0, 1), + id: 2, + title: '分析页', + meta: { + title: '分析页', + noCache: true + } + }, + { + path: 'workplace', + component: 'views/Dashboard/Workplace', + name: 'Workplace', + status: Mock.Random.integer(0, 1), + id: 3, + title: '工作台', + meta: { + title: '工作台', + noCache: true + } + } + ] + }, + { + path: '/external-link', + component: '#', + title: '文档', + meta: { + title: '文档', + icon: 'clarity:document-solid' + }, + name: 'ExternalLink', + status: Mock.Random.integer(0, 1), + id: 4, + children: [ + { + path: 'https://element-plus-admin-doc.cn/', + name: 'DocumentLink', + status: Mock.Random.integer(0, 1), + id: 5, + title: '文档', + meta: { + title: '文档' + } + } + ] + }, + { + path: '/level', + component: '#', + redirect: '/level/menu1/menu1-1/menu1-1-1', + name: 'Level', + status: Mock.Random.integer(0, 1), + id: 6, + title: '菜单', + meta: { + title: '菜单', + icon: 'carbon:skill-level-advanced' + }, + children: [ + { + path: 'menu1', + name: 'Menu1', + component: '##', + status: Mock.Random.integer(0, 1), + id: 7, + redirect: '/level/menu1/menu1-1/menu1-1-1', + title: '菜单1', + meta: { + title: '菜单1' + }, + children: [ + { + path: 'menu1-1', + name: 'Menu11', + component: '##', + status: Mock.Random.integer(0, 1), + id: 8, + redirect: '/level/menu1/menu1-1/menu1-1-1', + title: '菜单1-1', + meta: { + title: '菜单1-1', + alwaysShow: true + }, + children: [ + { + path: 'menu1-1-1', + name: 'Menu111', + component: 'views/Level/Menu111', + status: Mock.Random.integer(0, 1), + id: 9, + permission: ['edit', 'add', 'delete'], + title: '菜单1-1-1', + meta: { + title: '菜单1-1-1' + } + } + ] + }, + { + path: 'menu1-2', + name: 'Menu12', + component: 'views/Level/Menu12', + status: Mock.Random.integer(0, 1), + id: 10, + permission: ['edit', 'add', 'delete'], + title: '菜单1-2', + meta: { + title: '菜单1-2' + } + } + ] + }, + { + path: 'menu2', + name: 'Menu2Demo', + component: 'views/Level/Menu2', + status: Mock.Random.integer(0, 1), + id: 11, + permission: ['edit', 'add', 'delete'], + title: '菜单2', + meta: { + title: '菜单2' + } + } + ] + }, + { + path: '/example', + component: '#', + redirect: '/example/example-dialog', + name: 'Example', + status: Mock.Random.integer(0, 1), + id: 12, + title: '综合示例', + meta: { + title: '综合示例', + icon: 'ep:management', + alwaysShow: true + }, + children: [ + { + path: 'example-dialog', + component: 'views/Example/Dialog/ExampleDialog', + name: 'ExampleDialog', + status: Mock.Random.integer(0, 1), + id: 13, + title: '综合示例-弹窗', + permission: ['edit', 'add', 'delete'], + meta: { + title: '综合示例-弹窗', + permission: ['edit', 'add'] + } + }, + { + path: 'example-page', + component: 'views/Example/Page/ExamplePage', + name: 'ExamplePage', + status: Mock.Random.integer(0, 1), + id: 14, + permission: ['edit', 'add', 'delete'], + title: '综合示例-页面', + meta: { + title: '综合示例-页面', + permission: ['edit', 'add'] + } + }, + { + path: 'example-add', + component: 'views/Example/Page/ExampleAdd', + name: 'ExampleAdd', + status: Mock.Random.integer(0, 1), + id: 15, + permission: ['edit', 'add', 'delete'], + title: '综合示例-新增', + meta: { + title: '综合示例-新增', + noTagsView: true, + noCache: true, + hidden: true, + showMainRoute: true, + activeMenu: '/example/example-page', + permission: ['delete', 'add'] + } + }, + { + path: 'example-edit', + component: 'views/Example/Page/ExampleEdit', + name: 'ExampleEdit', + status: Mock.Random.integer(0, 1), + id: 16, + permission: ['edit', 'add', 'delete'], + title: '综合示例-编辑', + meta: { + title: '综合示例-编辑', + noTagsView: true, + noCache: true, + hidden: true, + showMainRoute: true, + activeMenu: '/example/example-page', + permission: ['delete', 'add'] + } + }, + { + path: 'example-detail', + component: 'views/Example/Page/ExampleDetail', + name: 'ExampleDetail', + status: Mock.Random.integer(0, 1), + id: 17, + permission: ['edit', 'add', 'delete'], + title: '综合示例-详情', + meta: { + title: '综合示例-详情', + noTagsView: true, + noCache: true, + hidden: true, + showMainRoute: true, + activeMenu: '/example/example-page', + permission: ['delete', 'edit'] + } + } + ] + } + ] + } + } + } + } +] as MockMethod[] diff --git a/mock/request/index.ts b/mock/request/index.ts new file mode 100644 index 0000000..c926137 --- /dev/null +++ b/mock/request/index.ts @@ -0,0 +1,64 @@ +import config from '@/config/axios/config' +import { MockMethod } from 'vite-plugin-mock' + +const timeout = 600000 + +const { code } = config + +export default [ + { + url: '/request/1', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: 'request-1' + } + } + }, + { + url: '/request/2', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: 'request-2' + } + } + }, + { + url: '/request/3', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: 'request-3' + } + } + }, + { + url: '/request/4', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: 'request-4' + } + } + }, + { + url: '/request/5', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: 'request-5' + } + } + } +] as MockMethod[] diff --git a/mock/role/index.ts b/mock/role/index.ts new file mode 100644 index 0000000..b90f239 --- /dev/null +++ b/mock/role/index.ts @@ -0,0 +1,1180 @@ +import config from '@/config/axios/config' +import { MockMethod } from 'vite-plugin-mock' +import Mock from 'mockjs' +import { toAnyString } from '@/utils' + +const { code } = config + +const timeout = 1000 + +const adminList = [ + { + path: '/dashboard', + component: '#', + redirect: '/dashboard/analysis', + name: 'Dashboard', + meta: { + title: 'router.dashboard', + icon: 'ant-design:dashboard-filled', + alwaysShow: true + }, + children: [ + { + path: 'analysis', + component: 'views/Dashboard/Analysis', + name: 'Analysis', + meta: { + title: 'router.analysis', + noCache: true + } + }, + { + path: 'workplace', + component: 'views/Dashboard/Workplace', + name: 'Workplace', + meta: { + title: 'router.workplace', + noCache: true + } + } + ] + }, + { + path: '/external-link', + component: '#', + meta: {}, + name: 'ExternalLink', + children: [ + { + path: 'https://element-plus-admin-doc.cn/', + name: 'DocumentLink', + meta: { + title: 'router.document', + icon: 'clarity:document-solid' + } + } + ] + }, + { + path: '/guide', + component: '#', + name: 'Guide', + meta: {}, + children: [ + { + path: 'index', + component: 'views/Guide/Guide', + name: 'GuideDemo', + meta: { + title: 'router.guide', + icon: 'cib:telegram-plane' + } + } + ] + }, + { + path: '/components', + component: '#', + redirect: '/components/form/default-form', + name: 'ComponentsDemo', + meta: { + title: 'router.component', + icon: 'bx:bxs-component', + alwaysShow: true + }, + children: [ + { + path: 'form', + component: '##', + name: 'Form', + meta: { + title: 'router.form', + alwaysShow: true + }, + children: [ + { + path: 'default-form', + component: 'views/Components/Form/DefaultForm', + name: 'DefaultForm', + meta: { + title: 'router.defaultForm' + } + }, + { + path: 'use-form', + component: 'views/Components/Form/UseFormDemo', + name: 'UseForm', + meta: { + title: 'UseForm' + } + } + ] + }, + { + path: 'table', + component: '##', + redirect: '/components/table/default-table', + name: 'TableDemo', + meta: { + title: 'router.table', + alwaysShow: true + }, + children: [ + { + path: 'default-table', + component: 'views/Components/Table/DefaultTable', + name: 'DefaultTable', + meta: { + title: 'router.defaultTable' + } + }, + { + path: 'use-table', + component: 'views/Components/Table/UseTableDemo', + name: 'UseTable', + meta: { + title: 'UseTable' + } + }, + { + path: 'tree-table', + component: 'views/Components/Table/TreeTable', + name: 'TreeTable', + meta: { + title: 'TreeTable' + } + }, + { + path: 'table-image-preview', + component: 'views/Components/Table/TableImagePreview', + name: 'TableImagePreview', + meta: { + title: 'router.PicturePreview' + } + } + // { + // path: 'ref-table', + // component: 'views/Components/Table/RefTable', + // name: 'RefTable', + // meta: { + // title: 'RefTable' + // } + // } + ] + }, + { + path: 'editor-demo', + component: '##', + redirect: '/components/editor-demo/editor', + name: 'EditorDemo', + meta: { + title: 'router.editor', + alwaysShow: true + }, + children: [ + { + path: 'editor', + component: 'views/Components/Editor/Editor', + name: 'Editor', + meta: { + title: 'router.richText' + } + }, + { + path: 'json-editor', + component: 'views/Components/Editor/JsonEditor', + name: 'JsonEditor', + meta: { + title: 'router.jsonEditor' + } + } + ] + }, + { + path: 'search', + component: 'views/Components/Search', + name: 'Search', + meta: { + title: 'router.search' + } + }, + { + path: 'descriptions', + component: 'views/Components/Descriptions', + name: 'Descriptions', + meta: { + title: 'router.descriptions' + } + }, + { + path: 'image-viewer', + component: 'views/Components/ImageViewer', + name: 'ImageViewer', + meta: { + title: 'router.imageViewer' + } + }, + { + path: 'dialog', + component: 'views/Components/Dialog', + name: 'Dialog', + meta: { + title: 'router.dialog' + } + }, + { + path: 'icon', + component: 'views/Components/Icon', + name: 'Icon', + meta: { + title: 'router.icon' + } + }, + { + path: 'icon-picker', + component: 'views/Components/IconPicker', + name: 'IconPicker', + meta: { + title: 'router.iconPicker' + } + }, + { + path: 'echart', + component: 'views/Components/Echart', + name: 'Echart', + meta: { + title: 'router.echart' + } + }, + { + path: 'count-to', + component: 'views/Components/CountTo', + name: 'CountTo', + meta: { + title: 'router.countTo' + } + }, + { + path: 'qrcode', + component: 'views/Components/Qrcode', + name: 'Qrcode', + meta: { + title: 'router.qrcode' + } + }, + { + path: 'highlight', + component: 'views/Components/Highlight', + name: 'Highlight', + meta: { + title: 'router.highlight' + } + }, + { + path: 'infotip', + component: 'views/Components/Infotip', + name: 'Infotip', + meta: { + title: 'router.infotip' + } + }, + { + path: 'input-password', + component: 'views/Components/InputPassword', + name: 'InputPassword', + meta: { + title: 'router.inputPassword' + } + }, + { + path: 'waterfall', + component: 'views/Components/Waterfall', + name: 'Waterfall', + meta: { + title: 'router.waterfall' + } + } + ] + }, + { + path: '/function', + component: '#', + redirect: '/function/multipleTabs', + name: 'Function', + meta: { + title: 'router.function', + icon: 'ri:function-fill', + alwaysShow: true + }, + children: [ + { + path: 'multipleTabs', + component: 'views/Function/MultipleTabs', + name: 'MultipleTabs', + meta: { + title: 'router.multipleTabs' + } + }, + { + path: 'multipleTabs-demo/:id', + component: 'views/Function/MultipleTabsDemo', + name: 'MultipleTabsDemo', + meta: { + hidden: true, + title: 'router.details', + canTo: true + } + }, + { + path: 'request', + component: 'views/Function/Request', + name: 'Request', + meta: { + title: 'router.request' + } + }, + { + path: 'test', + component: () => 'views/Function/Test', + name: 'Test', + meta: { + title: 'router.permission', + permission: ['add', 'edit', 'delete'] + } + } + ] + }, + { + path: '/hooks', + component: '#', + redirect: '/hooks/useWatermark', + name: 'Hooks', + meta: { + title: 'hooks', + icon: 'ic:outline-webhook', + alwaysShow: true + }, + children: [ + { + path: 'useWatermark', + component: 'views/hooks/useWatermark', + name: 'UseWatermark', + meta: { + title: 'useWatermark' + } + }, + { + path: 'useTagsView', + component: 'views/hooks/useTagsView', + name: 'UseTagsView', + meta: { + title: 'useTagsView' + } + }, + { + path: 'useValidator', + component: 'views/hooks/useValidator', + name: 'UseValidator', + meta: { + title: 'useValidator' + } + }, + { + path: 'useCrudSchemas', + component: 'views/hooks/useCrudSchemas', + name: 'UseCrudSchemas', + meta: { + title: 'useCrudSchemas' + } + }, + { + path: 'useClipboard', + component: 'views/hooks/useClipboard', + name: 'UseClipboard', + meta: { + title: 'useClipboard' + } + }, + { + path: 'useNetwork', + component: 'views/hooks/useNetwork', + name: 'UseNetwork', + meta: { + title: 'useNetwork' + } + } + ] + }, + { + path: '/level', + component: '#', + redirect: '/level/menu1/menu1-1/menu1-1-1', + name: 'Level', + meta: { + title: 'router.level', + icon: 'carbon:skill-level-advanced' + }, + children: [ + { + path: 'menu1', + name: 'Menu1', + component: '##', + redirect: '/level/menu1/menu1-1/menu1-1-1', + meta: { + title: 'router.menu1' + }, + children: [ + { + path: 'menu1-1', + name: 'Menu11', + component: '##', + redirect: '/level/menu1/menu1-1/menu1-1-1', + meta: { + title: 'router.menu11', + alwaysShow: true + }, + children: [ + { + path: 'menu1-1-1', + name: 'Menu111', + component: 'views/Level/Menu111', + meta: { + title: 'router.menu111' + } + } + ] + }, + { + path: 'menu1-2', + name: 'Menu12', + component: 'views/Level/Menu12', + meta: { + title: 'router.menu12' + } + } + ] + }, + { + path: 'menu2', + name: 'Menu2Demo', + component: 'views/Level/Menu2', + meta: { + title: 'router.menu2' + } + } + ] + }, + { + path: '/example', + component: '#', + redirect: '/example/example-dialog', + name: 'Example', + meta: { + title: 'router.example', + icon: 'ep:management', + alwaysShow: true + }, + children: [ + { + path: 'example-dialog', + component: 'views/Example/Dialog/ExampleDialog', + name: 'ExampleDialog', + meta: { + title: 'router.exampleDialog' + } + }, + { + path: 'example-page', + component: 'views/Example/Page/ExamplePage', + name: 'ExamplePage', + meta: { + title: 'router.examplePage' + } + }, + { + path: 'example-add', + component: 'views/Example/Page/ExampleAdd', + name: 'ExampleAdd', + meta: { + title: 'router.exampleAdd', + noTagsView: true, + noCache: true, + hidden: true, + showMainRoute: true, + activeMenu: '/example/example-page' + } + }, + { + path: 'example-edit', + component: 'views/Example/Page/ExampleEdit', + name: 'ExampleEdit', + meta: { + title: 'router.exampleEdit', + noTagsView: true, + noCache: true, + hidden: true, + showMainRoute: true, + activeMenu: '/example/example-page' + } + }, + { + path: 'example-detail', + component: 'views/Example/Page/ExampleDetail', + name: 'ExampleDetail', + meta: { + title: 'router.exampleDetail', + noTagsView: true, + noCache: true, + hidden: true, + showMainRoute: true, + activeMenu: '/example/example-page' + } + } + ] + }, + { + path: '/error', + component: '#', + redirect: '/error/404', + name: 'Error', + meta: { + title: 'router.errorPage', + icon: 'ci:error', + alwaysShow: true + }, + children: [ + { + path: '404-demo', + component: 'views/Error/404', + name: '404Demo', + meta: { + title: '404' + } + }, + { + path: '403-demo', + component: 'views/Error/403', + name: '403Demo', + meta: { + title: '403' + } + }, + { + path: '500-demo', + component: 'views/Error/500', + name: '500Demo', + meta: { + title: '500' + } + } + ] + }, + { + path: '/authorization', + component: '#', + redirect: '/authorization/user', + name: 'Authorization', + meta: { + title: 'router.authorization', + icon: 'eos-icons:role-binding', + alwaysShow: true + }, + children: [ + { + path: 'dict', + component: 'views/Authorization/dict/dict', + name: 'dict', + meta: { + title: 'router.dict' + } + }, + { + path: 'user', + component: 'views/Authorization/User/User', + name: 'User', + meta: { + title: 'router.user' + } + }, + { + path: 'menu', + component: 'views/Authorization/Menu/Menu', + name: 'Menu', + meta: { + title: 'router.menuManagement' + } + }, + { + path: 'role', + component: 'views/Authorization/Role/Role', + name: 'Role', + meta: { + title: 'router.role' + } + } + ] + } +] + +const testList: string[] = [ + '/dashboard', + '/dashboard/analysis', + '/dashboard/workplace', + 'external-link', + 'https://element-plus-admin-doc.cn/', + '/guide', + '/guide/index', + '/components', + '/components/form', + '/components/form/default-form', + '/components/form/use-form', + '/components/form/ref-form', + '/components/table', + '/components/table/default-table', + '/components/table/use-table', + '/components/table/tree-table', + '/components/table/table-image-preview', + '/components/table/ref-table', + '/components/editor-demo', + '/components/editor-demo/editor', + '/components/editor-demo/json-editor', + '/components/search', + '/components/descriptions', + '/components/image-viewer', + '/components/dialog', + '/components/icon', + '/components/iconPicker', + '/components/echart', + '/components/count-to', + '/components/qrcode', + '/components/highlight', + '/components/infotip', + '/components/input-password', + '/components/waterfall', + 'function', + '/function/multiple-tabs', + '/function/multiple-tabs-demo/:id', + '/function/request', + '/function/test', + '/hooks', + '/hooks/useWatermark', + '/hooks/useTagsView', + '/hooks/useValidator', + '/hooks/useCrudSchemas', + '/hooks/useClipboard', + '/hooks/useNetwork', + '/level', + '/level/menu1', + '/level/menu1/menu1-1', + '/level/menu1/menu1-1/menu1-1-1', + '/level/menu1/menu1-2', + '/level/menu2', + '/example', + '/example/example-dialog', + '/example/example-page', + '/example/example-add', + '/example/example-edit', + '/example/example-detail', + '/authorization', + '/authorization/department', + '/authorization/user', + '/authorization/role', + '/authorization/menu', + '/error', + '/error/404-demo', + '/error/403-demo', + '/error/500-demo' +] + +const List: any[] = [] + +const roleNames = [ + '超级管理员', + '管理员', + '普通用户', + '游客', + '12', + '11', + '13', + '14', + '15', + '16', + '17', + '18', + '19', + '20' +] +const menus = [ + [ + { + path: '/dashboard', + component: '#', + redirect: '/dashboard/analysis', + name: 'Dashboard', + status: Mock.Random.integer(0, 1), + id: 1, + meta: { + title: '首页', + icon: 'ant-design:dashboard-filled', + alwaysShow: true + }, + children: [ + { + path: 'analysis', + component: 'views/Dashboard/Analysis', + name: 'Analysis', + status: Mock.Random.integer(0, 1), + id: 2, + meta: { + title: '首页', + noCache: true + } + }, + { + path: 'workplace', + component: 'views/Dashboard/Workplace', + name: 'Workplace', + status: Mock.Random.integer(0, 1), + id: 3, + meta: { + title: '工作台', + noCache: true + } + } + ] + }, + { + path: '/external-link', + component: '#', + meta: { + title: '文档', + icon: 'clarity:document-solid' + }, + name: 'ExternalLink', + status: Mock.Random.integer(0, 1), + id: 4, + children: [ + { + path: 'https://element-plus-admin-doc.cn/', + name: 'DocumentLink', + status: Mock.Random.integer(0, 1), + id: 5, + meta: { + title: '文档' + } + } + ] + }, + { + path: '/level', + component: '#', + redirect: '/level/menu1/menu1-1/menu1-1-1', + name: 'Level', + status: Mock.Random.integer(0, 1), + id: 6, + meta: { + title: '菜单', + icon: 'carbon:skill-level-advanced' + }, + children: [ + { + path: 'menu1', + name: 'Menu1', + component: '##', + status: Mock.Random.integer(0, 1), + id: 7, + redirect: '/level/menu1/menu1-1/menu1-1-1', + meta: { + title: '菜单1' + }, + children: [ + { + path: 'menu1-1', + name: 'Menu11', + component: '##', + status: Mock.Random.integer(0, 1), + id: 8, + redirect: '/level/menu1/menu1-1/menu1-1-1', + meta: { + title: '菜单1-1', + alwaysShow: true + }, + children: [ + { + path: 'menu1-1-1', + name: 'Menu111', + component: 'views/Level/Menu111', + status: Mock.Random.integer(0, 1), + id: 9, + permission: ['edit', 'add', 'delete'], + meta: { + title: '菜单1-1-1', + permission: ['edit', 'add', 'delete'] + } + } + ] + }, + { + path: 'menu1-2', + name: 'Menu12', + component: 'views/Level/Menu12', + status: Mock.Random.integer(0, 1), + id: 10, + permission: ['edit', 'add', 'delete'], + meta: { + title: '菜单1-2', + permission: ['edit', 'add', 'delete'] + } + } + ] + }, + { + path: 'menu2', + name: 'Menu2Demo', + component: 'views/Level/Menu2', + status: Mock.Random.integer(0, 1), + id: 11, + permission: ['edit', 'add', 'delete'], + meta: { + title: '菜单2', + permission: ['edit', 'add', 'delete'] + } + } + ] + }, + { + path: '/example', + component: '#', + redirect: '/example/example-dialog', + name: 'Example', + status: Mock.Random.integer(0, 1), + id: 12, + meta: { + title: '综合示例', + icon: 'ep:management', + alwaysShow: true + }, + children: [ + { + path: 'example-dialog', + component: 'views/Example/Dialog/ExampleDialog', + name: 'ExampleDialog', + status: Mock.Random.integer(0, 1), + id: 13, + permission: ['edit', 'add', 'delete'], + meta: { + title: '综合示例-弹窗', + permission: ['edit', 'add', 'delete'] + } + }, + { + path: 'example-page', + component: 'views/Example/Page/ExamplePage', + name: 'ExamplePage', + status: Mock.Random.integer(0, 1), + id: 14, + permission: ['edit', 'add', 'delete'], + meta: { + title: '综合示例-页面', + permission: ['edit', 'add', 'delete'] + } + }, + { + path: 'example-add', + component: 'views/Example/Page/ExampleAdd', + name: 'ExampleAdd', + status: Mock.Random.integer(0, 1), + id: 15, + permission: ['edit', 'add', 'delete'], + meta: { + title: '综合示例-新增', + noTagsView: true, + noCache: true, + hidden: true, + showMainRoute: true, + activeMenu: '/example/example-page', + permission: ['edit', 'add', 'delete'] + } + }, + { + path: 'example-edit', + component: 'views/Example/Page/ExampleEdit', + name: 'ExampleEdit', + status: Mock.Random.integer(0, 1), + id: 16, + permission: ['edit', 'add', 'delete'], + meta: { + title: '综合示例-编辑', + noTagsView: true, + noCache: true, + hidden: true, + showMainRoute: true, + activeMenu: '/example/example-page', + permission: ['edit', 'add', 'delete'] + } + }, + { + path: 'example-detail', + component: 'views/Example/Page/ExampleDetail', + name: 'ExampleDetail', + status: Mock.Random.integer(0, 1), + id: 17, + permission: ['edit', 'add', 'delete'], + meta: { + title: '综合示例-详情', + noTagsView: true, + noCache: true, + hidden: true, + showMainRoute: true, + activeMenu: '/example/example-page', + permission: ['edit', 'add', 'delete'] + } + } + ] + } + ], + [ + { + path: '/dashboard', + component: '#', + redirect: '/dashboard/analysis', + name: 'Dashboard', + status: Mock.Random.integer(0, 1), + id: 1, + meta: { + title: '首页', + icon: 'ant-design:dashboard-filled', + alwaysShow: true + }, + children: [ + { + path: 'analysis', + component: 'views/Dashboard/Analysis', + name: 'Analysis', + status: Mock.Random.integer(0, 1), + id: 2, + meta: { + title: '分析页', + noCache: true + } + }, + { + path: 'workplace', + component: 'views/Dashboard/Workplace', + name: 'Workplace', + status: Mock.Random.integer(0, 1), + id: 3, + meta: { + title: '工作台', + noCache: true + } + } + ] + } + ], + [ + { + path: '/external-link', + component: '#', + meta: { + title: '文档', + icon: 'clarity:document-solid' + }, + name: 'ExternalLink', + status: Mock.Random.integer(0, 1), + id: 4, + children: [ + { + path: 'https://element-plus-admin-doc.cn/', + name: 'DocumentLink', + status: Mock.Random.integer(0, 1), + id: 5, + meta: { + title: '文档' + } + } + ] + }, + { + path: '/level', + component: '#', + redirect: '/level/menu1/menu1-1/menu1-1-1', + name: 'Level', + status: Mock.Random.integer(0, 1), + id: 6, + meta: { + title: '菜单', + icon: 'carbon:skill-level-advanced' + }, + children: [ + { + path: 'menu1', + name: 'Menu1', + component: '##', + status: Mock.Random.integer(0, 1), + id: 7, + redirect: '/level/menu1/menu1-1/menu1-1-1', + meta: { + title: '菜单1' + }, + children: [ + { + path: 'menu1-1', + name: 'Menu11', + component: '##', + status: Mock.Random.integer(0, 1), + id: 8, + redirect: '/level/menu1/menu1-1/menu1-1-1', + meta: { + title: '菜单1-1', + alwaysShow: true + }, + children: [ + { + path: 'menu1-1-1', + name: 'Menu111', + component: 'views/Level/Menu111', + status: Mock.Random.integer(0, 1), + id: 9, + permission: ['edit', 'add', 'delete'], + meta: { + title: '菜单1-1-1', + permission: ['edit', 'add', 'delete'] + } + } + ] + }, + { + path: 'menu1-2', + name: 'Menu12', + component: 'views/Level/Menu12', + status: Mock.Random.integer(0, 1), + id: 10, + permission: ['edit', 'add', 'delete'], + meta: { + title: '菜单1-2', + permission: ['edit', 'add', 'delete'] + } + } + ] + }, + { + path: 'menu2', + name: 'Menu2Demo', + component: 'views/Level/Menu2', + status: Mock.Random.integer(0, 1), + id: 11, + permission: ['edit', 'add', 'delete'], + meta: { + title: '菜单2', + permission: ['edit', 'add', 'delete'] + } + } + ] + } + ], + [ + { + path: '/example', + component: '#', + redirect: '/example/example-dialog', + name: 'Example', + status: Mock.Random.integer(0, 1), + id: 12, + meta: { + title: '综合示例', + icon: 'ep:management', + alwaysShow: true + }, + children: [ + { + path: 'example-detail', + component: 'views/Example/Page/ExampleDetail', + name: 'ExampleDetail', + status: Mock.Random.integer(0, 1), + id: 17, + permission: ['edit', 'add', 'delete'], + meta: { + title: '综合示例-详情', + noTagsView: true, + noCache: true, + hidden: true, + showMainRoute: true, + activeMenu: '/example/example-page', + permission: ['edit', 'add', 'delete'] + } + } + ] + } + ] +] + +for (let i = 0; i < roleNames.length; i++) { + List.push( + Mock.mock({ + id: toAnyString(), + // timestamp: +Mock.Random.date('T'), + roleName: roleNames[i], + role: '@first', + status: Mock.Random.integer(0, 1), + createTime: '@datetime', + remark: '@cword(10, 15)', + menu: menus[i] + }) + ) +} + +export default [ + // 列表接口 + { + url: '/role/list', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: adminList + } + } + }, + { + url: '/role/table', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: { + list: List, + total: List.length + } + } + } + }, + // 列表接口 + { + url: '/role/list2', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: testList + } + } + }, + { + url: '/role/table', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: { + list: List, + total: List.length + } + } + } + } +] as MockMethod[] diff --git a/mock/table/index.ts b/mock/table/index.ts new file mode 100644 index 0000000..cbe0541 --- /dev/null +++ b/mock/table/index.ts @@ -0,0 +1,256 @@ +import config from '@/config/axios/config' +import { MockMethod } from 'vite-plugin-mock' +import { toAnyString } from '@/utils' +import Mock from 'mockjs' + +const { code } = config + +const timeout = 1000 + +const count = 100 + +const baseContent = + '

I am testing data, I am testing data.

' + +interface ListProps { + id: string + author: string + title: string + content: string + importance: number + display_time: string + pageviews: number + image_uri: string +} + +interface TreeListProps { + id: string + author: string + title: string + content: string + importance: number + display_time: string + pageviews: number + children: TreeListProps[] +} + +let List: ListProps[] = [] + +for (let i = 0; i < count; i++) { + List.push( + Mock.mock({ + id: toAnyString(), + // timestamp: +Mock.Random.date('T'), + author: '@first', + title: '@title(5, 10)', + content: baseContent, + importance: '@integer(1, 3)', + display_time: '@datetime', + pageviews: '@integer(100, 500)', + image_uri: Mock.Random.image('@integer(100, 500)x@integer(100, 500)') + }) + ) +} + +const treeList: TreeListProps[] = [] + +for (let i = 0; i < count; i++) { + treeList.push( + Mock.mock({ + id: toAnyString(), + // timestamp: +Mock.Random.date('T'), + author: '@first', + title: '@title(5, 10)', + content: baseContent, + importance: '@integer(1, 3)', + display_time: '@datetime', + pageviews: '@integer(300, 5000)', + children: [ + { + id: toAnyString(), + // timestamp: +Mock.Random.date('T'), + author: '@first', + title: '@title(5, 10)', + content: baseContent, + importance: '@integer(1, 3)', + display_time: '@datetime', + pageviews: '@integer(300, 5000)', + children: [ + { + id: toAnyString(), + // timestamp: +Mock.Random.date('T'), + author: '@first', + title: '@title(5, 10)', + content: baseContent, + importance: '@integer(1, 3)', + display_time: '@datetime', + pageviews: '@integer(300, 5000)' + }, + { + id: toAnyString(), + // timestamp: +Mock.Random.date('T'), + author: '@first', + title: '@title(5, 10)', + content: baseContent, + importance: '@integer(1, 3)', + display_time: '@datetime', + pageviews: '@integer(300, 5000)' + } + ] + }, + { + id: toAnyString(), + // timestamp: +Mock.Random.date('T'), + author: '@first', + title: '@title(5, 10)', + content: baseContent, + importance: '@integer(1, 3)', + display_time: '@datetime', + pageviews: '@integer(300, 5000)' + }, + { + id: toAnyString(), + // timestamp: +Mock.Random.date('T'), + author: '@first', + title: '@title(5, 10)', + content: baseContent, + importance: '@integer(1, 3)', + display_time: '@datetime', + pageviews: '@integer(300, 5000)' + }, + { + id: toAnyString(), + // timestamp: +Mock.Random.date('T'), + author: '@first', + title: '@title(5, 10)', + content: baseContent, + importance: '@integer(1, 3)', + display_time: '@datetime', + pageviews: '@integer(300, 5000)' + } + ] + // image_uri + }) + ) +} + +export default [ + // 树形列表接口 + { + url: '/example/treeList', + method: 'get', + timeout, + response: ({ query }) => { + const { title, pageIndex, pageSize } = query + const mockList = treeList.filter((item) => { + if (title && item.title.indexOf(title) < 0) return false + return true + }) + const pageList = mockList.filter( + (_, index) => index < pageSize * pageIndex && index >= pageSize * (pageIndex - 1) + ) + return { + code: code, + data: { + total: mockList.length, + list: pageList + } + } + } + }, + // 列表接口 + { + url: '/example/list', + method: 'get', + timeout, + response: ({ query }) => { + const { title, pageIndex, pageSize } = query + const mockList = List.filter((item) => { + if (title && item.title.indexOf(title) < 0) return false + return true + }) + const pageList = mockList.filter( + (_, index) => index < pageSize * pageIndex && index >= pageSize * (pageIndex - 1) + ) + return { + code: code, + data: { + total: mockList.length, + list: pageList + } + } + } + }, + // 保存接口 + { + url: '/example/save', + method: 'post', + timeout, + response: ({ body }) => { + if (!body.id) { + List = [ + Object.assign(body, { + id: toAnyString() + }) + ].concat(List) + return { + code: code, + data: 'success' + } + } else { + List.map((item) => { + if (item.id === body.id) { + for (const key in item) { + item[key] = body[key] + } + } + }) + return { + code: code, + data: 'success' + } + } + } + }, + // 详情接口 + { + url: '/example/detail', + method: 'get', + response: ({ query }) => { + const { id } = query + for (const example of List) { + if (example.id === id) { + return { + code: code, + data: example + } + } + } + } + }, + // 删除接口 + { + url: '/example/delete', + method: 'post', + response: ({ body }) => { + const ids = body.ids + if (!ids) { + return { + code: 500, + message: '请选择需要删除的数据' + } + } else { + let i = List.length + while (i--) { + if (ids.indexOf(List[i].id) !== -1) { + List.splice(i, 1) + } + } + return { + code: code, + data: 'success' + } + } + } + } +] as MockMethod[] diff --git a/mock/user/index.ts b/mock/user/index.ts new file mode 100644 index 0000000..8e5ea49 --- /dev/null +++ b/mock/user/index.ts @@ -0,0 +1,135 @@ +import config from '@/config/axios/config' +import { MockMethod } from 'vite-plugin-mock' + +const { code } = config + +const timeout = 1000 + +const List: { + username: string + password: string + role: string + roleId: string + permissions: string | string[] +}[] = [ + { + username: 'admin', + password: 'o9%2B2oAvFf9DHDj1yBTJHhw%3D%3D', + role: 'admin', + roleId: '1', + permissions: ['*.*.*'] + }, + { + username: 'test', + password: 'test', + role: 'test', + roleId: '2', + permissions: ['example:dialog:create', 'example:dialog:delete'] + } +] + +export default [ + // 列表接口 + { + url: '/user/list', + method: 'get', + response: ({ query }) => { + const { username, pageIndex, pageSize } = query + + const mockList = List.filter((item) => { + if (username && item.username.indexOf(username) < 0) return false + return true + }) + const pageList = mockList.filter( + (_, index) => index < pageSize * pageIndex && index >= pageSize * (pageIndex - 1) + ) + + return { + code: code, + data: { + total: mockList.length, + list: pageList + } + } + } + }, + // 登录接口 + { + url: '/user/login', + method: 'post', + timeout, + response: ({ body }) => { + const data = body + let hasUser = false + for (const user of List) { + if (user.username === data.username && user.password === data.password) { + hasUser = true + return { + code: code, + data: user + } + } + } + if (!hasUser) { + return { + code: 500, + message: '账号或密码错误' + } + } + } + }, + { + url: '/mobile/login', + method: 'post', + timeout, + response: ({ body }) => { + debugger + const data = body + let hasUser = false + for (const user of List) { + if (user.username === data.username && user.password === data.password) { + hasUser = true + return { + code: code, + data: user + } + } + } + return { + code: code, + data: { + code: 1 + } + } + if (!hasUser) { + return { + code: 500, + message: '账号或密码错误' + } + } + } + }, + // 退出接口 + { + url: '/user/loginOut', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: null + } + } + }, + { + url: '/mobile/logout', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: null + } + } + } +] as MockMethod[] diff --git a/mock/workplace/index.ts b/mock/workplace/index.ts new file mode 100644 index 0000000..b6c854d --- /dev/null +++ b/mock/workplace/index.ts @@ -0,0 +1,172 @@ +import config from '@/config/axios/config' +import { MockMethod } from 'vite-plugin-mock' + +const { code } = config + +const timeout = 1000 + +export default [ + // 获取统计 + { + url: '/workplace/total', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: { + project: 40, + access: 2340, + todo: 10 + } + } + } + }, + // 获取项目 + { + url: '/workplace/project', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: [ + { + name: 'Github', + icon: 'akar-icons:github-fill', + message: 'workplace.introduction', + personal: 'Archer', + time: new Date() + }, + { + name: 'Vue', + icon: 'logos:vue', + message: 'workplace.introduction', + personal: 'Archer', + time: new Date() + }, + { + name: 'Angular', + icon: 'logos:angular-icon', + message: 'workplace.introduction', + personal: 'Archer', + time: new Date() + }, + { + name: 'React', + icon: 'logos:react', + message: 'workplace.introduction', + personal: 'Archer', + time: new Date() + }, + { + name: 'Webpack', + icon: 'logos:webpack', + message: 'workplace.introduction', + personal: 'Archer', + time: new Date() + }, + { + name: 'Vite', + icon: 'vscode-icons:file-type-vite', + message: 'workplace.introduction', + personal: 'Archer', + time: new Date() + } + ] + } + } + }, + // 获取动态 + { + url: '/workplace/dynamic', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: [ + { + keys: ['workplace.push', 'Github'], + time: new Date() + }, + { + keys: ['workplace.push', 'Github'], + time: new Date() + }, + { + keys: ['workplace.push', 'Github'], + time: new Date() + }, + { + keys: ['workplace.push', 'Github'], + time: new Date() + }, + { + keys: ['workplace.push', 'Github'], + time: new Date() + }, + { + keys: ['workplace.push', 'Github'], + time: new Date() + } + ] + } + } + }, + // 获取团队信息 + { + url: '/workplace/team', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: [ + { + name: 'Github', + icon: 'akar-icons:github-fill' + }, + { + name: 'Vue', + icon: 'logos:vue' + }, + { + name: 'Angular', + icon: 'logos:angular-icon' + }, + { + name: 'React', + icon: 'logos:react' + }, + { + name: 'Webpack', + icon: 'logos:webpack' + }, + { + name: 'Vite', + icon: 'vscode-icons:file-type-vite' + } + ] + } + } + }, + // 获取指数 + { + url: '/workplace/radar', + method: 'get', + timeout, + response: () => { + return { + code: code, + data: [ + { name: 'workplace.quote', max: 65, personal: 42, team: 50 }, + { name: 'workplace.contribution', max: 160, personal: 30, team: 140 }, + { name: 'workplace.hot', max: 300, personal: 20, team: 28 }, + { name: 'workplace.yield', max: 130, personal: 35, team: 35 }, + { name: 'workplace.follow', max: 100, personal: 80, team: 90 } + ] + } + } + } +] as MockMethod[] diff --git a/package.json b/package.json new file mode 100644 index 0000000..8ee723c --- /dev/null +++ b/package.json @@ -0,0 +1,127 @@ +{ + "name": "krm-admin-ui", + "version": "1.0.0", + "description": "一套基于vue3、element-plus、typesScript、vite4的后台集成方案。", + "author": "bmian <1713617006@qq.com>", + "private": false, + "scripts": { + "i": "pnpm install", + "dev": "vite --mode base", + "ts:check": "vue-tsc --noEmit --skipLibCheck", + "build:pro": "vite build --mode pro", + "build:gitee": "vite build --mode gitee", + "build:dev": "vite build --mode dev", + "build:test": "npm run ts:check && vite build --mode test", + "build:vite": "rimraf dist-moudle && vite build -c scripts/build/vite.config.ts --mode pro", + "serve:pro": "vite preview --mode pro", + "serve:dev": "vite preview --mode dev", + "serve:test": "vite preview --mode test", + "npm:check": "npx npm-check-updates", + "clean": "npx rimraf node_modules", + "clean:cache": "npx rimraf node_modules/.cache", + "lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src", + "lint:format": "prettier --write --loglevel warn \"src/**/*.{js,ts,json,tsx,css,less,vue,html,md}\"", + "lint:style": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", + "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js", + "prepare": "husky install", + "p": "plop", + "icon": "esno ./scripts/icon.ts" + }, + "dependencies": { + "@iconify/iconify": "^3.1.1", + "@iconify/vue": "^4.1.1", + "@vueuse/core": "^10.5.0", + "@wangeditor/editor": "^5.1.23", + "@wangeditor/editor-for-vue": "^5.1.10", + "@zxcvbn-ts/core": "^3.0.4", + "animate.css": "^4.1.1", + "axios": "^1.5.1", + "base64-js": "~1.5.1", + "dayjs": "^1.11.10", + "driver.js": "^1.3.0", + "echarts": "^5.4.3", + "echarts-wordcloud": "^2.1.0", + "element-plus": "^2.4.0", + "file-saver": "^2.0.5", + "lodash-es": "^4.17.21", + "mitt": "^3.0.1", + "mockjs": "^1.1.0", + "nprogress": "^0.2.0", + "pinia": "^2.1.7", + "pinia-plugin-persist": "^1.0.0", + "qrcode": "^1.5.3", + "qs": "^6.11.2", + "sass": "^1.77.8", + "url": "^0.11.3", + "vue": "3.3.4", + "vue-draggable-plus": "~0.4.1", + "vue-i18n": "9.5.0", + "vue-json-pretty": "^2.2.4", + "vue-router": "^4.2.5", + "vue-types": "^5.1.1" + }, + "devDependencies": { + "@commitlint/cli": "^17.7.2", + "@commitlint/config-conventional": "^17.7.0", + "@iconify/json": "^2.2.128", + "@intlify/unplugin-vue-i18n": "^1.4.0", + "@purge-icons/generated": "^0.9.0", + "@types/fs-extra": "^11.0.2", + "@types/inquirer": "^9.0.4", + "@types/lodash-es": "^4.17.9", + "@types/node": "^20.8.6", + "@types/nprogress": "^0.2.1", + "@types/qrcode": "^1.5.2", + "@types/qs": "^6.9.8", + "@types/sortablejs": "^1.15.3", + "@typescript-eslint/eslint-plugin": "^6.7.5", + "@typescript-eslint/parser": "^6.7.5", + "@unocss/transformer-variant-group": "^0.56.5", + "@vitejs/plugin-legacy": "^4.1.1", + "@vitejs/plugin-vue": "^4.4.0", + "@vitejs/plugin-vue-jsx": "^3.0.2", + "autoprefixer": "^10.4.16", + "chalk": "^5.3.0", + "consola": "^3.2.3", + "eslint": "^8.51.0", + "eslint-config-prettier": "^9.0.0", + "eslint-define-config": "^1.24.1", + "eslint-plugin-prettier": "^5.0.1", + "eslint-plugin-vue": "^9.17.0", + "esno": "^0.17.0", + "fs-extra": "^11.1.1", + "husky": "^8.0.3", + "inquirer": "^9.2.11", + "js-cookie": "~3.0.5", + "less": "^4.2.0", + "lint-staged": "^14.0.1", + "plop": "^4.0.0", + "postcss": "^8.4.31", + "postcss-html": "^1.5.0", + "postcss-less": "^6.0.0", + "prettier": "^3.0.3", + "rimraf": "^5.0.5", + "rollup": "^4.0.2", + "stylelint": "^15.10.3", + "stylelint-config-html": "^1.1.0", + "stylelint-config-recommended": "^13.0.0", + "stylelint-config-standard": "^34.0.0", + "stylelint-order": "^6.0.3", + "terser": "^5.21.0", + "typescript": "5.2.2", + "unocss": "^0.56.5", + "vite": "4.4.11", + "vite-plugin-ejs": "^1.6.4", + "vite-plugin-eslint": "^1.8.1", + "vite-plugin-mock": "2.9.6", + "vite-plugin-progress": "^0.0.7", + "vite-plugin-purge-icons": "^0.9.2", + "vite-plugin-style-import": "2.0.0", + "vite-plugin-svg-icons": "^2.0.1", + "vue-tsc": "^1.8.19" + }, + "engines": { + "node": ">= 16.13.0" + }, + "license": "MIT" +} diff --git a/plop/component/component.hbs b/plop/component/component.hbs new file mode 100644 index 0000000..21e5653 --- /dev/null +++ b/plop/component/component.hbs @@ -0,0 +1,11 @@ + + + diff --git a/plop/component/index.hbs b/plop/component/index.hbs new file mode 100644 index 0000000..aca6f0a --- /dev/null +++ b/plop/component/index.hbs @@ -0,0 +1,3 @@ +import {{ upperFirstName }} from './src/{{ upperFirstName }}.vue' + +export { {{ upperFirstName }} } diff --git a/plop/component/prompt.js b/plop/component/prompt.js new file mode 100644 index 0000000..98a852f --- /dev/null +++ b/plop/component/prompt.js @@ -0,0 +1,38 @@ +const toUpperCase = (str) => str.charAt(0).toUpperCase() + str.slice(1) + +module.exports = { + description: 'Create vue component', + prompts: [ + { + type: 'input', + name: 'name', + message: '请输入组件名称(Please enter the component name)' + } + ], + actions: (data) => { + const { name } = data + const upperFirstName = toUpperCase(name) + + const actions = [] + if (name) { + actions.push({ + type: 'add', + path: `./src/components/${upperFirstName}/src/${upperFirstName}.vue`, + templateFile: './plop/component/component.hbs', + data: { + name, + upperFirstName + } + }, { + type: 'add', + path: `./src/components/${upperFirstName}/index.ts`, + templateFile: './plop/component/index.hbs', + data: { + upperFirstName + } + }) + } + + return actions + } +} diff --git a/plop/view/prompt.js b/plop/view/prompt.js new file mode 100644 index 0000000..dbf324f --- /dev/null +++ b/plop/view/prompt.js @@ -0,0 +1,37 @@ +const toUpperCase = (str) => str.charAt(0).toUpperCase() + str.slice(1) + +module.exports = { + description: 'Create vue view', + prompts: [ + { + type: 'input', + name: 'path', + message: '请输入路径(Please enter a path)', + default: 'views' + }, + { + type: 'input', + name: 'name', + message: '请输入模块名称(Please enter module name)' + } + ], + actions: (data) => { + const { name, path } = data + const upperFirstName = toUpperCase(name) + + const actions = [] + if (name) { + actions.push({ + type: 'add', + path: `./src/${path}/${upperFirstName}.vue`, + templateFile: './plop/view/view.hbs', + data: { + name, + upperFirstName + } + }) + } + + return actions + } +} diff --git a/plop/view/view.hbs b/plop/view/view.hbs new file mode 100644 index 0000000..0ae9c15 --- /dev/null +++ b/plop/view/view.hbs @@ -0,0 +1,7 @@ + + + diff --git a/plopfile.js b/plopfile.js new file mode 100644 index 0000000..72e6af2 --- /dev/null +++ b/plopfile.js @@ -0,0 +1,7 @@ +const viewGenerator = require('./plop/view/prompt.js') +const componentGenerator = require('./plop/component/prompt.js') + +module.exports = function (plop) { + plop.setGenerator('view', viewGenerator) + plop.setGenerator('component', componentGenerator) +} diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000..961986e --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,5 @@ +module.exports = { + plugins: { + autoprefixer: {} + } +} diff --git a/prettier.config.js b/prettier.config.js new file mode 100644 index 0000000..65ae41f --- /dev/null +++ b/prettier.config.js @@ -0,0 +1,30 @@ +module.exports = { + // 换行长度,默认80 + printWidth: 180, + // tab缩进大小,默认为2 + tabWidth: 2, + // 使用tab缩进,默认false + useTabs: false, + // 每行末尾自动添加分号 + semi: true, + vueIndentScriptAndStyle: false, + // 字符串使用单引号 + singleQuote: true, + quoteProps: 'as-needed', + bracketSpacing: true, + // 行末尾自动添加逗号 + trailingComma: 'all', + jsxSingleQuote: false, + // always 总是有括号 + arrowParens: 'avoid', + insertPragma: false, + requirePragma: false, + proseWrap: 'never', + htmlWhitespaceSensitivity: 'strict', + endOfLine: 'auto', + rangeStart: 0, + // 箭头函数参数括号 默认avoid 可选 avoid| always + // avoid 能省略括号的时候就省略 例如x => x + // 在jsx中把'>' 不单独放一行 + jsxBracketSameLine: false, +}; diff --git a/public/favicon copy.ico b/public/favicon copy.ico new file mode 100644 index 0000000..fb338da Binary files /dev/null and b/public/favicon copy.ico differ diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..fb338da Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/images/home-bg.png b/public/images/home-bg.png new file mode 100644 index 0000000..a549f70 Binary files /dev/null and b/public/images/home-bg.png differ diff --git a/public/jilin_logo.png b/public/jilin_logo.png new file mode 100644 index 0000000..366997c Binary files /dev/null and b/public/jilin_logo.png differ diff --git a/public/logo.png b/public/logo.png new file mode 100644 index 0000000..686fa23 Binary files /dev/null and b/public/logo.png differ diff --git a/scripts/build/index.html b/scripts/build/index.html new file mode 100644 index 0000000..9b785e0 --- /dev/null +++ b/scripts/build/index.html @@ -0,0 +1,142 @@ + + + + + + + <%= title %> + + +
+ +
+
+
+ +
<%= title %>
+
+
+
+
+
+
+
+
+ + + diff --git a/scripts/build/main.ts b/scripts/build/main.ts new file mode 100644 index 0000000..0843c36 --- /dev/null +++ b/scripts/build/main.ts @@ -0,0 +1,59 @@ +// 引入windi css +import '@/plugins/unocss'; + +// 导入全局的svg图标 +import '@/plugins/svgIcon'; + +// 初始化多语言 +import { setupI18n } from '@/plugins/vueI18n'; + +// 引入状态管理 +import { setupStore } from '@/store'; + +// 全局组件 +import { setupGlobCom } from '@/components'; + +// 引入element-plus +import { setupElementPlus } from '@/plugins/elementPlus'; + +// 引入全局样式 +import '@/styles/index.less'; +import '@/styles/syncpageStyle.less' + +// 引入动画 +import '@/plugins/animate.css'; + +// 路由 +import { setupRouter } from './router'; + +// 权限 +import { setupPermission } from '@/directives'; + +import { createApp } from 'vue'; + +import App from '@/App.vue'; + +import '@/permission'; + + +// 创建实例 +const setupAll = async () => { + const app = createApp(App); + + await setupI18n(app); + + setupStore(app); + + setupGlobCom(app); + + setupElementPlus(app); + + setupRouter(app); + + setupPermission(app); + + + app.mount('#app'); +}; + +setupAll(); diff --git a/scripts/build/router/index-srdb.ts b/scripts/build/router/index-srdb.ts new file mode 100644 index 0000000..62227e2 --- /dev/null +++ b/scripts/build/router/index-srdb.ts @@ -0,0 +1,511 @@ +import { createRouter, createWebHashHistory } from 'vue-router' +import type { RouteRecordRaw } from 'vue-router' +import type { App } from 'vue' +import { Layout } from '@/utils/routerHelper' +import { useI18n } from '@/hooks/web/useI18n' + +const { t } = useI18n() + +export const constantRouterMap: AppRouteRecordRaw[] = [ + { + path: '/', + component: Layout, + redirect: '/dashboard/analysis', + name: 'Root', + meta: { + hidden: true + } + }, + { + path: '/dashboard', + component: Layout, + redirect: '/dashboard/analysis', + name: 'Dashboard', + meta: { + title: '首页', + icon: 'ant-design:dashboard-filled', + alwaysShow: true + }, + children: [ + { + path: 'analysis', + component: () => import('@/views/Dashboard/Analysis.vue'), + name: 'Analysis', + meta: { + title: '分析页', + noCache: true, + affix: true + } + } + ] + }, + { + path: '/redirect', + component: Layout, + name: 'Redirect', + children: [ + { + path: '/redirect/:path(.*)', + name: 'Redirect', + component: () => import('@/views/Redirect/Redirect.vue'), + meta: {} + } + ], + meta: { + hidden: true, + noTagsView: true + } + }, + { + path: '/login', + component: () => import('@/views/Login/Login.vue'), + name: 'Login', + meta: { + hidden: true, + title: t('router.login'), + noTagsView: true + } + }, + { + path: '/404', + component: () => import('@/views/Error/404.vue'), + name: 'NoFind', + meta: { + hidden: true, + title: '404', + noTagsView: true + } + } +] + +export const asyncRouterMap: AppRouteRecordRaw[] = [ + { + path: '/dashboard', + component: Layout, + redirect: '/dashboard/analysis', + name: 'Dashboard', + meta: { + title: t('router.dashboard'), + icon: 'ant-design:dashboard-filled', + alwaysShow: true + }, + children: [ + { + path: 'analysis', + component: () => import('@/views/Dashboard/Analysis.vue'), + name: 'Analysis', + meta: { + title: t('router.analysis'), + noCache: true, + affix: true + } + } + ] + }, + { + path: '/data-manage', + component: Layout, + redirect: '/data-manage/data-source-manage', + name: 'DataManage', + menuId: 'DataManage', + meta: { + title: '数据管理', + icon: 'tdesign:data-base', + alwaysShow: true + }, + children: [ + { + path: 'data-model-manage', + component: () => import('@/views/DataManage/DataModelManage/DataModelManage.vue'), + name: 'DataModelManage', + menuId: 'DataManage/DataModelManage', + meta: { + title: '数据模型管理' + } + }, + { + path: 'data-set-manage', + component: () => import('@/views/DataManage/DataSetManage/DataSetManage.vue'), + name: 'DataSetManage', + menuId: 'DataManage/DataSetManage', + meta: { + title: '数据集管理' + } + } + ] + }, + { + path: '/data-review', + component: Layout, + redirect: '/data-review/data-review-detail-rule', + name: 'DataReview', + menuId: 'DataReview', + meta: { + title: t('router.dataReview'), + icon: 'tdesign:data-checked', + alwaysShow: true + }, + children: [ + { + path: 'data-review-detail-rule', + component: () => import('@/views/srdb/SrdbKxqRule/SrdbKxqRule.vue'), + name: 'SrdbKxqRule', + menuId: 'DataReview/SrdbKxqRule', + meta: { + title: '规则配置' + } + }, + { + path: 'data-review-detail-rule', + component: () => import('@/views/DataReview/DataReviewDetailRule/DataReviewDetailRule.vue'), + name: 'DataReviewDetailRule', + menuId: 'DataReview/DataReviewDetailRule', + meta: { + title: '明细规则配置' + } + }, + { + path: 'data-review-detail-rule-config/:id', + component: () => + import('@/views/DataReview/DataReviewDetailRuleConfig/DataReviewDetailRuleConfig.vue'), + name: 'DataReviewDetailRuleConfig', + menuId: 'DataReview/DataReviewDetailRuleConfig', + meta: { + hidden: true, + title: '规则配置', + canTo: true, + activeMenu: '/data-review/data-review-detail-rule' + } + }, + { + path: 'data-review-detail', + component: () => import('@/views/DataReview/DataReviewDetail.vue'), + name: 'DataReviewDetail', + menuId: 'DataReview/DataReviewDetail', + meta: { + title: t('router.dataReviewDetail') + } + }, + { + path: 'data-review-detail-result', + component: () => import('@/views/DataReview/DataReviewDetailResult.vue'), + name: 'DataReviewDetailResult', + menuId: 'DataReview/DataReviewDetailResult', + meta: { + title: t('router.dataReviewDetailResult') + } + } + ] + }, + { + path: '/report-manage', + component: Layout, + redirect: '/report-manage/report-build-file', + name: 'ReportManage', + menuId: 'ReportManage', + meta: { + title: t('router.ReportManage'), + icon: 'ep:document', + alwaysShow: true + }, + children: [ + { + path: 'report-build-file', + component: () => import('@/views/Template/ReportBuildFile/ReportBuildFile.vue'), + name: 'ReportBuildFile', + menuId: 'ReportManage/ReportBuildFile', + meta: { + title: t('router.ReportBuildFile') + } + }, + { + path: 'report-file-push', + component: () => import('@/views/Template/ReportFIlePush/ReportFilePush.vue'), + name: 'ReportFilePush', + menuId: 'ReportManage/ReportFilePush', + meta: { + title: t('router.ReportFilePush') + } + }, + { + path: 'report-temp-config', + component: () => import('@/views/Template/ReportTempConfig/ReportTempConfig.vue'), + name: 'ReportTempConfig', + menuId: 'ReportManage/ReportTempConfig', + meta: { + title: t('router.ReportTempConfig') + } + }, + { + path: 'temp-submit-manage', + component: () => import('@/views/Template/TempSubmitManage/TempSubmitManage.vue'), + name: 'TempSubmitManage', + menuId: 'ReportManage/TempSubmitManage', + meta: { + title: t('router.TempSubmitManage') + } + } + ] + }, + { + path: '/trusted-zone', + component: Layout, + redirect: '/trusted-zone/database-table-query', + name: 'trustedZone', + menuId: 'trustedZone', + meta: { + title: '可信区管理', + icon: 'tdesign:view-module', + alwaysShow: true + }, + children: [ + { + path: 'database-table-query', + component: () => + import('@/views/TrustedZoneManage/DatabaseTableQuery/DatabaseTableQuery.vue'), + name: 'DatabaseTableQuery', + menuId: 'trustedZone/DatabaseTableQuery', + meta: { + title: '库表信息查询' + } + }, + { + path: 'field-info-query', + component: () => import('@/views/TrustedZoneManage/FieldInfoQuery/FieldInfoQuery.vue'), + name: 'FieldInfoQuery', + menuId: 'trustedZone/FieldInfoQuery', + meta: { + title: '字段信息查询' + } + }, + { + path: 'ledger-info-query', + component: () => import('@/views/TrustedZoneManage/LedgerInfoQuery/LedgerInfoQuery.vue'), + name: 'LedgerInfoQuery', + menuId: 'trustedZone/LedgerInfoQuery', + meta: { + title: '台账信息查询' + } + }, + { + path: 'action-log-query', + component: () => import('@/views/TrustedZoneManage/ActionLogQuery/ActionLogQuery.vue'), + name: 'ActionLogQuery', + menuId: 'trustedZone/ActionLogQuery', + meta: { + title: '操作日志查询' + } + } + ] + }, + { + path: '/multipleQuery', + component: Layout, + redirect: '/multipleQuery/serviceLog', + name: 'multipleQuery', + menuId: 'multipleQuery', + meta: { + title: '综合查询', + icon: 'ep:data-analysis', + alwaysShow: true + }, + children: [ + { + path: 'serviceLog', + component: () => import('@/views/MultipleQuery/ServiceLog/ServiceLog.vue'), + name: 'ServiceLog', + menuId: 'multipleQuery/ServiceLog', + meta: { + title: t('router.servicelogqueryprototype') + } + }, + { + path: 'submit-data-query', + component: () => import('@/views/MultipleQuery/SubmitDataQuery/SubmitDataQuery.vue'), + name: 'SubmitDataQuery', + menuId: 'multipleQuery/SubmitDataQuery', + meta: { + title: '报送数据查询' + } + } + ] + }, + { + path: '/job', + component: Layout, + redirect: '/job/rep-job', + name: 'Job', + menuId: 'Job', + meta: { + title: '作业管理', + icon: 'tdesign:task-setting', + alwaysShow: true + }, + children: [ + { + path: 'rep-job', + component: () => import('@/views/job/RepJob/RepJob.vue'), + name: 'RepJob', + menuId: 'job/RepJob', + meta: { + title: '作业配置' + } + }, + { + path: 'JobMonitor', + component: () => import('@/views/job/RepTask/RepTask.vue'), + name: 'JobMonitor', + menuId: 'job/JobMonitor', + meta: { + title: '作业监控' + } + } + ] + }, + + { + path: '/system', + component: Layout, + redirect: '/system/sys-menu', + name: 'System', + menuId: 'System', + meta: { + title: '系统管理', + icon: 'eos-icons:role-binding', + alwaysShow: true + }, + children: [ + { + path: 'rep-data-source', + component: () => import('@/views/param/RepDataSource/RepDataSource.vue'), + name: 'RepDataSource', + menuId: 'param/RepDataSource', + meta: { + title: '数据源管理' + } + }, + { + path: 'sys-login-log', + component: () => import('@/views/system/SysLoginLog/SysLoginLog.vue'), + name: 'SysLoginLog', + menuId: 'system/SysLoginLog', + meta: { + title: '登陆日志查询' + } + }, + { + path: 'sys-menu', + component: () => import('@/views/system/SysMenu/SysMenu.vue'), + name: 'SysMenu', + menuId: 'system/SysMenu', + meta: { + title: '菜单管理' + } + }, + { + path: 'sys-role', + component: () => import('@/views/system/SysRole/SysRole.vue'), + name: 'SysRole', + menuId: 'system/SysRole', + meta: { + title: '角色管理' + } + }, + { + path: 'sys-user', + component: () => import('@/views/system/SysUser/SysUser.vue'), + name: 'SysUser', + menuId: 'system/SysUser', + meta: { + title: '用户管理' + } + }, + { + path: 'sys-organ', + component: () => import('@/views/param/SysOrgan/SysOrgan.vue'), + name: 'SysOrgan', + menuId: 'param/SysOrgan', + meta: { + title: '机构管理' + } + }, + { + path: 'sys-organ-tree', + component: () => import('@/views/param/SysOrganTree/SysOrganTree.vue'), + name: 'SysOrganTree', + menuId: 'param/SysOrganTree', + meta: { + title: '机构树管理' + } + }, + { + path: 'sys-org-tree-detail/:id', + component: () => import('@/views/param/SysOrgTreeDetail/SysOrgTreeDetail.vue'), + name: 'SysOrgTreeDetail', + menuId: 'param/SysOrgTreeDetail', + meta: { + title: '机构树管理', + hidden: true + } + } + ] + }, + + { + path: '/csck', + component: Layout, + redirect: '/csck/rep-job', + name: 'csck', + menuId: 'csck', + meta: { + title: '跨系统校验', + icon: 'tdesign:task-setting', + alwaysShow: true + }, + children: [ + { + path: 'CsckBusinessSystem', + component: () => import('@/views/csck/CsckBusinessSystem/CsckBusinessSystem.vue'), + name: 'CsckBusinessSystem', + menuId: 'csck/CsckBusinessSystem', + meta: { + title: '业务系统管理', + hidden: false + } + }, + { + path: 'CsckBusinessSystem1', + component: () => import('@/views/csck/CsckBusinessSystem/CsckBusinessSystem1.vue'), + name: 'CsckBusinessSystem1', + menuId: 'csck/CsckBusinessSystem1', + meta: { + title: '业务系统管理1', + hidden: false + } + }, + ] + } +] + +const router = createRouter({ + history: createWebHashHistory(), + strict: true, + routes: constantRouterMap as RouteRecordRaw[], + scrollBehavior: () => ({ left: 0, top: 0 }) +}) + +export const resetRouter = (): void => { + const resetWhiteNameList = ['Redirect', 'Login', 'NoFind', 'Root'] + router.getRoutes().forEach((route) => { + const { name } = route + if (name && !resetWhiteNameList.includes(name as string)) { + router.hasRoute(name) && router.removeRoute(name) + } + }) +} + +export const setupRouter = (app: App) => { + app.use(router) +} + +export default router diff --git a/scripts/build/router/index.ts b/scripts/build/router/index.ts new file mode 100644 index 0000000..5110d05 --- /dev/null +++ b/scripts/build/router/index.ts @@ -0,0 +1,42 @@ +import { createRouter, createWebHashHistory } from 'vue-router'; +import type { RouteRecordRaw } from 'vue-router'; +import type { App } from 'vue'; +import { Layout } from '@/utils/routerHelper'; +import { useI18n } from '@/hooks/web/useI18n'; + +const { t } = useI18n(); + +export const constantRouterMap: AppRouteRecordRaw[] = [ + { + path: 'checkversion', + component: () => import('@/views/csck/CsckCheckVesrion/CsckCheckVesrion.vue'), + name: 'Checkversion', + menuId: 'checkversion', + meta: { + title: '校验版本管理', + }, + }, +]; + +const router = createRouter({ + history: createWebHashHistory(), + strict: true, + routes: constantRouterMap as RouteRecordRaw[], + scrollBehavior: () => ({ left: 0, top: 0 }), +}); + +export const resetRouter = (): void => { + const resetWhiteNameList = ['Redirect', 'Login', 'NoFind', 'Root']; + router.getRoutes().forEach(route => { + const { name } = route; + if (name && !resetWhiteNameList.includes(name as string)) { + router.hasRoute(name) && router.removeRoute(name); + } + }); +}; + +export const setupRouter = (app: App) => { + app.use(router); +}; + +export default router; diff --git a/scripts/build/vite.config.ts b/scripts/build/vite.config.ts new file mode 100644 index 0000000..a2b1d93 --- /dev/null +++ b/scripts/build/vite.config.ts @@ -0,0 +1,140 @@ +import { resolve } from 'path'; +import { loadEnv } from 'vite'; +import type { UserConfig, ConfigEnv } from 'vite'; +import Vue from '@vitejs/plugin-vue'; +import VueJsx from '@vitejs/plugin-vue-jsx'; +import progress from 'vite-plugin-progress'; +// import EslintPlugin from 'vite-plugin-eslint' +import { ViteEjsPlugin } from 'vite-plugin-ejs'; +import PurgeIcons from 'vite-plugin-purge-icons'; +import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite'; +import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'; +import { createStyleImportPlugin, ElementPlusResolve } from 'vite-plugin-style-import'; +import UnoCSS from 'unocss/vite'; + +// https://vitejs.dev/config/ +const root = process.cwd(); + +function pathResolve(dir: string) { + return resolve(root, '.', dir); +} + +export default ({ command, mode }: ConfigEnv): UserConfig => { + let env = {} as any; + const isBuild = command === 'build'; + if (!isBuild) { + env = loadEnv(process.argv[3] === '--mode' ? process.argv[4] : process.argv[3], root); + } else { + env = loadEnv(mode, root); + } + return { + base: env.VITE_BASE_PATH, + plugins: [ + Vue({ + script: { + // 开启defineModel + defineModel: true, + }, + }), + VueJsx(), + progress(), + createStyleImportPlugin({ + resolves: [ElementPlusResolve()], + libs: [ + { + libraryName: 'element-plus', + esModule: true, + resolveStyle: name => { + if (name === 'click-outside') { + return ''; + } + return `element-plus/es/components/${name.replace(/^el-/, '')}/style/css`; + }, + }, + ], + }), + // EslintPlugin({ + // cache: false, + // include: ['src/**/*.vue', 'src/**/*.ts', 'src/**/*.tsx'] // 检查的文件 + // }), + VueI18nPlugin({ + runtimeOnly: true, + compositionOnly: true, + include: [resolve(__dirname, 'src/locales/**')], + }), + createSvgIconsPlugin({ + iconDirs: [pathResolve('src/assets/svgs')], + symbolId: 'icon-[dir]-[name]', + svgoOptions: true, + }), + PurgeIcons(), + ViteEjsPlugin({ + title: env.VITE_APP_TITLE, + }), + UnoCSS(), + // sveltekit(), + ], + + css: { + preprocessorOptions: { + less: { + additionalData: '@import "./src/styles/variables.module.less";', + javascriptEnabled: true, + }, + }, + }, + resolve: { + extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.less', '.css'], + alias: [ + { + find: 'vue-i18n', + replacement: 'vue-i18n/dist/vue-i18n.cjs.js', + }, + { + find: /\@\//, + replacement: `${pathResolve('src')}/`, + }, + ], + }, + build: { + minify: 'terser', + outDir: 'dist-moudle', + sourcemap: env.VITE_SOURCEMAP === 'true' ? 'inline' : false, + // brotliSize: false, + terserOptions: { + compress: { + drop_debugger: env.VITE_DROP_DEBUGGER === 'true', + drop_console: env.VITE_DROP_CONSOLE === 'true', + }, + }, + rollupOptions: { + input: pathResolve('scripts/build/index.html'), + // output: { + // name: 'index.html', + // dir: 'dist', file: 'dist/index.html' + // }, + }, + }, + optimizeDeps: { + include: [ + 'vue', + 'vue-router', + 'vue-types', + 'element-plus/es/locale/lang/zh-cn', + 'element-plus/es/locale/lang/en', + '@iconify/iconify', + '@vueuse/core', + 'axios', + 'qs', + 'echarts', + 'echarts-wordcloud', + 'qrcode', + '@wangeditor/editor', + '@wangeditor/editor-for-vue', + 'vue-json-pretty', + '@zxcvbn-ts/core', + 'dayjs', + ], + }, + }; +}; diff --git a/scripts/icon.ts b/scripts/icon.ts new file mode 100644 index 0000000..27c33e5 --- /dev/null +++ b/scripts/icon.ts @@ -0,0 +1,71 @@ +import path from 'path' +import fs from 'fs-extra' +import inquirer from 'inquirer' +import chalk from 'chalk' +import pkg from '../package.json' + +interface Icon { + name: string + prefix: string + icons: string[] +} + +async function generateIcon() { + const dir = path.resolve(process.cwd(), 'node_modules/@iconify/json') + + const raw = await fs.readJSON(path.join(dir, 'collections.json')) + + const collections = Object.entries(raw).map(([id, v]) => ({ + ...(v as any), + id + })) + + const choices = collections.map((item) => ({ key: item.id, value: item.id, name: item.name })) + + inquirer + .prompt([ + // { + // type: 'list', + // name: 'useType', + // choices: [ + // { key: 'local', value: 'local', name: 'Local' }, + // { key: 'onLine', value: 'onLine', name: 'OnLine' } + // ], + // message: 'How to use icons?' + // }, + { + type: 'list', + name: 'iconSet', + choices: choices, + message: 'Select the icon set that needs to be generated?' + } + ]) + // ↓命令行问答的答案 + .then(async (answers) => { + const { iconSet } = answers + // const isOnLine = useType === 'onLine' + const outputDir = path.resolve(process.cwd(), 'src/components/IconPicker/src/data') + fs.ensureDir(outputDir) + const genCollections = collections.filter((item) => [iconSet].includes(item.id)) + const prefixSet: string[] = [] + for (const info of genCollections) { + const data = await fs.readJSON(path.join(dir, 'json', `${info.id}.json`)) + if (data) { + const { prefix } = data + const icons = Object.keys(data.icons).map((item) => `${prefix}:${item}`) + + await fs.writeFileSync( + path.join('src/components/IconPicker/src/data', `icons.${prefix}.ts`), + `export default ${JSON.stringify({ name: info.name, prefix, icons })}` + ) + // ↓分类处理完成,push类型名称 + prefixSet.push(prefix) + } + } + console.log( + `✨ ${chalk.cyan(`[${pkg.name}]`)}` + ' - Icon generated successfully:' + `[${prefixSet}]` + ) + }) +} + +generateIcon() diff --git a/select b/select new file mode 100644 index 0000000..2ff1cbc --- /dev/null +++ b/select @@ -0,0 +1,28 @@ +select + distinct res.name, + res.URL, + res.id, + res.PARENT_ID, + res.COMMON, + res.ICON, + res.SORT, + res.TYPE, + res.URL, + res.DESCRIPTION, + res.STATUS, + res.PERMISSION_STR, + res.PARENT_IDS, + res.SYSTEM_CODE, + res.ROUTE_NAME, + srr.PERMISSION +from + sys_menu res +left join sys_role_menu srr on + res.id = srr.menu_id +left join sys_user_role ur on + ur.role_id = srr.role_id +where + STATUS = '0' + and ur.user_id = '120' +order by + res.SORT diff --git a/src/App.vue b/src/App.vue new file mode 100644 index 0000000..bc5e855 --- /dev/null +++ b/src/App.vue @@ -0,0 +1,75 @@ + + + + + diff --git a/src/api/amld/AmlBsiHoliday/AmlBsiHoliday/index.ts b/src/api/amld/AmlBsiHoliday/AmlBsiHoliday/index.ts new file mode 100644 index 0000000..5cac8e0 --- /dev/null +++ b/src/api/amld/AmlBsiHoliday/AmlBsiHoliday/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getAmlBsiHolidayListApi = (data: any) => { + return request.postJson({ url: '/AmlBsiHoliday/spi/AmlBsiHoliday/AmlBsiHoliday/AmlBsiHolidayQueryPage', data }); +}; + +/** 批量删除 */ +export const delAmlBsiHolidayListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + calender: v.calender, + }; + }); + return request.postJson({ + url: '/AmlBsiHoliday/spi/AmlBsiHoliday/AmlBsiHoliday/AmlBsiHolidayBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delAmlBsiHolidayApi = (calender?: string): Promise => { + return request.postJson({ url: '/AmlBsiHoliday/spi/AmlBsiHoliday/AmlBsiHoliday/AmlBsiHolidayDelete', data: { calender } }); +}; + +/** 保存 */ +export const saveAmlBsiHolidayApi = (data: Partial): Promise => { + return request.postJson({ url: '/AmlBsiHoliday/spi/AmlBsiHoliday/AmlBsiHoliday/AmlBsiHolidaySave', data }); +}; + +/** 查询单条数据 */ +export const queryAmlBsiHolidayApi = (calender?: string): Promise => { + return request.postJson({ url: '/AmlBsiHoliday/spi/AmlBsiHoliday/AmlBsiHoliday/AmlBsiHolidayQueryOne', data: { calender } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/AmlBsiHoliday/sui/AmlBsiHoliday/AmlBsiHoliday/AmlBsiHolidayImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/AmlBsiHoliday/sui/AmlBsiHoliday/AmlBsiHoliday/AmlBsiHolidayImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/AmlBsiHoliday/sdi/AmlBsiHoliday/AmlBsiHoliday/AmlBsiHolidayExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/AmlBsiHoliday/AmlBsiHoliday/types.ts b/src/api/amld/AmlBsiHoliday/AmlBsiHoliday/types.ts new file mode 100644 index 0000000..3b8f696 --- /dev/null +++ b/src/api/amld/AmlBsiHoliday/AmlBsiHoliday/types.ts @@ -0,0 +1,20 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 节假日期 */ + calender?: string + /** 节假类型 */ + week?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 节假日期 */ + calender?: string + /** 节假类型 */ + week?: string +} diff --git a/src/api/amld/AmlRetRgjxAnalysis/AmlRetRgjxAnalysis/index.ts b/src/api/amld/AmlRetRgjxAnalysis/AmlRetRgjxAnalysis/index.ts new file mode 100644 index 0000000..56494d2 --- /dev/null +++ b/src/api/amld/AmlRetRgjxAnalysis/AmlRetRgjxAnalysis/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getAmlRetRgjxAnalysisListApi = (data: any) => { + return request.postJson({ url: '/AmlRetRgjxAnalysis/spi/AmlRetRgjxAnalysis/AmlRetRgjxAnalysis/AmlRetRgjxAnalysisQueryPage', data }); +}; + +/** 批量删除 */ +export const delAmlRetRgjxAnalysisListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/AmlRetRgjxAnalysis/spi/AmlRetRgjxAnalysis/AmlRetRgjxAnalysis/AmlRetRgjxAnalysisBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delAmlRetRgjxAnalysisApi = (pkid?: string): Promise => { + return request.postJson({ url: '/AmlRetRgjxAnalysis/spi/AmlRetRgjxAnalysis/AmlRetRgjxAnalysis/AmlRetRgjxAnalysisDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveAmlRetRgjxAnalysisApi = (data: Partial): Promise => { + return request.postJson({ url: '/AmlRetRgjxAnalysis/spi/AmlRetRgjxAnalysis/AmlRetRgjxAnalysis/AmlRetRgjxAnalysisSave', data }); +}; + +/** 查询单条数据 */ +export const queryAmlRetRgjxAnalysisApi = (pkid?: string): Promise => { + return request.postJson({ url: '/AmlRetRgjxAnalysis/spi/AmlRetRgjxAnalysis/AmlRetRgjxAnalysis/AmlRetRgjxAnalysisQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/AmlRetRgjxAnalysis/sui/AmlRetRgjxAnalysis/AmlRetRgjxAnalysis/AmlRetRgjxAnalysisImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/AmlRetRgjxAnalysis/sui/AmlRetRgjxAnalysis/AmlRetRgjxAnalysis/AmlRetRgjxAnalysisImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/AmlRetRgjxAnalysis/sdi/AmlRetRgjxAnalysis/AmlRetRgjxAnalysis/AmlRetRgjxAnalysisExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/AmlRetRgjxAnalysis/AmlRetRgjxAnalysis/types.ts b/src/api/amld/AmlRetRgjxAnalysis/AmlRetRgjxAnalysis/types.ts new file mode 100644 index 0000000..de30346 --- /dev/null +++ b/src/api/amld/AmlRetRgjxAnalysis/AmlRetRgjxAnalysis/types.ts @@ -0,0 +1,112 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 报告机构编码 */ + ricd?: string + /** 更正、补充完成时限 */ + tmlm?: string + /** 更正、补充填报要求 */ + rqds?: string + /** 原可疑交易报告报文名 */ + ornm?: string + /** 待更正大额可疑交易总数 */ + rqnm?: string + /** 可疑交易在原可疑交易报告中的序号 */ + tsno?: string + /** 待更正可疑交易发生日期 */ + stdt?: string + /** 待更正字段 */ + item?: string + /** 原客户号 */ + ocnm?: string + /** 原大额交易发生日期 */ + otdt?: string + /** 原大额交易特征代码 */ + otcd?: string + /** 原业务标示号 */ + otic?: string + /** 补充开始日期 */ + bgdt?: string + /** 补充结束日期 */ + eddt?: string + /** 证件类型 */ + citp?: string + /** 证件号码 */ + ctid?: string + /** 客户账户 */ + ctac?: string + /** 状态; 0未处理,1已处理,2已生成 */ + status?: string + /** 人工补正补充文件名 */ + filename?: string + /** BH ,BS */ + ruletype?: string + /** 文件解析时间 */ + createdate?: string + /** 流水号 */ + itemvalue1?: string + /** 备用2 */ + itemvalue2?: string + /** 交易机构号 */ + itemvalue3?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 报告机构编码 */ + ricd?: string + /** 更正、补充完成时限 */ + tmlm?: string + /** 更正、补充填报要求 */ + rqds?: string + /** 原可疑交易报告报文名 */ + ornm?: string + /** 待更正大额可疑交易总数 */ + rqnm?: string + /** 可疑交易在原可疑交易报告中的序号 */ + tsno?: string + /** 待更正可疑交易发生日期 */ + stdt?: string + /** 待更正字段 */ + item?: string + /** 原客户号 */ + ocnm?: string + /** 原大额交易发生日期 */ + otdt?: string + /** 原大额交易特征代码 */ + otcd?: string + /** 原业务标示号 */ + otic?: string + /** 补充开始日期 */ + bgdt?: string + /** 补充结束日期 */ + eddt?: string + /** 证件类型 */ + citp?: string + /** 证件号码 */ + ctid?: string + /** 客户账户 */ + ctac?: string + /** 状态; 0未处理,1已处理,2已生成 */ + status?: string + /** 人工补正补充文件名 */ + filename?: string + /** BH ,BS */ + ruletype?: string + /** 文件解析时间 */ + createdate?: string + /** 流水号 */ + itemvalue1?: string + /** 备用2 */ + itemvalue2?: string + /** 交易机构号 */ + itemvalue3?: string +} diff --git a/src/api/amld/AmlRetRgjxDealing/AmlRetRgjxDealing/index.ts b/src/api/amld/AmlRetRgjxDealing/AmlRetRgjxDealing/index.ts new file mode 100644 index 0000000..822ed1d --- /dev/null +++ b/src/api/amld/AmlRetRgjxDealing/AmlRetRgjxDealing/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getAmlRetRgjxDealingListApi = (data: any) => { + return request.postJson({ url: '/AmlRetRgjxDealing/spi/AmlRetRgjxDealing/AmlRetRgjxDealing/AmlRetRgjxDealingQueryPage', data }); +}; + +/** 批量删除 */ +export const delAmlRetRgjxDealingListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/AmlRetRgjxDealing/spi/AmlRetRgjxDealing/AmlRetRgjxDealing/AmlRetRgjxDealingBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delAmlRetRgjxDealingApi = (pkid?: string): Promise => { + return request.postJson({ url: '/AmlRetRgjxDealing/spi/AmlRetRgjxDealing/AmlRetRgjxDealing/AmlRetRgjxDealingDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveAmlRetRgjxDealingApi = (data: Partial): Promise => { + return request.postJson({ url: '/AmlRetRgjxDealing/spi/AmlRetRgjxDealing/AmlRetRgjxDealing/AmlRetRgjxDealingSave', data }); +}; + +/** 查询单条数据 */ +export const queryAmlRetRgjxDealingApi = (pkid?: string): Promise => { + return request.postJson({ url: '/AmlRetRgjxDealing/spi/AmlRetRgjxDealing/AmlRetRgjxDealing/AmlRetRgjxDealingQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/AmlRetRgjxDealing/sui/AmlRetRgjxDealing/AmlRetRgjxDealing/AmlRetRgjxDealingImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/AmlRetRgjxDealing/sui/AmlRetRgjxDealing/AmlRetRgjxDealing/AmlRetRgjxDealingImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/AmlRetRgjxDealing/sdi/AmlRetRgjxDealing/AmlRetRgjxDealing/AmlRetRgjxDealingExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/AmlRetRgjxDealing/AmlRetRgjxDealing/types.ts b/src/api/amld/AmlRetRgjxDealing/AmlRetRgjxDealing/types.ts new file mode 100644 index 0000000..de30346 --- /dev/null +++ b/src/api/amld/AmlRetRgjxDealing/AmlRetRgjxDealing/types.ts @@ -0,0 +1,112 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 报告机构编码 */ + ricd?: string + /** 更正、补充完成时限 */ + tmlm?: string + /** 更正、补充填报要求 */ + rqds?: string + /** 原可疑交易报告报文名 */ + ornm?: string + /** 待更正大额可疑交易总数 */ + rqnm?: string + /** 可疑交易在原可疑交易报告中的序号 */ + tsno?: string + /** 待更正可疑交易发生日期 */ + stdt?: string + /** 待更正字段 */ + item?: string + /** 原客户号 */ + ocnm?: string + /** 原大额交易发生日期 */ + otdt?: string + /** 原大额交易特征代码 */ + otcd?: string + /** 原业务标示号 */ + otic?: string + /** 补充开始日期 */ + bgdt?: string + /** 补充结束日期 */ + eddt?: string + /** 证件类型 */ + citp?: string + /** 证件号码 */ + ctid?: string + /** 客户账户 */ + ctac?: string + /** 状态; 0未处理,1已处理,2已生成 */ + status?: string + /** 人工补正补充文件名 */ + filename?: string + /** BH ,BS */ + ruletype?: string + /** 文件解析时间 */ + createdate?: string + /** 流水号 */ + itemvalue1?: string + /** 备用2 */ + itemvalue2?: string + /** 交易机构号 */ + itemvalue3?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 报告机构编码 */ + ricd?: string + /** 更正、补充完成时限 */ + tmlm?: string + /** 更正、补充填报要求 */ + rqds?: string + /** 原可疑交易报告报文名 */ + ornm?: string + /** 待更正大额可疑交易总数 */ + rqnm?: string + /** 可疑交易在原可疑交易报告中的序号 */ + tsno?: string + /** 待更正可疑交易发生日期 */ + stdt?: string + /** 待更正字段 */ + item?: string + /** 原客户号 */ + ocnm?: string + /** 原大额交易发生日期 */ + otdt?: string + /** 原大额交易特征代码 */ + otcd?: string + /** 原业务标示号 */ + otic?: string + /** 补充开始日期 */ + bgdt?: string + /** 补充结束日期 */ + eddt?: string + /** 证件类型 */ + citp?: string + /** 证件号码 */ + ctid?: string + /** 客户账户 */ + ctac?: string + /** 状态; 0未处理,1已处理,2已生成 */ + status?: string + /** 人工补正补充文件名 */ + filename?: string + /** BH ,BS */ + ruletype?: string + /** 文件解析时间 */ + createdate?: string + /** 流水号 */ + itemvalue1?: string + /** 备用2 */ + itemvalue2?: string + /** 交易机构号 */ + itemvalue3?: string +} diff --git a/src/api/amld/AmlRuleAutoslay/AmlRuleAutoslay/index.ts b/src/api/amld/AmlRuleAutoslay/AmlRuleAutoslay/index.ts new file mode 100644 index 0000000..0e839d1 --- /dev/null +++ b/src/api/amld/AmlRuleAutoslay/AmlRuleAutoslay/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getAmlRuleAutoslayListApi = (data: any) => { + return request.postJson({ url: '/AmlRuleAutoslay/spi/AmlRuleAutoslay/AmlRuleAutoslay/AmlRuleAutoslayQueryPage', data }); +}; + +/** 批量删除 */ +export const delAmlRuleAutoslayListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/AmlRuleAutoslay/spi/AmlRuleAutoslay/AmlRuleAutoslay/AmlRuleAutoslayBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delAmlRuleAutoslayApi = (pkid?: string): Promise => { + return request.postJson({ url: '/AmlRuleAutoslay/spi/AmlRuleAutoslay/AmlRuleAutoslay/AmlRuleAutoslayDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveAmlRuleAutoslayApi = (data: Partial): Promise => { + return request.postJson({ url: '/AmlRuleAutoslay/spi/AmlRuleAutoslay/AmlRuleAutoslay/AmlRuleAutoslaySave', data }); +}; + +/** 查询单条数据 */ +export const queryAmlRuleAutoslayApi = (pkid?: string): Promise => { + return request.postJson({ url: '/AmlRuleAutoslay/spi/AmlRuleAutoslay/AmlRuleAutoslay/AmlRuleAutoslayQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/AmlRuleAutoslay/sui/AmlRuleAutoslay/AmlRuleAutoslay/AmlRuleAutoslayImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/AmlRuleAutoslay/sui/AmlRuleAutoslay/AmlRuleAutoslay/AmlRuleAutoslayImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/AmlRuleAutoslay/sdi/AmlRuleAutoslay/AmlRuleAutoslay/AmlRuleAutoslayExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/AmlRuleAutoslay/AmlRuleAutoslay/types.ts b/src/api/amld/AmlRuleAutoslay/AmlRuleAutoslay/types.ts new file mode 100644 index 0000000..78a4e80 --- /dev/null +++ b/src/api/amld/AmlRuleAutoslay/AmlRuleAutoslay/types.ts @@ -0,0 +1,468 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序列字段 */ + pkid?: string + /** 自动运算编号 */ + autoCode?: string + /** 计算日期 */ + cctDate?: string + /** 规则表 */ + ruleCode?: string + /** 对应AML_RULE_IDX表IDX_CODE个字段 */ + idxCode?: string + /** 交易类型:BH为大额,BS为可疑 */ + ruleType?: string + /** 1.系统2人工 */ + cctType?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 身份证号 */ + ssnNo?: string + /** 客户证件类型 */ + ssnNotype?: string + /** 客户国籍 */ + custCountry?: string + /** 客户联系电话 */ + custTel?: string + /** 客户住址 */ + custAddress?: string + /** 客户其他联系方式 */ + custContactway?: string + /** 客户对公对私标示 交易对手客户类型 01对公 02 对私 */ + custPptype?: string + /** 对私客户职业或对公客户行也 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: number + /** 法定代表人姓名 */ + corporationName?: string + /** 法定代表人身份类型 */ + corporationCardtye?: string + /** 法定代表人身份证号码 */ + corporationCardno?: string + /** 开户机构号 */ + custOrgancode?: string + /** 客户性质1- 储蓄2-对公 */ + custClipro?: string + /** 金融机构代码 */ + tranOrgan?: string + /** 金融机构代码类型 */ + tranOrgantype?: string + /** 金融机构名称 */ + tranOrganname?: string + /** 交易发生地 */ + tranAddress?: string + /** 金融机构所在地区行政区划代码 */ + tranAddresscode?: string + /** 账户 */ + tranAcct?: string + /** 账号名称 */ + tranAcctname?: string + /** 账户类型 */ + tranAccttype?: string + /** 活定期标志 */ + tranAccthdflg?: string + /** 账户性质 */ + tranAccthr?: string + /** 产品号 */ + tranAcctprdid?: string + /** 交易方式 */ + tranType?: string + /** 金融机构和大额的关系,银行卡所发生的大额交易:A 金融机构:B 机构:C 客户通过:D 账户:E 00:D在境内开立的E或者A,B为开立E的C或发卡银行 01:D境外A,B为收单行;02:客户不通过E或者A,B为办理业务的C */ + tranBh?: string + /** 业务流水号 */ + serialNo?: string + /** 交易日期 格式yyyyMMdd */ + tranDate?: string + /** 交易时间(yyyymmdd tttttt) */ + tranTime?: string + /** 涉外收支交易分类与代码 */ + tsct?: string + /** 币种 */ + currencyCode?: string + /** 交易金额 */ + amount?: number + /** 资金收付标志 */ + sendcode?: string + /** 资金用途 */ + fundUse?: string + /** 代办人证件类型 */ + bterPaperstype?: string + /** 代办人姓名 */ + bterName?: string + /** 代办人国籍 */ + bterNationality?: string + /** 代办人证件号码 */ + bterPaersno?: string + /** 对方金融机构代码 */ + oppOrgan?: string + /** 对方金融机构代码类型 */ + oppOrgancodetype?: string + /** 对方金融机构名称 */ + oppOrganname?: string + /** 交易去向地 */ + oppAddress?: string + /** 对手金融机构网点行政区划代码 */ + opporgAddresscode?: string + /** 对手姓名 */ + oppName?: string + /** 对手证件类型 */ + oppPaperstype?: string + /** 交易对手证件号码 */ + oppPapersno?: string + /** 对手账户类型 */ + oppAccttype?: string + /** 交易对手账号 */ + oppAcctt?: string + /** 柜员号 */ + telid?: string + /** 交易来源 */ + txtm?: string + /** 交易凭证类型 */ + doctyp?: string + /** 交易凭证号 */ + stvn?: string + /** 卡号 */ + crdno?: string + /** 人行上报的账户或者卡号 */ + ctac?: string + /** null */ + status?: string + /** 0:未下发,1:下发 */ + issend?: string + /** 是否补录0,未补录,1补录 */ + ismanualrecord?: string + /** 回执错误信息内容 */ + retErrors?: string + /** 回执错误对应的XPATH解析出报文中的错误内容 */ + retxpathRepcontent?: string + /** 回执结果编号 */ + retCode?: string + /** 预警排除备注信息 */ + warnRemark?: string + /** 开户时间 */ + opendate?: string + /** 销户时间 */ + closedate?: string + /** 补录id */ + manualrecord?: string + /** 对方客户性质 */ + clipro2?: string + /** 对方活定标志 */ + hdflg2?: string + /** 账户性质 */ + accchr2?: string + /** 对方产品号 */ + prdid2?: string + /** 现转标志,1--现金,2--转账 */ + ctflg?: string + /** 交易来源 */ + txcm?: string + /** 开户机构号 */ + openorg?: string + /** 大额的交易机构号 */ + orgcode?: string + /** 机构的报告主体 */ + orgbody?: string + /** 交易对手客户类型 01对公 02 对私 03个体 04 其他 */ + oppCustPptype?: string + /** 0:未校验,1:校验未通过,2:校验通过 */ + attribute1?: string + /** RULE_CODE的list */ + attribute2?: string + /** 每个自主交易规则的分数 */ + attribute3?: string + /** 是否给出过评审意见,默认没有0,评审过是1 */ + attribute4?: string + /** 客户身份证件/证明文件名称 */ + cuspbkname?: string + /** 对公客户法定代表人身份证件名称 */ + jrdpbna?: string + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 银行卡类型 */ + cardType?: string + /** 银行卡类型名称 */ + cardName?: string + /** 银行卡号码 */ + cardno?: string + /** 代办人身份证件/证明文件名称 */ + agtidn?: string + /** 交易对手身份证件/证明文件名称 */ + cuspbkname1?: string + /** 交易金额(折人民币) */ + amtCny?: number + /** 交易金额(折美元) */ + amtUsd?: number + /** 收付款方匹配号类型 */ + matchtype?: string + /** 收付款方匹配号 */ + matchno?: string + /** 非柜台交易方式 */ + countcode?: string + /** 其他非柜台交易方式 */ + ocountcode?: string + /** 非柜台交易方式的设备代码 */ + countno?: string + /** 交易对手账户类型 */ + acctype2?: string + /** 金融机构与客户的关系 */ + betrel?: string + /** 银行与支付机构之间的业务交易编码 */ + betrancode?: string + /** 交易信息备注 */ + tranremark?: string + /** 操作人 */ + oplasttime?: string + /** 操作时间 */ + opuser?: string + /** 涉外收支交易分类与代码 */ + fortrancode?: string + /** 标志: 2、3 为一次性金融服务 */ + txflg?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序列字段 */ + pkid?: string + /** 自动运算编号 */ + autoCode?: string + /** 计算日期 */ + cctDate?: string + /** 规则表 */ + ruleCode?: string + /** 对应AML_RULE_IDX表IDX_CODE个字段 */ + idxCode?: string + /** 交易类型:BH为大额,BS为可疑 */ + ruleType?: string + /** 1.系统2人工 */ + cctType?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 身份证号 */ + ssnNo?: string + /** 客户证件类型 */ + ssnNotype?: string + /** 客户国籍 */ + custCountry?: string + /** 客户联系电话 */ + custTel?: string + /** 客户住址 */ + custAddress?: string + /** 客户其他联系方式 */ + custContactway?: string + /** 客户对公对私标示 交易对手客户类型 01对公 02 对私 */ + custPptype?: string + /** 对私客户职业或对公客户行也 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: number + /** 法定代表人姓名 */ + corporationName?: string + /** 法定代表人身份类型 */ + corporationCardtye?: string + /** 法定代表人身份证号码 */ + corporationCardno?: string + /** 开户机构号 */ + custOrgancode?: string + /** 客户性质1- 储蓄2-对公 */ + custClipro?: string + /** 金融机构代码 */ + tranOrgan?: string + /** 金融机构代码类型 */ + tranOrgantype?: string + /** 金融机构名称 */ + tranOrganname?: string + /** 交易发生地 */ + tranAddress?: string + /** 金融机构所在地区行政区划代码 */ + tranAddresscode?: string + /** 账户 */ + tranAcct?: string + /** 账号名称 */ + tranAcctname?: string + /** 账户类型 */ + tranAccttype?: string + /** 活定期标志 */ + tranAccthdflg?: string + /** 账户性质 */ + tranAccthr?: string + /** 产品号 */ + tranAcctprdid?: string + /** 交易方式 */ + tranType?: string + /** 金融机构和大额的关系,银行卡所发生的大额交易:A 金融机构:B 机构:C 客户通过:D 账户:E 00:D在境内开立的E或者A,B为开立E的C或发卡银行 01:D境外A,B为收单行;02:客户不通过E或者A,B为办理业务的C */ + tranBh?: string + /** 业务流水号 */ + serialNo?: string + /** 交易日期 格式yyyyMMdd */ + tranDate?: string + /** 交易时间(yyyymmdd tttttt) */ + tranTime?: string + /** 涉外收支交易分类与代码 */ + tsct?: string + /** 币种 */ + currencyCode?: string + /** 交易金额 */ + amount?: number + /** 资金收付标志 */ + sendcode?: string + /** 资金用途 */ + fundUse?: string + /** 代办人证件类型 */ + bterPaperstype?: string + /** 代办人姓名 */ + bterName?: string + /** 代办人国籍 */ + bterNationality?: string + /** 代办人证件号码 */ + bterPaersno?: string + /** 对方金融机构代码 */ + oppOrgan?: string + /** 对方金融机构代码类型 */ + oppOrgancodetype?: string + /** 对方金融机构名称 */ + oppOrganname?: string + /** 交易去向地 */ + oppAddress?: string + /** 对手金融机构网点行政区划代码 */ + opporgAddresscode?: string + /** 对手姓名 */ + oppName?: string + /** 对手证件类型 */ + oppPaperstype?: string + /** 交易对手证件号码 */ + oppPapersno?: string + /** 对手账户类型 */ + oppAccttype?: string + /** 交易对手账号 */ + oppAcctt?: string + /** 柜员号 */ + telid?: string + /** 交易来源 */ + txtm?: string + /** 交易凭证类型 */ + doctyp?: string + /** 交易凭证号 */ + stvn?: string + /** 卡号 */ + crdno?: string + /** 人行上报的账户或者卡号 */ + ctac?: string + /** null */ + status?: string + /** 0:未下发,1:下发 */ + issend?: string + /** 是否补录0,未补录,1补录 */ + ismanualrecord?: string + /** 回执错误信息内容 */ + retErrors?: string + /** 回执错误对应的XPATH解析出报文中的错误内容 */ + retxpathRepcontent?: string + /** 回执结果编号 */ + retCode?: string + /** 预警排除备注信息 */ + warnRemark?: string + /** 开户时间 */ + opendate?: string + /** 销户时间 */ + closedate?: string + /** 补录id */ + manualrecord?: string + /** 对方客户性质 */ + clipro2?: string + /** 对方活定标志 */ + hdflg2?: string + /** 账户性质 */ + accchr2?: string + /** 对方产品号 */ + prdid2?: string + /** 现转标志,1--现金,2--转账 */ + ctflg?: string + /** 交易来源 */ + txcm?: string + /** 开户机构号 */ + openorg?: string + /** 大额的交易机构号 */ + orgcode?: string + /** 机构的报告主体 */ + orgbody?: string + /** 交易对手客户类型 01对公 02 对私 03个体 04 其他 */ + oppCustPptype?: string + /** 0:未校验,1:校验未通过,2:校验通过 */ + attribute1?: string + /** RULE_CODE的list */ + attribute2?: string + /** 每个自主交易规则的分数 */ + attribute3?: string + /** 是否给出过评审意见,默认没有0,评审过是1 */ + attribute4?: string + /** 客户身份证件/证明文件名称 */ + cuspbkname?: string + /** 对公客户法定代表人身份证件名称 */ + jrdpbna?: string + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 银行卡类型 */ + cardType?: string + /** 银行卡类型名称 */ + cardName?: string + /** 银行卡号码 */ + cardno?: string + /** 代办人身份证件/证明文件名称 */ + agtidn?: string + /** 交易对手身份证件/证明文件名称 */ + cuspbkname1?: string + /** 交易金额(折人民币) */ + amtCny?: number + /** 交易金额(折美元) */ + amtUsd?: number + /** 收付款方匹配号类型 */ + matchtype?: string + /** 收付款方匹配号 */ + matchno?: string + /** 非柜台交易方式 */ + countcode?: string + /** 其他非柜台交易方式 */ + ocountcode?: string + /** 非柜台交易方式的设备代码 */ + countno?: string + /** 交易对手账户类型 */ + acctype2?: string + /** 金融机构与客户的关系 */ + betrel?: string + /** 银行与支付机构之间的业务交易编码 */ + betrancode?: string + /** 交易信息备注 */ + tranremark?: string + /** 操作人 */ + oplasttime?: string + /** 操作时间 */ + opuser?: string + /** 涉外收支交易分类与代码 */ + fortrancode?: string + /** 标志: 2、3 为一次性金融服务 */ + txflg?: string +} diff --git a/src/api/amld/AmlRuleAutoslayError/AmlRuleAutoslayError/index.ts b/src/api/amld/AmlRuleAutoslayError/AmlRuleAutoslayError/index.ts new file mode 100644 index 0000000..4e0b69b --- /dev/null +++ b/src/api/amld/AmlRuleAutoslayError/AmlRuleAutoslayError/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getAmlRuleAutoslayErrorListApi = (data: any) => { + return request.postJson({ url: '/AmlRuleAutoslayError/spi/AmlRuleAutoslayError/AmlRuleAutoslayError/AmlRuleAutoslayErrorQueryPage', data }); +}; + +/** 批量删除 */ +export const delAmlRuleAutoslayErrorListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/AmlRuleAutoslayError/spi/AmlRuleAutoslayError/AmlRuleAutoslayError/AmlRuleAutoslayErrorBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delAmlRuleAutoslayErrorApi = (pkid?: string): Promise => { + return request.postJson({ url: '/AmlRuleAutoslayError/spi/AmlRuleAutoslayError/AmlRuleAutoslayError/AmlRuleAutoslayErrorDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveAmlRuleAutoslayErrorApi = (data: Partial): Promise => { + return request.postJson({ url: '/AmlRuleAutoslayError/spi/AmlRuleAutoslayError/AmlRuleAutoslayError/AmlRuleAutoslayErrorSave', data }); +}; + +/** 查询单条数据 */ +export const queryAmlRuleAutoslayErrorApi = (pkid?: string): Promise => { + return request.postJson({ url: '/AmlRuleAutoslayError/spi/AmlRuleAutoslayError/AmlRuleAutoslayError/AmlRuleAutoslayErrorQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/AmlRuleAutoslayError/sui/AmlRuleAutoslayError/AmlRuleAutoslayError/AmlRuleAutoslayErrorImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/AmlRuleAutoslayError/sui/AmlRuleAutoslayError/AmlRuleAutoslayError/AmlRuleAutoslayErrorImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/AmlRuleAutoslayError/sdi/AmlRuleAutoslayError/AmlRuleAutoslayError/AmlRuleAutoslayErrorExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/AmlRuleAutoslayError/AmlRuleAutoslayError/types.ts b/src/api/amld/AmlRuleAutoslayError/AmlRuleAutoslayError/types.ts new file mode 100644 index 0000000..3f5e0b8 --- /dev/null +++ b/src/api/amld/AmlRuleAutoslayError/AmlRuleAutoslayError/types.ts @@ -0,0 +1,468 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序列字段 */ + pkid?: string + /** 自动运算编号 */ + autoCode?: string + /** 计算日期 */ + cctDate?: string + /** 规则表 */ + ruleCode?: string + /** 对应AML_RULE_IDX表IDX_CODE个字段 */ + idxCode?: string + /** 交易类型:BH为大额,BS为可疑 */ + ruleType?: string + /** 1.系统2人工 */ + cctType?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 身份证号 */ + ssnNo?: string + /** 客户证件类型 */ + ssnNotype?: string + /** 客户国籍 */ + custCountry?: string + /** 客户联系电话 */ + custTel?: string + /** 客户住址 */ + custAddress?: string + /** 客户其他联系方式 */ + custContactway?: string + /** 客户对公对私标示 交易对手客户类型 01对公 02 对私 */ + custPptype?: string + /** 对私客户职业或对公客户行也 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: number + /** 法定代表人姓名 */ + corporationName?: string + /** 法定代表人身份类型 */ + corporationCardtye?: string + /** 法定代表人身份证号码 */ + corporationCardno?: string + /** 开户机构号 */ + custOrgancode?: string + /** 客户性质1- 储蓄2-对公 */ + custClipro?: string + /** 金融机构代码 */ + tranOrgan?: string + /** 金融机构代码类型 */ + tranOrgantype?: string + /** 金融机构名称 */ + tranOrganname?: string + /** 交易发生地 */ + tranAddress?: string + /** 金融机构所在地区行政区划代码 */ + tranAddresscode?: string + /** 账户 */ + tranAcct?: string + /** 账号名称 */ + tranAcctname?: string + /** 账户类型 */ + tranAccttype?: string + /** 活定期标志 */ + tranAccthdflg?: string + /** 账户性质 */ + tranAccthr?: string + /** 产品号 */ + tranAcctprdid?: string + /** 交易方式 */ + tranType?: string + /** 金融机构和大额的关系,银行卡所发生的大额交易:A 金融机构:B 机构:C 客户通过:D 账户:E 00:D在境内开立的E或者A,B为开立E的C或发卡银行 01:D境外A,B为收单行;02:客户不通过E或者A,B为办理业务的C */ + tranBh?: string + /** 业务流水号 */ + serialNo?: string + /** 交易日期 格式yyyyMMdd */ + tranDate?: string + /** 交易时间(yyyymmdd tttttt) */ + tranTime?: string + /** 涉外收支交易分类与代码 */ + tsct?: string + /** 币种 */ + currencyCode?: string + /** 交易金额 */ + amount?: number + /** 资金收付标志 */ + sendcode?: string + /** 资金用途 */ + fundUse?: string + /** 代办人证件类型 */ + bterPaperstype?: string + /** 代办人姓名 */ + bterName?: string + /** 代办人国籍 */ + bterNationality?: string + /** 代办人证件号码 */ + bterPaersno?: string + /** 对方金融机构代码 */ + oppOrgan?: string + /** 对方金融机构代码类型 */ + oppOrgancodetype?: string + /** 对方金融机构名称 */ + oppOrganname?: string + /** 交易去向地 */ + oppAddress?: string + /** 对手金融机构网点行政区划代码 */ + opporgAddresscode?: string + /** 对手姓名 */ + oppName?: string + /** 对手证件类型 */ + oppPaperstype?: string + /** 交易对手证件号码 */ + oppPapersno?: string + /** 对手账户类型 */ + oppAccttype?: string + /** 交易对手账号 */ + oppAcctt?: string + /** 柜员号 */ + telid?: string + /** 交易来源 */ + txtm?: string + /** 交易凭证类型 */ + doctyp?: string + /** 交易凭证号 */ + stvn?: string + /** 卡号 */ + crdno?: string + /** 人行上报的账户或者卡号 */ + ctac?: string + /** 交易状态 */ + status?: string + /** 0:未下发,1:下发 */ + issend?: string + /** 是否补录0,未补录,1补录 */ + ismanualrecord?: string + /** 回执错误信息内容 */ + retErrors?: string + /** 回执错误对应的XPATH解析出报文中的错误内容 */ + retxpathRepcontent?: string + /** 回执结果编号 */ + retCode?: string + /** 预警排除备注信息 */ + warnRemark?: string + /** 开户时间 */ + opendate?: string + /** 销户时间 */ + closedate?: string + /** 补录id */ + manualrecord?: string + /** 对方客户性质 */ + clipro2?: string + /** 对方活定标志 */ + hdflg2?: string + /** 账户性质 */ + accchr2?: string + /** 对方产品号 */ + prdid2?: string + /** 现转标志,1--现金,2--转账 */ + ctflg?: string + /** 交易来源 */ + txcm?: string + /** 开户机构号 */ + openorg?: string + /** 大额的交易机构号 */ + orgcode?: string + /** 机构的报告主体 */ + orgbody?: string + /** 交易对手客户类型 01对公 02 对私 03个体 04 其他 */ + oppCustPptype?: string + /** 0:未校验,1:校验未通过,2:校验通过 */ + attribute1?: string + /** RULE_CODE的list */ + attribute2?: string + /** 每个自主交易规则的分数 */ + attribute3?: string + /** 是否给出过评审意见,默认没有0,评审过是1 */ + attribute4?: string + /** 客户身份证件/证明文件名称 */ + cuspbkname?: string + /** 对公客户法定代表人身份证件名称 */ + jrdpbna?: string + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 银行卡类型 */ + cardType?: string + /** 银行卡类型名称 */ + cardName?: string + /** 银行卡号码 */ + cardno?: string + /** 代办人身份证件/证明文件名称 */ + agtidn?: string + /** 交易对手身份证件/证明文件名称 */ + cuspbkname1?: string + /** 交易金额(折人民币) */ + amtCny?: number + /** 交易金额(折美元) */ + amtUsd?: number + /** 收付款方匹配号类型 */ + matchtype?: string + /** 收付款方匹配号 */ + matchno?: string + /** 非柜台交易方式 */ + countcode?: string + /** 其他非柜台交易方式 */ + ocountcode?: string + /** 非柜台交易方式的设备代码 */ + countno?: string + /** 交易对手账户类型 */ + acctype2?: string + /** 金融机构与客户的关系 */ + betrel?: string + /** 银行与支付机构之间的业务交易编码 */ + betrancode?: string + /** 交易信息备注 */ + tranremark?: string + /** 操作人 */ + oplasttime?: string + /** 操作时间 */ + opuser?: string + /** 涉外收支交易分类与代码 */ + fortrancode?: string + /** 标志: 2、3 为一次性金融服务 */ + txflg?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序列字段 */ + pkid?: string + /** 自动运算编号 */ + autoCode?: string + /** 计算日期 */ + cctDate?: string + /** 规则表 */ + ruleCode?: string + /** 对应AML_RULE_IDX表IDX_CODE个字段 */ + idxCode?: string + /** 交易类型:BH为大额,BS为可疑 */ + ruleType?: string + /** 1.系统2人工 */ + cctType?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 身份证号 */ + ssnNo?: string + /** 客户证件类型 */ + ssnNotype?: string + /** 客户国籍 */ + custCountry?: string + /** 客户联系电话 */ + custTel?: string + /** 客户住址 */ + custAddress?: string + /** 客户其他联系方式 */ + custContactway?: string + /** 客户对公对私标示 交易对手客户类型 01对公 02 对私 */ + custPptype?: string + /** 对私客户职业或对公客户行也 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: number + /** 法定代表人姓名 */ + corporationName?: string + /** 法定代表人身份类型 */ + corporationCardtye?: string + /** 法定代表人身份证号码 */ + corporationCardno?: string + /** 开户机构号 */ + custOrgancode?: string + /** 客户性质1- 储蓄2-对公 */ + custClipro?: string + /** 金融机构代码 */ + tranOrgan?: string + /** 金融机构代码类型 */ + tranOrgantype?: string + /** 金融机构名称 */ + tranOrganname?: string + /** 交易发生地 */ + tranAddress?: string + /** 金融机构所在地区行政区划代码 */ + tranAddresscode?: string + /** 账户 */ + tranAcct?: string + /** 账号名称 */ + tranAcctname?: string + /** 账户类型 */ + tranAccttype?: string + /** 活定期标志 */ + tranAccthdflg?: string + /** 账户性质 */ + tranAccthr?: string + /** 产品号 */ + tranAcctprdid?: string + /** 交易方式 */ + tranType?: string + /** 金融机构和大额的关系,银行卡所发生的大额交易:A 金融机构:B 机构:C 客户通过:D 账户:E 00:D在境内开立的E或者A,B为开立E的C或发卡银行 01:D境外A,B为收单行;02:客户不通过E或者A,B为办理业务的C */ + tranBh?: string + /** 业务流水号 */ + serialNo?: string + /** 交易日期 格式yyyyMMdd */ + tranDate?: string + /** 交易时间(yyyymmdd tttttt) */ + tranTime?: string + /** 涉外收支交易分类与代码 */ + tsct?: string + /** 币种 */ + currencyCode?: string + /** 交易金额 */ + amount?: number + /** 资金收付标志 */ + sendcode?: string + /** 资金用途 */ + fundUse?: string + /** 代办人证件类型 */ + bterPaperstype?: string + /** 代办人姓名 */ + bterName?: string + /** 代办人国籍 */ + bterNationality?: string + /** 代办人证件号码 */ + bterPaersno?: string + /** 对方金融机构代码 */ + oppOrgan?: string + /** 对方金融机构代码类型 */ + oppOrgancodetype?: string + /** 对方金融机构名称 */ + oppOrganname?: string + /** 交易去向地 */ + oppAddress?: string + /** 对手金融机构网点行政区划代码 */ + opporgAddresscode?: string + /** 对手姓名 */ + oppName?: string + /** 对手证件类型 */ + oppPaperstype?: string + /** 交易对手证件号码 */ + oppPapersno?: string + /** 对手账户类型 */ + oppAccttype?: string + /** 交易对手账号 */ + oppAcctt?: string + /** 柜员号 */ + telid?: string + /** 交易来源 */ + txtm?: string + /** 交易凭证类型 */ + doctyp?: string + /** 交易凭证号 */ + stvn?: string + /** 卡号 */ + crdno?: string + /** 人行上报的账户或者卡号 */ + ctac?: string + /** 交易状态 */ + status?: string + /** 0:未下发,1:下发 */ + issend?: string + /** 是否补录0,未补录,1补录 */ + ismanualrecord?: string + /** 回执错误信息内容 */ + retErrors?: string + /** 回执错误对应的XPATH解析出报文中的错误内容 */ + retxpathRepcontent?: string + /** 回执结果编号 */ + retCode?: string + /** 预警排除备注信息 */ + warnRemark?: string + /** 开户时间 */ + opendate?: string + /** 销户时间 */ + closedate?: string + /** 补录id */ + manualrecord?: string + /** 对方客户性质 */ + clipro2?: string + /** 对方活定标志 */ + hdflg2?: string + /** 账户性质 */ + accchr2?: string + /** 对方产品号 */ + prdid2?: string + /** 现转标志,1--现金,2--转账 */ + ctflg?: string + /** 交易来源 */ + txcm?: string + /** 开户机构号 */ + openorg?: string + /** 大额的交易机构号 */ + orgcode?: string + /** 机构的报告主体 */ + orgbody?: string + /** 交易对手客户类型 01对公 02 对私 03个体 04 其他 */ + oppCustPptype?: string + /** 0:未校验,1:校验未通过,2:校验通过 */ + attribute1?: string + /** RULE_CODE的list */ + attribute2?: string + /** 每个自主交易规则的分数 */ + attribute3?: string + /** 是否给出过评审意见,默认没有0,评审过是1 */ + attribute4?: string + /** 客户身份证件/证明文件名称 */ + cuspbkname?: string + /** 对公客户法定代表人身份证件名称 */ + jrdpbna?: string + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 银行卡类型 */ + cardType?: string + /** 银行卡类型名称 */ + cardName?: string + /** 银行卡号码 */ + cardno?: string + /** 代办人身份证件/证明文件名称 */ + agtidn?: string + /** 交易对手身份证件/证明文件名称 */ + cuspbkname1?: string + /** 交易金额(折人民币) */ + amtCny?: number + /** 交易金额(折美元) */ + amtUsd?: number + /** 收付款方匹配号类型 */ + matchtype?: string + /** 收付款方匹配号 */ + matchno?: string + /** 非柜台交易方式 */ + countcode?: string + /** 其他非柜台交易方式 */ + ocountcode?: string + /** 非柜台交易方式的设备代码 */ + countno?: string + /** 交易对手账户类型 */ + acctype2?: string + /** 金融机构与客户的关系 */ + betrel?: string + /** 银行与支付机构之间的业务交易编码 */ + betrancode?: string + /** 交易信息备注 */ + tranremark?: string + /** 操作人 */ + oplasttime?: string + /** 操作时间 */ + opuser?: string + /** 涉外收支交易分类与代码 */ + fortrancode?: string + /** 标志: 2、3 为一次性金融服务 */ + txflg?: string +} diff --git a/src/api/amld/AmlRuleCust/AmlRuleCust/index.ts b/src/api/amld/AmlRuleCust/AmlRuleCust/index.ts new file mode 100644 index 0000000..de134f7 --- /dev/null +++ b/src/api/amld/AmlRuleCust/AmlRuleCust/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getAmlRuleCustListApi = (data: any) => { + return request.postJson({ url: '/AmlRuleCust/spi/AmlRuleCust/AmlRuleCust/AmlRuleCustQueryPage', data }); +}; + +/** 批量删除 */ +export const delAmlRuleCustListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/AmlRuleCust/spi/AmlRuleCust/AmlRuleCust/AmlRuleCustBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delAmlRuleCustApi = (pkid?: string): Promise => { + return request.postJson({ url: '/AmlRuleCust/spi/AmlRuleCust/AmlRuleCust/AmlRuleCustDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveAmlRuleCustApi = (data: Partial): Promise => { + return request.postJson({ url: '/AmlRuleCust/spi/AmlRuleCust/AmlRuleCust/AmlRuleCustSave', data }); +}; + +/** 查询单条数据 */ +export const queryAmlRuleCustApi = (pkid?: string): Promise => { + return request.postJson({ url: '/AmlRuleCust/spi/AmlRuleCust/AmlRuleCust/AmlRuleCustQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/AmlRuleCust/sui/AmlRuleCust/AmlRuleCust/AmlRuleCustImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/AmlRuleCust/sui/AmlRuleCust/AmlRuleCust/AmlRuleCustImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/AmlRuleCust/sdi/AmlRuleCust/AmlRuleCust/AmlRuleCustExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/AmlRuleCust/AmlRuleCust/types.ts b/src/api/amld/AmlRuleCust/AmlRuleCust/types.ts new file mode 100644 index 0000000..8344086 --- /dev/null +++ b/src/api/amld/AmlRuleCust/AmlRuleCust/types.ts @@ -0,0 +1,148 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 证件号码 */ + ssnNo?: string + /** 证件类型 */ + ssnNotype?: string + /** 客户国籍 */ + custCountry?: string + /** 客户联系电话 */ + custTel?: string + /** 客户住址 */ + custAddress?: string + /** 客户其他联系方式 */ + custContactway?: string + /** 客户对公对私标示 交易对手客户类型 01对公 02 对私 */ + custPptype?: string + /** 对私客户职业或对公客户行也 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: string + /** 法定代表人姓名 */ + corporationName?: string + /** 法定代表人身份类型 */ + corporationCardtye?: string + /** 法定代表人身份证号码 */ + corporationCardno?: string + /** 客户性质1- 储蓄2-对公 */ + custClipro?: string + /** 开户机构号 */ + openorg?: string + /** 其它证件类型名称 */ + attribute1?: string + /** null */ + attribute2?: string + /** null */ + attribute3?: string + /** null */ + attribute4?: string + /** 客户报送次数 */ + reportfreq?: string + /** 对公客户法定代表人身份证件名称 */ + jrdpbna?: string + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 上报时间 最后一次上报的时间 */ + reportDate?: string + /** 当前客户上报第一次的文件名 */ + reportFirstname?: string + /** 状态: 0:未补录,1:已补录 */ + status?: string + /** 0 需要重新补录 1 重新补录ok 2 生成报文 */ + errStatus?: string + /** 操作人 */ + opuser?: string + /** 操作时间 */ + oplasttime?: string + /** 标志: 2、3 为一次性金融服务 */ + txflg?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 证件号码 */ + ssnNo?: string + /** 证件类型 */ + ssnNotype?: string + /** 客户国籍 */ + custCountry?: string + /** 客户联系电话 */ + custTel?: string + /** 客户住址 */ + custAddress?: string + /** 客户其他联系方式 */ + custContactway?: string + /** 客户对公对私标示 交易对手客户类型 01对公 02 对私 */ + custPptype?: string + /** 对私客户职业或对公客户行也 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: string + /** 法定代表人姓名 */ + corporationName?: string + /** 法定代表人身份类型 */ + corporationCardtye?: string + /** 法定代表人身份证号码 */ + corporationCardno?: string + /** 客户性质1- 储蓄2-对公 */ + custClipro?: string + /** 开户机构号 */ + openorg?: string + /** 其它证件类型名称 */ + attribute1?: string + /** null */ + attribute2?: string + /** null */ + attribute3?: string + /** null */ + attribute4?: string + /** 客户报送次数 */ + reportfreq?: string + /** 对公客户法定代表人身份证件名称 */ + jrdpbna?: string + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 上报时间 最后一次上报的时间 */ + reportDate?: string + /** 当前客户上报第一次的文件名 */ + reportFirstname?: string + /** 状态: 0:未补录,1:已补录 */ + status?: string + /** 0 需要重新补录 1 重新补录ok 2 生成报文 */ + errStatus?: string + /** 操作人 */ + opuser?: string + /** 操作时间 */ + oplasttime?: string + /** 标志: 2、3 为一次性金融服务 */ + txflg?: string +} diff --git a/src/api/amld/AmlSysDataurgeQuery/AmlSysDataurgeQuery/index.ts b/src/api/amld/AmlSysDataurgeQuery/AmlSysDataurgeQuery/index.ts new file mode 100644 index 0000000..85ff9d2 --- /dev/null +++ b/src/api/amld/AmlSysDataurgeQuery/AmlSysDataurgeQuery/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getAmlSysDataurgeQueryListApi = (data: any) => { + return request.postJson({ url: '/AmlSysDataurgeQuery/spi/AmlSysDataurgeQuery/AmlSysDataurgeQuery/AmlSysDataurgeQueryQueryPage', data }); +}; + +/** 批量删除 */ +export const delAmlSysDataurgeQueryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/AmlSysDataurgeQuery/spi/AmlSysDataurgeQuery/AmlSysDataurgeQuery/AmlSysDataurgeQueryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delAmlSysDataurgeQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/AmlSysDataurgeQuery/spi/AmlSysDataurgeQuery/AmlSysDataurgeQuery/AmlSysDataurgeQueryDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveAmlSysDataurgeQueryApi = (data: Partial): Promise => { + return request.postJson({ url: '/AmlSysDataurgeQuery/spi/AmlSysDataurgeQuery/AmlSysDataurgeQuery/AmlSysDataurgeQuerySave', data }); +}; + +/** 查询单条数据 */ +export const queryAmlSysDataurgeQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/AmlSysDataurgeQuery/spi/AmlSysDataurgeQuery/AmlSysDataurgeQuery/AmlSysDataurgeQueryQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/AmlSysDataurgeQuery/sui/AmlSysDataurgeQuery/AmlSysDataurgeQuery/AmlSysDataurgeQueryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/AmlSysDataurgeQuery/sui/AmlSysDataurgeQuery/AmlSysDataurgeQuery/AmlSysDataurgeQueryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/AmlSysDataurgeQuery/sdi/AmlSysDataurgeQuery/AmlSysDataurgeQuery/AmlSysDataurgeQueryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/AmlSysDataurgeQuery/AmlSysDataurgeQuery/types.ts b/src/api/amld/AmlSysDataurgeQuery/AmlSysDataurgeQuery/types.ts new file mode 100644 index 0000000..3d03198 --- /dev/null +++ b/src/api/amld/AmlSysDataurgeQuery/AmlSysDataurgeQuery/types.ts @@ -0,0 +1,56 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 类别: 0自动,1手动 */ + taskType?: string + /** 发起督办机构id */ + initOrganId?: string + /** 接受督办机构id */ + accpetOrganId?: string + /** 发起时间 */ + initDate?: string + /** 回复时间 */ + replyDate?: string + /** 状态: 1未回复,2已回复,9删除 */ + status?: string + /** 督办内容 */ + taskContent?: string + /** 恢复内容 */ + replyContent?: string + /** 督办类型:1预警,2报告,3回执 */ + dgType?: string + /** null */ + accpetOrganname?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 类别: 0自动,1手动 */ + taskType?: string + /** 发起督办机构id */ + initOrganId?: string + /** 接受督办机构id */ + accpetOrganId?: string + /** 发起时间 */ + initDate?: string + /** 回复时间 */ + replyDate?: string + /** 状态: 1未回复,2已回复,9删除 */ + status?: string + /** 督办内容 */ + taskContent?: string + /** 恢复内容 */ + replyContent?: string + /** 督办类型:1预警,2报告,3回执 */ + dgType?: string + /** null */ + accpetOrganname?: string +} diff --git a/src/api/amld/AttentionMain/AttentionMain/index.ts b/src/api/amld/AttentionMain/AttentionMain/index.ts new file mode 100644 index 0000000..a63d69c --- /dev/null +++ b/src/api/amld/AttentionMain/AttentionMain/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getAttentionMainListApi = (data: any) => { + return request.postJson({ url: '/AttentionMain/spi/AttentionMain/AttentionMain/AttentionMainQueryPage', data }); +}; + +/** 批量删除 */ +export const delAttentionMainListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/AttentionMain/spi/AttentionMain/AttentionMain/AttentionMainBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delAttentionMainApi = (pkid?: string): Promise => { + return request.postJson({ url: '/AttentionMain/spi/AttentionMain/AttentionMain/AttentionMainDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveAttentionMainApi = (data: Partial): Promise => { + return request.postJson({ url: '/AttentionMain/spi/AttentionMain/AttentionMain/AttentionMainSave', data }); +}; + +/** 查询单条数据 */ +export const queryAttentionMainApi = (pkid?: string): Promise => { + return request.postJson({ url: '/AttentionMain/spi/AttentionMain/AttentionMain/AttentionMainQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/AttentionMain/sui/AttentionMain/AttentionMain/AttentionMainImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/AttentionMain/sui/AttentionMain/AttentionMain/AttentionMainImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/AttentionMain/sdi/AttentionMain/AttentionMain/AttentionMainExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/AttentionMain/AttentionMain/types.ts b/src/api/amld/AttentionMain/AttentionMain/types.ts new file mode 100644 index 0000000..4dcc80c --- /dev/null +++ b/src/api/amld/AttentionMain/AttentionMain/types.ts @@ -0,0 +1,72 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 创建机构 */ + createOrgancode?: string + /** 创建原因 */ + createReason?: string + /** 创建人 */ + opBy?: string + /** 创建日期 */ + opDate?: string + /** 解除状态 */ + unlockStatus?: string + /** 解除原因 */ + unlockReason?: string + /** 解除人 */ + unlockBy?: string + /** 解除日期 */ + unlockDate?: string + /** 状态 */ + statusNo?: string + /** 客户名称 */ + custName?: string + /** 操作类型 */ + optTypes?: string + /** 客户类型 */ + custType?: string + /** null */ + warnCode?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 创建机构 */ + createOrgancode?: string + /** 创建原因 */ + createReason?: string + /** 创建人 */ + opBy?: string + /** 创建日期 */ + opDate?: string + /** 解除状态 */ + unlockStatus?: string + /** 解除原因 */ + unlockReason?: string + /** 解除人 */ + unlockBy?: string + /** 解除日期 */ + unlockDate?: string + /** 状态 */ + statusNo?: string + /** 客户名称 */ + custName?: string + /** 操作类型 */ + optTypes?: string + /** 客户类型 */ + custType?: string + /** null */ + warnCode?: string +} diff --git a/src/api/amld/BlacklistsScreen/BlacklistsScreen/index.ts b/src/api/amld/BlacklistsScreen/BlacklistsScreen/index.ts new file mode 100644 index 0000000..19c5ac9 --- /dev/null +++ b/src/api/amld/BlacklistsScreen/BlacklistsScreen/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getBlacklistsScreenListApi = (data: any) => { + return request.postJson({ url: '/BlacklistsScreen/spi/BlacklistsScreen/BlacklistsScreen/BlacklistsScreenQueryPage', data }); +}; + +/** 批量删除 */ +export const delBlacklistsScreenListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/BlacklistsScreen/spi/BlacklistsScreen/BlacklistsScreen/BlacklistsScreenBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delBlacklistsScreenApi = (pkid?: string): Promise => { + return request.postJson({ url: '/BlacklistsScreen/spi/BlacklistsScreen/BlacklistsScreen/BlacklistsScreenDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveBlacklistsScreenApi = (data: Partial): Promise => { + return request.postJson({ url: '/BlacklistsScreen/spi/BlacklistsScreen/BlacklistsScreen/BlacklistsScreenSave', data }); +}; + +/** 查询单条数据 */ +export const queryBlacklistsScreenApi = (pkid?: string): Promise => { + return request.postJson({ url: '/BlacklistsScreen/spi/BlacklistsScreen/BlacklistsScreen/BlacklistsScreenQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/BlacklistsScreen/sui/BlacklistsScreen/BlacklistsScreen/BlacklistsScreenImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/BlacklistsScreen/sui/BlacklistsScreen/BlacklistsScreen/BlacklistsScreenImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/BlacklistsScreen/sdi/BlacklistsScreen/BlacklistsScreen/BlacklistsScreenExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/BlacklistsScreen/BlacklistsScreen/types.ts b/src/api/amld/BlacklistsScreen/BlacklistsScreen/types.ts new file mode 100644 index 0000000..89c2d9a --- /dev/null +++ b/src/api/amld/BlacklistsScreen/BlacklistsScreen/types.ts @@ -0,0 +1,100 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 黑名单客户名称 */ + custName?: string + /** 客户证件号 */ + custCardno?: string + /** 匹配类型 */ + matchingtype?: string + /** 匹配度 */ + matchingscore?: string + /** 存量客户号 */ + custCode1?: string + /** 客户账号 */ + attribute5?: string + /** 存量客户名称 */ + custName1?: string + /** 客户号开立时间 */ + createDate?: string + /** 交易时间 */ + tranDate?: string + /** 交易对手名称 */ + oppName?: string + /** 交易对手证件号码 */ + oppPapersno?: string + /** 生成可疑案例编号 */ + warnCode?: string + /** 匹配日期 */ + exportDate?: string + /** 黑名单编号 */ + blackNum?: string + /** 客户归属机构 */ + custOrgancode?: string + /** 账号开立机构 */ + acctOrgancode?: string + /** 交易机构 */ + tranOrgancode?: string + /** 匹配结果 */ + plResult?: string + /** 证件类型 */ + custCardtype?: string + /** 道琼斯黑名单记录id */ + recordId?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 黑名单客户名称 */ + custName?: string + /** 客户证件号 */ + custCardno?: string + /** 匹配类型 */ + matchingtype?: string + /** 匹配度 */ + matchingscore?: string + /** 存量客户号 */ + custCode1?: string + /** 客户账号 */ + attribute5?: string + /** 存量客户名称 */ + custName1?: string + /** 客户号开立时间 */ + createDate?: string + /** 交易时间 */ + tranDate?: string + /** 交易对手名称 */ + oppName?: string + /** 交易对手证件号码 */ + oppPapersno?: string + /** 生成可疑案例编号 */ + warnCode?: string + /** 匹配日期 */ + exportDate?: string + /** 黑名单编号 */ + blackNum?: string + /** 客户归属机构 */ + custOrgancode?: string + /** 账号开立机构 */ + acctOrgancode?: string + /** 交易机构 */ + tranOrgancode?: string + /** 匹配结果 */ + plResult?: string + /** 证件类型 */ + custCardtype?: string + /** 道琼斯黑名单记录id */ + recordId?: string +} diff --git a/src/api/amld/CompetitorInstitution/CompetitorInstitution/index.ts b/src/api/amld/CompetitorInstitution/CompetitorInstitution/index.ts new file mode 100644 index 0000000..2093c78 --- /dev/null +++ b/src/api/amld/CompetitorInstitution/CompetitorInstitution/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCompetitorInstitutionListApi = (data: any) => { + return request.postJson({ url: '/CompetitorInstitution/spi/CompetitorInstitution/CompetitorInstitution/CompetitorInstitutionQueryPage', data }); +}; + +/** 批量删除 */ +export const delCompetitorInstitutionListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/CompetitorInstitution/spi/CompetitorInstitution/CompetitorInstitution/CompetitorInstitutionBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delCompetitorInstitutionApi = (pkid?: string): Promise => { + return request.postJson({ url: '/CompetitorInstitution/spi/CompetitorInstitution/CompetitorInstitution/CompetitorInstitutionDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveCompetitorInstitutionApi = (data: Partial): Promise => { + return request.postJson({ url: '/CompetitorInstitution/spi/CompetitorInstitution/CompetitorInstitution/CompetitorInstitutionSave', data }); +}; + +/** 查询单条数据 */ +export const queryCompetitorInstitutionApi = (pkid?: string): Promise => { + return request.postJson({ url: '/CompetitorInstitution/spi/CompetitorInstitution/CompetitorInstitution/CompetitorInstitutionQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/CompetitorInstitution/sui/CompetitorInstitution/CompetitorInstitution/CompetitorInstitutionImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/CompetitorInstitution/sui/CompetitorInstitution/CompetitorInstitution/CompetitorInstitutionImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/CompetitorInstitution/sdi/CompetitorInstitution/CompetitorInstitution/CompetitorInstitutionExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/CompetitorInstitution/CompetitorInstitution/types.ts b/src/api/amld/CompetitorInstitution/CompetitorInstitution/types.ts new file mode 100644 index 0000000..92f47de --- /dev/null +++ b/src/api/amld/CompetitorInstitution/CompetitorInstitution/types.ts @@ -0,0 +1,96 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 金融机构网点代码 */ + bankco?: string + /** 金融机构网点名称 */ + bankna?: string + /** 行别代码 */ + bantyp?: string + /** 联行类别 */ + bankType?: string + /** 地区代码 */ + area?: string + /** 联行状态 */ + status?: string + /** 清算行行号 */ + cnapsc?: string + /** 所属人行代码 */ + rmbnkc?: string + /** 联系地址 */ + addres?: string + /** 联系电话 */ + tel?: string + /** 电子邮件 */ + email?: string + /** 邮编 */ + post?: string + /** 更新序号 */ + updtun?: string + /** 更新日期 */ + updtat?: string + /** 最近更新操作 */ + upoper?: string + /** 节点代码 */ + nodenu?: string + /** 有效日期 */ + usedat?: string + /** 失效日期 */ + inused?: string + /** 金融机构网点行政区划代码 */ + districts?: string + /** 锁定状态 */ + lockStatus?: string + /** 主键 */ + pkid?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 金融机构网点代码 */ + bankco?: string + /** 金融机构网点名称 */ + bankna?: string + /** 行别代码 */ + bantyp?: string + /** 联行类别 */ + bankType?: string + /** 地区代码 */ + area?: string + /** 联行状态 */ + status?: string + /** 清算行行号 */ + cnapsc?: string + /** 所属人行代码 */ + rmbnkc?: string + /** 联系地址 */ + addres?: string + /** 联系电话 */ + tel?: string + /** 电子邮件 */ + email?: string + /** 邮编 */ + post?: string + /** 更新序号 */ + updtun?: string + /** 更新日期 */ + updtat?: string + /** 最近更新操作 */ + upoper?: string + /** 节点代码 */ + nodenu?: string + /** 有效日期 */ + usedat?: string + /** 失效日期 */ + inused?: string + /** 金融机构网点行政区划代码 */ + districts?: string + /** 锁定状态 */ + lockStatus?: string + /** 主键 */ + pkid?: string +} diff --git a/src/api/amld/CompetitorMaintain/CompetitorMaintain/index.ts b/src/api/amld/CompetitorMaintain/CompetitorMaintain/index.ts new file mode 100644 index 0000000..5aecbaf --- /dev/null +++ b/src/api/amld/CompetitorMaintain/CompetitorMaintain/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCompetitorMaintainListApi = (data: any) => { + return request.postJson({ url: '/CompetitorMaintain/spi/CompetitorMaintain/CompetitorMaintain/CompetitorMaintainQueryPage', data }); +}; + +/** 批量删除 */ +export const delCompetitorMaintainListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/CompetitorMaintain/spi/CompetitorMaintain/CompetitorMaintain/CompetitorMaintainBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delCompetitorMaintainApi = (pkid?: string): Promise => { + return request.postJson({ url: '/CompetitorMaintain/spi/CompetitorMaintain/CompetitorMaintain/CompetitorMaintainDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveCompetitorMaintainApi = (data: Partial): Promise => { + return request.postJson({ url: '/CompetitorMaintain/spi/CompetitorMaintain/CompetitorMaintain/CompetitorMaintainSave', data }); +}; + +/** 查询单条数据 */ +export const queryCompetitorMaintainApi = (pkid?: string): Promise => { + return request.postJson({ url: '/CompetitorMaintain/spi/CompetitorMaintain/CompetitorMaintain/CompetitorMaintainQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/CompetitorMaintain/sui/CompetitorMaintain/CompetitorMaintain/CompetitorMaintainImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/CompetitorMaintain/sui/CompetitorMaintain/CompetitorMaintain/CompetitorMaintainImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/CompetitorMaintain/sdi/CompetitorMaintain/CompetitorMaintain/CompetitorMaintainExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/CompetitorMaintain/CompetitorMaintain/types.ts b/src/api/amld/CompetitorMaintain/CompetitorMaintain/types.ts new file mode 100644 index 0000000..6d4eca9 --- /dev/null +++ b/src/api/amld/CompetitorMaintain/CompetitorMaintain/types.ts @@ -0,0 +1,112 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** pkid */ + pkid?: string + /** 客户编号 */ + custCode?: string + /** 对方所在地区id */ + areaId?: string + /** 对方所属国家 */ + country?: string + /** 对方行号类型 */ + organType?: string + /** 对方行号 */ + organCode?: string + /** 对方金融机构网点名称 */ + organName?: string + /** 对方人行客户类型 */ + oppPbcCd?: string + /** 交易对手名称 */ + acctName?: string + /** 交易对手账号 */ + acctNum?: string + /** 交易对手账户类型 */ + acctType?: string + /** 交易对手证件类型 */ + ssnType?: string + /** 交易对手证件号码 */ + ssnNo?: string + /** 对方客户类型 */ + acctType?: string + /** 锁定状态 */ + lockStatus?: string + /** 预先保留字段2 */ + attribute2?: string + /** 预先保留字段3 */ + attribute3?: string + /** 操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 预先保留字段6 */ + attribute6?: string + /** 预先保留字段7 */ + attribute7?: string + /** 预先保留字段8 */ + attribute8?: string + /** 预先保留字段9 */ + attribute9?: string + /** 预先保留字段10 */ + attribute10?: string + /** 网点行政区划代码 */ + organAreaId?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** pkid */ + pkid?: string + /** 客户编号 */ + custCode?: string + /** 对方所在地区id */ + areaId?: string + /** 对方所属国家 */ + country?: string + /** 对方行号类型 */ + organType?: string + /** 对方行号 */ + organCode?: string + /** 对方金融机构网点名称 */ + organName?: string + /** 对方人行客户类型 */ + oppPbcCd?: string + /** 交易对手名称 */ + acctName?: string + /** 交易对手账号 */ + acctNum?: string + /** 交易对手账户类型 */ + acctType?: string + /** 交易对手证件类型 */ + ssnType?: string + /** 交易对手证件号码 */ + ssnNo?: string + /** 对方客户类型 */ + acctType?: string + /** 锁定状态 */ + lockStatus?: string + /** 预先保留字段2 */ + attribute2?: string + /** 预先保留字段3 */ + attribute3?: string + /** 操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 预先保留字段6 */ + attribute6?: string + /** 预先保留字段7 */ + attribute7?: string + /** 预先保留字段8 */ + attribute8?: string + /** 预先保留字段9 */ + attribute9?: string + /** 预先保留字段10 */ + attribute10?: string + /** 网点行政区划代码 */ + organAreaId?: string +} diff --git a/src/api/amld/CustomerIdentityQuery/CustomerIdentityQuery/index.ts b/src/api/amld/CustomerIdentityQuery/CustomerIdentityQuery/index.ts new file mode 100644 index 0000000..4e28d78 --- /dev/null +++ b/src/api/amld/CustomerIdentityQuery/CustomerIdentityQuery/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCustomerIdentityQueryListApi = (data: any) => { + return request.postJson({ url: '/CustomerIdentityQuery/spi/CustomerIdentityQuery/CustomerIdentityQuery/CustomerIdentityQueryQueryPage', data }); +}; + +/** 批量删除 */ +export const delCustomerIdentityQueryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/CustomerIdentityQuery/spi/CustomerIdentityQuery/CustomerIdentityQuery/CustomerIdentityQueryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delCustomerIdentityQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/CustomerIdentityQuery/spi/CustomerIdentityQuery/CustomerIdentityQuery/CustomerIdentityQueryDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveCustomerIdentityQueryApi = (data: Partial): Promise => { + return request.postJson({ url: '/CustomerIdentityQuery/spi/CustomerIdentityQuery/CustomerIdentityQuery/CustomerIdentityQuerySave', data }); +}; + +/** 查询单条数据 */ +export const queryCustomerIdentityQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/CustomerIdentityQuery/spi/CustomerIdentityQuery/CustomerIdentityQuery/CustomerIdentityQueryQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/CustomerIdentityQuery/sui/CustomerIdentityQuery/CustomerIdentityQuery/CustomerIdentityQueryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/CustomerIdentityQuery/sui/CustomerIdentityQuery/CustomerIdentityQuery/CustomerIdentityQueryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/CustomerIdentityQuery/sdi/CustomerIdentityQuery/CustomerIdentityQuery/CustomerIdentityQueryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/CustomerIdentityQuery/CustomerIdentityQuery/types.ts b/src/api/amld/CustomerIdentityQuery/CustomerIdentityQuery/types.ts new file mode 100644 index 0000000..b4d65cb --- /dev/null +++ b/src/api/amld/CustomerIdentityQuery/CustomerIdentityQuery/types.ts @@ -0,0 +1,104 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custcode?: string + /** 客户名称 */ + custname?: string + /** 客户类型 */ + custpptype?: string + /** 识别日期 */ + dcdate?: string + /** 证件类型 */ + custcardtype?: string + /** 证件号 */ + custcardno?: string + /** 状态 */ + status?: string + /** 开户网点 */ + dcorgan?: string + /** 识别类型 */ + sblx?: string + /** 调查结论 */ + dcjl?: string + /** 调查途径 */ + dctj?: string + /** 调查结论失效日期 */ + jlsxrq?: string + /** 调查人 */ + dcname?: string + /** 是否他人代理 */ + sftrdl?: string + /** 收益人数 */ + syrs?: string + /** 是否与离岸中心有关 */ + sfylazxyg?: string + /** 是否调整风险等级 */ + sftzfxdj?: string + /** 是否通过机构信用代码调查 */ + sftzjgxydmcx?: string + /** 调查情况说明 */ + dcqksm?: string + /** 备用1 */ + attribute1?: string + /** 开户日期 */ + attribute2?: string + /** 备用3 */ + attribute3?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custcode?: string + /** 客户名称 */ + custname?: string + /** 客户类型 */ + custpptype?: string + /** 识别日期 */ + dcdate?: string + /** 证件类型 */ + custcardtype?: string + /** 证件号 */ + custcardno?: string + /** 状态 */ + status?: string + /** 开户网点 */ + dcorgan?: string + /** 识别类型 */ + sblx?: string + /** 调查结论 */ + dcjl?: string + /** 调查途径 */ + dctj?: string + /** 调查结论失效日期 */ + jlsxrq?: string + /** 调查人 */ + dcname?: string + /** 是否他人代理 */ + sftrdl?: string + /** 收益人数 */ + syrs?: string + /** 是否与离岸中心有关 */ + sfylazxyg?: string + /** 是否调整风险等级 */ + sftzfxdj?: string + /** 是否通过机构信用代码调查 */ + sftzjgxydmcx?: string + /** 调查情况说明 */ + dcqksm?: string + /** 备用1 */ + attribute1?: string + /** 开户日期 */ + attribute2?: string + /** 备用3 */ + attribute3?: string +} diff --git a/src/api/amld/CustomerLevelStatus/CustomerLevelStatus/index.ts b/src/api/amld/CustomerLevelStatus/CustomerLevelStatus/index.ts new file mode 100644 index 0000000..2250cc2 --- /dev/null +++ b/src/api/amld/CustomerLevelStatus/CustomerLevelStatus/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCustomerLevelStatusListApi = (data: any) => { + return request.postJson({ url: '/CustomerLevelStatus/spi/CustomerLevelStatus/CustomerLevelStatus/CustomerLevelStatusQueryPage', data }); +}; + +/** 批量删除 */ +export const delCustomerLevelStatusListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/CustomerLevelStatus/spi/CustomerLevelStatus/CustomerLevelStatus/CustomerLevelStatusBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delCustomerLevelStatusApi = (pkid?: string): Promise => { + return request.postJson({ url: '/CustomerLevelStatus/spi/CustomerLevelStatus/CustomerLevelStatus/CustomerLevelStatusDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveCustomerLevelStatusApi = (data: Partial): Promise => { + return request.postJson({ url: '/CustomerLevelStatus/spi/CustomerLevelStatus/CustomerLevelStatus/CustomerLevelStatusSave', data }); +}; + +/** 查询单条数据 */ +export const queryCustomerLevelStatusApi = (pkid?: string): Promise => { + return request.postJson({ url: '/CustomerLevelStatus/spi/CustomerLevelStatus/CustomerLevelStatus/CustomerLevelStatusQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/CustomerLevelStatus/sui/CustomerLevelStatus/CustomerLevelStatus/CustomerLevelStatusImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/CustomerLevelStatus/sui/CustomerLevelStatus/CustomerLevelStatus/CustomerLevelStatusImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/CustomerLevelStatus/sdi/CustomerLevelStatus/CustomerLevelStatus/CustomerLevelStatusExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/CustomerLevelStatus/CustomerLevelStatus/types.ts b/src/api/amld/CustomerLevelStatus/CustomerLevelStatus/types.ts new file mode 100644 index 0000000..6e09308 --- /dev/null +++ b/src/api/amld/CustomerLevelStatus/CustomerLevelStatus/types.ts @@ -0,0 +1,184 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户类型 */ + custType?: string + /** 客户号开立日期 */ + custOpendate?: string + /** 客户名称 */ + custName?: string + /** 归属机构名称 */ + custOrganname?: string + /** 上次评级日期 */ + lastRiskdate?: string + /** 上次评级结果 */ + lastRiskScore?: string + /** 系统评级日期 */ + sysRiskdate?: string + /** 系统总分 */ + riskScore?: string + /** 初评总分 */ + riskInitalscore?: string + /** 初评日期 */ + riskInitialdate?: string + /** 复评总分 */ + riskRepeatscore?: string + /** 复评日期 */ + riskRepeatdate?: string + /** 评级原因 */ + riskReason?: string + /** 任务状态 */ + state?: string + /** 审核退回原因 */ + shReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 是否人工发起 */ + isman?: string + /** 评级次数 */ + riskCount?: string + /** 客户归属机构 */ + custOrgcode?: string + /** 是否登记控制措施 */ + iscontrol?: string + /** 初评人 */ + riskInitaluser?: string + /** 复评人 */ + riskRepeatuser?: string + /** 审核人 */ + riskAudituser?: string + /** 审核时间 */ + riskAuditdate?: string + /** 初评结果 */ + riskInitallv?: string + /** 复评结果 */ + riskRepeatlv?: string + /** 系统评级结果 */ + riskScorelv?: string + /** 最终结果 */ + riskFinalResult?: string + /** 初评附加分 */ + riskAddInitalscore?: string + /** 复评附加分 */ + riskAddRepeatscore?: string + /** 初评调整原因 */ + riskCauseInitalreason?: string + /** 复评调整原因 */ + riskCauseRepeatreason?: string + /** 上次评级理由 */ + lastRiskReason?: string + /** 人工发起评级理由 */ + manRiskReason?: string + /** 是否需要重新系统评级 */ + isRiskSys?: string + /** 最终结果 */ + riskFinalScorelv?: string + /** 其他措施 */ + controlContent?: string + /** 控制措施 */ + controlCode?: string + /** 人工发起时间 */ + manDate?: string + /** 本次评级结果 */ + lastRiskLevel?: string + /** 旧系统数据迁移标志 */ + flag?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户类型 */ + custType?: string + /** 客户号开立日期 */ + custOpendate?: string + /** 客户名称 */ + custName?: string + /** 归属机构名称 */ + custOrganname?: string + /** 上次评级日期 */ + lastRiskdate?: string + /** 上次评级结果 */ + lastRiskScore?: string + /** 系统评级日期 */ + sysRiskdate?: string + /** 系统总分 */ + riskScore?: string + /** 初评总分 */ + riskInitalscore?: string + /** 初评日期 */ + riskInitialdate?: string + /** 复评总分 */ + riskRepeatscore?: string + /** 复评日期 */ + riskRepeatdate?: string + /** 评级原因 */ + riskReason?: string + /** 任务状态 */ + state?: string + /** 审核退回原因 */ + shReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 是否人工发起 */ + isman?: string + /** 评级次数 */ + riskCount?: string + /** 客户归属机构 */ + custOrgcode?: string + /** 是否登记控制措施 */ + iscontrol?: string + /** 初评人 */ + riskInitaluser?: string + /** 复评人 */ + riskRepeatuser?: string + /** 审核人 */ + riskAudituser?: string + /** 审核时间 */ + riskAuditdate?: string + /** 初评结果 */ + riskInitallv?: string + /** 复评结果 */ + riskRepeatlv?: string + /** 系统评级结果 */ + riskScorelv?: string + /** 最终结果 */ + riskFinalResult?: string + /** 初评附加分 */ + riskAddInitalscore?: string + /** 复评附加分 */ + riskAddRepeatscore?: string + /** 初评调整原因 */ + riskCauseInitalreason?: string + /** 复评调整原因 */ + riskCauseRepeatreason?: string + /** 上次评级理由 */ + lastRiskReason?: string + /** 人工发起评级理由 */ + manRiskReason?: string + /** 是否需要重新系统评级 */ + isRiskSys?: string + /** 最终结果 */ + riskFinalScorelv?: string + /** 其他措施 */ + controlContent?: string + /** 控制措施 */ + controlCode?: string + /** 人工发起时间 */ + manDate?: string + /** 本次评级结果 */ + lastRiskLevel?: string + /** 旧系统数据迁移标志 */ + flag?: string +} diff --git a/src/api/amld/CustomerMaintain/CustomerMaintain/index.ts b/src/api/amld/CustomerMaintain/CustomerMaintain/index.ts new file mode 100644 index 0000000..1a97e45 --- /dev/null +++ b/src/api/amld/CustomerMaintain/CustomerMaintain/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCustomerMaintainListApi = (data: any) => { + return request.postJson({ url: '/CustomerMaintain/spi/CustomerMaintain/CustomerMaintain/CustomerMaintainQueryPage', data }); +}; + +/** 批量删除 */ +export const delCustomerMaintainListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/CustomerMaintain/spi/CustomerMaintain/CustomerMaintain/CustomerMaintainBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delCustomerMaintainApi = (pkid?: string): Promise => { + return request.postJson({ url: '/CustomerMaintain/spi/CustomerMaintain/CustomerMaintain/CustomerMaintainDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveCustomerMaintainApi = (data: Partial): Promise => { + return request.postJson({ url: '/CustomerMaintain/spi/CustomerMaintain/CustomerMaintain/CustomerMaintainSave', data }); +}; + +/** 查询单条数据 */ +export const queryCustomerMaintainApi = (pkid?: string): Promise => { + return request.postJson({ url: '/CustomerMaintain/spi/CustomerMaintain/CustomerMaintain/CustomerMaintainQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/CustomerMaintain/sui/CustomerMaintain/CustomerMaintain/CustomerMaintainImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/CustomerMaintain/sui/CustomerMaintain/CustomerMaintain/CustomerMaintainImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/CustomerMaintain/sdi/CustomerMaintain/CustomerMaintain/CustomerMaintainExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/CustomerMaintain/CustomerMaintain/types.ts b/src/api/amld/CustomerMaintain/CustomerMaintain/types.ts new file mode 100644 index 0000000..4936a02 --- /dev/null +++ b/src/api/amld/CustomerMaintain/CustomerMaintain/types.ts @@ -0,0 +1,352 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序列号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 客户类型 */ + custType?: string + /** 民族 */ + custNation?: string + /** 客户状态 */ + custStatus?: string + /** 客户归属机构 */ + custOrgancode?: string + /** 锁状态 */ + lockStatus?: string + /** 客户公私类型 */ + custPptype?: string + /** 客户证件类型 */ + custCardtype?: string + /** 客户身份证件名称 */ + custCardname?: string + /** 是否为新增客户 */ + isnewcust?: string + /** 客户证件号码 */ + custCardno?: string + /** 客户固定电话 */ + custTel?: string + /** 客户手机号码 */ + custPhone?: string + /** 客户住址 */ + custAddress?: string + /** 客户其它联系方式 */ + custContactway?: string + /** 客户国籍 */ + custCountry?: string + /** 客户行业类型 */ + custBusinesstype?: string + /** 客户注册资金 */ + custRegcap?: number + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 法人代表人姓名 */ + corporationName?: string + /** 法人代表人证件类型 */ + corporationCardtye?: string + /** 法人代表人证件名称 */ + corporationCardname?: string + /** 法人代表人证件号码 */ + corporationCardno?: string + /** 上级归属机构 */ + targetOrgancode?: string + /** 客户开户机构法人代码 */ + attribute1?: string + /** 注册币种 */ + attribute2?: string + /** 备注 */ + remark?: string + /** 发证机关 */ + issuing?: string + /** 到期日期 */ + endDate?: string + /** 营业执照上标注的经营范围 */ + businessScope?: string + /** 法人代表人证件发证机关 */ + corporationIssuing?: string + /** 法人代表人证件到期日期 */ + corporationEndDate?: string + /** 对公证件类型 */ + dgZjlx?: string + /** 成立日期 */ + clrq?: string + /** 营业期限(年) */ + jyqx?: string + /** 注册地行政区代码 */ + regsterCode?: string + /** 国税登记号 */ + gsDjh?: string + /** 地税登记号 */ + dsDjh?: string + /** 机构信用代码证 */ + jgxydmz?: string + /** 基本户开户许可证核准号 */ + jbhXkz?: string + /** 基本户开户行 */ + jbhKhh?: string + /** 企业规模 */ + qygm?: string + /** 经济类型 */ + jjlx?: string + /** 代理人姓名 */ + proxyName?: string + /** 代理人证件类型 */ + proxyCardtye?: string + /** 代理人证件号码 */ + proxyCardno?: string + /** 代理人发证机关 */ + proxyIssuing?: string + /** 代理人到期日期 */ + proxyEndDate?: string + /** 是否开通网银 */ + isIntegererBank?: string + /** 网银操作员姓名 */ + integererBankName?: string + /** 网银操作员证件类型 */ + integererBankCardtye?: string + /** 网银操作员证件号码 */ + integererBankCardno?: string + /** 发证机关 */ + integererBankIssuing?: string + /** 到期日期 */ + integererBankEndDate?: string + /** 客户名单类型 */ + custListType?: string + /** 对公证件号码 */ + dgZjhm?: string + /** 外国政要 */ + wgzy?: string + /** 风险等级 */ + riskLevel?: string + /** 登记注册地址 */ + attribute3?: string + /** 法人代表信用等级 */ + attribute4?: string + /** 开户日期 */ + attribute5?: string + /** 预先保留字段6 */ + attribute6?: string + /** 预先保留字段7 */ + attribute7?: string + /** 预先保留字段8 */ + attribute8?: string + /** 客户创建日期 */ + createDate?: string + /** 法人代表人证件起始日期 */ + corporationCreateDate?: string + /** 个人职业 */ + personalProfession?: string + /** 网银开户时间 */ + integererBankOpendate?: string + /** 性别 */ + sex?: string + /** 售出凭证时间 */ + isSell?: string + /** ETL时间 */ + etlDate?: string + /** null */ + ppflag?: string + /** null */ + custBusinesstype1?: string + /** null */ + custCountry1?: string + /** null */ + bftName?: string + /** null */ + bftCardtype?: string + /** null */ + bftCardEffdate?: string + /** null */ + bftCardno?: string + /** null */ + bftAddr?: string + /** 是否聚合支付 */ + sfjhzf?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序列号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 客户类型 */ + custType?: string + /** 民族 */ + custNation?: string + /** 客户状态 */ + custStatus?: string + /** 客户归属机构 */ + custOrgancode?: string + /** 锁状态 */ + lockStatus?: string + /** 客户公私类型 */ + custPptype?: string + /** 客户证件类型 */ + custCardtype?: string + /** 客户身份证件名称 */ + custCardname?: string + /** 是否为新增客户 */ + isnewcust?: string + /** 客户证件号码 */ + custCardno?: string + /** 客户固定电话 */ + custTel?: string + /** 客户手机号码 */ + custPhone?: string + /** 客户住址 */ + custAddress?: string + /** 客户其它联系方式 */ + custContactway?: string + /** 客户国籍 */ + custCountry?: string + /** 客户行业类型 */ + custBusinesstype?: string + /** 客户注册资金 */ + custRegcap?: number + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 法人代表人姓名 */ + corporationName?: string + /** 法人代表人证件类型 */ + corporationCardtye?: string + /** 法人代表人证件名称 */ + corporationCardname?: string + /** 法人代表人证件号码 */ + corporationCardno?: string + /** 上级归属机构 */ + targetOrgancode?: string + /** 客户开户机构法人代码 */ + attribute1?: string + /** 注册币种 */ + attribute2?: string + /** 备注 */ + remark?: string + /** 发证机关 */ + issuing?: string + /** 到期日期 */ + endDate?: string + /** 营业执照上标注的经营范围 */ + businessScope?: string + /** 法人代表人证件发证机关 */ + corporationIssuing?: string + /** 法人代表人证件到期日期 */ + corporationEndDate?: string + /** 对公证件类型 */ + dgZjlx?: string + /** 成立日期 */ + clrq?: string + /** 营业期限(年) */ + jyqx?: string + /** 注册地行政区代码 */ + regsterCode?: string + /** 国税登记号 */ + gsDjh?: string + /** 地税登记号 */ + dsDjh?: string + /** 机构信用代码证 */ + jgxydmz?: string + /** 基本户开户许可证核准号 */ + jbhXkz?: string + /** 基本户开户行 */ + jbhKhh?: string + /** 企业规模 */ + qygm?: string + /** 经济类型 */ + jjlx?: string + /** 代理人姓名 */ + proxyName?: string + /** 代理人证件类型 */ + proxyCardtye?: string + /** 代理人证件号码 */ + proxyCardno?: string + /** 代理人发证机关 */ + proxyIssuing?: string + /** 代理人到期日期 */ + proxyEndDate?: string + /** 是否开通网银 */ + isIntegererBank?: string + /** 网银操作员姓名 */ + integererBankName?: string + /** 网银操作员证件类型 */ + integererBankCardtye?: string + /** 网银操作员证件号码 */ + integererBankCardno?: string + /** 发证机关 */ + integererBankIssuing?: string + /** 到期日期 */ + integererBankEndDate?: string + /** 客户名单类型 */ + custListType?: string + /** 对公证件号码 */ + dgZjhm?: string + /** 外国政要 */ + wgzy?: string + /** 风险等级 */ + riskLevel?: string + /** 登记注册地址 */ + attribute3?: string + /** 法人代表信用等级 */ + attribute4?: string + /** 开户日期 */ + attribute5?: string + /** 预先保留字段6 */ + attribute6?: string + /** 预先保留字段7 */ + attribute7?: string + /** 预先保留字段8 */ + attribute8?: string + /** 客户创建日期 */ + createDate?: string + /** 法人代表人证件起始日期 */ + corporationCreateDate?: string + /** 个人职业 */ + personalProfession?: string + /** 网银开户时间 */ + integererBankOpendate?: string + /** 性别 */ + sex?: string + /** 售出凭证时间 */ + isSell?: string + /** ETL时间 */ + etlDate?: string + /** null */ + ppflag?: string + /** null */ + custBusinesstype1?: string + /** null */ + custCountry1?: string + /** null */ + bftName?: string + /** null */ + bftCardtype?: string + /** null */ + bftCardEffdate?: string + /** null */ + bftCardno?: string + /** null */ + bftAddr?: string + /** 是否聚合支付 */ + sfjhzf?: string +} diff --git a/src/api/amld/CustomerQuery/CustomerQuery/index.ts b/src/api/amld/CustomerQuery/CustomerQuery/index.ts new file mode 100644 index 0000000..2b1db28 --- /dev/null +++ b/src/api/amld/CustomerQuery/CustomerQuery/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCustomerQueryListApi = (data: any) => { + return request.postJson({ url: '/CustomerQuery/spi/CustomerQuery/CustomerQuery/CustomerQueryQueryPage', data }); +}; + +/** 批量删除 */ +export const delCustomerQueryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/CustomerQuery/spi/CustomerQuery/CustomerQuery/CustomerQueryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delCustomerQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/CustomerQuery/spi/CustomerQuery/CustomerQuery/CustomerQueryDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveCustomerQueryApi = (data: Partial): Promise => { + return request.postJson({ url: '/CustomerQuery/spi/CustomerQuery/CustomerQuery/CustomerQuerySave', data }); +}; + +/** 查询单条数据 */ +export const queryCustomerQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/CustomerQuery/spi/CustomerQuery/CustomerQuery/CustomerQueryQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/CustomerQuery/sui/CustomerQuery/CustomerQuery/CustomerQueryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/CustomerQuery/sui/CustomerQuery/CustomerQuery/CustomerQueryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/CustomerQuery/sdi/CustomerQuery/CustomerQuery/CustomerQueryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/CustomerQuery/CustomerQuery/types.ts b/src/api/amld/CustomerQuery/CustomerQuery/types.ts new file mode 100644 index 0000000..a4a8990 --- /dev/null +++ b/src/api/amld/CustomerQuery/CustomerQuery/types.ts @@ -0,0 +1,352 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序列号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 客户类型 */ + custType?: string + /** 民族 */ + custNation?: string + /** 客户状态 */ + custStatus?: string + /** 客户归属机构 */ + custOrgancode?: string + /** 锁状态 */ + lockStatus?: string + /** 客户公私类型 */ + custPptype?: string + /** 客户证件类型 */ + custCardtype?: string + /** 客户身份证件名称 */ + custCardname?: string + /** 是否为新增客户 */ + isnewcust?: string + /** 客户证件号码 */ + custCardno?: string + /** 客户固定电话 */ + custTel?: string + /** 客户联系电话 */ + custPhone?: string + /** 客户住址 */ + custAddress?: string + /** 客户其它联系方式 */ + custContactway?: string + /** 客户国籍 */ + custCountry?: string + /** 客户行业类型 */ + custBusinesstype?: string + /** 客户注册资金 */ + custRegcap?: number + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 法人代表人姓名 */ + corporationName?: string + /** 法人代表人证件类型 */ + corporationCardtye?: string + /** 法人代表人证件名称 */ + corporationCardname?: string + /** 法人代表人证件号码 */ + corporationCardno?: string + /** 上级归属机构 */ + targetOrgancode?: string + /** 客户开户机构法人代码 */ + attribute1?: string + /** 注册币种 */ + attribute2?: string + /** 备注 */ + remark?: string + /** 发证机关 */ + issuing?: string + /** 到期日期 */ + endDate?: string + /** 营业执照上标注的经营范围 */ + businessScope?: string + /** 法人代表人证件发证机关 */ + corporationIssuing?: string + /** 法人代表人证件到期日期 */ + corporationEndDate?: string + /** 对公证件类型 */ + dgZjlx?: string + /** 成立日期 */ + clrq?: string + /** 营业期限(年) */ + jyqx?: string + /** 注册地行政区代码 */ + regsterCode?: string + /** 国税登记号 */ + gsDjh?: string + /** 地税登记号 */ + dsDjh?: string + /** 机构信用代码证 */ + jgxydmz?: string + /** 基本户开户许可证核准号 */ + jbhXkz?: string + /** 基本户开户行 */ + jbhKhh?: string + /** 企业规模 */ + qygm?: string + /** 经济类型 */ + jjlx?: string + /** 代理人姓名 */ + proxyName?: string + /** 代理人证件类型 */ + proxyCardtye?: string + /** 代理人证件号码 */ + proxyCardno?: string + /** 代理人发证机关 */ + proxyIssuing?: string + /** 代理人到期日期 */ + proxyEndDate?: string + /** 是否开通网银 */ + isIntegererBank?: string + /** 网银操作员姓名 */ + integererBankName?: string + /** 网银操作员证件类型 */ + integererBankCardtye?: string + /** 网银操作员证件号码 */ + integererBankCardno?: string + /** 发证机关 */ + integererBankIssuing?: string + /** 到期日期 */ + integererBankEndDate?: string + /** 客户名单类型 */ + custListType?: string + /** 对公证件号码 */ + dgZjhm?: string + /** 外国政要 */ + wgzy?: string + /** 风险等级 */ + riskLevel?: string + /** 登记注册地址 */ + attribute3?: string + /** 法人代表信用等级 */ + attribute4?: string + /** 开户日期 */ + attribute5?: string + /** 预先保留字段6 */ + attribute6?: string + /** 预先保留字段7 */ + attribute7?: string + /** 预先保留字段8 */ + attribute8?: string + /** 客户创建日期 */ + createDate?: string + /** 法人代表人证件起始日期 */ + corporationCreateDate?: string + /** 个人职业 */ + personalProfession?: string + /** 网银开户时间 */ + integererBankOpendate?: string + /** 性别 */ + sex?: string + /** 售出凭证时间 */ + isSell?: string + /** ETL时间 */ + etlDate?: string + /** null */ + ppflag?: string + /** null */ + custBusinesstype1?: string + /** null */ + custCountry1?: string + /** null */ + bftName?: string + /** null */ + bftCardtype?: string + /** null */ + bftCardEffdate?: string + /** null */ + bftCardno?: string + /** null */ + bftAddr?: string + /** 是否聚合支付 */ + sfjhzf?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序列号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 客户类型 */ + custType?: string + /** 民族 */ + custNation?: string + /** 客户状态 */ + custStatus?: string + /** 客户归属机构 */ + custOrgancode?: string + /** 锁状态 */ + lockStatus?: string + /** 客户公私类型 */ + custPptype?: string + /** 客户证件类型 */ + custCardtype?: string + /** 客户身份证件名称 */ + custCardname?: string + /** 是否为新增客户 */ + isnewcust?: string + /** 客户证件号码 */ + custCardno?: string + /** 客户固定电话 */ + custTel?: string + /** 客户联系电话 */ + custPhone?: string + /** 客户住址 */ + custAddress?: string + /** 客户其它联系方式 */ + custContactway?: string + /** 客户国籍 */ + custCountry?: string + /** 客户行业类型 */ + custBusinesstype?: string + /** 客户注册资金 */ + custRegcap?: number + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 法人代表人姓名 */ + corporationName?: string + /** 法人代表人证件类型 */ + corporationCardtye?: string + /** 法人代表人证件名称 */ + corporationCardname?: string + /** 法人代表人证件号码 */ + corporationCardno?: string + /** 上级归属机构 */ + targetOrgancode?: string + /** 客户开户机构法人代码 */ + attribute1?: string + /** 注册币种 */ + attribute2?: string + /** 备注 */ + remark?: string + /** 发证机关 */ + issuing?: string + /** 到期日期 */ + endDate?: string + /** 营业执照上标注的经营范围 */ + businessScope?: string + /** 法人代表人证件发证机关 */ + corporationIssuing?: string + /** 法人代表人证件到期日期 */ + corporationEndDate?: string + /** 对公证件类型 */ + dgZjlx?: string + /** 成立日期 */ + clrq?: string + /** 营业期限(年) */ + jyqx?: string + /** 注册地行政区代码 */ + regsterCode?: string + /** 国税登记号 */ + gsDjh?: string + /** 地税登记号 */ + dsDjh?: string + /** 机构信用代码证 */ + jgxydmz?: string + /** 基本户开户许可证核准号 */ + jbhXkz?: string + /** 基本户开户行 */ + jbhKhh?: string + /** 企业规模 */ + qygm?: string + /** 经济类型 */ + jjlx?: string + /** 代理人姓名 */ + proxyName?: string + /** 代理人证件类型 */ + proxyCardtye?: string + /** 代理人证件号码 */ + proxyCardno?: string + /** 代理人发证机关 */ + proxyIssuing?: string + /** 代理人到期日期 */ + proxyEndDate?: string + /** 是否开通网银 */ + isIntegererBank?: string + /** 网银操作员姓名 */ + integererBankName?: string + /** 网银操作员证件类型 */ + integererBankCardtye?: string + /** 网银操作员证件号码 */ + integererBankCardno?: string + /** 发证机关 */ + integererBankIssuing?: string + /** 到期日期 */ + integererBankEndDate?: string + /** 客户名单类型 */ + custListType?: string + /** 对公证件号码 */ + dgZjhm?: string + /** 外国政要 */ + wgzy?: string + /** 风险等级 */ + riskLevel?: string + /** 登记注册地址 */ + attribute3?: string + /** 法人代表信用等级 */ + attribute4?: string + /** 开户日期 */ + attribute5?: string + /** 预先保留字段6 */ + attribute6?: string + /** 预先保留字段7 */ + attribute7?: string + /** 预先保留字段8 */ + attribute8?: string + /** 客户创建日期 */ + createDate?: string + /** 法人代表人证件起始日期 */ + corporationCreateDate?: string + /** 个人职业 */ + personalProfession?: string + /** 网银开户时间 */ + integererBankOpendate?: string + /** 性别 */ + sex?: string + /** 售出凭证时间 */ + isSell?: string + /** ETL时间 */ + etlDate?: string + /** null */ + ppflag?: string + /** null */ + custBusinesstype1?: string + /** null */ + custCountry1?: string + /** null */ + bftName?: string + /** null */ + bftCardtype?: string + /** null */ + bftCardEffdate?: string + /** null */ + bftCardno?: string + /** null */ + bftAddr?: string + /** 是否聚合支付 */ + sfjhzf?: string +} diff --git a/src/api/amld/CustomerRiskLevelChange/CustomerRiskLevelChange/index.ts b/src/api/amld/CustomerRiskLevelChange/CustomerRiskLevelChange/index.ts new file mode 100644 index 0000000..188013e --- /dev/null +++ b/src/api/amld/CustomerRiskLevelChange/CustomerRiskLevelChange/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCustomerRiskLevelChangeListApi = (data: any) => { + return request.postJson({ url: '/CustomerRiskLevelChange/spi/CustomerRiskLevelChange/CustomerRiskLevelChange/CustomerRiskLevelChangeQueryPage', data }); +}; + +/** 批量删除 */ +export const delCustomerRiskLevelChangeListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/CustomerRiskLevelChange/spi/CustomerRiskLevelChange/CustomerRiskLevelChange/CustomerRiskLevelChangeBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delCustomerRiskLevelChangeApi = (pkid?: string): Promise => { + return request.postJson({ url: '/CustomerRiskLevelChange/spi/CustomerRiskLevelChange/CustomerRiskLevelChange/CustomerRiskLevelChangeDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveCustomerRiskLevelChangeApi = (data: Partial): Promise => { + return request.postJson({ url: '/CustomerRiskLevelChange/spi/CustomerRiskLevelChange/CustomerRiskLevelChange/CustomerRiskLevelChangeSave', data }); +}; + +/** 查询单条数据 */ +export const queryCustomerRiskLevelChangeApi = (pkid?: string): Promise => { + return request.postJson({ url: '/CustomerRiskLevelChange/spi/CustomerRiskLevelChange/CustomerRiskLevelChange/CustomerRiskLevelChangeQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/CustomerRiskLevelChange/sui/CustomerRiskLevelChange/CustomerRiskLevelChange/CustomerRiskLevelChangeImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/CustomerRiskLevelChange/sui/CustomerRiskLevelChange/CustomerRiskLevelChange/CustomerRiskLevelChangeImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/CustomerRiskLevelChange/sdi/CustomerRiskLevelChange/CustomerRiskLevelChange/CustomerRiskLevelChangeExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/CustomerRiskLevelChange/CustomerRiskLevelChange/types.ts b/src/api/amld/CustomerRiskLevelChange/CustomerRiskLevelChange/types.ts new file mode 100644 index 0000000..ffc79d5 --- /dev/null +++ b/src/api/amld/CustomerRiskLevelChange/CustomerRiskLevelChange/types.ts @@ -0,0 +1,176 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户类型 */ + custType?: string + /** 客户号开立日期 */ + custOpendate?: string + /** 客户名称 */ + custName?: string + /** 归属机构名称 */ + custOrganname?: string + /** 上一次评级日期 */ + lastRiskdate?: string + /** 上次评级结果 */ + lastRiskScore?: string + /** 评级日期 */ + sysRiskdate?: string + /** 系统总分 */ + riskScore?: string + /** 初评总分 */ + riskInitalscore?: string + /** 初评日期 */ + riskInitialdate?: string + /** 复评总分 */ + riskRepeatscore?: string + /** 复评日期 */ + riskRepeatdate?: string + /** 评级原因 */ + riskReason?: string + /** 任务状态 */ + state?: string + /** 审核退回原因 */ + shReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 是否人工发起 */ + isman?: string + /** 初评人 */ + riskInitaluser?: string + /** 复评人 */ + riskRepeatuser?: string + /** 审核人 */ + riskAudituser?: string + /** 审核时间 */ + riskAuditdate?: string + /** 初评结果 */ + riskInitallv?: string + /** 复评结果 */ + riskRepeatlv?: string + /** 系统结果 */ + riskScorelv?: string + /** 最终结果 */ + riskFinalResult?: string + /** 初评附加分 */ + riskAddInitalscore?: string + /** 复评附加分 */ + riskAddRepeatscore?: string + /** 初评调整原因 */ + riskCauseInitalreason?: string + /** 复评调整原因 */ + riskCauseRepeatreason?: string + /** 上次评级理由 */ + lastRiskReason?: string + /** 人工发起评级理由 */ + manRiskReason?: string + /** 最终结果 */ + riskFinalScorelv?: string + /** 客户归属机构 */ + custOrgcode?: string + /** 其他措施 */ + controlContent?: string + /** 是否登记控制措施 */ + iscontrol?: string + /** 控制措施 */ + controlCode?: string + /** 人工发起时间 */ + manDate?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 旧系统数据迁移标志 */ + flag?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户类型 */ + custType?: string + /** 客户号开立日期 */ + custOpendate?: string + /** 客户名称 */ + custName?: string + /** 归属机构名称 */ + custOrganname?: string + /** 上一次评级日期 */ + lastRiskdate?: string + /** 上次评级结果 */ + lastRiskScore?: string + /** 评级日期 */ + sysRiskdate?: string + /** 系统总分 */ + riskScore?: string + /** 初评总分 */ + riskInitalscore?: string + /** 初评日期 */ + riskInitialdate?: string + /** 复评总分 */ + riskRepeatscore?: string + /** 复评日期 */ + riskRepeatdate?: string + /** 评级原因 */ + riskReason?: string + /** 任务状态 */ + state?: string + /** 审核退回原因 */ + shReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 是否人工发起 */ + isman?: string + /** 初评人 */ + riskInitaluser?: string + /** 复评人 */ + riskRepeatuser?: string + /** 审核人 */ + riskAudituser?: string + /** 审核时间 */ + riskAuditdate?: string + /** 初评结果 */ + riskInitallv?: string + /** 复评结果 */ + riskRepeatlv?: string + /** 系统结果 */ + riskScorelv?: string + /** 最终结果 */ + riskFinalResult?: string + /** 初评附加分 */ + riskAddInitalscore?: string + /** 复评附加分 */ + riskAddRepeatscore?: string + /** 初评调整原因 */ + riskCauseInitalreason?: string + /** 复评调整原因 */ + riskCauseRepeatreason?: string + /** 上次评级理由 */ + lastRiskReason?: string + /** 人工发起评级理由 */ + manRiskReason?: string + /** 最终结果 */ + riskFinalScorelv?: string + /** 客户归属机构 */ + custOrgcode?: string + /** 其他措施 */ + controlContent?: string + /** 是否登记控制措施 */ + iscontrol?: string + /** 控制措施 */ + controlCode?: string + /** 人工发起时间 */ + manDate?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 旧系统数据迁移标志 */ + flag?: string +} diff --git a/src/api/amld/CustomerRiskLevelQuery/CustomerRiskLevelQuery/index.ts b/src/api/amld/CustomerRiskLevelQuery/CustomerRiskLevelQuery/index.ts new file mode 100644 index 0000000..4cfb535 --- /dev/null +++ b/src/api/amld/CustomerRiskLevelQuery/CustomerRiskLevelQuery/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCustomerRiskLevelQueryListApi = (data: any) => { + return request.postJson({ url: '/CustomerRiskLevelQuery/spi/CustomerRiskLevelQuery/CustomerRiskLevelQuery/CustomerRiskLevelQueryQueryPage', data }); +}; + +/** 批量删除 */ +export const delCustomerRiskLevelQueryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/CustomerRiskLevelQuery/spi/CustomerRiskLevelQuery/CustomerRiskLevelQuery/CustomerRiskLevelQueryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delCustomerRiskLevelQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/CustomerRiskLevelQuery/spi/CustomerRiskLevelQuery/CustomerRiskLevelQuery/CustomerRiskLevelQueryDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveCustomerRiskLevelQueryApi = (data: Partial): Promise => { + return request.postJson({ url: '/CustomerRiskLevelQuery/spi/CustomerRiskLevelQuery/CustomerRiskLevelQuery/CustomerRiskLevelQuerySave', data }); +}; + +/** 查询单条数据 */ +export const queryCustomerRiskLevelQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/CustomerRiskLevelQuery/spi/CustomerRiskLevelQuery/CustomerRiskLevelQuery/CustomerRiskLevelQueryQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/CustomerRiskLevelQuery/sui/CustomerRiskLevelQuery/CustomerRiskLevelQuery/CustomerRiskLevelQueryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/CustomerRiskLevelQuery/sui/CustomerRiskLevelQuery/CustomerRiskLevelQuery/CustomerRiskLevelQueryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/CustomerRiskLevelQuery/sdi/CustomerRiskLevelQuery/CustomerRiskLevelQuery/CustomerRiskLevelQueryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/CustomerRiskLevelQuery/CustomerRiskLevelQuery/types.ts b/src/api/amld/CustomerRiskLevelQuery/CustomerRiskLevelQuery/types.ts new file mode 100644 index 0000000..9dd9d8c --- /dev/null +++ b/src/api/amld/CustomerRiskLevelQuery/CustomerRiskLevelQuery/types.ts @@ -0,0 +1,184 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户类型 */ + custType?: string + /** 客户号开立日期 */ + custOpendate?: string + /** 客户名称 */ + custName?: string + /** 归属机构名称 */ + custOrganname?: string + /** 上次评级日期 */ + lastRiskdate?: string + /** 上次评级结果 */ + lastRiskScore?: string + /** 系统评级日期 */ + sysRiskdate?: string + /** 系统总分 */ + riskScore?: string + /** 初评总分 */ + riskInitalscore?: string + /** 初评日期 */ + riskInitialdate?: string + /** 复评总分 */ + riskRepeatscore?: string + /** 复评日期 */ + riskRepeatdate?: string + /** 评级原因 */ + riskReason?: string + /** 任务状态 */ + state?: string + /** 审核退回原因 */ + shReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 是否人工发起 */ + isman?: string + /** 评级次数 */ + riskCount?: string + /** 归属机构 */ + custOrgcode?: string + /** 是否登记控制措施 */ + iscontrol?: string + /** 初评人 */ + riskInitaluser?: string + /** 复评人 */ + riskRepeatuser?: string + /** 审核人 */ + riskAudituser?: string + /** 审核时间 */ + riskAuditdate?: string + /** 初评结果 */ + riskInitallv?: string + /** 复评结果 */ + riskRepeatlv?: string + /** 系统结果 */ + riskScorelv?: string + /** 最终结果 */ + riskFinalResult?: string + /** 初评附加分 */ + riskAddInitalscore?: string + /** 复评附加分 */ + riskAddRepeatscore?: string + /** 初评调整原因 */ + riskCauseInitalreason?: string + /** 复评调整原因 */ + riskCauseRepeatreason?: string + /** 上次评级理由 */ + lastRiskReason?: string + /** 人工发起评级理由 */ + manRiskReason?: string + /** 是否需要重新系统评级 */ + isRiskSys?: string + /** 洗钱风险等级 */ + riskFinalScorelv?: string + /** 其他措施 */ + controlContent?: string + /** 控制措施 */ + controlCode?: string + /** 评级日期 */ + manDate?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 旧系统数据迁移标志 */ + flag?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户类型 */ + custType?: string + /** 客户号开立日期 */ + custOpendate?: string + /** 客户名称 */ + custName?: string + /** 归属机构名称 */ + custOrganname?: string + /** 上次评级日期 */ + lastRiskdate?: string + /** 上次评级结果 */ + lastRiskScore?: string + /** 系统评级日期 */ + sysRiskdate?: string + /** 系统总分 */ + riskScore?: string + /** 初评总分 */ + riskInitalscore?: string + /** 初评日期 */ + riskInitialdate?: string + /** 复评总分 */ + riskRepeatscore?: string + /** 复评日期 */ + riskRepeatdate?: string + /** 评级原因 */ + riskReason?: string + /** 任务状态 */ + state?: string + /** 审核退回原因 */ + shReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 是否人工发起 */ + isman?: string + /** 评级次数 */ + riskCount?: string + /** 归属机构 */ + custOrgcode?: string + /** 是否登记控制措施 */ + iscontrol?: string + /** 初评人 */ + riskInitaluser?: string + /** 复评人 */ + riskRepeatuser?: string + /** 审核人 */ + riskAudituser?: string + /** 审核时间 */ + riskAuditdate?: string + /** 初评结果 */ + riskInitallv?: string + /** 复评结果 */ + riskRepeatlv?: string + /** 系统结果 */ + riskScorelv?: string + /** 最终结果 */ + riskFinalResult?: string + /** 初评附加分 */ + riskAddInitalscore?: string + /** 复评附加分 */ + riskAddRepeatscore?: string + /** 初评调整原因 */ + riskCauseInitalreason?: string + /** 复评调整原因 */ + riskCauseRepeatreason?: string + /** 上次评级理由 */ + lastRiskReason?: string + /** 人工发起评级理由 */ + manRiskReason?: string + /** 是否需要重新系统评级 */ + isRiskSys?: string + /** 洗钱风险等级 */ + riskFinalScorelv?: string + /** 其他措施 */ + controlContent?: string + /** 控制措施 */ + controlCode?: string + /** 评级日期 */ + manDate?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 旧系统数据迁移标志 */ + flag?: string +} diff --git a/src/api/amld/DataurgeManage/DataurgeManage/index.ts b/src/api/amld/DataurgeManage/DataurgeManage/index.ts new file mode 100644 index 0000000..32674d0 --- /dev/null +++ b/src/api/amld/DataurgeManage/DataurgeManage/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getDataurgeManageListApi = (data: any) => { + return request.postJson({ url: '/DataurgeManage/spi/DataurgeManage/DataurgeManage/DataurgeManageQueryPage', data }); +}; + +/** 批量删除 */ +export const delDataurgeManageListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/DataurgeManage/spi/DataurgeManage/DataurgeManage/DataurgeManageBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delDataurgeManageApi = (pkid?: string): Promise => { + return request.postJson({ url: '/DataurgeManage/spi/DataurgeManage/DataurgeManage/DataurgeManageDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveDataurgeManageApi = (data: Partial): Promise => { + return request.postJson({ url: '/DataurgeManage/spi/DataurgeManage/DataurgeManage/DataurgeManageSave', data }); +}; + +/** 查询单条数据 */ +export const queryDataurgeManageApi = (pkid?: string): Promise => { + return request.postJson({ url: '/DataurgeManage/spi/DataurgeManage/DataurgeManage/DataurgeManageQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/DataurgeManage/sui/DataurgeManage/DataurgeManage/DataurgeManageImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/DataurgeManage/sui/DataurgeManage/DataurgeManage/DataurgeManageImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/DataurgeManage/sdi/DataurgeManage/DataurgeManage/DataurgeManageExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/DataurgeManage/DataurgeManage/types.ts b/src/api/amld/DataurgeManage/DataurgeManage/types.ts new file mode 100644 index 0000000..c41770a --- /dev/null +++ b/src/api/amld/DataurgeManage/DataurgeManage/types.ts @@ -0,0 +1,56 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 类别 */ + taskType?: string + /** 发起督办机构id */ + initOrganId?: string + /** 接受督办机构id */ + accpetOrganId?: string + /** 发起督办时间 */ + initDate?: string + /** 回复时间 */ + replyDate?: string + /** 督办状态 */ + status?: string + /** 督办内容 */ + taskContent?: string + /** 恢复内容 */ + replyContent?: string + /** 任务类型 */ + dgType?: string + /** 督办机构 */ + accpetOrganname?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 类别 */ + taskType?: string + /** 发起督办机构id */ + initOrganId?: string + /** 接受督办机构id */ + accpetOrganId?: string + /** 发起督办时间 */ + initDate?: string + /** 回复时间 */ + replyDate?: string + /** 督办状态 */ + status?: string + /** 督办内容 */ + taskContent?: string + /** 恢复内容 */ + replyContent?: string + /** 任务类型 */ + dgType?: string + /** 督办机构 */ + accpetOrganname?: string +} diff --git a/src/api/amld/DataurgeQuery/DataurgeQuery/index.ts b/src/api/amld/DataurgeQuery/DataurgeQuery/index.ts new file mode 100644 index 0000000..8c3e25d --- /dev/null +++ b/src/api/amld/DataurgeQuery/DataurgeQuery/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getDataurgeQueryListApi = (data: any) => { + return request.postJson({ url: '/DataurgeQuery/spi/DataurgeQuery/DataurgeQuery/DataurgeQueryQueryPage', data }); +}; + +/** 批量删除 */ +export const delDataurgeQueryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/DataurgeQuery/spi/DataurgeQuery/DataurgeQuery/DataurgeQueryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delDataurgeQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/DataurgeQuery/spi/DataurgeQuery/DataurgeQuery/DataurgeQueryDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveDataurgeQueryApi = (data: Partial): Promise => { + return request.postJson({ url: '/DataurgeQuery/spi/DataurgeQuery/DataurgeQuery/DataurgeQuerySave', data }); +}; + +/** 查询单条数据 */ +export const queryDataurgeQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/DataurgeQuery/spi/DataurgeQuery/DataurgeQuery/DataurgeQueryQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/DataurgeQuery/sui/DataurgeQuery/DataurgeQuery/DataurgeQueryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/DataurgeQuery/sui/DataurgeQuery/DataurgeQuery/DataurgeQueryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/DataurgeQuery/sdi/DataurgeQuery/DataurgeQuery/DataurgeQueryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/DataurgeQuery/DataurgeQuery/types.ts b/src/api/amld/DataurgeQuery/DataurgeQuery/types.ts new file mode 100644 index 0000000..53ef6a0 --- /dev/null +++ b/src/api/amld/DataurgeQuery/DataurgeQuery/types.ts @@ -0,0 +1,56 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 类别 */ + taskType?: string + /** 发起督办机构id */ + initOrganId?: string + /** 接受督办机构id */ + accpetOrganId?: string + /** 发起督办时间 */ + initDate?: string + /** 回复时间 */ + replyDate?: string + /** 督办状态 */ + status?: string + /** 督办内容 */ + taskContent?: string + /** 恢复内容 */ + replyContent?: string + /** 任务类型 */ + dgType?: string + /** 接受督办机构 */ + accpetOrganname?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 类别 */ + taskType?: string + /** 发起督办机构id */ + initOrganId?: string + /** 接受督办机构id */ + accpetOrganId?: string + /** 发起督办时间 */ + initDate?: string + /** 回复时间 */ + replyDate?: string + /** 督办状态 */ + status?: string + /** 督办内容 */ + taskContent?: string + /** 恢复内容 */ + replyContent?: string + /** 任务类型 */ + dgType?: string + /** 接受督办机构 */ + accpetOrganname?: string +} diff --git a/src/api/amld/DejyStatistics/DejyStatistics/index.ts b/src/api/amld/DejyStatistics/DejyStatistics/index.ts new file mode 100644 index 0000000..f6410fa --- /dev/null +++ b/src/api/amld/DejyStatistics/DejyStatistics/index.ts @@ -0,0 +1,59 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getDejyStatisticsListApi = (data: any) => { + return request.postJson({ url: '/DejyStatistics/spi/DejyStatistics/DejyStatistics/DejyStatisticsQueryPage', data }); +}; + +/** 批量删除 */ +export const delDejyStatisticsListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + }; + }); + return request.postJson({ + url: '/DejyStatistics/spi/DejyStatistics/DejyStatistics/DejyStatisticsBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delDejyStatisticsApi = (): Promise => { + return request.postJson({ url: '/DejyStatistics/spi/DejyStatistics/DejyStatistics/DejyStatisticsDelete', data: { } }); +}; + +/** 保存 */ +export const saveDejyStatisticsApi = (data: Partial): Promise => { + return request.postJson({ url: '/DejyStatistics/spi/DejyStatistics/DejyStatistics/DejyStatisticsSave', data }); +}; + +/** 查询单条数据 */ +export const queryDejyStatisticsApi = (): Promise => { + return request.postJson({ url: '/DejyStatistics/spi/DejyStatistics/DejyStatistics/DejyStatisticsQueryOne', data: { } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/DejyStatistics/sui/DejyStatistics/DejyStatistics/DejyStatisticsImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/DejyStatistics/sui/DejyStatistics/DejyStatistics/DejyStatisticsImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/DejyStatistics/sdi/DejyStatistics/DejyStatistics/DejyStatisticsExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/DejyStatistics/DejyStatistics/types.ts b/src/api/amld/DejyStatistics/DejyStatistics/types.ts new file mode 100644 index 0000000..240769d --- /dev/null +++ b/src/api/amld/DejyStatistics/DejyStatistics/types.ts @@ -0,0 +1,36 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 客户类型 */ + custpptype?: string + /** 预警规则 */ + rulecode?: string + /** 币种 */ + currencycode?: string + /** 大额报告笔数 */ + debgbs?: string + /** 大额报告份数 */ + debgfs?: string + /** 大额报告金额(万元) */ + debgje?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 客户类型 */ + custpptype?: string + /** 预警规则 */ + rulecode?: string + /** 币种 */ + currencycode?: string + /** 大额报告笔数 */ + debgbs?: string + /** 大额报告份数 */ + debgfs?: string + /** 大额报告金额(万元) */ + debgje?: string +} diff --git a/src/api/amld/DeletePaper/DeletePaper/index.ts b/src/api/amld/DeletePaper/DeletePaper/index.ts new file mode 100644 index 0000000..cf51db8 --- /dev/null +++ b/src/api/amld/DeletePaper/DeletePaper/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getDeletePaperListApi = (data: any) => { + return request.postJson({ url: '/DeletePaper/spi/DeletePaper/DeletePaper/DeletePaperQueryPage', data }); +}; + +/** 批量删除 */ +export const delDeletePaperListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/DeletePaper/spi/DeletePaper/DeletePaper/DeletePaperBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delDeletePaperApi = (pkid?: string): Promise => { + return request.postJson({ url: '/DeletePaper/spi/DeletePaper/DeletePaper/DeletePaperDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveDeletePaperApi = (data: Partial): Promise => { + return request.postJson({ url: '/DeletePaper/spi/DeletePaper/DeletePaper/DeletePaperSave', data }); +}; + +/** 查询单条数据 */ +export const queryDeletePaperApi = (pkid?: string): Promise => { + return request.postJson({ url: '/DeletePaper/spi/DeletePaper/DeletePaper/DeletePaperQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/DeletePaper/sui/DeletePaper/DeletePaper/DeletePaperImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/DeletePaper/sui/DeletePaper/DeletePaper/DeletePaperImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/DeletePaper/sdi/DeletePaper/DeletePaper/DeletePaperExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/DeletePaper/DeletePaper/types.ts b/src/api/amld/DeletePaper/DeletePaper/types.ts new file mode 100644 index 0000000..3f5e0b8 --- /dev/null +++ b/src/api/amld/DeletePaper/DeletePaper/types.ts @@ -0,0 +1,468 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序列字段 */ + pkid?: string + /** 自动运算编号 */ + autoCode?: string + /** 计算日期 */ + cctDate?: string + /** 规则表 */ + ruleCode?: string + /** 对应AML_RULE_IDX表IDX_CODE个字段 */ + idxCode?: string + /** 交易类型:BH为大额,BS为可疑 */ + ruleType?: string + /** 1.系统2人工 */ + cctType?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 身份证号 */ + ssnNo?: string + /** 客户证件类型 */ + ssnNotype?: string + /** 客户国籍 */ + custCountry?: string + /** 客户联系电话 */ + custTel?: string + /** 客户住址 */ + custAddress?: string + /** 客户其他联系方式 */ + custContactway?: string + /** 客户对公对私标示 交易对手客户类型 01对公 02 对私 */ + custPptype?: string + /** 对私客户职业或对公客户行也 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: number + /** 法定代表人姓名 */ + corporationName?: string + /** 法定代表人身份类型 */ + corporationCardtye?: string + /** 法定代表人身份证号码 */ + corporationCardno?: string + /** 开户机构号 */ + custOrgancode?: string + /** 客户性质1- 储蓄2-对公 */ + custClipro?: string + /** 金融机构代码 */ + tranOrgan?: string + /** 金融机构代码类型 */ + tranOrgantype?: string + /** 金融机构名称 */ + tranOrganname?: string + /** 交易发生地 */ + tranAddress?: string + /** 金融机构所在地区行政区划代码 */ + tranAddresscode?: string + /** 账户 */ + tranAcct?: string + /** 账号名称 */ + tranAcctname?: string + /** 账户类型 */ + tranAccttype?: string + /** 活定期标志 */ + tranAccthdflg?: string + /** 账户性质 */ + tranAccthr?: string + /** 产品号 */ + tranAcctprdid?: string + /** 交易方式 */ + tranType?: string + /** 金融机构和大额的关系,银行卡所发生的大额交易:A 金融机构:B 机构:C 客户通过:D 账户:E 00:D在境内开立的E或者A,B为开立E的C或发卡银行 01:D境外A,B为收单行;02:客户不通过E或者A,B为办理业务的C */ + tranBh?: string + /** 业务流水号 */ + serialNo?: string + /** 交易日期 格式yyyyMMdd */ + tranDate?: string + /** 交易时间(yyyymmdd tttttt) */ + tranTime?: string + /** 涉外收支交易分类与代码 */ + tsct?: string + /** 币种 */ + currencyCode?: string + /** 交易金额 */ + amount?: number + /** 资金收付标志 */ + sendcode?: string + /** 资金用途 */ + fundUse?: string + /** 代办人证件类型 */ + bterPaperstype?: string + /** 代办人姓名 */ + bterName?: string + /** 代办人国籍 */ + bterNationality?: string + /** 代办人证件号码 */ + bterPaersno?: string + /** 对方金融机构代码 */ + oppOrgan?: string + /** 对方金融机构代码类型 */ + oppOrgancodetype?: string + /** 对方金融机构名称 */ + oppOrganname?: string + /** 交易去向地 */ + oppAddress?: string + /** 对手金融机构网点行政区划代码 */ + opporgAddresscode?: string + /** 对手姓名 */ + oppName?: string + /** 对手证件类型 */ + oppPaperstype?: string + /** 交易对手证件号码 */ + oppPapersno?: string + /** 对手账户类型 */ + oppAccttype?: string + /** 交易对手账号 */ + oppAcctt?: string + /** 柜员号 */ + telid?: string + /** 交易来源 */ + txtm?: string + /** 交易凭证类型 */ + doctyp?: string + /** 交易凭证号 */ + stvn?: string + /** 卡号 */ + crdno?: string + /** 人行上报的账户或者卡号 */ + ctac?: string + /** 交易状态 */ + status?: string + /** 0:未下发,1:下发 */ + issend?: string + /** 是否补录0,未补录,1补录 */ + ismanualrecord?: string + /** 回执错误信息内容 */ + retErrors?: string + /** 回执错误对应的XPATH解析出报文中的错误内容 */ + retxpathRepcontent?: string + /** 回执结果编号 */ + retCode?: string + /** 预警排除备注信息 */ + warnRemark?: string + /** 开户时间 */ + opendate?: string + /** 销户时间 */ + closedate?: string + /** 补录id */ + manualrecord?: string + /** 对方客户性质 */ + clipro2?: string + /** 对方活定标志 */ + hdflg2?: string + /** 账户性质 */ + accchr2?: string + /** 对方产品号 */ + prdid2?: string + /** 现转标志,1--现金,2--转账 */ + ctflg?: string + /** 交易来源 */ + txcm?: string + /** 开户机构号 */ + openorg?: string + /** 大额的交易机构号 */ + orgcode?: string + /** 机构的报告主体 */ + orgbody?: string + /** 交易对手客户类型 01对公 02 对私 03个体 04 其他 */ + oppCustPptype?: string + /** 0:未校验,1:校验未通过,2:校验通过 */ + attribute1?: string + /** RULE_CODE的list */ + attribute2?: string + /** 每个自主交易规则的分数 */ + attribute3?: string + /** 是否给出过评审意见,默认没有0,评审过是1 */ + attribute4?: string + /** 客户身份证件/证明文件名称 */ + cuspbkname?: string + /** 对公客户法定代表人身份证件名称 */ + jrdpbna?: string + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 银行卡类型 */ + cardType?: string + /** 银行卡类型名称 */ + cardName?: string + /** 银行卡号码 */ + cardno?: string + /** 代办人身份证件/证明文件名称 */ + agtidn?: string + /** 交易对手身份证件/证明文件名称 */ + cuspbkname1?: string + /** 交易金额(折人民币) */ + amtCny?: number + /** 交易金额(折美元) */ + amtUsd?: number + /** 收付款方匹配号类型 */ + matchtype?: string + /** 收付款方匹配号 */ + matchno?: string + /** 非柜台交易方式 */ + countcode?: string + /** 其他非柜台交易方式 */ + ocountcode?: string + /** 非柜台交易方式的设备代码 */ + countno?: string + /** 交易对手账户类型 */ + acctype2?: string + /** 金融机构与客户的关系 */ + betrel?: string + /** 银行与支付机构之间的业务交易编码 */ + betrancode?: string + /** 交易信息备注 */ + tranremark?: string + /** 操作人 */ + oplasttime?: string + /** 操作时间 */ + opuser?: string + /** 涉外收支交易分类与代码 */ + fortrancode?: string + /** 标志: 2、3 为一次性金融服务 */ + txflg?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序列字段 */ + pkid?: string + /** 自动运算编号 */ + autoCode?: string + /** 计算日期 */ + cctDate?: string + /** 规则表 */ + ruleCode?: string + /** 对应AML_RULE_IDX表IDX_CODE个字段 */ + idxCode?: string + /** 交易类型:BH为大额,BS为可疑 */ + ruleType?: string + /** 1.系统2人工 */ + cctType?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 身份证号 */ + ssnNo?: string + /** 客户证件类型 */ + ssnNotype?: string + /** 客户国籍 */ + custCountry?: string + /** 客户联系电话 */ + custTel?: string + /** 客户住址 */ + custAddress?: string + /** 客户其他联系方式 */ + custContactway?: string + /** 客户对公对私标示 交易对手客户类型 01对公 02 对私 */ + custPptype?: string + /** 对私客户职业或对公客户行也 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: number + /** 法定代表人姓名 */ + corporationName?: string + /** 法定代表人身份类型 */ + corporationCardtye?: string + /** 法定代表人身份证号码 */ + corporationCardno?: string + /** 开户机构号 */ + custOrgancode?: string + /** 客户性质1- 储蓄2-对公 */ + custClipro?: string + /** 金融机构代码 */ + tranOrgan?: string + /** 金融机构代码类型 */ + tranOrgantype?: string + /** 金融机构名称 */ + tranOrganname?: string + /** 交易发生地 */ + tranAddress?: string + /** 金融机构所在地区行政区划代码 */ + tranAddresscode?: string + /** 账户 */ + tranAcct?: string + /** 账号名称 */ + tranAcctname?: string + /** 账户类型 */ + tranAccttype?: string + /** 活定期标志 */ + tranAccthdflg?: string + /** 账户性质 */ + tranAccthr?: string + /** 产品号 */ + tranAcctprdid?: string + /** 交易方式 */ + tranType?: string + /** 金融机构和大额的关系,银行卡所发生的大额交易:A 金融机构:B 机构:C 客户通过:D 账户:E 00:D在境内开立的E或者A,B为开立E的C或发卡银行 01:D境外A,B为收单行;02:客户不通过E或者A,B为办理业务的C */ + tranBh?: string + /** 业务流水号 */ + serialNo?: string + /** 交易日期 格式yyyyMMdd */ + tranDate?: string + /** 交易时间(yyyymmdd tttttt) */ + tranTime?: string + /** 涉外收支交易分类与代码 */ + tsct?: string + /** 币种 */ + currencyCode?: string + /** 交易金额 */ + amount?: number + /** 资金收付标志 */ + sendcode?: string + /** 资金用途 */ + fundUse?: string + /** 代办人证件类型 */ + bterPaperstype?: string + /** 代办人姓名 */ + bterName?: string + /** 代办人国籍 */ + bterNationality?: string + /** 代办人证件号码 */ + bterPaersno?: string + /** 对方金融机构代码 */ + oppOrgan?: string + /** 对方金融机构代码类型 */ + oppOrgancodetype?: string + /** 对方金融机构名称 */ + oppOrganname?: string + /** 交易去向地 */ + oppAddress?: string + /** 对手金融机构网点行政区划代码 */ + opporgAddresscode?: string + /** 对手姓名 */ + oppName?: string + /** 对手证件类型 */ + oppPaperstype?: string + /** 交易对手证件号码 */ + oppPapersno?: string + /** 对手账户类型 */ + oppAccttype?: string + /** 交易对手账号 */ + oppAcctt?: string + /** 柜员号 */ + telid?: string + /** 交易来源 */ + txtm?: string + /** 交易凭证类型 */ + doctyp?: string + /** 交易凭证号 */ + stvn?: string + /** 卡号 */ + crdno?: string + /** 人行上报的账户或者卡号 */ + ctac?: string + /** 交易状态 */ + status?: string + /** 0:未下发,1:下发 */ + issend?: string + /** 是否补录0,未补录,1补录 */ + ismanualrecord?: string + /** 回执错误信息内容 */ + retErrors?: string + /** 回执错误对应的XPATH解析出报文中的错误内容 */ + retxpathRepcontent?: string + /** 回执结果编号 */ + retCode?: string + /** 预警排除备注信息 */ + warnRemark?: string + /** 开户时间 */ + opendate?: string + /** 销户时间 */ + closedate?: string + /** 补录id */ + manualrecord?: string + /** 对方客户性质 */ + clipro2?: string + /** 对方活定标志 */ + hdflg2?: string + /** 账户性质 */ + accchr2?: string + /** 对方产品号 */ + prdid2?: string + /** 现转标志,1--现金,2--转账 */ + ctflg?: string + /** 交易来源 */ + txcm?: string + /** 开户机构号 */ + openorg?: string + /** 大额的交易机构号 */ + orgcode?: string + /** 机构的报告主体 */ + orgbody?: string + /** 交易对手客户类型 01对公 02 对私 03个体 04 其他 */ + oppCustPptype?: string + /** 0:未校验,1:校验未通过,2:校验通过 */ + attribute1?: string + /** RULE_CODE的list */ + attribute2?: string + /** 每个自主交易规则的分数 */ + attribute3?: string + /** 是否给出过评审意见,默认没有0,评审过是1 */ + attribute4?: string + /** 客户身份证件/证明文件名称 */ + cuspbkname?: string + /** 对公客户法定代表人身份证件名称 */ + jrdpbna?: string + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 银行卡类型 */ + cardType?: string + /** 银行卡类型名称 */ + cardName?: string + /** 银行卡号码 */ + cardno?: string + /** 代办人身份证件/证明文件名称 */ + agtidn?: string + /** 交易对手身份证件/证明文件名称 */ + cuspbkname1?: string + /** 交易金额(折人民币) */ + amtCny?: number + /** 交易金额(折美元) */ + amtUsd?: number + /** 收付款方匹配号类型 */ + matchtype?: string + /** 收付款方匹配号 */ + matchno?: string + /** 非柜台交易方式 */ + countcode?: string + /** 其他非柜台交易方式 */ + ocountcode?: string + /** 非柜台交易方式的设备代码 */ + countno?: string + /** 交易对手账户类型 */ + acctype2?: string + /** 金融机构与客户的关系 */ + betrel?: string + /** 银行与支付机构之间的业务交易编码 */ + betrancode?: string + /** 交易信息备注 */ + tranremark?: string + /** 操作人 */ + oplasttime?: string + /** 操作时间 */ + opuser?: string + /** 涉外收支交易分类与代码 */ + fortrancode?: string + /** 标志: 2、3 为一次性金融服务 */ + txflg?: string +} diff --git a/src/api/amld/ErrorTransaction/ErrorTransaction/index.ts b/src/api/amld/ErrorTransaction/ErrorTransaction/index.ts new file mode 100644 index 0000000..c51c626 --- /dev/null +++ b/src/api/amld/ErrorTransaction/ErrorTransaction/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getErrorTransactionListApi = (data: any) => { + return request.postJson({ url: '/ErrorTransaction/spi/ErrorTransaction/ErrorTransaction/ErrorTransactionQueryPage', data }); +}; + +/** 批量删除 */ +export const delErrorTransactionListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/ErrorTransaction/spi/ErrorTransaction/ErrorTransaction/ErrorTransactionBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delErrorTransactionApi = (pkid?: string): Promise => { + return request.postJson({ url: '/ErrorTransaction/spi/ErrorTransaction/ErrorTransaction/ErrorTransactionDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveErrorTransactionApi = (data: Partial): Promise => { + return request.postJson({ url: '/ErrorTransaction/spi/ErrorTransaction/ErrorTransaction/ErrorTransactionSave', data }); +}; + +/** 查询单条数据 */ +export const queryErrorTransactionApi = (pkid?: string): Promise => { + return request.postJson({ url: '/ErrorTransaction/spi/ErrorTransaction/ErrorTransaction/ErrorTransactionQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/ErrorTransaction/sui/ErrorTransaction/ErrorTransaction/ErrorTransactionImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/ErrorTransaction/sui/ErrorTransaction/ErrorTransaction/ErrorTransactionImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/ErrorTransaction/sdi/ErrorTransaction/ErrorTransaction/ErrorTransactionExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/ErrorTransaction/ErrorTransaction/types.ts b/src/api/amld/ErrorTransaction/ErrorTransaction/types.ts new file mode 100644 index 0000000..73a88cf --- /dev/null +++ b/src/api/amld/ErrorTransaction/ErrorTransaction/types.ts @@ -0,0 +1,468 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序列字段 */ + pkid?: string + /** 规则编号 */ + autoCode?: string + /** 计算日期 */ + cctDate?: string + /** 规则表 */ + ruleCode?: string + /** 对应AML_RULE_IDX表IDX_CODE个字段 */ + idxCode?: string + /** 交易类型 */ + ruleType?: string + /** 类型 */ + cctType?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 身份证号 */ + ssnNo?: string + /** 客户证件类型 */ + ssnNotype?: string + /** 客户国籍 */ + custCountry?: string + /** 客户联系电话 */ + custTel?: string + /** 客户住址 */ + custAddress?: string + /** 客户其他联系方式 */ + custContactway?: string + /** 客户对公对私标识 */ + custPptype?: string + /** 对私客户职业或对公客户行也 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: number + /** 法定代表人姓名 */ + corporationName?: string + /** 法定代表人身份类型 */ + corporationCardtye?: string + /** 法定代表人身份证号码 */ + corporationCardno?: string + /** 开户机构号 */ + custOrgancode?: string + /** 客户性质 */ + custClipro?: string + /** 金融机构代码 */ + tranOrgan?: string + /** 金融机构代码类型 */ + tranOrgantype?: string + /** 交易机构 */ + tranOrganname?: string + /** 交易发生地 */ + tranAddress?: string + /** 金融机构所在地区行政区划代码 */ + tranAddresscode?: string + /** 交易账户 */ + tranAcct?: string + /** 账号名称 */ + tranAcctname?: string + /** 账户类型 */ + tranAccttype?: string + /** 活定期标志 */ + tranAccthdflg?: string + /** 账户性质 */ + tranAccthr?: string + /** 产品号 */ + tranAcctprdid?: string + /** 交易方式 */ + tranType?: string + /** 金融机构和大额关系 */ + tranBh?: string + /** 流水号 */ + serialNo?: string + /** 交易日期 */ + tranDate?: string + /** 交易时间 */ + tranTime?: string + /** 涉外收支交易分类与代码 */ + tsct?: string + /** 币种 */ + currencyCode?: string + /** 交易金额 */ + amount?: number + /** 资金收付标志 */ + sendcode?: string + /** 资金用途 */ + fundUse?: string + /** 代办人证件类型 */ + bterPaperstype?: string + /** 代办人姓名 */ + bterName?: string + /** 代办人国籍 */ + bterNationality?: string + /** 代办人证件号码 */ + bterPaersno?: string + /** 对方金融机构代码 */ + oppOrgan?: string + /** 对方金融机构代码类型 */ + oppOrgancodetype?: string + /** 对方机构 */ + oppOrganname?: string + /** 交易去向地 */ + oppAddress?: string + /** 对手金融机构网点行政区划代码 */ + opporgAddresscode?: string + /** 对手姓名 */ + oppName?: string + /** 对手证件类型 */ + oppPaperstype?: string + /** 对方证件号 */ + oppPapersno?: string + /** 对手账户类型 */ + oppAccttype?: string + /** 交易对手账号 */ + oppAcctt?: string + /** 柜员号 */ + telid?: string + /** 交易来源 */ + txtm?: string + /** 交易凭证类型 */ + doctyp?: string + /** 交易凭证号 */ + stvn?: string + /** 卡号 */ + crdno?: string + /** 人行上报的账户或者卡号 */ + ctac?: string + /** 交易状态 */ + status?: string + /** 下发状态 */ + issend?: string + /** 补录状态 */ + ismanualrecord?: string + /** 回执错误信息内容 */ + retErrors?: string + /** 回执错误对应的XPATH解析出报文中的错误内容 */ + retxpathRepcontent?: string + /** 回执结果编号 */ + retCode?: string + /** 预警排除备注信息 */ + warnRemark?: string + /** 开户时间 */ + opendate?: string + /** 销户时间 */ + closedate?: string + /** 补录id */ + manualrecord?: string + /** 对方客户性质 */ + clipro2?: string + /** 对方活定标志 */ + hdflg2?: string + /** 账户性质 */ + accchr2?: string + /** 对方产品号 */ + prdid2?: string + /** 现转标志 */ + ctflg?: string + /** 交易来源 */ + txcm?: string + /** 开户机构号 */ + openorg?: string + /** 大额的交易机构号 */ + orgcode?: string + /** 机构的报告主体 */ + orgbody?: string + /** 客户类型 */ + oppCustPptype?: string + /** 校验状态 */ + attribute1?: string + /** RULE_CODE的list */ + attribute2?: string + /** 每个自主交易规则的分数 */ + attribute3?: string + /** 是否给出过评审意见 */ + attribute4?: string + /** 客户身份证件/证明文件名称 */ + cuspbkname?: string + /** 对公客户法定代表人身份证件名称 */ + jrdpbna?: string + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 银行卡类型 */ + cardType?: string + /** 银行卡类型名称 */ + cardName?: string + /** 银行卡号码 */ + cardno?: string + /** 代办人身份证件/证明文件名称 */ + agtidn?: string + /** 交易对手身份证件/证明文件名称 */ + cuspbkname1?: string + /** 交易金额(折人民币) */ + amtCny?: number + /** 交易金额(折美元) */ + amtUsd?: number + /** 收付款方匹配号类型 */ + matchtype?: string + /** 收付款方匹配号 */ + matchno?: string + /** 非柜台交易方式 */ + countcode?: string + /** 其他非柜台交易方式 */ + ocountcode?: string + /** 非柜台交易方式的设备代码 */ + countno?: string + /** 交易对手账户类型 */ + acctype2?: string + /** 金融机构与客户的关系 */ + betrel?: string + /** 银行与支付机构之间的业务交易编码 */ + betrancode?: string + /** 交易信息备注 */ + tranremark?: string + /** 操作人 */ + oplasttime?: string + /** 操作时间 */ + opuser?: string + /** 涉外收支交易分类与代码 */ + fortrancode?: string + /** 标志 */ + txflg?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序列字段 */ + pkid?: string + /** 规则编号 */ + autoCode?: string + /** 计算日期 */ + cctDate?: string + /** 规则表 */ + ruleCode?: string + /** 对应AML_RULE_IDX表IDX_CODE个字段 */ + idxCode?: string + /** 交易类型 */ + ruleType?: string + /** 类型 */ + cctType?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 身份证号 */ + ssnNo?: string + /** 客户证件类型 */ + ssnNotype?: string + /** 客户国籍 */ + custCountry?: string + /** 客户联系电话 */ + custTel?: string + /** 客户住址 */ + custAddress?: string + /** 客户其他联系方式 */ + custContactway?: string + /** 客户对公对私标识 */ + custPptype?: string + /** 对私客户职业或对公客户行也 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: number + /** 法定代表人姓名 */ + corporationName?: string + /** 法定代表人身份类型 */ + corporationCardtye?: string + /** 法定代表人身份证号码 */ + corporationCardno?: string + /** 开户机构号 */ + custOrgancode?: string + /** 客户性质 */ + custClipro?: string + /** 金融机构代码 */ + tranOrgan?: string + /** 金融机构代码类型 */ + tranOrgantype?: string + /** 交易机构 */ + tranOrganname?: string + /** 交易发生地 */ + tranAddress?: string + /** 金融机构所在地区行政区划代码 */ + tranAddresscode?: string + /** 交易账户 */ + tranAcct?: string + /** 账号名称 */ + tranAcctname?: string + /** 账户类型 */ + tranAccttype?: string + /** 活定期标志 */ + tranAccthdflg?: string + /** 账户性质 */ + tranAccthr?: string + /** 产品号 */ + tranAcctprdid?: string + /** 交易方式 */ + tranType?: string + /** 金融机构和大额关系 */ + tranBh?: string + /** 流水号 */ + serialNo?: string + /** 交易日期 */ + tranDate?: string + /** 交易时间 */ + tranTime?: string + /** 涉外收支交易分类与代码 */ + tsct?: string + /** 币种 */ + currencyCode?: string + /** 交易金额 */ + amount?: number + /** 资金收付标志 */ + sendcode?: string + /** 资金用途 */ + fundUse?: string + /** 代办人证件类型 */ + bterPaperstype?: string + /** 代办人姓名 */ + bterName?: string + /** 代办人国籍 */ + bterNationality?: string + /** 代办人证件号码 */ + bterPaersno?: string + /** 对方金融机构代码 */ + oppOrgan?: string + /** 对方金融机构代码类型 */ + oppOrgancodetype?: string + /** 对方机构 */ + oppOrganname?: string + /** 交易去向地 */ + oppAddress?: string + /** 对手金融机构网点行政区划代码 */ + opporgAddresscode?: string + /** 对手姓名 */ + oppName?: string + /** 对手证件类型 */ + oppPaperstype?: string + /** 对方证件号 */ + oppPapersno?: string + /** 对手账户类型 */ + oppAccttype?: string + /** 交易对手账号 */ + oppAcctt?: string + /** 柜员号 */ + telid?: string + /** 交易来源 */ + txtm?: string + /** 交易凭证类型 */ + doctyp?: string + /** 交易凭证号 */ + stvn?: string + /** 卡号 */ + crdno?: string + /** 人行上报的账户或者卡号 */ + ctac?: string + /** 交易状态 */ + status?: string + /** 下发状态 */ + issend?: string + /** 补录状态 */ + ismanualrecord?: string + /** 回执错误信息内容 */ + retErrors?: string + /** 回执错误对应的XPATH解析出报文中的错误内容 */ + retxpathRepcontent?: string + /** 回执结果编号 */ + retCode?: string + /** 预警排除备注信息 */ + warnRemark?: string + /** 开户时间 */ + opendate?: string + /** 销户时间 */ + closedate?: string + /** 补录id */ + manualrecord?: string + /** 对方客户性质 */ + clipro2?: string + /** 对方活定标志 */ + hdflg2?: string + /** 账户性质 */ + accchr2?: string + /** 对方产品号 */ + prdid2?: string + /** 现转标志 */ + ctflg?: string + /** 交易来源 */ + txcm?: string + /** 开户机构号 */ + openorg?: string + /** 大额的交易机构号 */ + orgcode?: string + /** 机构的报告主体 */ + orgbody?: string + /** 客户类型 */ + oppCustPptype?: string + /** 校验状态 */ + attribute1?: string + /** RULE_CODE的list */ + attribute2?: string + /** 每个自主交易规则的分数 */ + attribute3?: string + /** 是否给出过评审意见 */ + attribute4?: string + /** 客户身份证件/证明文件名称 */ + cuspbkname?: string + /** 对公客户法定代表人身份证件名称 */ + jrdpbna?: string + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 银行卡类型 */ + cardType?: string + /** 银行卡类型名称 */ + cardName?: string + /** 银行卡号码 */ + cardno?: string + /** 代办人身份证件/证明文件名称 */ + agtidn?: string + /** 交易对手身份证件/证明文件名称 */ + cuspbkname1?: string + /** 交易金额(折人民币) */ + amtCny?: number + /** 交易金额(折美元) */ + amtUsd?: number + /** 收付款方匹配号类型 */ + matchtype?: string + /** 收付款方匹配号 */ + matchno?: string + /** 非柜台交易方式 */ + countcode?: string + /** 其他非柜台交易方式 */ + ocountcode?: string + /** 非柜台交易方式的设备代码 */ + countno?: string + /** 交易对手账户类型 */ + acctype2?: string + /** 金融机构与客户的关系 */ + betrel?: string + /** 银行与支付机构之间的业务交易编码 */ + betrancode?: string + /** 交易信息备注 */ + tranremark?: string + /** 操作人 */ + oplasttime?: string + /** 操作时间 */ + opuser?: string + /** 涉外收支交易分类与代码 */ + fortrancode?: string + /** 标志 */ + txflg?: string +} diff --git a/src/api/amld/ExpirationManagement/ExpirationManagement/index.ts b/src/api/amld/ExpirationManagement/ExpirationManagement/index.ts new file mode 100644 index 0000000..9258471 --- /dev/null +++ b/src/api/amld/ExpirationManagement/ExpirationManagement/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getExpirationManagementListApi = (data: any) => { + return request.postJson({ url: '/ExpirationManagement/spi/ExpirationManagement/ExpirationManagement/ExpirationManagementQueryPage', data }); +}; + +/** 批量删除 */ +export const delExpirationManagementListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/ExpirationManagement/spi/ExpirationManagement/ExpirationManagement/ExpirationManagementBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delExpirationManagementApi = (pkid?: string): Promise => { + return request.postJson({ url: '/ExpirationManagement/spi/ExpirationManagement/ExpirationManagement/ExpirationManagementDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveExpirationManagementApi = (data: Partial): Promise => { + return request.postJson({ url: '/ExpirationManagement/spi/ExpirationManagement/ExpirationManagement/ExpirationManagementSave', data }); +}; + +/** 查询单条数据 */ +export const queryExpirationManagementApi = (pkid?: string): Promise => { + return request.postJson({ url: '/ExpirationManagement/spi/ExpirationManagement/ExpirationManagement/ExpirationManagementQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/ExpirationManagement/sui/ExpirationManagement/ExpirationManagement/ExpirationManagementImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/ExpirationManagement/sui/ExpirationManagement/ExpirationManagement/ExpirationManagementImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/ExpirationManagement/sdi/ExpirationManagement/ExpirationManagement/ExpirationManagementExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/ExpirationManagement/ExpirationManagement/types.ts b/src/api/amld/ExpirationManagement/ExpirationManagement/types.ts new file mode 100644 index 0000000..baac5e7 --- /dev/null +++ b/src/api/amld/ExpirationManagement/ExpirationManagement/types.ts @@ -0,0 +1,196 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} diff --git a/src/api/amld/HzwjAnalysis/HzwjAnalysis/index.ts b/src/api/amld/HzwjAnalysis/HzwjAnalysis/index.ts new file mode 100644 index 0000000..fe1f2f4 --- /dev/null +++ b/src/api/amld/HzwjAnalysis/HzwjAnalysis/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getHzwjAnalysisListApi = (data: any) => { + return request.postJson({ url: '/HzwjAnalysis/spi/HzwjAnalysis/HzwjAnalysis/HzwjAnalysisQueryPage', data }); +}; + +/** 批量删除 */ +export const delHzwjAnalysisListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/HzwjAnalysis/spi/HzwjAnalysis/HzwjAnalysis/HzwjAnalysisBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delHzwjAnalysisApi = (pkid?: string): Promise => { + return request.postJson({ url: '/HzwjAnalysis/spi/HzwjAnalysis/HzwjAnalysis/HzwjAnalysisDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveHzwjAnalysisApi = (data: Partial): Promise => { + return request.postJson({ url: '/HzwjAnalysis/spi/HzwjAnalysis/HzwjAnalysis/HzwjAnalysisSave', data }); +}; + +/** 查询单条数据 */ +export const queryHzwjAnalysisApi = (pkid?: string): Promise => { + return request.postJson({ url: '/HzwjAnalysis/spi/HzwjAnalysis/HzwjAnalysis/HzwjAnalysisQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/HzwjAnalysis/sui/HzwjAnalysis/HzwjAnalysis/HzwjAnalysisImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/HzwjAnalysis/sui/HzwjAnalysis/HzwjAnalysis/HzwjAnalysisImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/HzwjAnalysis/sdi/HzwjAnalysis/HzwjAnalysis/HzwjAnalysisExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/HzwjAnalysis/HzwjAnalysis/types.ts b/src/api/amld/HzwjAnalysis/HzwjAnalysis/types.ts new file mode 100644 index 0000000..18d3b0c --- /dev/null +++ b/src/api/amld/HzwjAnalysis/HzwjAnalysis/types.ts @@ -0,0 +1,72 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 回执文件数据包编号 */ + retPacketCode?: string + /** 回执文件数据包名称 */ + retPacketName?: string + /** 回执文件数据包名称的内容 */ + retPacketContent?: string + /** 上报数据包编号 */ + repPacketCode?: string + /** 上报数据包名称 */ + repPacketName?: string + /** 回执文件编号 */ + retXmlCode?: string + /** 回执文件名称 */ + retXmlName?: string + /** 回执文件内容 */ + retXmlContent?: string + /** 回执文件上传时间 */ + retTime?: string + /** 回执文件解析状态 */ + retParseStatus?: string + /** 回执文件错误原因 */ + retType?: string + /** 回执文件处理状态 */ + ertDealStatus?: string + /** 机构编号 */ + retOrgancode?: string + /** 机构名称 */ + retOrganname?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 回执文件数据包编号 */ + retPacketCode?: string + /** 回执文件数据包名称 */ + retPacketName?: string + /** 回执文件数据包名称的内容 */ + retPacketContent?: string + /** 上报数据包编号 */ + repPacketCode?: string + /** 上报数据包名称 */ + repPacketName?: string + /** 回执文件编号 */ + retXmlCode?: string + /** 回执文件名称 */ + retXmlName?: string + /** 回执文件内容 */ + retXmlContent?: string + /** 回执文件上传时间 */ + retTime?: string + /** 回执文件解析状态 */ + retParseStatus?: string + /** 回执文件错误原因 */ + retType?: string + /** 回执文件处理状态 */ + ertDealStatus?: string + /** 机构编号 */ + retOrgancode?: string + /** 机构名称 */ + retOrganname?: string +} diff --git a/src/api/amld/JGWJMaintain/JGWJMaintain/index.ts b/src/api/amld/JGWJMaintain/JGWJMaintain/index.ts new file mode 100644 index 0000000..25194d1 --- /dev/null +++ b/src/api/amld/JGWJMaintain/JGWJMaintain/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getJGWJMaintainListApi = (data: any) => { + return request.postJson({ url: '/JGWJMaintain/spi/JGWJMaintain/JgwjMaintain/JgwjMaintainQueryPage', data }); +}; + +/** 批量删除 */ +export const delJGWJMaintainListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/JGWJMaintain/spi/JGWJMaintain/JgwjMaintain/JgwjMaintainBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delJGWJMaintainApi = (pkid?: string): Promise => { + return request.postJson({ url: '/JGWJMaintain/spi/JGWJMaintain/JgwjMaintain/JgwjMaintainDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveJGWJMaintainApi = (data: Partial): Promise => { + return request.postJson({ url: '/JGWJMaintain/spi/JGWJMaintain/JgwjMaintain/JgwjMaintainSave', data }); +}; + +/** 查询单条数据 */ +export const queryJGWJMaintainApi = (pkid?: string): Promise => { + return request.postJson({ url: '/JGWJMaintain/spi/JGWJMaintain/JgwjMaintain/JgwjMaintainQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/JGWJMaintain/sui/JGWJMaintain/JgwjMaintain/JgwjMaintainImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/JGWJMaintain/sui/JGWJMaintain/JgwjMaintain/JgwjMaintainImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/JGWJMaintain/sdi/JGWJMaintain/JgwjMaintain/JgwjMaintainExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/JGWJMaintain/JGWJMaintain/types.ts b/src/api/amld/JGWJMaintain/JGWJMaintain/types.ts new file mode 100644 index 0000000..7628c3f --- /dev/null +++ b/src/api/amld/JGWJMaintain/JGWJMaintain/types.ts @@ -0,0 +1,48 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 文件名 */ + filename?: string + /** 文档内容 */ + documentcontent?: string + /** 创建日期 */ + createdate?: string + /** 创建者 */ + createuser?: string + /** 状态 */ + status?: string + /** 时间 */ + attribute1?: string + /** 附件名 */ + attribute2?: string + /** 附件id */ + uploadid?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 文件名 */ + filename?: string + /** 文档内容 */ + documentcontent?: string + /** 创建日期 */ + createdate?: string + /** 创建者 */ + createuser?: string + /** 状态 */ + status?: string + /** 时间 */ + attribute1?: string + /** 附件名 */ + attribute2?: string + /** 附件id */ + uploadid?: string +} diff --git a/src/api/amld/JGWJQuery/JGWJQuery/index.ts b/src/api/amld/JGWJQuery/JGWJQuery/index.ts new file mode 100644 index 0000000..c66870c --- /dev/null +++ b/src/api/amld/JGWJQuery/JGWJQuery/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getJGWJQueryListApi = (data: any) => { + return request.postJson({ url: '/JGWJQuery/spi/JGWJQuery/JgwjQuery/JgwjQueryQueryPage', data }); +}; + +/** 批量删除 */ +export const delJGWJQueryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/JGWJQuery/spi/JGWJQuery/JgwjQuery/JgwjQueryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delJGWJQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/JGWJQuery/spi/JGWJQuery/JgwjQuery/JgwjQueryDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveJGWJQueryApi = (data: Partial): Promise => { + return request.postJson({ url: '/JGWJQuery/spi/JGWJQuery/JgwjQuery/JgwjQuerySave', data }); +}; + +/** 查询单条数据 */ +export const queryJGWJQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/JGWJQuery/spi/JGWJQuery/JgwjQuery/JgwjQueryQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/JGWJQuery/sui/JGWJQuery/JgwjQuery/JgwjQueryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/JGWJQuery/sui/JGWJQuery/JgwjQuery/JgwjQueryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/JGWJQuery/sdi/JGWJQuery/JgwjQuery/JgwjQueryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/JGWJQuery/JGWJQuery/types.ts b/src/api/amld/JGWJQuery/JGWJQuery/types.ts new file mode 100644 index 0000000..7628c3f --- /dev/null +++ b/src/api/amld/JGWJQuery/JGWJQuery/types.ts @@ -0,0 +1,48 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 文件名 */ + filename?: string + /** 文档内容 */ + documentcontent?: string + /** 创建日期 */ + createdate?: string + /** 创建者 */ + createuser?: string + /** 状态 */ + status?: string + /** 时间 */ + attribute1?: string + /** 附件名 */ + attribute2?: string + /** 附件id */ + uploadid?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 文件名 */ + filename?: string + /** 文档内容 */ + documentcontent?: string + /** 创建日期 */ + createdate?: string + /** 创建者 */ + createuser?: string + /** 状态 */ + status?: string + /** 时间 */ + attribute1?: string + /** 附件名 */ + attribute2?: string + /** 附件id */ + uploadid?: string +} diff --git a/src/api/amld/JRCPEvaluateQuery/JRCPEvaluateQuery/index.ts b/src/api/amld/JRCPEvaluateQuery/JRCPEvaluateQuery/index.ts new file mode 100644 index 0000000..0bfc737 --- /dev/null +++ b/src/api/amld/JRCPEvaluateQuery/JRCPEvaluateQuery/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getJRCPEvaluateQueryListApi = (data: any) => { + return request.postJson({ url: '/JRCPEvaluateQuery/spi/JRCPEvaluateQuery/JrcpEvaluateQuery/JrcpEvaluateQueryQueryPage', data }); +}; + +/** 批量删除 */ +export const delJRCPEvaluateQueryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/JRCPEvaluateQuery/spi/JRCPEvaluateQuery/JrcpEvaluateQuery/JrcpEvaluateQueryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delJRCPEvaluateQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/JRCPEvaluateQuery/spi/JRCPEvaluateQuery/JrcpEvaluateQuery/JrcpEvaluateQueryDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveJRCPEvaluateQueryApi = (data: Partial): Promise => { + return request.postJson({ url: '/JRCPEvaluateQuery/spi/JRCPEvaluateQuery/JrcpEvaluateQuery/JrcpEvaluateQuerySave', data }); +}; + +/** 查询单条数据 */ +export const queryJRCPEvaluateQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/JRCPEvaluateQuery/spi/JRCPEvaluateQuery/JrcpEvaluateQuery/JrcpEvaluateQueryQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/JRCPEvaluateQuery/sui/JRCPEvaluateQuery/JrcpEvaluateQuery/JrcpEvaluateQueryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/JRCPEvaluateQuery/sui/JRCPEvaluateQuery/JrcpEvaluateQuery/JrcpEvaluateQueryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/JRCPEvaluateQuery/sdi/JRCPEvaluateQuery/JrcpEvaluateQuery/JrcpEvaluateQueryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/JRCPEvaluateQuery/JRCPEvaluateQuery/types.ts b/src/api/amld/JRCPEvaluateQuery/JRCPEvaluateQuery/types.ts new file mode 100644 index 0000000..80c3012 --- /dev/null +++ b/src/api/amld/JRCPEvaluateQuery/JRCPEvaluateQuery/types.ts @@ -0,0 +1,128 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 产品号 */ + productCode?: string + /** 产品名称 */ + productName?: string + /** 所属机构号 */ + organCode?: string + /** 所属机构名称 */ + organName?: string + /** 是否人工发起 */ + isman?: string + /** 人工发起日期 */ + manDate?: string + /** 评估原因 */ + manRiskReason?: string + /** 采集日期 */ + gatherDate?: string + /** 采集分数 */ + gatherScore?: number + /** 上次评级日期 */ + lastRiskDate?: string + /** 上一轮评级分数 */ + lastRiskScore?: number + /** 初评日期 */ + riskInitialDate?: string + /** 初评结果 */ + riskInitialLevel?: string + /** 复评日期 */ + riskRepeatDate?: string + /** 复评结果 */ + riskRepeatLevel?: string + /** 复评人 */ + riskRepeatUser?: string + /** 初评人 */ + riskInitialUser?: string + /** 任务状态 */ + statusNo?: string + /** 下次评级日期 */ + nextDate?: string + /** 当前评级分数 */ + riskScore?: number + /** 风险等级 */ + riskLevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 采集等级 */ + gatherLevel?: string + /** 初评分数 */ + riskInitialScore?: number + /** 复评分数 */ + riskRepeatScore?: number + /** 评级原因 */ + riskReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 产品推出日期 */ + launchDate?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 产品号 */ + productCode?: string + /** 产品名称 */ + productName?: string + /** 所属机构号 */ + organCode?: string + /** 所属机构名称 */ + organName?: string + /** 是否人工发起 */ + isman?: string + /** 人工发起日期 */ + manDate?: string + /** 评估原因 */ + manRiskReason?: string + /** 采集日期 */ + gatherDate?: string + /** 采集分数 */ + gatherScore?: number + /** 上次评级日期 */ + lastRiskDate?: string + /** 上一轮评级分数 */ + lastRiskScore?: number + /** 初评日期 */ + riskInitialDate?: string + /** 初评结果 */ + riskInitialLevel?: string + /** 复评日期 */ + riskRepeatDate?: string + /** 复评结果 */ + riskRepeatLevel?: string + /** 复评人 */ + riskRepeatUser?: string + /** 初评人 */ + riskInitialUser?: string + /** 任务状态 */ + statusNo?: string + /** 下次评级日期 */ + nextDate?: string + /** 当前评级分数 */ + riskScore?: number + /** 风险等级 */ + riskLevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 采集等级 */ + gatherLevel?: string + /** 初评分数 */ + riskInitialScore?: number + /** 复评分数 */ + riskRepeatScore?: number + /** 评级原因 */ + riskReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 产品推出日期 */ + launchDate?: string +} diff --git a/src/api/amld/JRCPRiskLevelQuery/JRCPRiskLevelQuery/index.ts b/src/api/amld/JRCPRiskLevelQuery/JRCPRiskLevelQuery/index.ts new file mode 100644 index 0000000..27d5838 --- /dev/null +++ b/src/api/amld/JRCPRiskLevelQuery/JRCPRiskLevelQuery/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getJRCPRiskLevelQueryListApi = (data: any) => { + return request.postJson({ url: '/JRCPRiskLevelQuery/spi/JRCPRiskLevelQuery/JrcpRiskLevelQuery/JrcpRiskLevelQueryQueryPage', data }); +}; + +/** 批量删除 */ +export const delJRCPRiskLevelQueryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/JRCPRiskLevelQuery/spi/JRCPRiskLevelQuery/JrcpRiskLevelQuery/JrcpRiskLevelQueryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delJRCPRiskLevelQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/JRCPRiskLevelQuery/spi/JRCPRiskLevelQuery/JrcpRiskLevelQuery/JrcpRiskLevelQueryDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveJRCPRiskLevelQueryApi = (data: Partial): Promise => { + return request.postJson({ url: '/JRCPRiskLevelQuery/spi/JRCPRiskLevelQuery/JrcpRiskLevelQuery/JrcpRiskLevelQuerySave', data }); +}; + +/** 查询单条数据 */ +export const queryJRCPRiskLevelQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/JRCPRiskLevelQuery/spi/JRCPRiskLevelQuery/JrcpRiskLevelQuery/JrcpRiskLevelQueryQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/JRCPRiskLevelQuery/sui/JRCPRiskLevelQuery/JrcpRiskLevelQuery/JrcpRiskLevelQueryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/JRCPRiskLevelQuery/sui/JRCPRiskLevelQuery/JrcpRiskLevelQuery/JrcpRiskLevelQueryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/JRCPRiskLevelQuery/sdi/JRCPRiskLevelQuery/JrcpRiskLevelQuery/JrcpRiskLevelQueryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/JRCPRiskLevelQuery/JRCPRiskLevelQuery/types.ts b/src/api/amld/JRCPRiskLevelQuery/JRCPRiskLevelQuery/types.ts new file mode 100644 index 0000000..9e14e59 --- /dev/null +++ b/src/api/amld/JRCPRiskLevelQuery/JRCPRiskLevelQuery/types.ts @@ -0,0 +1,128 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 产品号 */ + productCode?: string + /** 产品名称 */ + productName?: string + /** 所属机构号 */ + organCode?: string + /** 所属机构名称 */ + organName?: string + /** 是否人工发起 */ + isman?: string + /** 人工发起日期 */ + manDate?: string + /** 评估原因 */ + manRiskReason?: string + /** 采集日期 */ + gatherDate?: string + /** 采集分数 */ + gatherScore?: number + /** 上次评级日期 */ + lastRiskDate?: string + /** 上一轮评级分数 */ + lastRiskScore?: number + /** 初评日期 */ + riskInitialDate?: string + /** 初评结果 */ + riskInitialLevel?: string + /** 复评日期 */ + riskRepeatDate?: string + /** 复评结果 */ + riskRepeatLevel?: string + /** 复评人 */ + riskRepeatUser?: string + /** 初评人 */ + riskInitialUser?: string + /** 评级状态 */ + statusNo?: string + /** 下次评级日期 */ + nextDate?: string + /** 当前评级分数 */ + riskScore?: number + /** 风险等级 */ + riskLevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 采集等级 */ + gatherLevel?: string + /** 初评分数 */ + riskInitialScore?: number + /** 复评分数 */ + riskRepeatScore?: number + /** 评级原因 */ + riskReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 产品推出日期 */ + launchDate?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 产品号 */ + productCode?: string + /** 产品名称 */ + productName?: string + /** 所属机构号 */ + organCode?: string + /** 所属机构名称 */ + organName?: string + /** 是否人工发起 */ + isman?: string + /** 人工发起日期 */ + manDate?: string + /** 评估原因 */ + manRiskReason?: string + /** 采集日期 */ + gatherDate?: string + /** 采集分数 */ + gatherScore?: number + /** 上次评级日期 */ + lastRiskDate?: string + /** 上一轮评级分数 */ + lastRiskScore?: number + /** 初评日期 */ + riskInitialDate?: string + /** 初评结果 */ + riskInitialLevel?: string + /** 复评日期 */ + riskRepeatDate?: string + /** 复评结果 */ + riskRepeatLevel?: string + /** 复评人 */ + riskRepeatUser?: string + /** 初评人 */ + riskInitialUser?: string + /** 评级状态 */ + statusNo?: string + /** 下次评级日期 */ + nextDate?: string + /** 当前评级分数 */ + riskScore?: number + /** 风险等级 */ + riskLevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 采集等级 */ + gatherLevel?: string + /** 初评分数 */ + riskInitialScore?: number + /** 复评分数 */ + riskRepeatScore?: number + /** 评级原因 */ + riskReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 产品推出日期 */ + launchDate?: string +} diff --git a/src/api/amld/JRCPSelfEvaluation/JRCPSelfEvaluation/index.ts b/src/api/amld/JRCPSelfEvaluation/JRCPSelfEvaluation/index.ts new file mode 100644 index 0000000..8156828 --- /dev/null +++ b/src/api/amld/JRCPSelfEvaluation/JRCPSelfEvaluation/index.ts @@ -0,0 +1,61 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; +import {delJRCPRiskLevelQueryListApi} from "@/api/amld/JRCPRiskLevelQuery/JRCPRiskLevelQuery"; + +/** 获取表格数据 */ +export const getJRCPSelfEvaluationListApi = (data: any) => { + return request.postJson({ url: '/JRCPSelfEvaluation/spi/JRCPSelfEvaluation/JrcpSelfEvaluation/JrcpSelfEvaluationQueryPage', data }); +}; + +/** 批量删除 */ +export const delJRCPSelfEvaluationListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/JRCPSelfEvaluation/spi/JRCPSelfEvaluation/JrcpSelfEvaluation/JrcpSelfEvaluationBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delJRCPSelfEvaluationApi = (pkid?: string): Promise => { + return request.postJson({ url: '/JRCPSelfEvaluation/spi/JRCPSelfEvaluation/JrcpSelfEvaluation/JrcpSelfEvaluationDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveJRCPSelfEvaluationApi = (data: Partial): Promise => { + return request.postJson({ url: '/JRCPSelfEvaluation/spi/JRCPSelfEvaluation/JrcpSelfEvaluation/JrcpSelfEvaluationSave', data }); +}; + +/** 查询单条数据 */ +export const queryJRCPSelfEvaluationApi = (pkid?: string): Promise => { + return request.postJson({ url: '/JRCPSelfEvaluation/spi/JRCPSelfEvaluation/JrcpSelfEvaluation/JrcpSelfEvaluationQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/JRCPSelfEvaluation/sui/JRCPSelfEvaluation/JrcpSelfEvaluation/JrcpSelfEvaluationImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/JRCPSelfEvaluation/sui/JRCPSelfEvaluation/JrcpSelfEvaluation/JrcpSelfEvaluationImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/JRCPSelfEvaluation/sdi/JRCPSelfEvaluation/JrcpSelfEvaluation/JrcpSelfEvaluationExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/JRCPSelfEvaluation/JRCPSelfEvaluation/types.ts b/src/api/amld/JRCPSelfEvaluation/JRCPSelfEvaluation/types.ts new file mode 100644 index 0000000..7147c16 --- /dev/null +++ b/src/api/amld/JRCPSelfEvaluation/JRCPSelfEvaluation/types.ts @@ -0,0 +1,128 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 产品号 */ + productCode?: string + /** 产品名称 */ + productName?: string + /** 所属机构号 */ + organCode?: string + /** 所属机构名称 */ + organName?: string + /** 是否人工发起 */ + isman?: string + /** 人工发起日期 */ + manDate?: string + /** 评估原因 */ + manRiskReason?: string + /** 采集日期 */ + gatherDate?: string + /** 采集分数 */ + gatherScore?: number + /** 上次评级日期 */ + lastRiskDate?: string + /** 上一轮评级分数 */ + lastRiskScore?: number + /** 初评日期 */ + riskInitialDate?: string + /** 初评结果 */ + riskInitialLevel?: string + /** 复评日期 */ + riskRepeatDate?: string + /** 复评结果 */ + riskRepeatLevel?: string + /** 复评人 */ + riskRepeatUser?: string + /** 初评人 */ + riskInitialUser?: string + /** 评级状态 */ + statusNo?: string + /** 下次评级日期 */ + nextDate?: string + /** 当前评级分数 */ + riskScore?: number + /** 当前评级等级 */ + riskLevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 采集等级 */ + gatherLevel?: string + /** 初评分数 */ + riskInitialScore?: number + /** 复评分数 */ + riskRepeatScore?: number + /** 评级原因 */ + riskReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 产品推出日期 */ + launchDate?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 产品号 */ + productCode?: string + /** 产品名称 */ + productName?: string + /** 所属机构号 */ + organCode?: string + /** 所属机构名称 */ + organName?: string + /** 是否人工发起 */ + isman?: string + /** 人工发起日期 */ + manDate?: string + /** 评估原因 */ + manRiskReason?: string + /** 采集日期 */ + gatherDate?: string + /** 采集分数 */ + gatherScore?: number + /** 上次评级日期 */ + lastRiskDate?: string + /** 上一轮评级分数 */ + lastRiskScore?: number + /** 初评日期 */ + riskInitialDate?: string + /** 初评结果 */ + riskInitialLevel?: string + /** 复评日期 */ + riskRepeatDate?: string + /** 复评结果 */ + riskRepeatLevel?: string + /** 复评人 */ + riskRepeatUser?: string + /** 初评人 */ + riskInitialUser?: string + /** 评级状态 */ + statusNo?: string + /** 下次评级日期 */ + nextDate?: string + /** 当前评级分数 */ + riskScore?: number + /** 当前评级等级 */ + riskLevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 采集等级 */ + gatherLevel?: string + /** 初评分数 */ + riskInitialScore?: number + /** 复评分数 */ + riskRepeatScore?: number + /** 评级原因 */ + riskReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 产品推出日期 */ + launchDate?: string +} diff --git a/src/api/amld/JRCPVerify/JRCPVerify/index.ts b/src/api/amld/JRCPVerify/JRCPVerify/index.ts new file mode 100644 index 0000000..99c1e0e --- /dev/null +++ b/src/api/amld/JRCPVerify/JRCPVerify/index.ts @@ -0,0 +1,61 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; +import {delJRCPRiskLevelQueryListApi} from "@/api/amld/JRCPRiskLevelQuery/JRCPRiskLevelQuery"; + +/** 获取表格数据 */ +export const getJRCPVerifyListApi = (data: any) => { + return request.postJson({ url: '/JRCPVerify/spi/JRCPVerify/JrcpVerify/JrcpVerifyQueryPage', data }); +}; + +/** 批量删除 */ +export const delJRCPVerifyListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/JRCPVerify/spi/JRCPVerify/JrcpVerify/JrcpVerifyBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delJRCPVerifyApi = (pkid?: string): Promise => { + return request.postJson({ url: '/JRCPVerify/spi/JRCPVerify/JrcpVerify/JrcpVerifyDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveJRCPVerifyApi = (data: Partial): Promise => { + return request.postJson({ url: '/JRCPVerify/spi/JRCPVerify/JrcpVerify/JrcpVerifySave', data }); +}; + +/** 查询单条数据 */ +export const queryJRCPVerifyApi = (pkid?: string): Promise => { + return request.postJson({ url: '/JRCPVerify/spi/JRCPVerify/JrcpVerify/JrcpVerifyQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/JRCPVerify/sui/JRCPVerify/JrcpVerify/JrcpVerifyImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/JRCPVerify/sui/JRCPVerify/JrcpVerify/JrcpVerifyImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/JRCPVerify/sdi/JRCPVerify/JrcpVerify/JrcpVerifyExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/JRCPVerify/JRCPVerify/types.ts b/src/api/amld/JRCPVerify/JRCPVerify/types.ts new file mode 100644 index 0000000..7147c16 --- /dev/null +++ b/src/api/amld/JRCPVerify/JRCPVerify/types.ts @@ -0,0 +1,128 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 产品号 */ + productCode?: string + /** 产品名称 */ + productName?: string + /** 所属机构号 */ + organCode?: string + /** 所属机构名称 */ + organName?: string + /** 是否人工发起 */ + isman?: string + /** 人工发起日期 */ + manDate?: string + /** 评估原因 */ + manRiskReason?: string + /** 采集日期 */ + gatherDate?: string + /** 采集分数 */ + gatherScore?: number + /** 上次评级日期 */ + lastRiskDate?: string + /** 上一轮评级分数 */ + lastRiskScore?: number + /** 初评日期 */ + riskInitialDate?: string + /** 初评结果 */ + riskInitialLevel?: string + /** 复评日期 */ + riskRepeatDate?: string + /** 复评结果 */ + riskRepeatLevel?: string + /** 复评人 */ + riskRepeatUser?: string + /** 初评人 */ + riskInitialUser?: string + /** 评级状态 */ + statusNo?: string + /** 下次评级日期 */ + nextDate?: string + /** 当前评级分数 */ + riskScore?: number + /** 当前评级等级 */ + riskLevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 采集等级 */ + gatherLevel?: string + /** 初评分数 */ + riskInitialScore?: number + /** 复评分数 */ + riskRepeatScore?: number + /** 评级原因 */ + riskReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 产品推出日期 */ + launchDate?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 产品号 */ + productCode?: string + /** 产品名称 */ + productName?: string + /** 所属机构号 */ + organCode?: string + /** 所属机构名称 */ + organName?: string + /** 是否人工发起 */ + isman?: string + /** 人工发起日期 */ + manDate?: string + /** 评估原因 */ + manRiskReason?: string + /** 采集日期 */ + gatherDate?: string + /** 采集分数 */ + gatherScore?: number + /** 上次评级日期 */ + lastRiskDate?: string + /** 上一轮评级分数 */ + lastRiskScore?: number + /** 初评日期 */ + riskInitialDate?: string + /** 初评结果 */ + riskInitialLevel?: string + /** 复评日期 */ + riskRepeatDate?: string + /** 复评结果 */ + riskRepeatLevel?: string + /** 复评人 */ + riskRepeatUser?: string + /** 初评人 */ + riskInitialUser?: string + /** 评级状态 */ + statusNo?: string + /** 下次评级日期 */ + nextDate?: string + /** 当前评级分数 */ + riskScore?: number + /** 当前评级等级 */ + riskLevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 采集等级 */ + gatherLevel?: string + /** 初评分数 */ + riskInitialScore?: number + /** 复评分数 */ + riskRepeatScore?: number + /** 评级原因 */ + riskReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 产品推出日期 */ + launchDate?: string +} diff --git a/src/api/amld/JyqdStatistics/JyqdStatistics/index.ts b/src/api/amld/JyqdStatistics/JyqdStatistics/index.ts new file mode 100644 index 0000000..86e290f --- /dev/null +++ b/src/api/amld/JyqdStatistics/JyqdStatistics/index.ts @@ -0,0 +1,59 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getJyqdStatisticsListApi = (data: any) => { + return request.postJson({ url: '/JyqdStatistics/spi/JyqdStatistics/JyqdStatistics/JyqdStatisticsQueryPage', data }); +}; + +/** 批量删除 */ +export const delJyqdStatisticsListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + }; + }); + return request.postJson({ + url: '/JyqdStatistics/spi/JyqdStatistics/JyqdStatistics/JyqdStatisticsBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delJyqdStatisticsApi = (): Promise => { + return request.postJson({ url: '/JyqdStatistics/spi/JyqdStatistics/JyqdStatistics/JyqdStatisticsDelete', data: { } }); +}; + +/** 保存 */ +export const saveJyqdStatisticsApi = (data: Partial): Promise => { + return request.postJson({ url: '/JyqdStatistics/spi/JyqdStatistics/JyqdStatistics/JyqdStatisticsSave', data }); +}; + +/** 查询单条数据 */ +export const queryJyqdStatisticsApi = (): Promise => { + return request.postJson({ url: '/JyqdStatistics/spi/JyqdStatistics/JyqdStatistics/JyqdStatisticsQueryOne', data: { } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/JyqdStatistics/sui/JyqdStatistics/JyqdStatistics/JyqdStatisticsImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/JyqdStatistics/sui/JyqdStatistics/JyqdStatistics/JyqdStatisticsImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/JyqdStatistics/sdi/JyqdStatistics/JyqdStatistics/JyqdStatisticsExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/JyqdStatistics/JyqdStatistics/types.ts b/src/api/amld/JyqdStatistics/JyqdStatistics/types.ts new file mode 100644 index 0000000..552dae0 --- /dev/null +++ b/src/api/amld/JyqdStatistics/JyqdStatistics/types.ts @@ -0,0 +1,28 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 交易渠道 */ + txcm?: string + /** 客户类型 */ + custpptype?: string + /** 涉及可疑报告笔数 */ + sjkybgbs?: string + /** 涉及可疑报告金额(万元) */ + sjkybgje?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 交易渠道 */ + txcm?: string + /** 客户类型 */ + custpptype?: string + /** 涉及可疑报告笔数 */ + sjkybgbs?: string + /** 涉及可疑报告金额(万元) */ + sjkybgje?: string +} diff --git a/src/api/amld/KyjxStatistics/KyjxStatistics/index.ts b/src/api/amld/KyjxStatistics/KyjxStatistics/index.ts new file mode 100644 index 0000000..ae90e9e --- /dev/null +++ b/src/api/amld/KyjxStatistics/KyjxStatistics/index.ts @@ -0,0 +1,59 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getKyjxStatisticsListApi = (data: any) => { + return request.postJson({ url: '/KyjxStatistics/spi/KyjxStatistics/KyjxStatistics/KyjxStatisticsQueryPage', data }); +}; + +/** 批量删除 */ +export const delKyjxStatisticsListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + }; + }); + return request.postJson({ + url: '/KyjxStatistics/spi/KyjxStatistics/KyjxStatistics/KyjxStatisticsBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delKyjxStatisticsApi = (): Promise => { + return request.postJson({ url: '/KyjxStatistics/spi/KyjxStatistics/KyjxStatistics/KyjxStatisticsDelete', data: { } }); +}; + +/** 保存 */ +export const saveKyjxStatisticsApi = (data: Partial): Promise => { + return request.postJson({ url: '/KyjxStatistics/spi/KyjxStatistics/KyjxStatistics/KyjxStatisticsSave', data }); +}; + +/** 查询单条数据 */ +export const queryKyjxStatisticsApi = (): Promise => { + return request.postJson({ url: '/KyjxStatistics/spi/KyjxStatistics/KyjxStatistics/KyjxStatisticsQueryOne', data: { } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/KyjxStatistics/sui/KyjxStatistics/KyjxStatistics/KyjxStatisticsImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/KyjxStatistics/sui/KyjxStatistics/KyjxStatistics/KyjxStatisticsImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/KyjxStatistics/sdi/KyjxStatistics/KyjxStatistics/KyjxStatisticsExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/KyjxStatistics/KyjxStatistics/types.ts b/src/api/amld/KyjxStatistics/KyjxStatistics/types.ts new file mode 100644 index 0000000..b140b33 --- /dev/null +++ b/src/api/amld/KyjxStatistics/KyjxStatistics/types.ts @@ -0,0 +1,36 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 客户类型 */ + custpptype?: string + /** 币种 */ + currencycode?: string + /** 可疑接续报告笔数 */ + debgbs?: string + /** 可疑接续报告份数 */ + debgfs?: string + /** 可疑接续报告金额(万元) */ + debgje?: string + /** 可疑程度 */ + urgency?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 客户类型 */ + custpptype?: string + /** 币种 */ + currencycode?: string + /** 可疑接续报告笔数 */ + debgbs?: string + /** 可疑接续报告份数 */ + debgfs?: string + /** 可疑接续报告金额(万元) */ + debgje?: string + /** 可疑程度 */ + urgency?: string +} diff --git a/src/api/amld/KyjyStatistics/KyjyStatistics/index.ts b/src/api/amld/KyjyStatistics/KyjyStatistics/index.ts new file mode 100644 index 0000000..c8491af --- /dev/null +++ b/src/api/amld/KyjyStatistics/KyjyStatistics/index.ts @@ -0,0 +1,46 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getKyjyStatisticsListApi = (data: any) => { + return request.postJson({ url: '/KyjyStatistics/spi/KyjyStatistics/KyjyStatistics/KyjyStatisticsQueryPage', data }); +}; + + +/** 删除 */ +export const delKyjyStatisticsApi = (): Promise => { + return request.postJson({ url: '/KyjyStatistics/spi/KyjyStatistics/KyjyStatistics/KyjyStatisticsDelete', data: { } }); +}; + +/** 保存 */ +export const saveKyjyStatisticsApi = (data: Partial): Promise => { + return request.postJson({ url: '/KyjyStatistics/spi/KyjyStatistics/KyjyStatistics/KyjyStatisticsSave', data }); +}; + +/** 查询单条数据 */ +export const queryKyjyStatisticsApi = (): Promise => { + return request.postJson({ url: '/KyjyStatistics/spi/KyjyStatistics/KyjyStatistics/KyjyStatisticsQueryOne', data: { } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/KyjyStatistics/sui/KyjyStatistics/KyjyStatistics/KyjyStatisticsImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/KyjyStatistics/sui/KyjyStatistics/KyjyStatistics/KyjyStatisticsImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/KyjyStatistics/sdi/KyjyStatistics/KyjyStatistics/KyjyStatisticsExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/KyjyStatistics/KyjyStatistics/types.ts b/src/api/amld/KyjyStatistics/KyjyStatistics/types.ts new file mode 100644 index 0000000..86940cb --- /dev/null +++ b/src/api/amld/KyjyStatistics/KyjyStatistics/types.ts @@ -0,0 +1,36 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 客户类型 */ + custpptype?: string + /** 币种 */ + currencycode?: string + /** 可疑报告笔数 */ + debgbs?: string + /** 可疑报告份数 */ + debgfs?: string + /** 可疑报告金额(万元) */ + debgje?: string + /** 可疑程度 */ + urgency?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 客户类型 */ + custpptype?: string + /** 币种 */ + currencycode?: string + /** 可疑报告笔数 */ + debgbs?: string + /** 可疑报告份数 */ + debgfs?: string + /** 可疑报告金额(万元) */ + debgje?: string + /** 可疑程度 */ + urgency?: string +} diff --git a/src/api/amld/KytzStatistics/KytzStatistics/index.ts b/src/api/amld/KytzStatistics/KytzStatistics/index.ts new file mode 100644 index 0000000..f5f7c35 --- /dev/null +++ b/src/api/amld/KytzStatistics/KytzStatistics/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getKytzStatisticsListApi = (data: any) => { + return request.postJson({ url: '/KytzStatistics/spi/KytzStatistics/KytzStatistics/KytzStatisticsQueryPage', data }); +}; + +/** 删除 */ +export const delKytzStatisticsApi = (): Promise => { + return request.postJson({ url: '/KytzStatistics/spi/KytzStatistics/KytzStatistics/KytzStatisticsDelete', data: { } }); +}; + +/** 保存 */ +export const saveKytzStatisticsApi = (data: Partial): Promise => { + return request.postJson({ url: '/KytzStatistics/spi/KytzStatistics/KytzStatistics/KytzStatisticsSave', data }); +}; + +/** 查询单条数据 */ +export const queryKytzStatisticsApi = (): Promise => { + return request.postJson({ url: '/KytzStatistics/spi/KytzStatistics/KytzStatistics/KytzStatisticsQueryOne', data: { } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/KytzStatistics/sui/KytzStatistics/KytzStatistics/KytzStatisticsImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/KytzStatistics/sui/KytzStatistics/KytzStatistics/KytzStatisticsImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/KytzStatistics/sdi/KytzStatistics/KytzStatistics/KytzStatisticsExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/KytzStatistics/KytzStatistics/types.ts b/src/api/amld/KytzStatistics/KytzStatistics/types.ts new file mode 100644 index 0000000..31a6b81 --- /dev/null +++ b/src/api/amld/KytzStatistics/KytzStatistics/types.ts @@ -0,0 +1,36 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 报送机构 */ + organname?: string + /** 客户类型 */ + custpptype?: string + /** 可疑交易特征 */ + suscrimtypes?: string + /** 可疑报告笔数 */ + yjbgbs?: string + /** 可疑报告份数 */ + yjbgfs?: string + /** 可疑报告金额(万元) */ + yjbgje?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 报送机构 */ + organname?: string + /** 客户类型 */ + custpptype?: string + /** 可疑交易特征 */ + suscrimtypes?: string + /** 可疑报告笔数 */ + yjbgbs?: string + /** 可疑报告份数 */ + yjbgfs?: string + /** 可疑报告金额(万元) */ + yjbgje?: string +} diff --git a/src/api/amld/LargScaleCaseDeal/LargScaleCaseDeal/index.ts b/src/api/amld/LargScaleCaseDeal/LargScaleCaseDeal/index.ts new file mode 100644 index 0000000..cd25d69 --- /dev/null +++ b/src/api/amld/LargScaleCaseDeal/LargScaleCaseDeal/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getLargScaleCaseDealListApi = (data: any) => { + return request.postJson({ url: '/LargScaleCaseDeal/spi/LargScaleCaseDeal/LargScaleCaseDeal/LargScaleCaseDealQueryPage', data }); +}; + +/** 批量删除 */ +export const delLargScaleCaseDealListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/LargScaleCaseDeal/spi/LargScaleCaseDeal/LargScaleCaseDeal/LargScaleCaseDealBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delLargScaleCaseDealApi = (pkid?: string): Promise => { + return request.postJson({ url: '/LargScaleCaseDeal/spi/LargScaleCaseDeal/LargScaleCaseDeal/LargScaleCaseDealDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveLargScaleCaseDealApi = (data: Partial): Promise => { + return request.postJson({ url: '/LargScaleCaseDeal/spi/LargScaleCaseDeal/LargScaleCaseDeal/LargScaleCaseDealSave', data }); +}; + +/** 查询单条数据 */ +export const queryLargScaleCaseDealApi = (pkid?: string): Promise => { + return request.postJson({ url: '/LargScaleCaseDeal/spi/LargScaleCaseDeal/LargScaleCaseDeal/LargScaleCaseDealQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/LargScaleCaseDeal/sui/LargScaleCaseDeal/LargScaleCaseDeal/LargScaleCaseDealImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/LargScaleCaseDeal/sui/LargScaleCaseDeal/LargScaleCaseDeal/LargScaleCaseDealImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/LargScaleCaseDeal/sdi/LargScaleCaseDeal/LargScaleCaseDeal/LargScaleCaseDealExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/LargScaleCaseDeal/LargScaleCaseDeal/types.ts b/src/api/amld/LargScaleCaseDeal/LargScaleCaseDeal/types.ts new file mode 100644 index 0000000..b33e0a9 --- /dev/null +++ b/src/api/amld/LargScaleCaseDeal/LargScaleCaseDeal/types.ts @@ -0,0 +1,196 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 提出操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 机构名称 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 提出操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 机构名称 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} diff --git a/src/api/amld/LargeCaseReview/LargeCaseReview/index.ts b/src/api/amld/LargeCaseReview/LargeCaseReview/index.ts new file mode 100644 index 0000000..00986f3 --- /dev/null +++ b/src/api/amld/LargeCaseReview/LargeCaseReview/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getLargeCaseReviewListApi = (data: any) => { + return request.postJson({ url: '/LargeCaseReview/spi/LargeCaseReview/LargeCaseReview/LargeCaseReviewQueryPage', data }); +}; + +/** 批量删除 */ +export const delLargeCaseReviewListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/LargeCaseReview/spi/LargeCaseReview/LargeCaseReview/LargeCaseReviewBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delLargeCaseReviewApi = (pkid?: string): Promise => { + return request.postJson({ url: '/LargeCaseReview/spi/LargeCaseReview/LargeCaseReview/LargeCaseReviewDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveLargeCaseReviewApi = (data: Partial): Promise => { + return request.postJson({ url: '/LargeCaseReview/spi/LargeCaseReview/LargeCaseReview/LargeCaseReviewSave', data }); +}; + +/** 查询单条数据 */ +export const queryLargeCaseReviewApi = (pkid?: string): Promise => { + return request.postJson({ url: '/LargeCaseReview/spi/LargeCaseReview/LargeCaseReview/LargeCaseReviewQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/LargeCaseReview/sui/LargeCaseReview/LargeCaseReview/LargeCaseReviewImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/LargeCaseReview/sui/LargeCaseReview/LargeCaseReview/LargeCaseReviewImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/LargeCaseReview/sdi/LargeCaseReview/LargeCaseReview/LargeCaseReviewExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/LargeCaseReview/LargeCaseReview/types.ts b/src/api/amld/LargeCaseReview/LargeCaseReview/types.ts new file mode 100644 index 0000000..baac5e7 --- /dev/null +++ b/src/api/amld/LargeCaseReview/LargeCaseReview/types.ts @@ -0,0 +1,196 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} diff --git a/src/api/amld/LargeMessageGenerate/LargeMessageGenerate/index.ts b/src/api/amld/LargeMessageGenerate/LargeMessageGenerate/index.ts new file mode 100644 index 0000000..2a28f3a --- /dev/null +++ b/src/api/amld/LargeMessageGenerate/LargeMessageGenerate/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getLargeMessageGenerateListApi = (data: any) => { + return request.postJson({ url: '/LargeMessageGenerate/spi/LargeMessageGenerate/LargeMessageGenerate/LargeMessageGenerateQueryPage', data }); +}; + +/** 批量删除 */ +export const delLargeMessageGenerateListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/LargeMessageGenerate/spi/LargeMessageGenerate/LargeMessageGenerate/LargeMessageGenerateBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delLargeMessageGenerateApi = (pkid?: string): Promise => { + return request.postJson({ url: '/LargeMessageGenerate/spi/LargeMessageGenerate/LargeMessageGenerate/LargeMessageGenerateDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveLargeMessageGenerateApi = (data: Partial): Promise => { + return request.postJson({ url: '/LargeMessageGenerate/spi/LargeMessageGenerate/LargeMessageGenerate/LargeMessageGenerateSave', data }); +}; + +/** 查询单条数据 */ +export const queryLargeMessageGenerateApi = (pkid?: string): Promise => { + return request.postJson({ url: '/LargeMessageGenerate/spi/LargeMessageGenerate/LargeMessageGenerate/LargeMessageGenerateQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/LargeMessageGenerate/sui/LargeMessageGenerate/LargeMessageGenerate/LargeMessageGenerateImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/LargeMessageGenerate/sui/LargeMessageGenerate/LargeMessageGenerate/LargeMessageGenerateImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/LargeMessageGenerate/sdi/LargeMessageGenerate/LargeMessageGenerate/LargeMessageGenerateExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/LargeMessageGenerate/LargeMessageGenerate/types.ts b/src/api/amld/LargeMessageGenerate/LargeMessageGenerate/types.ts new file mode 100644 index 0000000..baac5e7 --- /dev/null +++ b/src/api/amld/LargeMessageGenerate/LargeMessageGenerate/types.ts @@ -0,0 +1,196 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} diff --git a/src/api/amld/LargePaperQuery/LargePaperQuery/index.ts b/src/api/amld/LargePaperQuery/LargePaperQuery/index.ts new file mode 100644 index 0000000..3a29a24 --- /dev/null +++ b/src/api/amld/LargePaperQuery/LargePaperQuery/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getLargePaperQueryListApi = (data: any) => { + return request.postJson({ url: '/LargePaperQuery/spi/LargePaperQuery/LargePaperQuery/LargePaperQueryQueryPage', data }); +}; + +/** 批量删除 */ +export const delLargePaperQueryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/LargePaperQuery/spi/LargePaperQuery/LargePaperQuery/LargePaperQueryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delLargePaperQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/LargePaperQuery/spi/LargePaperQuery/LargePaperQuery/LargePaperQueryDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveLargePaperQueryApi = (data: Partial): Promise => { + return request.postJson({ url: '/LargePaperQuery/spi/LargePaperQuery/LargePaperQuery/LargePaperQuerySave', data }); +}; + +/** 查询单条数据 */ +export const queryLargePaperQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/LargePaperQuery/spi/LargePaperQuery/LargePaperQuery/LargePaperQueryQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/LargePaperQuery/sui/LargePaperQuery/LargePaperQuery/LargePaperQueryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/LargePaperQuery/sui/LargePaperQuery/LargePaperQuery/LargePaperQueryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/LargePaperQuery/sdi/LargePaperQuery/LargePaperQuery/LargePaperQueryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/LargePaperQuery/LargePaperQuery/types.ts b/src/api/amld/LargePaperQuery/LargePaperQuery/types.ts new file mode 100644 index 0000000..27e1748 --- /dev/null +++ b/src/api/amld/LargePaperQuery/LargePaperQuery/types.ts @@ -0,0 +1,196 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 上报原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 上报原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} diff --git a/src/api/amld/LevelMaintain/LevelMaintain/index.ts b/src/api/amld/LevelMaintain/LevelMaintain/index.ts new file mode 100644 index 0000000..ab3caea --- /dev/null +++ b/src/api/amld/LevelMaintain/LevelMaintain/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getLevelMaintainListApi = (data: any) => { + return request.postJson({ url: '/LevelMaintain/spi/LevelMaintain/LevelMaintain/LevelMaintainQueryPage', data }); +}; + +/** 批量删除 */ +export const delLevelMaintainListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + subNo: v.subNo, + }; + }); + return request.postJson({ + url: '/LevelMaintain/spi/LevelMaintain/LevelMaintain/LevelMaintainBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delLevelMaintainApi = (subNo?: string): Promise => { + return request.postJson({ url: '/LevelMaintain/spi/LevelMaintain/LevelMaintain/LevelMaintainDelete', data: { subNo } }); +}; + +/** 保存 */ +export const saveLevelMaintainApi = (data: Partial): Promise => { + return request.postJson({ url: '/LevelMaintain/spi/LevelMaintain/LevelMaintain/LevelMaintainSave', data }); +}; + +/** 查询单条数据 */ +export const queryLevelMaintainApi = (subNo?: string): Promise => { + return request.postJson({ url: '/LevelMaintain/spi/LevelMaintain/LevelMaintain/LevelMaintainQueryOne', data: { subNo } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/LevelMaintain/sui/LevelMaintain/LevelMaintain/LevelMaintainImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/LevelMaintain/sui/LevelMaintain/LevelMaintain/LevelMaintainImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/LevelMaintain/sdi/LevelMaintain/LevelMaintain/LevelMaintainExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/LevelMaintain/LevelMaintain/types.ts b/src/api/amld/LevelMaintain/LevelMaintain/types.ts new file mode 100644 index 0000000..232e73d --- /dev/null +++ b/src/api/amld/LevelMaintain/LevelMaintain/types.ts @@ -0,0 +1,84 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 风险要素 */ + subNo?: string + /** 子项代码 */ + subCode?: string + /** 子项 */ + subName?: string + /** 客户类型 */ + custType?: string + /** 上级代码 */ + upSubNo?: string + /** 权重 */ + subWight?: string + /** 说明 */ + subDesc?: string + /** 层级 */ + treelaye?: string + /** 分数 */ + grade?: string + /** 是否子节点 */ + isLast?: string + /** 是否可编辑 */ + isEdit?: string + /** 排序 */ + orderby?: string + /** 法人代码 */ + lawerMan?: string + /** 法人机构 */ + lawerOrg?: string + /** 采集类型 */ + gathertype?: string + /** 启用标识 */ + flag?: string + /** 最上级节点名称 */ + topName?: string + /** 页面排序 */ + viewOrderby?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 风险要素 */ + subNo?: string + /** 子项代码 */ + subCode?: string + /** 子项 */ + subName?: string + /** 客户类型 */ + custType?: string + /** 上级代码 */ + upSubNo?: string + /** 权重 */ + subWight?: string + /** 说明 */ + subDesc?: string + /** 层级 */ + treelaye?: string + /** 分数 */ + grade?: string + /** 是否子节点 */ + isLast?: string + /** 是否可编辑 */ + isEdit?: string + /** 排序 */ + orderby?: string + /** 法人代码 */ + lawerMan?: string + /** 法人机构 */ + lawerOrg?: string + /** 采集类型 */ + gathertype?: string + /** 启用标识 */ + flag?: string + /** 最上级节点名称 */ + topName?: string + /** 页面排序 */ + viewOrderby?: string +} diff --git a/src/api/amld/LocalCheckTask/LocalCheckTask/index.ts b/src/api/amld/LocalCheckTask/LocalCheckTask/index.ts new file mode 100644 index 0000000..f962fd8 --- /dev/null +++ b/src/api/amld/LocalCheckTask/LocalCheckTask/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getLocalCheckTaskListApi = (data: any) => { + return request.postJson({ url: '/LocalCheckTask/spi/LocalCheckTask/LocalCheckTask/LocalCheckTaskQueryPage', data }); +}; + +/** 批量删除 */ +export const delLocalCheckTaskListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/LocalCheckTask/spi/LocalCheckTask/LocalCheckTask/LocalCheckTaskBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delLocalCheckTaskApi = (pkid?: string): Promise => { + return request.postJson({ url: '/LocalCheckTask/spi/LocalCheckTask/LocalCheckTask/LocalCheckTaskDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveLocalCheckTaskApi = (data: Partial): Promise => { + return request.postJson({ url: '/LocalCheckTask/spi/LocalCheckTask/LocalCheckTask/LocalCheckTaskSave', data }); +}; + +/** 查询单条数据 */ +export const queryLocalCheckTaskApi = (pkid?: string): Promise => { + return request.postJson({ url: '/LocalCheckTask/spi/LocalCheckTask/LocalCheckTask/LocalCheckTaskQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/LocalCheckTask/sui/LocalCheckTask/LocalCheckTask/LocalCheckTaskImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/LocalCheckTask/sui/LocalCheckTask/LocalCheckTask/LocalCheckTaskImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/LocalCheckTask/sdi/LocalCheckTask/LocalCheckTask/LocalCheckTaskExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/LocalCheckTask/LocalCheckTask/types.ts b/src/api/amld/LocalCheckTask/LocalCheckTask/types.ts new file mode 100644 index 0000000..58ef191 --- /dev/null +++ b/src/api/amld/LocalCheckTask/LocalCheckTask/types.ts @@ -0,0 +1,60 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 归属机构 */ + organcode?: string + /** 申请查询的数据的开始日期 */ + startDate?: string + /** 申请查询的数据的结束日期 */ + endDate?: string + /** 申请状态 */ + status?: string + /** 任务开始时间 */ + taskStartTime?: string + /** 任务结束时间 */ + taskEndTime?: string + /** 申请人 */ + proposer?: string + /** 申请日期 */ + applydate?: string + /** 申请生成的表 */ + tableName?: string + /** 检验部门 */ + checkdepartment?: string + /** 机构名称 */ + organName?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 归属机构 */ + organcode?: string + /** 申请查询的数据的开始日期 */ + startDate?: string + /** 申请查询的数据的结束日期 */ + endDate?: string + /** 申请状态 */ + status?: string + /** 任务开始时间 */ + taskStartTime?: string + /** 任务结束时间 */ + taskEndTime?: string + /** 申请人 */ + proposer?: string + /** 申请日期 */ + applydate?: string + /** 申请生成的表 */ + tableName?: string + /** 检验部门 */ + checkdepartment?: string + /** 机构名称 */ + organName?: string +} diff --git a/src/api/amld/LocalCheckVerify/LocalCheckVerify/index.ts b/src/api/amld/LocalCheckVerify/LocalCheckVerify/index.ts new file mode 100644 index 0000000..88e494f --- /dev/null +++ b/src/api/amld/LocalCheckVerify/LocalCheckVerify/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getLocalCheckVerifyListApi = (data: any) => { + return request.postJson({ url: '/LocalCheckVerify/spi/LocalCheckVerify/LocalCheckVerify/LocalCheckVerifyQueryPage', data }); +}; + +/** 批量删除 */ +export const delLocalCheckVerifyListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/LocalCheckVerify/spi/LocalCheckVerify/LocalCheckVerify/LocalCheckVerifyBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delLocalCheckVerifyApi = (pkid?: string): Promise => { + return request.postJson({ url: '/LocalCheckVerify/spi/LocalCheckVerify/LocalCheckVerify/LocalCheckVerifyDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveLocalCheckVerifyApi = (data: Partial): Promise => { + return request.postJson({ url: '/LocalCheckVerify/spi/LocalCheckVerify/LocalCheckVerify/LocalCheckVerifySave', data }); +}; + +/** 查询单条数据 */ +export const queryLocalCheckVerifyApi = (pkid?: string): Promise => { + return request.postJson({ url: '/LocalCheckVerify/spi/LocalCheckVerify/LocalCheckVerify/LocalCheckVerifyQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/LocalCheckVerify/sui/LocalCheckVerify/LocalCheckVerify/LocalCheckVerifyImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/LocalCheckVerify/sui/LocalCheckVerify/LocalCheckVerify/LocalCheckVerifyImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/LocalCheckVerify/sdi/LocalCheckVerify/LocalCheckVerify/LocalCheckVerifyExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/LocalCheckVerify/LocalCheckVerify/types.ts b/src/api/amld/LocalCheckVerify/LocalCheckVerify/types.ts new file mode 100644 index 0000000..58ef191 --- /dev/null +++ b/src/api/amld/LocalCheckVerify/LocalCheckVerify/types.ts @@ -0,0 +1,60 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 归属机构 */ + organcode?: string + /** 申请查询的数据的开始日期 */ + startDate?: string + /** 申请查询的数据的结束日期 */ + endDate?: string + /** 申请状态 */ + status?: string + /** 任务开始时间 */ + taskStartTime?: string + /** 任务结束时间 */ + taskEndTime?: string + /** 申请人 */ + proposer?: string + /** 申请日期 */ + applydate?: string + /** 申请生成的表 */ + tableName?: string + /** 检验部门 */ + checkdepartment?: string + /** 机构名称 */ + organName?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 归属机构 */ + organcode?: string + /** 申请查询的数据的开始日期 */ + startDate?: string + /** 申请查询的数据的结束日期 */ + endDate?: string + /** 申请状态 */ + status?: string + /** 任务开始时间 */ + taskStartTime?: string + /** 任务结束时间 */ + taskEndTime?: string + /** 申请人 */ + proposer?: string + /** 申请日期 */ + applydate?: string + /** 申请生成的表 */ + tableName?: string + /** 检验部门 */ + checkdepartment?: string + /** 机构名称 */ + organName?: string +} diff --git a/src/api/amld/ModelConfig/ModelConfig/index.ts b/src/api/amld/ModelConfig/ModelConfig/index.ts new file mode 100644 index 0000000..9b69b37 --- /dev/null +++ b/src/api/amld/ModelConfig/ModelConfig/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getModelConfigListApi = (data: any) => { + return request.postJson({ url: '/ModelConfig/spi/ModelConfig/ModelConfig/ModelConfigQueryPage', data }); +}; + +/** 批量删除 */ +export const delModelConfigListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + rulecode: v.rulecode, + }; + }); + return request.postJson({ + url: '/ModelConfig/spi/ModelConfig/ModelConfig/ModelConfigBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delModelConfigApi = (rulecode?: string): Promise => { + return request.postJson({ url: '/ModelConfig/spi/ModelConfig/ModelConfig/ModelConfigDelete', data: { rulecode } }); +}; + +/** 保存 */ +export const saveModelConfigApi = (data: Partial): Promise => { + return request.postJson({ url: '/ModelConfig/spi/ModelConfig/ModelConfig/ModelConfigSave', data }); +}; + +/** 查询单条数据 */ +export const queryModelConfigApi = (rulecode?: string): Promise => { + return request.postJson({ url: '/ModelConfig/spi/ModelConfig/ModelConfig/ModelConfigQueryOne', data: { rulecode } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/ModelConfig/sui/ModelConfig/ModelConfig/ModelConfigImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/ModelConfig/sui/ModelConfig/ModelConfig/ModelConfigImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/ModelConfig/sdi/ModelConfig/ModelConfig/ModelConfigExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/ModelConfig/ModelConfig/types.ts b/src/api/amld/ModelConfig/ModelConfig/types.ts new file mode 100644 index 0000000..39cd64c --- /dev/null +++ b/src/api/amld/ModelConfig/ModelConfig/types.ts @@ -0,0 +1,44 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 规则编码 */ + rulecode?: string + /** 规则描述 */ + ruledesc?: string + /** 规则类型 */ + ruletype?: string + /** 规则sql */ + rulesql?: string + /** 是否有阈值 */ + ruledomain?: string + /** 状态是否可用 */ + status?: string + /** 预先保留字段1 */ + attribute1?: string + /** 预先保留字段2 */ + attribute2?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 规则编码 */ + rulecode?: string + /** 规则描述 */ + ruledesc?: string + /** 规则类型 */ + ruletype?: string + /** 规则sql */ + rulesql?: string + /** 是否有阈值 */ + ruledomain?: string + /** 状态是否可用 */ + status?: string + /** 预先保留字段1 */ + attribute1?: string + /** 预先保留字段2 */ + attribute2?: string +} diff --git a/src/api/amld/ModelEvaluate/ModelEvaluate/index.ts b/src/api/amld/ModelEvaluate/ModelEvaluate/index.ts new file mode 100644 index 0000000..2707e98 --- /dev/null +++ b/src/api/amld/ModelEvaluate/ModelEvaluate/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getModelEvaluateListApi = (data: any) => { + return request.postJson({ url: '/ModelEvaluate/spi/ModelEvaluate/ModelEvaluate/ModelEvaluateQueryPage', data }); +}; + +/** 批量删除 */ +export const delModelEvaluateListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + rulecode: v.rulecode, + }; + }); + return request.postJson({ + url: '/ModelEvaluate/spi/ModelEvaluate/ModelEvaluate/ModelEvaluateBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delModelEvaluateApi = (rulecode?: string): Promise => { + return request.postJson({ url: '/ModelEvaluate/spi/ModelEvaluate/ModelEvaluate/ModelEvaluateDelete', data: { rulecode } }); +}; + +/** 保存 */ +export const saveModelEvaluateApi = (data: Partial): Promise => { + return request.postJson({ url: '/ModelEvaluate/spi/ModelEvaluate/ModelEvaluate/ModelEvaluateSave', data }); +}; + +/** 查询单条数据 */ +export const queryModelEvaluateApi = (rulecode?: string): Promise => { + return request.postJson({ url: '/ModelEvaluate/spi/ModelEvaluate/ModelEvaluate/ModelEvaluateQueryOne', data: { rulecode } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/ModelEvaluate/sui/ModelEvaluate/ModelEvaluate/ModelEvaluateImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/ModelEvaluate/sui/ModelEvaluate/ModelEvaluate/ModelEvaluateImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/ModelEvaluate/sdi/ModelEvaluate/ModelEvaluate/ModelEvaluateExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/ModelEvaluate/ModelEvaluate/types.ts b/src/api/amld/ModelEvaluate/ModelEvaluate/types.ts new file mode 100644 index 0000000..cab90dd --- /dev/null +++ b/src/api/amld/ModelEvaluate/ModelEvaluate/types.ts @@ -0,0 +1,36 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 模型编号 */ + rulecode?: string + /** 模型名称 */ + rulename?: string + /** 监测预警的交易 */ + bfnum?: string + /** 全部交易量 */ + qbnum?: string + /** 机构名称 */ + organname?: string + /** 预警率 */ + yjnum?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 模型编号 */ + rulecode?: string + /** 模型名称 */ + rulename?: string + /** 监测预警的交易 */ + bfnum?: string + /** 全部交易量 */ + qbnum?: string + /** 机构名称 */ + organname?: string + /** 预警率 */ + yjnum?: string +} diff --git a/src/api/amld/ModelMaintain/ModelMaintain/index.ts b/src/api/amld/ModelMaintain/ModelMaintain/index.ts new file mode 100644 index 0000000..1bb72c9 --- /dev/null +++ b/src/api/amld/ModelMaintain/ModelMaintain/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getModelMaintainListApi = (data: any) => { + return request.postJson({ url: '/ModelMaintain/spi/ModelMaintain/ModelMaintain/ModelMaintainQueryPage', data }); +}; + +/** 批量删除 */ +export const delModelMaintainListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/ModelMaintain/spi/ModelMaintain/ModelMaintain/ModelMaintainBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delModelMaintainApi = (pkid?: string): Promise => { + return request.postJson({ url: '/ModelMaintain/spi/ModelMaintain/ModelMaintain/ModelMaintainDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveModelMaintainApi = (data: Partial): Promise => { + return request.postJson({ url: '/ModelMaintain/spi/ModelMaintain/ModelMaintain/ModelMaintainSave', data }); +}; + +/** 查询单条数据 */ +export const queryModelMaintainApi = (pkid?: string): Promise => { + return request.postJson({ url: '/ModelMaintain/spi/ModelMaintain/ModelMaintain/ModelMaintainQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/ModelMaintain/sui/ModelMaintain/ModelMaintain/ModelMaintainImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/ModelMaintain/sui/ModelMaintain/ModelMaintain/ModelMaintainImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/ModelMaintain/sdi/ModelMaintain/ModelMaintain/ModelMaintainExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/ModelMaintain/ModelMaintain/types.ts b/src/api/amld/ModelMaintain/ModelMaintain/types.ts new file mode 100644 index 0000000..7ed0ff9 --- /dev/null +++ b/src/api/amld/ModelMaintain/ModelMaintain/types.ts @@ -0,0 +1,52 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 编号 */ + pkid?: string + /** 模型名称 */ + modelName?: string + /** 模型编码 */ + modelCode?: string + /** 模型粒度 */ + modelGrading?: string + /** 模型涉罪类型 */ + modelCrime?: string + /** 模型描述 */ + modelComment?: string + /** 触发模型条件所需分数 */ + modelScore?: string + /** 模型实现方式 */ + modelType?: string + /** 模型公式 */ + modelFormula?: string + /** 模型状态 */ + status?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 编号 */ + pkid?: string + /** 模型名称 */ + modelName?: string + /** 模型编码 */ + modelCode?: string + /** 模型粒度 */ + modelGrading?: string + /** 模型涉罪类型 */ + modelCrime?: string + /** 模型描述 */ + modelComment?: string + /** 触发模型条件所需分数 */ + modelScore?: string + /** 模型实现方式 */ + modelType?: string + /** 模型公式 */ + modelFormula?: string + /** 模型状态 */ + status?: string +} diff --git a/src/api/amld/ModelOutPut/ModelOutPut/index.ts b/src/api/amld/ModelOutPut/ModelOutPut/index.ts new file mode 100644 index 0000000..8cc7b25 --- /dev/null +++ b/src/api/amld/ModelOutPut/ModelOutPut/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getModelOutPutListApi = (data: any) => { + return request.postJson({ url: '/ModelOutPut/spi/ModelOutPut/ModelOutPut/ModelOutPutQueryPage', data }); +}; + +/** 批量删除 */ +export const delModelOutPutListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + modelCode: v.modelCode, + }; + }); + return request.postJson({ + url: '/ModelOutPut/spi/ModelOutPut/ModelOutPut/ModelOutPutBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delModelOutPutApi = (modelCode?: string): Promise => { + return request.postJson({ url: '/ModelOutPut/spi/ModelOutPut/ModelOutPut/ModelOutPutDelete', data: { modelCode } }); +}; + +/** 保存 */ +export const saveModelOutPutApi = (data: Partial): Promise => { + return request.postJson({ url: '/ModelOutPut/spi/ModelOutPut/ModelOutPut/ModelOutPutSave', data }); +}; + +/** 查询单条数据 */ +export const queryModelOutPutApi = (modelCode?: string): Promise => { + return request.postJson({ url: '/ModelOutPut/spi/ModelOutPut/ModelOutPut/ModelOutPutQueryOne', data: { modelCode } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/ModelOutPut/sui/ModelOutPut/ModelOutPut/ModelOutPutImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/ModelOutPut/sui/ModelOutPut/ModelOutPut/ModelOutPutImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/ModelOutPut/sdi/ModelOutPut/ModelOutPut/ModelOutPutExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/ModelOutPut/ModelOutPut/types.ts b/src/api/amld/ModelOutPut/ModelOutPut/types.ts new file mode 100644 index 0000000..b3c9396 --- /dev/null +++ b/src/api/amld/ModelOutPut/ModelOutPut/types.ts @@ -0,0 +1,48 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 日期 */ + warnDt?: string + /** 机构 */ + organcode?: string + /** 模型编号 */ + modelCode?: string + /** 模型名称 */ + modelName?: string + /** 及格分 */ + modelSorc?: string + /** 触发客户数 */ + ruleCnum?: string + /** 预警客户数 */ + warnCnum?: string + /** 触发流水 */ + ruleTnum?: string + /** 预警流水 */ + warnTnum?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 日期 */ + warnDt?: string + /** 机构 */ + organcode?: string + /** 模型编号 */ + modelCode?: string + /** 模型名称 */ + modelName?: string + /** 及格分 */ + modelSorc?: string + /** 触发客户数 */ + ruleCnum?: string + /** 预警客户数 */ + warnCnum?: string + /** 触发流水 */ + ruleTnum?: string + /** 预警流水 */ + warnTnum?: string +} diff --git a/src/api/amld/ModleVerify/ModleVerify/index.ts b/src/api/amld/ModleVerify/ModleVerify/index.ts new file mode 100644 index 0000000..236b4e8 --- /dev/null +++ b/src/api/amld/ModleVerify/ModleVerify/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getModleVerifyListApi = (data: any) => { + return request.postJson({ url: '/ModleVerify/spi/ModleVerify/ModleVerify/ModleVerifyQueryPage', data }); +}; + +/** 批量删除 */ +export const delModleVerifyListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + attribute2: v.attribute2, + }; + }); + return request.postJson({ + url: '/ModleVerify/spi/ModleVerify/ModleVerify/ModleVerifyBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delModleVerifyApi = (attribute2?: string): Promise => { + return request.postJson({ url: '/ModleVerify/spi/ModleVerify/ModleVerify/ModleVerifyDelete', data: { attribute2 } }); +}; + +/** 保存 */ +export const saveModleVerifyApi = (data: Partial): Promise => { + return request.postJson({ url: '/ModleVerify/spi/ModleVerify/ModleVerify/ModleVerifySave', data }); +}; + +/** 查询单条数据 */ +export const queryModleVerifyApi = (attribute2?: string): Promise => { + return request.postJson({ url: '/ModleVerify/spi/ModleVerify/ModleVerify/ModleVerifyQueryOne', data: { attribute2 } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/ModleVerify/sui/ModleVerify/ModleVerify/ModleVerifyImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/ModleVerify/sui/ModleVerify/ModleVerify/ModleVerifyImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/ModleVerify/sdi/ModleVerify/ModleVerify/ModleVerifyExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/ModleVerify/ModleVerify/types.ts b/src/api/amld/ModleVerify/ModleVerify/types.ts new file mode 100644 index 0000000..ad27779 --- /dev/null +++ b/src/api/amld/ModleVerify/ModleVerify/types.ts @@ -0,0 +1,48 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 规则编码 */ + rulecode?: string + /** 变量名称 */ + rariable?: string + /** 变量值 */ + valuestr?: string + /** 变量描述 */ + attribute1?: string + /** 主键 */ + attribute2?: string + /** 机构号 */ + organCode?: string + /** 法人代码 */ + lawerMan?: string + /** 用户名 */ + userId?: string + /** 审核状态 */ + status?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 规则编码 */ + rulecode?: string + /** 变量名称 */ + rariable?: string + /** 变量值 */ + valuestr?: string + /** 变量描述 */ + attribute1?: string + /** 主键 */ + attribute2?: string + /** 机构号 */ + organCode?: string + /** 法人代码 */ + lawerMan?: string + /** 用户名 */ + userId?: string + /** 审核状态 */ + status?: string +} diff --git a/src/api/amld/NewCustomerIdentity/NewCustomerIdentity/index.ts b/src/api/amld/NewCustomerIdentity/NewCustomerIdentity/index.ts new file mode 100644 index 0000000..fe63793 --- /dev/null +++ b/src/api/amld/NewCustomerIdentity/NewCustomerIdentity/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getNewCustomerIdentityListApi = (data: any) => { + return request.postJson({ url: '/NewCustomerIdentity/spi/NewCustomerIdentity/NewCustomerIdentity/NewCustomerIdentityQueryPage', data }); +}; + +/** 批量删除 */ +export const delNewCustomerIdentityListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/NewCustomerIdentity/spi/NewCustomerIdentity/NewCustomerIdentity/NewCustomerIdentityBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delNewCustomerIdentityApi = (pkid?: string): Promise => { + return request.postJson({ url: '/NewCustomerIdentity/spi/NewCustomerIdentity/NewCustomerIdentity/NewCustomerIdentityDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveNewCustomerIdentityApi = (data: Partial): Promise => { + return request.postJson({ url: '/NewCustomerIdentity/spi/NewCustomerIdentity/NewCustomerIdentity/NewCustomerIdentitySave', data }); +}; + +/** 查询单条数据 */ +export const queryNewCustomerIdentityApi = (pkid?: string): Promise => { + return request.postJson({ url: '/NewCustomerIdentity/spi/NewCustomerIdentity/NewCustomerIdentity/NewCustomerIdentityQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/NewCustomerIdentity/sui/NewCustomerIdentity/NewCustomerIdentity/NewCustomerIdentityImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/NewCustomerIdentity/sui/NewCustomerIdentity/NewCustomerIdentity/NewCustomerIdentityImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/NewCustomerIdentity/sdi/NewCustomerIdentity/NewCustomerIdentity/NewCustomerIdentityExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/NewCustomerIdentity/NewCustomerIdentity/types.ts b/src/api/amld/NewCustomerIdentity/NewCustomerIdentity/types.ts new file mode 100644 index 0000000..2c2bb1c --- /dev/null +++ b/src/api/amld/NewCustomerIdentity/NewCustomerIdentity/types.ts @@ -0,0 +1,104 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custcode?: string + /** 客户名称 */ + custname?: string + /** 客户类型 */ + custpptype?: string + /** 调查日期 */ + dcdate?: string + /** 证件类型 */ + custcardtype?: string + /** 证件号 */ + custcardno?: string + /** 状态 */ + status?: string + /** 开户网点 */ + dcorgan?: string + /** 识别类型 */ + sblx?: string + /** 调查结论 */ + dcjl?: string + /** 调查途径 */ + dctj?: string + /** 调查结论失效日期 */ + jlsxrq?: string + /** 调查人 */ + dcname?: string + /** 是否他人代理 */ + sftrdl?: string + /** 收益人数 */ + syrs?: string + /** 是否与离岸中心有关 */ + sfylazxyg?: string + /** 是否调整风险等级 */ + sftzfxdj?: string + /** 是否通过机构信用代码调查 */ + sftzjgxydmcx?: string + /** 调查情况说明 */ + dcqksm?: string + /** 备用1 */ + attribute1?: string + /** 开户日期 */ + attribute2?: string + /** 备用3 */ + attribute3?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custcode?: string + /** 客户名称 */ + custname?: string + /** 客户类型 */ + custpptype?: string + /** 调查日期 */ + dcdate?: string + /** 证件类型 */ + custcardtype?: string + /** 证件号 */ + custcardno?: string + /** 状态 */ + status?: string + /** 开户网点 */ + dcorgan?: string + /** 识别类型 */ + sblx?: string + /** 调查结论 */ + dcjl?: string + /** 调查途径 */ + dctj?: string + /** 调查结论失效日期 */ + jlsxrq?: string + /** 调查人 */ + dcname?: string + /** 是否他人代理 */ + sftrdl?: string + /** 收益人数 */ + syrs?: string + /** 是否与离岸中心有关 */ + sfylazxyg?: string + /** 是否调整风险等级 */ + sftzfxdj?: string + /** 是否通过机构信用代码调查 */ + sftzjgxydmcx?: string + /** 调查情况说明 */ + dcqksm?: string + /** 备用1 */ + attribute1?: string + /** 开户日期 */ + attribute2?: string + /** 备用3 */ + attribute3?: string +} diff --git a/src/api/amld/PcyjStatistics/PcyjStatistics/index.ts b/src/api/amld/PcyjStatistics/PcyjStatistics/index.ts new file mode 100644 index 0000000..3b7ae65 --- /dev/null +++ b/src/api/amld/PcyjStatistics/PcyjStatistics/index.ts @@ -0,0 +1,59 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getPcyjStatisticsListApi = (data: any) => { + return request.postJson({ url: '/PcyjStatistics/spi/PcyjStatistics/PcyjStatistics/PcyjStatisticsQueryPage', data }); +}; + +/** 批量删除 */ +export const delPcyjStatisticsListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + }; + }); + return request.postJson({ + url: '/PcyjStatistics/spi/PcyjStatistics/PcyjStatistics/PcyjStatisticsBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delPcyjStatisticsApi = (): Promise => { + return request.postJson({ url: '/PcyjStatistics/spi/PcyjStatistics/PcyjStatistics/PcyjStatisticsDelete', data: { } }); +}; + +/** 保存 */ +export const savePcyjStatisticsApi = (data: Partial): Promise => { + return request.postJson({ url: '/PcyjStatistics/spi/PcyjStatistics/PcyjStatistics/PcyjStatisticsSave', data }); +}; + +/** 查询单条数据 */ +export const queryPcyjStatisticsApi = (): Promise => { + return request.postJson({ url: '/PcyjStatistics/spi/PcyjStatistics/PcyjStatistics/PcyjStatisticsQueryOne', data: { } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/PcyjStatistics/sui/PcyjStatistics/PcyjStatistics/PcyjStatisticsImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/PcyjStatistics/sui/PcyjStatistics/PcyjStatistics/PcyjStatisticsImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/PcyjStatistics/sdi/PcyjStatistics/PcyjStatistics/PcyjStatisticsExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/PcyjStatistics/PcyjStatistics/types.ts b/src/api/amld/PcyjStatistics/PcyjStatistics/types.ts new file mode 100644 index 0000000..beeac82 --- /dev/null +++ b/src/api/amld/PcyjStatistics/PcyjStatistics/types.ts @@ -0,0 +1,36 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 报送机构 */ + organname?: string + /** 客户类型 */ + custpptype?: string + /** 可疑交易特征 */ + suscrimtypes?: string + /** 排除预警报告笔数 */ + yjbgbs?: string + /** 排除预警报告份数 */ + yjbgfs?: string + /** 排除预警报告金额(万元) */ + yjbgje?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 报送机构 */ + organname?: string + /** 客户类型 */ + custpptype?: string + /** 可疑交易特征 */ + suscrimtypes?: string + /** 排除预警报告笔数 */ + yjbgbs?: string + /** 排除预警报告份数 */ + yjbgfs?: string + /** 排除预警报告金额(万元) */ + yjbgje?: string +} diff --git a/src/api/amld/ProductRiskItem/ProductRiskItem/index.ts b/src/api/amld/ProductRiskItem/ProductRiskItem/index.ts new file mode 100644 index 0000000..b94150c --- /dev/null +++ b/src/api/amld/ProductRiskItem/ProductRiskItem/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getProductRiskItemListApi = (data: any) => { + return request.postJson({ url: '/ProductRiskItem/spi/ProductRiskItem/ProductRiskItem/ProductRiskItemQueryPage', data }); +}; + +/** 批量删除 */ +export const delProductRiskItemListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/ProductRiskItem/spi/ProductRiskItem/ProductRiskItem/ProductRiskItemBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delProductRiskItemApi = (pkid?: string): Promise => { + return request.postJson({ url: '/ProductRiskItem/spi/ProductRiskItem/ProductRiskItem/ProductRiskItemDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveProductRiskItemApi = (data: Partial): Promise => { + return request.postJson({ url: '/ProductRiskItem/spi/ProductRiskItem/ProductRiskItem/ProductRiskItemSave', data }); +}; + +/** 查询单条数据 */ +export const queryProductRiskItemApi = (pkid?: string): Promise => { + return request.postJson({ url: '/ProductRiskItem/spi/ProductRiskItem/ProductRiskItem/ProductRiskItemQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/ProductRiskItem/sui/ProductRiskItem/ProductRiskItem/ProductRiskItemImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/ProductRiskItem/sui/ProductRiskItem/ProductRiskItem/ProductRiskItemImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/ProductRiskItem/sdi/ProductRiskItem/ProductRiskItem/ProductRiskItemExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/ProductRiskItem/ProductRiskItem/types.ts b/src/api/amld/ProductRiskItem/ProductRiskItem/types.ts new file mode 100644 index 0000000..7444a6c --- /dev/null +++ b/src/api/amld/ProductRiskItem/ProductRiskItem/types.ts @@ -0,0 +1,36 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 编号 */ + code?: string + /** 权重 */ + wight?: string + /** 名称 */ + riskName?: string + /** 类型 */ + riskType?: string + /** 排序 */ + orderby?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 编号 */ + code?: string + /** 权重 */ + wight?: string + /** 名称 */ + riskName?: string + /** 类型 */ + riskType?: string + /** 排序 */ + orderby?: string +} diff --git a/src/api/amld/ProductRiskLevel/ProductRiskLevel/index.ts b/src/api/amld/ProductRiskLevel/ProductRiskLevel/index.ts new file mode 100644 index 0000000..f708142 --- /dev/null +++ b/src/api/amld/ProductRiskLevel/ProductRiskLevel/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getProductRiskLevelListApi = (data: any) => { + return request.postJson({ url: '/ProductRiskLevel/spi/ProductRiskLevel/ProductRiskLevel/ProductRiskLevelQueryPage', data }); +}; + +/** 批量删除 */ +export const delProductRiskLevelListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/ProductRiskLevel/spi/ProductRiskLevel/ProductRiskLevel/ProductRiskLevelBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delProductRiskLevelApi = (pkid?: string): Promise => { + return request.postJson({ url: '/ProductRiskLevel/spi/ProductRiskLevel/ProductRiskLevel/ProductRiskLevelDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveProductRiskLevelApi = (data: Partial): Promise => { + return request.postJson({ url: '/ProductRiskLevel/spi/ProductRiskLevel/ProductRiskLevel/ProductRiskLevelSave', data }); +}; + +/** 查询单条数据 */ +export const queryProductRiskLevelApi = (pkid?: string): Promise => { + return request.postJson({ url: '/ProductRiskLevel/spi/ProductRiskLevel/ProductRiskLevel/ProductRiskLevelQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/ProductRiskLevel/sui/ProductRiskLevel/ProductRiskLevel/ProductRiskLevelImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/ProductRiskLevel/sui/ProductRiskLevel/ProductRiskLevel/ProductRiskLevelImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/ProductRiskLevel/sdi/ProductRiskLevel/ProductRiskLevel/ProductRiskLevelExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/ProductRiskLevel/ProductRiskLevel/types.ts b/src/api/amld/ProductRiskLevel/ProductRiskLevel/types.ts new file mode 100644 index 0000000..577e3b6 --- /dev/null +++ b/src/api/amld/ProductRiskLevel/ProductRiskLevel/types.ts @@ -0,0 +1,40 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 等级编码 */ + pkid?: string + /** 等级 */ + levelkey?: string + /** 等级名称 */ + levelname?: string + /** 最高分 */ + levelmax?: string + /** 最低分 */ + levelmin?: string + /** 下次评级日期(天) */ + nextDate?: string + /** 下轮重评日期(天) */ + orderby?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 等级编码 */ + pkid?: string + /** 等级 */ + levelkey?: string + /** 等级名称 */ + levelname?: string + /** 最高分 */ + levelmax?: string + /** 最低分 */ + levelmin?: string + /** 下次评级日期(天) */ + nextDate?: string + /** 下轮重评日期(天) */ + orderby?: string +} diff --git a/src/api/amld/RGDBQuery/RGDBQuery/index.ts b/src/api/amld/RGDBQuery/RGDBQuery/index.ts new file mode 100644 index 0000000..b283c0e --- /dev/null +++ b/src/api/amld/RGDBQuery/RGDBQuery/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getRGDBQueryListApi = (data: any) => { + return request.postJson({ url: '/RGDBQuery/spi/RGDBQuery/RgdbQuery/RgdbQueryQueryPage', data }); +}; + +/** 批量删除 */ +export const delRGDBQueryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/RGDBQuery/spi/RGDBQuery/RgdbQuery/RgdbQueryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delRGDBQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/RGDBQuery/spi/RGDBQuery/RgdbQuery/RgdbQueryDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveRGDBQueryApi = (data: Partial): Promise => { + return request.postJson({ url: '/RGDBQuery/spi/RGDBQuery/RgdbQuery/RgdbQuerySave', data }); +}; + +/** 查询单条数据 */ +export const queryRGDBQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/RGDBQuery/spi/RGDBQuery/RgdbQuery/RgdbQueryQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/RGDBQuery/sui/RGDBQuery/RgdbQuery/RgdbQueryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/RGDBQuery/sui/RGDBQuery/RgdbQuery/RgdbQueryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/RGDBQuery/sdi/RGDBQuery/RgdbQuery/RgdbQueryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/RGDBQuery/RGDBQuery/types.ts b/src/api/amld/RGDBQuery/RGDBQuery/types.ts new file mode 100644 index 0000000..ad54c2f --- /dev/null +++ b/src/api/amld/RGDBQuery/RGDBQuery/types.ts @@ -0,0 +1,164 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户类型 */ + custType?: string + /** 客户号开立日期 */ + custOpendate?: string + /** 客户名称 */ + custName?: string + /** 归属机构名称 */ + custOrganname?: string + /** 上一次评级日期 */ + lastRiskdate?: string + /** 上次评级结果 */ + lastRiskScore?: number + /** 系统评级日期 */ + sysRiskdate?: string + /** 系统评级结果 */ + riskScore?: number + /** 初评结果 */ + riskInitalscore?: number + /** 初评日期 */ + riskInitialdate?: string + /** 复评结果 */ + riskRepeatscore?: number + /** 复评日期 */ + riskRepeatdate?: string + /** 评级原因 */ + riskReason?: string + /** 评级状态 */ + state?: string + /** 审核退回原因 */ + shReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 是否人工发起 */ + isman?: string + /** 归属机构 */ + custOrgancode?: string + /** 系统评级结果 */ + riskLevel?: string + /** 初评结果 */ + riskInitallevel?: string + /** 复评结果 */ + riskRepeatlevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 上次评级理由 */ + lastRiskReason?: string + /** 复评用户 */ + riskRepeatUser?: string + /** 审核用户 */ + riskAuditUser?: string + /** 初评用户 */ + riskInitalUser?: string + /** 初评附加分 */ + riskAddRepeatscore?: string + /** 复评附加分 */ + riskAddInitalscore?: string + /** 审核日期 */ + riskAuditdate?: string + /** 复评调整原因 */ + riskCauseRepeatreason?: string + /** 初评调整原因 */ + riskCauseInitalreason?: string + /** 人工评级发起时间 */ + manDate?: string + /** 人工发起评级理由 */ + manRiskReason?: string + /** 审核原因 */ + riskCauseAuditreason?: string + /** 评级次数 */ + riskCount?: string + /** 旧系统数据迁移标志 */ + flag?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户类型 */ + custType?: string + /** 客户号开立日期 */ + custOpendate?: string + /** 客户名称 */ + custName?: string + /** 归属机构名称 */ + custOrganname?: string + /** 上一次评级日期 */ + lastRiskdate?: string + /** 上次评级结果 */ + lastRiskScore?: number + /** 系统评级日期 */ + sysRiskdate?: string + /** 系统评级结果 */ + riskScore?: number + /** 初评结果 */ + riskInitalscore?: number + /** 初评日期 */ + riskInitialdate?: string + /** 复评结果 */ + riskRepeatscore?: number + /** 复评日期 */ + riskRepeatdate?: string + /** 评级原因 */ + riskReason?: string + /** 评级状态 */ + state?: string + /** 审核退回原因 */ + shReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 是否人工发起 */ + isman?: string + /** 归属机构 */ + custOrgancode?: string + /** 系统评级结果 */ + riskLevel?: string + /** 初评结果 */ + riskInitallevel?: string + /** 复评结果 */ + riskRepeatlevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 上次评级理由 */ + lastRiskReason?: string + /** 复评用户 */ + riskRepeatUser?: string + /** 审核用户 */ + riskAuditUser?: string + /** 初评用户 */ + riskInitalUser?: string + /** 初评附加分 */ + riskAddRepeatscore?: string + /** 复评附加分 */ + riskAddInitalscore?: string + /** 审核日期 */ + riskAuditdate?: string + /** 复评调整原因 */ + riskCauseRepeatreason?: string + /** 初评调整原因 */ + riskCauseInitalreason?: string + /** 人工评级发起时间 */ + manDate?: string + /** 人工发起评级理由 */ + manRiskReason?: string + /** 审核原因 */ + riskCauseAuditreason?: string + /** 评级次数 */ + riskCount?: string + /** 旧系统数据迁移标志 */ + flag?: string +} diff --git a/src/api/amld/ReCustomerIdentity/ReCustomerIdentity/index.ts b/src/api/amld/ReCustomerIdentity/ReCustomerIdentity/index.ts new file mode 100644 index 0000000..afba014 --- /dev/null +++ b/src/api/amld/ReCustomerIdentity/ReCustomerIdentity/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getReCustomerIdentityListApi = (data: any) => { + return request.postJson({ url: '/ReCustomerIdentity/spi/ReCustomerIdentity/ReCustomerIdentity/ReCustomerIdentityQueryPage', data }); +}; + +/** 批量删除 */ +export const delReCustomerIdentityListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/ReCustomerIdentity/spi/ReCustomerIdentity/ReCustomerIdentity/ReCustomerIdentityBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delReCustomerIdentityApi = (pkid?: string): Promise => { + return request.postJson({ url: '/ReCustomerIdentity/spi/ReCustomerIdentity/ReCustomerIdentity/ReCustomerIdentityDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveReCustomerIdentityApi = (data: Partial): Promise => { + return request.postJson({ url: '/ReCustomerIdentity/spi/ReCustomerIdentity/ReCustomerIdentity/ReCustomerIdentitySave', data }); +}; + +/** 查询单条数据 */ +export const queryReCustomerIdentityApi = (pkid?: string): Promise => { + return request.postJson({ url: '/ReCustomerIdentity/spi/ReCustomerIdentity/ReCustomerIdentity/ReCustomerIdentityQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/ReCustomerIdentity/sui/ReCustomerIdentity/ReCustomerIdentity/ReCustomerIdentityImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/ReCustomerIdentity/sui/ReCustomerIdentity/ReCustomerIdentity/ReCustomerIdentityImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/ReCustomerIdentity/sdi/ReCustomerIdentity/ReCustomerIdentity/ReCustomerIdentityExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/ReCustomerIdentity/ReCustomerIdentity/types.ts b/src/api/amld/ReCustomerIdentity/ReCustomerIdentity/types.ts new file mode 100644 index 0000000..2c2bb1c --- /dev/null +++ b/src/api/amld/ReCustomerIdentity/ReCustomerIdentity/types.ts @@ -0,0 +1,104 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custcode?: string + /** 客户名称 */ + custname?: string + /** 客户类型 */ + custpptype?: string + /** 调查日期 */ + dcdate?: string + /** 证件类型 */ + custcardtype?: string + /** 证件号 */ + custcardno?: string + /** 状态 */ + status?: string + /** 开户网点 */ + dcorgan?: string + /** 识别类型 */ + sblx?: string + /** 调查结论 */ + dcjl?: string + /** 调查途径 */ + dctj?: string + /** 调查结论失效日期 */ + jlsxrq?: string + /** 调查人 */ + dcname?: string + /** 是否他人代理 */ + sftrdl?: string + /** 收益人数 */ + syrs?: string + /** 是否与离岸中心有关 */ + sfylazxyg?: string + /** 是否调整风险等级 */ + sftzfxdj?: string + /** 是否通过机构信用代码调查 */ + sftzjgxydmcx?: string + /** 调查情况说明 */ + dcqksm?: string + /** 备用1 */ + attribute1?: string + /** 开户日期 */ + attribute2?: string + /** 备用3 */ + attribute3?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custcode?: string + /** 客户名称 */ + custname?: string + /** 客户类型 */ + custpptype?: string + /** 调查日期 */ + dcdate?: string + /** 证件类型 */ + custcardtype?: string + /** 证件号 */ + custcardno?: string + /** 状态 */ + status?: string + /** 开户网点 */ + dcorgan?: string + /** 识别类型 */ + sblx?: string + /** 调查结论 */ + dcjl?: string + /** 调查途径 */ + dctj?: string + /** 调查结论失效日期 */ + jlsxrq?: string + /** 调查人 */ + dcname?: string + /** 是否他人代理 */ + sftrdl?: string + /** 收益人数 */ + syrs?: string + /** 是否与离岸中心有关 */ + sfylazxyg?: string + /** 是否调整风险等级 */ + sftzfxdj?: string + /** 是否通过机构信用代码调查 */ + sftzjgxydmcx?: string + /** 调查情况说明 */ + dcqksm?: string + /** 备用1 */ + attribute1?: string + /** 开户日期 */ + attribute2?: string + /** 备用3 */ + attribute3?: string +} diff --git a/src/api/amld/RepPackageDown/RepPackageDown/index.ts b/src/api/amld/RepPackageDown/RepPackageDown/index.ts new file mode 100644 index 0000000..520abfc --- /dev/null +++ b/src/api/amld/RepPackageDown/RepPackageDown/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getRepPackageDownListApi = (data: any) => { + return request.postJson({ url: '/RepPackageDown/spi/RepPackageDown/RepPackageDown/RepPackageDownQueryPage', data }); +}; + +/** 批量删除 */ +export const delRepPackageDownListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/RepPackageDown/spi/RepPackageDown/RepPackageDown/RepPackageDownBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delRepPackageDownApi = (pkid?: string): Promise => { + return request.postJson({ url: '/RepPackageDown/spi/RepPackageDown/RepPackageDown/RepPackageDownDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveRepPackageDownApi = (data: Partial): Promise => { + return request.postJson({ url: '/RepPackageDown/spi/RepPackageDown/RepPackageDown/RepPackageDownSave', data }); +}; + +/** 查询单条数据 */ +export const queryRepPackageDownApi = (pkid?: string): Promise => { + return request.postJson({ url: '/RepPackageDown/spi/RepPackageDown/RepPackageDown/RepPackageDownQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/RepPackageDown/sui/RepPackageDown/RepPackageDown/RepPackageDownImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/RepPackageDown/sui/RepPackageDown/RepPackageDown/RepPackageDownImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/RepPackageDown/sdi/RepPackageDown/RepPackageDown/RepPackageDownExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/RepPackageDown/RepPackageDown/types.ts b/src/api/amld/RepPackageDown/RepPackageDown/types.ts new file mode 100644 index 0000000..ed99679 --- /dev/null +++ b/src/api/amld/RepPackageDown/RepPackageDown/types.ts @@ -0,0 +1,60 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序列字段 */ + pkid?: string + /** 数据包编号 */ + pkgCode?: string + /** 数据包类型 */ + pkgType?: string + /** 交易类型 */ + repType?: string + /** 当日报送的批次 */ + sendSeq?: string + /** 数据包文件名 */ + pkgName?: string + /** 数据包状态 */ + status?: string + /** 生成时间 */ + createDate?: string + /** 数据包实体 */ + pkgContent?: string + /** 机构名称 */ + organCode?: string + /** 有无附件 */ + isuploadf?: string + /** 数据交易日期 */ + trantdate?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序列字段 */ + pkid?: string + /** 数据包编号 */ + pkgCode?: string + /** 数据包类型 */ + pkgType?: string + /** 交易类型 */ + repType?: string + /** 当日报送的批次 */ + sendSeq?: string + /** 数据包文件名 */ + pkgName?: string + /** 数据包状态 */ + status?: string + /** 生成时间 */ + createDate?: string + /** 数据包实体 */ + pkgContent?: string + /** 机构名称 */ + organCode?: string + /** 有无附件 */ + isuploadf?: string + /** 数据交易日期 */ + trantdate?: string +} diff --git a/src/api/amld/ScoreLevelAdjust/ScoreLevelAdjust/index.ts b/src/api/amld/ScoreLevelAdjust/ScoreLevelAdjust/index.ts new file mode 100644 index 0000000..6bc0a2e --- /dev/null +++ b/src/api/amld/ScoreLevelAdjust/ScoreLevelAdjust/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getScoreLevelAdjustListApi = (data: any) => { + return request.postJson({ url: '/ScoreLevelAdjust/spi/ScoreLevelAdjust/ScoreLevelAdjust/ScoreLevelAdjustQueryPage', data }); +}; + +/** 批量删除 */ +export const delScoreLevelAdjustListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/ScoreLevelAdjust/spi/ScoreLevelAdjust/ScoreLevelAdjust/ScoreLevelAdjustBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delScoreLevelAdjustApi = (pkid?: string): Promise => { + return request.postJson({ url: '/ScoreLevelAdjust/spi/ScoreLevelAdjust/ScoreLevelAdjust/ScoreLevelAdjustDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveScoreLevelAdjustApi = (data: Partial): Promise => { + return request.postJson({ url: '/ScoreLevelAdjust/spi/ScoreLevelAdjust/ScoreLevelAdjust/ScoreLevelAdjustSave', data }); +}; + +/** 查询单条数据 */ +export const queryScoreLevelAdjustApi = (pkid?: string): Promise => { + return request.postJson({ url: '/ScoreLevelAdjust/spi/ScoreLevelAdjust/ScoreLevelAdjust/ScoreLevelAdjustQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/ScoreLevelAdjust/sui/ScoreLevelAdjust/ScoreLevelAdjust/ScoreLevelAdjustImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/ScoreLevelAdjust/sui/ScoreLevelAdjust/ScoreLevelAdjust/ScoreLevelAdjustImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/ScoreLevelAdjust/sdi/ScoreLevelAdjust/ScoreLevelAdjust/ScoreLevelAdjustExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/ScoreLevelAdjust/ScoreLevelAdjust/types.ts b/src/api/amld/ScoreLevelAdjust/ScoreLevelAdjust/types.ts new file mode 100644 index 0000000..69bc109 --- /dev/null +++ b/src/api/amld/ScoreLevelAdjust/ScoreLevelAdjust/types.ts @@ -0,0 +1,44 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 风险等级编号 */ + pkid?: string + /** 风险级别KEY */ + levelkey?: string + /** 风险等级名称 */ + levelname?: string + /** 风险等级描述 */ + leveldes?: string + /** 最高分 */ + levelmax?: string + /** 最低分 */ + levelmin?: string + /** 法人号 */ + corporateNo?: string + /** 机构 */ + corporateOrgNo?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 风险等级编号 */ + pkid?: string + /** 风险级别KEY */ + levelkey?: string + /** 风险等级名称 */ + levelname?: string + /** 风险等级描述 */ + leveldes?: string + /** 最高分 */ + levelmax?: string + /** 最低分 */ + levelmin?: string + /** 法人号 */ + corporateNo?: string + /** 机构 */ + corporateOrgNo?: string +} diff --git a/src/api/amld/SuspiciousCaseDeal/SuspiciousCaseDeal/index.ts b/src/api/amld/SuspiciousCaseDeal/SuspiciousCaseDeal/index.ts new file mode 100644 index 0000000..e15df69 --- /dev/null +++ b/src/api/amld/SuspiciousCaseDeal/SuspiciousCaseDeal/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSuspiciousCaseDealListApi = (data: any) => { + return request.postJson({ url: '/SuspiciousCaseDeal/spi/SuspiciousCaseDeal/SuspiciousCaseDeal/SuspiciousCaseDealQueryPage', data }); +}; + +/** 批量删除 */ +export const delSuspiciousCaseDealListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/SuspiciousCaseDeal/spi/SuspiciousCaseDeal/SuspiciousCaseDeal/SuspiciousCaseDealBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSuspiciousCaseDealApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousCaseDeal/spi/SuspiciousCaseDeal/SuspiciousCaseDeal/SuspiciousCaseDealDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveSuspiciousCaseDealApi = (data: Partial): Promise => { + return request.postJson({ url: '/SuspiciousCaseDeal/spi/SuspiciousCaseDeal/SuspiciousCaseDeal/SuspiciousCaseDealSave', data }); +}; + +/** 查询单条数据 */ +export const querySuspiciousCaseDealApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousCaseDeal/spi/SuspiciousCaseDeal/SuspiciousCaseDeal/SuspiciousCaseDealQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/SuspiciousCaseDeal/sui/SuspiciousCaseDeal/SuspiciousCaseDeal/SuspiciousCaseDealImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/SuspiciousCaseDeal/sui/SuspiciousCaseDeal/SuspiciousCaseDeal/SuspiciousCaseDealImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/SuspiciousCaseDeal/sdi/SuspiciousCaseDeal/SuspiciousCaseDeal/SuspiciousCaseDealExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/SuspiciousCaseDeal/SuspiciousCaseDeal/types.ts b/src/api/amld/SuspiciousCaseDeal/SuspiciousCaseDeal/types.ts new file mode 100644 index 0000000..baac5e7 --- /dev/null +++ b/src/api/amld/SuspiciousCaseDeal/SuspiciousCaseDeal/types.ts @@ -0,0 +1,196 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} diff --git a/src/api/amld/SuspiciousCaseExclude/SuspiciousCaseExclude/index.ts b/src/api/amld/SuspiciousCaseExclude/SuspiciousCaseExclude/index.ts new file mode 100644 index 0000000..a79599e --- /dev/null +++ b/src/api/amld/SuspiciousCaseExclude/SuspiciousCaseExclude/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSuspiciousCaseExcludeListApi = (data: any) => { + return request.postJson({ url: '/SuspiciousCaseExclude/spi/SuspiciousCaseExclude/SuspiciousCaseExclude/SuspiciousCaseExcludeQueryPage', data }); +}; + +/** 批量删除 */ +export const delSuspiciousCaseExcludeListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/SuspiciousCaseExclude/spi/SuspiciousCaseExclude/SuspiciousCaseExclude/SuspiciousCaseExcludeBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSuspiciousCaseExcludeApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousCaseExclude/spi/SuspiciousCaseExclude/SuspiciousCaseExclude/SuspiciousCaseExcludeDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveSuspiciousCaseExcludeApi = (data: Partial): Promise => { + return request.postJson({ url: '/SuspiciousCaseExclude/spi/SuspiciousCaseExclude/SuspiciousCaseExclude/SuspiciousCaseExcludeSave', data }); +}; + +/** 查询单条数据 */ +export const querySuspiciousCaseExcludeApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousCaseExclude/spi/SuspiciousCaseExclude/SuspiciousCaseExclude/SuspiciousCaseExcludeQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/SuspiciousCaseExclude/sui/SuspiciousCaseExclude/SuspiciousCaseExclude/SuspiciousCaseExcludeImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/SuspiciousCaseExclude/sui/SuspiciousCaseExclude/SuspiciousCaseExclude/SuspiciousCaseExcludeImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/SuspiciousCaseExclude/sdi/SuspiciousCaseExclude/SuspiciousCaseExclude/SuspiciousCaseExcludeExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/SuspiciousCaseExclude/SuspiciousCaseExclude/types.ts b/src/api/amld/SuspiciousCaseExclude/SuspiciousCaseExclude/types.ts new file mode 100644 index 0000000..2ab77ae --- /dev/null +++ b/src/api/amld/SuspiciousCaseExclude/SuspiciousCaseExclude/types.ts @@ -0,0 +1,196 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 提交申请时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 提交申请时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} diff --git a/src/api/amld/SuspiciousCaseReview/SuspiciousCaseReview/index.ts b/src/api/amld/SuspiciousCaseReview/SuspiciousCaseReview/index.ts new file mode 100644 index 0000000..b59e9e9 --- /dev/null +++ b/src/api/amld/SuspiciousCaseReview/SuspiciousCaseReview/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSuspiciousCaseReviewListApi = (data: any) => { + return request.postJson({ url: '/SuspiciousCaseReview/spi/SuspiciousCaseReview/SuspiciousCaseReview/SuspiciousCaseReviewQueryPage', data }); +}; + +/** 批量删除 */ +export const delSuspiciousCaseReviewListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/SuspiciousCaseReview/spi/SuspiciousCaseReview/SuspiciousCaseReview/SuspiciousCaseReviewBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSuspiciousCaseReviewApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousCaseReview/spi/SuspiciousCaseReview/SuspiciousCaseReview/SuspiciousCaseReviewDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveSuspiciousCaseReviewApi = (data: Partial): Promise => { + return request.postJson({ url: '/SuspiciousCaseReview/spi/SuspiciousCaseReview/SuspiciousCaseReview/SuspiciousCaseReviewSave', data }); +}; + +/** 查询单条数据 */ +export const querySuspiciousCaseReviewApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousCaseReview/spi/SuspiciousCaseReview/SuspiciousCaseReview/SuspiciousCaseReviewQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/SuspiciousCaseReview/sui/SuspiciousCaseReview/SuspiciousCaseReview/SuspiciousCaseReviewImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/SuspiciousCaseReview/sui/SuspiciousCaseReview/SuspiciousCaseReview/SuspiciousCaseReviewImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/SuspiciousCaseReview/sdi/SuspiciousCaseReview/SuspiciousCaseReview/SuspiciousCaseReviewExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/SuspiciousCaseReview/SuspiciousCaseReview/types.ts b/src/api/amld/SuspiciousCaseReview/SuspiciousCaseReview/types.ts new file mode 100644 index 0000000..2ab77ae --- /dev/null +++ b/src/api/amld/SuspiciousCaseReview/SuspiciousCaseReview/types.ts @@ -0,0 +1,196 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 提交申请时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 提交申请时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} diff --git a/src/api/amld/SuspiciousCaseVerify/SuspiciousCaseVerify/index.ts b/src/api/amld/SuspiciousCaseVerify/SuspiciousCaseVerify/index.ts new file mode 100644 index 0000000..e018a3f --- /dev/null +++ b/src/api/amld/SuspiciousCaseVerify/SuspiciousCaseVerify/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSuspiciousCaseVerifyListApi = (data: any) => { + return request.postJson({ url: '/SuspiciousCaseVerify/spi/SuspiciousCaseVerify/SuspiciousCaseVerify/SuspiciousCaseVerifyQueryPage', data }); +}; + +/** 批量删除 */ +export const delSuspiciousCaseVerifyListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/SuspiciousCaseVerify/spi/SuspiciousCaseVerify/SuspiciousCaseVerify/SuspiciousCaseVerifyBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSuspiciousCaseVerifyApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousCaseVerify/spi/SuspiciousCaseVerify/SuspiciousCaseVerify/SuspiciousCaseVerifyDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveSuspiciousCaseVerifyApi = (data: Partial): Promise => { + return request.postJson({ url: '/SuspiciousCaseVerify/spi/SuspiciousCaseVerify/SuspiciousCaseVerify/SuspiciousCaseVerifySave', data }); +}; + +/** 查询单条数据 */ +export const querySuspiciousCaseVerifyApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousCaseVerify/spi/SuspiciousCaseVerify/SuspiciousCaseVerify/SuspiciousCaseVerifyQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/SuspiciousCaseVerify/sui/SuspiciousCaseVerify/SuspiciousCaseVerify/SuspiciousCaseVerifyImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/SuspiciousCaseVerify/sui/SuspiciousCaseVerify/SuspiciousCaseVerify/SuspiciousCaseVerifyImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/SuspiciousCaseVerify/sdi/SuspiciousCaseVerify/SuspiciousCaseVerify/SuspiciousCaseVerifyExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/SuspiciousCaseVerify/SuspiciousCaseVerify/types.ts b/src/api/amld/SuspiciousCaseVerify/SuspiciousCaseVerify/types.ts new file mode 100644 index 0000000..baac5e7 --- /dev/null +++ b/src/api/amld/SuspiciousCaseVerify/SuspiciousCaseVerify/types.ts @@ -0,0 +1,196 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} diff --git a/src/api/amld/SuspiciousMain/SuspiciousMain/index.ts b/src/api/amld/SuspiciousMain/SuspiciousMain/index.ts new file mode 100644 index 0000000..4176071 --- /dev/null +++ b/src/api/amld/SuspiciousMain/SuspiciousMain/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSuspiciousMainListApi = (data: any) => { + return request.postJson({ url: '/SuspiciousMain/spi/SuspiciousMain/SuspiciousMain/SuspiciousMainQueryPage', data }); +}; + +/** 批量删除 */ +export const delSuspiciousMainListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/SuspiciousMain/spi/SuspiciousMain/SuspiciousMain/SuspiciousMainBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSuspiciousMainApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousMain/spi/SuspiciousMain/SuspiciousMain/SuspiciousMainDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveSuspiciousMainApi = (data: Partial): Promise => { + return request.postJson({ url: '/SuspiciousMain/spi/SuspiciousMain/SuspiciousMain/SuspiciousMainSave', data }); +}; + +/** 查询单条数据 */ +export const querySuspiciousMainApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousMain/spi/SuspiciousMain/SuspiciousMain/SuspiciousMainQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/SuspiciousMain/sui/SuspiciousMain/SuspiciousMain/SuspiciousMainImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/SuspiciousMain/sui/SuspiciousMain/SuspiciousMain/SuspiciousMainImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/SuspiciousMain/sdi/SuspiciousMain/SuspiciousMain/SuspiciousMainExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/SuspiciousMain/SuspiciousMain/types.ts b/src/api/amld/SuspiciousMain/SuspiciousMain/types.ts new file mode 100644 index 0000000..a03ff4c --- /dev/null +++ b/src/api/amld/SuspiciousMain/SuspiciousMain/types.ts @@ -0,0 +1,68 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 创建机构 */ + createOrgancode?: string + /** 创建原因 */ + createReason?: string + /** 操作员 */ + opBy?: string + /** 操作日期 */ + opDate?: string + /** 解除状态 */ + unlockStatus?: string + /** 解除原因 */ + unlockReason?: string + /** 解除人 */ + unlockBy?: string + /** 解除日期 */ + unlockDate?: string + /** 状态 */ + statusNo?: string + /** 客户名称 */ + custName?: string + /** 客户类型 */ + custType?: string + /** */ + warnCode?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 创建机构 */ + createOrgancode?: string + /** 创建原因 */ + createReason?: string + /** 操作员 */ + opBy?: string + /** 操作日期 */ + opDate?: string + /** 解除状态 */ + unlockStatus?: string + /** 解除原因 */ + unlockReason?: string + /** 解除人 */ + unlockBy?: string + /** 解除日期 */ + unlockDate?: string + /** 状态 */ + statusNo?: string + /** 客户名称 */ + custName?: string + /** 客户类型 */ + custType?: string + /** */ + warnCode?: string +} diff --git a/src/api/amld/SuspiciousMessageGenerate/SuspiciousMessageGenerate/index.ts b/src/api/amld/SuspiciousMessageGenerate/SuspiciousMessageGenerate/index.ts new file mode 100644 index 0000000..c2cee25 --- /dev/null +++ b/src/api/amld/SuspiciousMessageGenerate/SuspiciousMessageGenerate/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSuspiciousMessageGenerateListApi = (data: any) => { + return request.postJson({ url: '/SuspiciousMessageGenerate/spi/SuspiciousMessageGenerate/SuspiciousMessageGenerate/SuspiciousMessageGenerateQueryPage', data }); +}; + +/** 批量删除 */ +export const delSuspiciousMessageGenerateListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/SuspiciousMessageGenerate/spi/SuspiciousMessageGenerate/SuspiciousMessageGenerate/SuspiciousMessageGenerateBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSuspiciousMessageGenerateApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousMessageGenerate/spi/SuspiciousMessageGenerate/SuspiciousMessageGenerate/SuspiciousMessageGenerateDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveSuspiciousMessageGenerateApi = (data: Partial): Promise => { + return request.postJson({ url: '/SuspiciousMessageGenerate/spi/SuspiciousMessageGenerate/SuspiciousMessageGenerate/SuspiciousMessageGenerateSave', data }); +}; + +/** 查询单条数据 */ +export const querySuspiciousMessageGenerateApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousMessageGenerate/spi/SuspiciousMessageGenerate/SuspiciousMessageGenerate/SuspiciousMessageGenerateQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/SuspiciousMessageGenerate/sui/SuspiciousMessageGenerate/SuspiciousMessageGenerate/SuspiciousMessageGenerateImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/SuspiciousMessageGenerate/sui/SuspiciousMessageGenerate/SuspiciousMessageGenerate/SuspiciousMessageGenerateImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/SuspiciousMessageGenerate/sdi/SuspiciousMessageGenerate/SuspiciousMessageGenerate/SuspiciousMessageGenerateExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/SuspiciousMessageGenerate/SuspiciousMessageGenerate/types.ts b/src/api/amld/SuspiciousMessageGenerate/SuspiciousMessageGenerate/types.ts new file mode 100644 index 0000000..baac5e7 --- /dev/null +++ b/src/api/amld/SuspiciousMessageGenerate/SuspiciousMessageGenerate/types.ts @@ -0,0 +1,196 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} diff --git a/src/api/amld/SuspiciousPackageDown/SuspiciousPackageDown/index.ts b/src/api/amld/SuspiciousPackageDown/SuspiciousPackageDown/index.ts new file mode 100644 index 0000000..d9e9f5f --- /dev/null +++ b/src/api/amld/SuspiciousPackageDown/SuspiciousPackageDown/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSuspiciousPackageDownListApi = (data: any) => { + return request.postJson({ url: '/SuspiciousPackageDown/spi/SuspiciousPackageDown/SuspiciousPackageDown/SuspiciousPackageDownQueryPage', data }); +}; + +/** 批量删除 */ +export const delSuspiciousPackageDownListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/SuspiciousPackageDown/spi/SuspiciousPackageDown/SuspiciousPackageDown/SuspiciousPackageDownBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSuspiciousPackageDownApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousPackageDown/spi/SuspiciousPackageDown/SuspiciousPackageDown/SuspiciousPackageDownDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveSuspiciousPackageDownApi = (data: Partial): Promise => { + return request.postJson({ url: '/SuspiciousPackageDown/spi/SuspiciousPackageDown/SuspiciousPackageDown/SuspiciousPackageDownSave', data }); +}; + +/** 查询单条数据 */ +export const querySuspiciousPackageDownApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousPackageDown/spi/SuspiciousPackageDown/SuspiciousPackageDown/SuspiciousPackageDownQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/SuspiciousPackageDown/sui/SuspiciousPackageDown/SuspiciousPackageDown/SuspiciousPackageDownImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/SuspiciousPackageDown/sui/SuspiciousPackageDown/SuspiciousPackageDown/SuspiciousPackageDownImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/SuspiciousPackageDown/sdi/SuspiciousPackageDown/SuspiciousPackageDown/SuspiciousPackageDownExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/SuspiciousPackageDown/SuspiciousPackageDown/types.ts b/src/api/amld/SuspiciousPackageDown/SuspiciousPackageDown/types.ts new file mode 100644 index 0000000..d123c0b --- /dev/null +++ b/src/api/amld/SuspiciousPackageDown/SuspiciousPackageDown/types.ts @@ -0,0 +1,60 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序列字段 */ + pkid?: string + /** 数据包编号 */ + pkgCode?: string + /** 数据包类型 */ + pkgType?: string + /** 交易类型 */ + repType?: string + /** 当日报送的批次 */ + sendSeq?: string + /** 数据包文件名 */ + pkgName?: string + /** 数据包状态 */ + status?: string + /** 生成时间 */ + createDate?: string + /** 数据包实体 */ + pkgContent?: string + /** 机构代码 */ + organCode?: string + /** 有无附件 */ + isuploadf?: string + /** 数据交易日期 */ + trantdate?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序列字段 */ + pkid?: string + /** 数据包编号 */ + pkgCode?: string + /** 数据包类型 */ + pkgType?: string + /** 交易类型 */ + repType?: string + /** 当日报送的批次 */ + sendSeq?: string + /** 数据包文件名 */ + pkgName?: string + /** 数据包状态 */ + status?: string + /** 生成时间 */ + createDate?: string + /** 数据包实体 */ + pkgContent?: string + /** 机构代码 */ + organCode?: string + /** 有无附件 */ + isuploadf?: string + /** 数据交易日期 */ + trantdate?: string +} diff --git a/src/api/amld/SuspiciousPaperQuery/SuspiciousPaperQuery/index.ts b/src/api/amld/SuspiciousPaperQuery/SuspiciousPaperQuery/index.ts new file mode 100644 index 0000000..f8478ee --- /dev/null +++ b/src/api/amld/SuspiciousPaperQuery/SuspiciousPaperQuery/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSuspiciousPaperQueryListApi = (data: any) => { + return request.postJson({ url: '/SuspiciousPaperQuery/spi/SuspiciousPaperQuery/SuspiciousPaperQuery/SuspiciousPaperQueryQueryPage', data }); +}; + +/** 批量删除 */ +export const delSuspiciousPaperQueryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/SuspiciousPaperQuery/spi/SuspiciousPaperQuery/SuspiciousPaperQuery/SuspiciousPaperQueryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSuspiciousPaperQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousPaperQuery/spi/SuspiciousPaperQuery/SuspiciousPaperQuery/SuspiciousPaperQueryDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveSuspiciousPaperQueryApi = (data: Partial): Promise => { + return request.postJson({ url: '/SuspiciousPaperQuery/spi/SuspiciousPaperQuery/SuspiciousPaperQuery/SuspiciousPaperQuerySave', data }); +}; + +/** 查询单条数据 */ +export const querySuspiciousPaperQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousPaperQuery/spi/SuspiciousPaperQuery/SuspiciousPaperQuery/SuspiciousPaperQueryQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/SuspiciousPaperQuery/sui/SuspiciousPaperQuery/SuspiciousPaperQuery/SuspiciousPaperQueryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/SuspiciousPaperQuery/sui/SuspiciousPaperQuery/SuspiciousPaperQuery/SuspiciousPaperQueryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/SuspiciousPaperQuery/sdi/SuspiciousPaperQuery/SuspiciousPaperQuery/SuspiciousPaperQueryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/SuspiciousPaperQuery/SuspiciousPaperQuery/types.ts b/src/api/amld/SuspiciousPaperQuery/SuspiciousPaperQuery/types.ts new file mode 100644 index 0000000..27e1748 --- /dev/null +++ b/src/api/amld/SuspiciousPaperQuery/SuspiciousPaperQuery/types.ts @@ -0,0 +1,196 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 上报原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 上报原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} diff --git a/src/api/amld/SuspiciousTraceDeal/SuspiciousTraceDeal/index.ts b/src/api/amld/SuspiciousTraceDeal/SuspiciousTraceDeal/index.ts new file mode 100644 index 0000000..36b2135 --- /dev/null +++ b/src/api/amld/SuspiciousTraceDeal/SuspiciousTraceDeal/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSuspiciousTraceDealListApi = (data: any) => { + return request.postJson({ url: '/SuspiciousTraceDeal/spi/SuspiciousTraceDeal/SuspiciousTraceDeal/SuspiciousTraceDealQueryPage', data }); +}; + +/** 批量删除 */ +export const delSuspiciousTraceDealListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/SuspiciousTraceDeal/spi/SuspiciousTraceDeal/SuspiciousTraceDeal/SuspiciousTraceDealBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSuspiciousTraceDealApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousTraceDeal/spi/SuspiciousTraceDeal/SuspiciousTraceDeal/SuspiciousTraceDealDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveSuspiciousTraceDealApi = (data: Partial): Promise => { + return request.postJson({ url: '/SuspiciousTraceDeal/spi/SuspiciousTraceDeal/SuspiciousTraceDeal/SuspiciousTraceDealSave', data }); +}; + +/** 查询单条数据 */ +export const querySuspiciousTraceDealApi = (pkid?: string): Promise => { + return request.postJson({ url: '/SuspiciousTraceDeal/spi/SuspiciousTraceDeal/SuspiciousTraceDeal/SuspiciousTraceDealQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/SuspiciousTraceDeal/sui/SuspiciousTraceDeal/SuspiciousTraceDeal/SuspiciousTraceDealImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/SuspiciousTraceDeal/sui/SuspiciousTraceDeal/SuspiciousTraceDeal/SuspiciousTraceDealImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/SuspiciousTraceDeal/sdi/SuspiciousTraceDeal/SuspiciousTraceDeal/SuspiciousTraceDealExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/SuspiciousTraceDeal/SuspiciousTraceDeal/types.ts b/src/api/amld/SuspiciousTraceDeal/SuspiciousTraceDeal/types.ts new file mode 100644 index 0000000..baac5e7 --- /dev/null +++ b/src/api/amld/SuspiciousTraceDeal/SuspiciousTraceDeal/types.ts @@ -0,0 +1,196 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} diff --git a/src/api/amld/TransactionInfo/TransactionInfo/index.ts b/src/api/amld/TransactionInfo/TransactionInfo/index.ts new file mode 100644 index 0000000..c5a1632 --- /dev/null +++ b/src/api/amld/TransactionInfo/TransactionInfo/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getTransactionInfoListApi = (data: any) => { + return request.postJson({ url: '/TransactionInfo/spi/TransactionInfo/TransactionInfo/TransactionInfoQueryPage', data }); +}; + +/** 批量删除 */ +export const delTransactionInfoListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/TransactionInfo/spi/TransactionInfo/TransactionInfo/TransactionInfoBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delTransactionInfoApi = (pkid?: string): Promise => { + return request.postJson({ url: '/TransactionInfo/spi/TransactionInfo/TransactionInfo/TransactionInfoDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveTransactionInfoApi = (data: Partial): Promise => { + return request.postJson({ url: '/TransactionInfo/spi/TransactionInfo/TransactionInfo/TransactionInfoSave', data }); +}; + +/** 查询单条数据 */ +export const queryTransactionInfoApi = (pkid?: string): Promise => { + return request.postJson({ url: '/TransactionInfo/spi/TransactionInfo/TransactionInfo/TransactionInfoQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/TransactionInfo/sui/TransactionInfo/TransactionInfo/TransactionInfoImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/TransactionInfo/sui/TransactionInfo/TransactionInfo/TransactionInfoImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/TransactionInfo/sdi/TransactionInfo/TransactionInfo/TransactionInfoExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/TransactionInfo/TransactionInfo/types.ts b/src/api/amld/TransactionInfo/TransactionInfo/types.ts new file mode 100644 index 0000000..35a2757 --- /dev/null +++ b/src/api/amld/TransactionInfo/TransactionInfo/types.ts @@ -0,0 +1,468 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序列字段 */ + pkid?: string + /** 规则编号 */ + autoCode?: string + /** 计算日期 */ + cctDate?: string + /** 规则表 */ + ruleCode?: string + /** 对应AML_RULE_IDX表IDX_CODE个字段 */ + idxCode?: string + /** 交易类型 */ + ruleType?: string + /** 类型 */ + cctType?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 身份证号 */ + ssnNo?: string + /** 客户证件类型 */ + ssnNotype?: string + /** 客户国籍 */ + custCountry?: string + /** 客户联系电话 */ + custTel?: string + /** 客户住址 */ + custAddress?: string + /** 客户其他联系方式 */ + custContactway?: string + /** 客户对公对私标识 */ + custPptype?: string + /** 对私客户职业或对公客户行也 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: number + /** 法定代表人姓名 */ + corporationName?: string + /** 法定代表人身份类型 */ + corporationCardtye?: string + /** 法定代表人身份证号码 */ + corporationCardno?: string + /** 开户机构号 */ + custOrgancode?: string + /** 客户性质 */ + custClipro?: string + /** 金融机构代码 */ + tranOrgan?: string + /** 金融机构代码类型 */ + tranOrgantype?: string + /** 交易机构 */ + tranOrganname?: string + /** 交易发生地 */ + tranAddress?: string + /** 金融机构所在地区行政区划代码 */ + tranAddresscode?: string + /** 交易账户 */ + tranAcct?: string + /** 账号名称 */ + tranAcctname?: string + /** 账户类型 */ + tranAccttype?: string + /** 活定期标志 */ + tranAccthdflg?: string + /** 账户性质 */ + tranAccthr?: string + /** 产品号 */ + tranAcctprdid?: string + /** 交易方式 */ + tranType?: string + /** 金融机构和大额关系 */ + tranBh?: string + /** 流水号 */ + serialNo?: string + /** 交易日期 */ + tranDate?: string + /** 交易时间 */ + tranTime?: string + /** 涉外收支交易分类与代码 */ + tsct?: string + /** 币种 */ + currencyCode?: string + /** 交易金额 */ + amount?: number + /** 资金收付标志 */ + sendcode?: string + /** 资金用途 */ + fundUse?: string + /** 代办人证件类型 */ + bterPaperstype?: string + /** 代办人姓名 */ + bterName?: string + /** 代办人国籍 */ + bterNationality?: string + /** 代办人证件号码 */ + bterPaersno?: string + /** 对方金融机构代码 */ + oppOrgan?: string + /** 对方金融机构代码类型 */ + oppOrgancodetype?: string + /** 对方机构 */ + oppOrganname?: string + /** 交易去向地 */ + oppAddress?: string + /** 对手金融机构网点行政区划代码 */ + opporgAddresscode?: string + /** 对手姓名 */ + oppName?: string + /** 对手证件类型 */ + oppPaperstype?: string + /** 对方证件号 */ + oppPapersno?: string + /** 对手账户类型 */ + oppAccttype?: string + /** 交易对手账号 */ + oppAcctt?: string + /** 柜员号 */ + telid?: string + /** 交易来源 */ + txtm?: string + /** 交易凭证类型 */ + doctyp?: string + /** 交易凭证号 */ + stvn?: string + /** 卡号 */ + crdno?: string + /** 人行上报的账户或者卡号 */ + ctac?: string + /** 交易状态 */ + status?: string + /** 下发状态 */ + issend?: string + /** 是否补录 */ + ismanualrecord?: string + /** 回执错误信息内容 */ + retErrors?: string + /** 回执错误对应的XPATH解析出报文中的错误内容 */ + retxpathRepcontent?: string + /** 回执结果编号 */ + retCode?: string + /** 预警排除备注信息 */ + warnRemark?: string + /** 开户时间 */ + opendate?: string + /** 销户时间 */ + closedate?: string + /** 补录id */ + manualrecord?: string + /** 对方客户性质 */ + clipro2?: string + /** 对方活定标志 */ + hdflg2?: string + /** 账户性质 */ + accchr2?: string + /** 对方产品号 */ + prdid2?: string + /** 现转标志 */ + ctflg?: string + /** 交易来源 */ + txcm?: string + /** 开户机构号 */ + openorg?: string + /** 大额的交易机构号 */ + orgcode?: string + /** 机构的报告主体 */ + orgbody?: string + /** 客户类型 */ + oppCustPptype?: string + /** 校验状态 */ + attribute1?: string + /** RULE_CODE的list */ + attribute2?: string + /** 每个自主交易规则的分数 */ + attribute3?: string + /** 是否给出过评审意见 */ + attribute4?: string + /** 客户身份证件/证明文件名称 */ + cuspbkname?: string + /** 对公客户法定代表人身份证件名称 */ + jrdpbna?: string + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 银行卡类型 */ + cardType?: string + /** 银行卡类型名称 */ + cardName?: string + /** 银行卡号码 */ + cardno?: string + /** 代办人身份证件/证明文件名称 */ + agtidn?: string + /** 交易对手身份证件/证明文件名称 */ + cuspbkname1?: string + /** 交易金额(折人民币) */ + amtCny?: number + /** 交易金额(折美元) */ + amtUsd?: number + /** 收付款方匹配号类型 */ + matchtype?: string + /** 收付款方匹配号 */ + matchno?: string + /** 非柜台交易方式 */ + countcode?: string + /** 其他非柜台交易方式 */ + ocountcode?: string + /** 非柜台交易方式的设备代码 */ + countno?: string + /** 交易对手账户类型 */ + acctype2?: string + /** 金融机构与客户的关系 */ + betrel?: string + /** 银行与支付机构之间的业务交易编码 */ + betrancode?: string + /** 交易信息备注 */ + tranremark?: string + /** 操作人 */ + oplasttime?: string + /** 操作时间 */ + opuser?: string + /** 涉外收支交易分类与代码 */ + fortrancode?: string + /** 标志 */ + txflg?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序列字段 */ + pkid?: string + /** 规则编号 */ + autoCode?: string + /** 计算日期 */ + cctDate?: string + /** 规则表 */ + ruleCode?: string + /** 对应AML_RULE_IDX表IDX_CODE个字段 */ + idxCode?: string + /** 交易类型 */ + ruleType?: string + /** 类型 */ + cctType?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 身份证号 */ + ssnNo?: string + /** 客户证件类型 */ + ssnNotype?: string + /** 客户国籍 */ + custCountry?: string + /** 客户联系电话 */ + custTel?: string + /** 客户住址 */ + custAddress?: string + /** 客户其他联系方式 */ + custContactway?: string + /** 客户对公对私标识 */ + custPptype?: string + /** 对私客户职业或对公客户行也 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: number + /** 法定代表人姓名 */ + corporationName?: string + /** 法定代表人身份类型 */ + corporationCardtye?: string + /** 法定代表人身份证号码 */ + corporationCardno?: string + /** 开户机构号 */ + custOrgancode?: string + /** 客户性质 */ + custClipro?: string + /** 金融机构代码 */ + tranOrgan?: string + /** 金融机构代码类型 */ + tranOrgantype?: string + /** 交易机构 */ + tranOrganname?: string + /** 交易发生地 */ + tranAddress?: string + /** 金融机构所在地区行政区划代码 */ + tranAddresscode?: string + /** 交易账户 */ + tranAcct?: string + /** 账号名称 */ + tranAcctname?: string + /** 账户类型 */ + tranAccttype?: string + /** 活定期标志 */ + tranAccthdflg?: string + /** 账户性质 */ + tranAccthr?: string + /** 产品号 */ + tranAcctprdid?: string + /** 交易方式 */ + tranType?: string + /** 金融机构和大额关系 */ + tranBh?: string + /** 流水号 */ + serialNo?: string + /** 交易日期 */ + tranDate?: string + /** 交易时间 */ + tranTime?: string + /** 涉外收支交易分类与代码 */ + tsct?: string + /** 币种 */ + currencyCode?: string + /** 交易金额 */ + amount?: number + /** 资金收付标志 */ + sendcode?: string + /** 资金用途 */ + fundUse?: string + /** 代办人证件类型 */ + bterPaperstype?: string + /** 代办人姓名 */ + bterName?: string + /** 代办人国籍 */ + bterNationality?: string + /** 代办人证件号码 */ + bterPaersno?: string + /** 对方金融机构代码 */ + oppOrgan?: string + /** 对方金融机构代码类型 */ + oppOrgancodetype?: string + /** 对方机构 */ + oppOrganname?: string + /** 交易去向地 */ + oppAddress?: string + /** 对手金融机构网点行政区划代码 */ + opporgAddresscode?: string + /** 对手姓名 */ + oppName?: string + /** 对手证件类型 */ + oppPaperstype?: string + /** 对方证件号 */ + oppPapersno?: string + /** 对手账户类型 */ + oppAccttype?: string + /** 交易对手账号 */ + oppAcctt?: string + /** 柜员号 */ + telid?: string + /** 交易来源 */ + txtm?: string + /** 交易凭证类型 */ + doctyp?: string + /** 交易凭证号 */ + stvn?: string + /** 卡号 */ + crdno?: string + /** 人行上报的账户或者卡号 */ + ctac?: string + /** 交易状态 */ + status?: string + /** 下发状态 */ + issend?: string + /** 是否补录 */ + ismanualrecord?: string + /** 回执错误信息内容 */ + retErrors?: string + /** 回执错误对应的XPATH解析出报文中的错误内容 */ + retxpathRepcontent?: string + /** 回执结果编号 */ + retCode?: string + /** 预警排除备注信息 */ + warnRemark?: string + /** 开户时间 */ + opendate?: string + /** 销户时间 */ + closedate?: string + /** 补录id */ + manualrecord?: string + /** 对方客户性质 */ + clipro2?: string + /** 对方活定标志 */ + hdflg2?: string + /** 账户性质 */ + accchr2?: string + /** 对方产品号 */ + prdid2?: string + /** 现转标志 */ + ctflg?: string + /** 交易来源 */ + txcm?: string + /** 开户机构号 */ + openorg?: string + /** 大额的交易机构号 */ + orgcode?: string + /** 机构的报告主体 */ + orgbody?: string + /** 客户类型 */ + oppCustPptype?: string + /** 校验状态 */ + attribute1?: string + /** RULE_CODE的list */ + attribute2?: string + /** 每个自主交易规则的分数 */ + attribute3?: string + /** 是否给出过评审意见 */ + attribute4?: string + /** 客户身份证件/证明文件名称 */ + cuspbkname?: string + /** 对公客户法定代表人身份证件名称 */ + jrdpbna?: string + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 银行卡类型 */ + cardType?: string + /** 银行卡类型名称 */ + cardName?: string + /** 银行卡号码 */ + cardno?: string + /** 代办人身份证件/证明文件名称 */ + agtidn?: string + /** 交易对手身份证件/证明文件名称 */ + cuspbkname1?: string + /** 交易金额(折人民币) */ + amtCny?: number + /** 交易金额(折美元) */ + amtUsd?: number + /** 收付款方匹配号类型 */ + matchtype?: string + /** 收付款方匹配号 */ + matchno?: string + /** 非柜台交易方式 */ + countcode?: string + /** 其他非柜台交易方式 */ + ocountcode?: string + /** 非柜台交易方式的设备代码 */ + countno?: string + /** 交易对手账户类型 */ + acctype2?: string + /** 金融机构与客户的关系 */ + betrel?: string + /** 银行与支付机构之间的业务交易编码 */ + betrancode?: string + /** 交易信息备注 */ + tranremark?: string + /** 操作人 */ + oplasttime?: string + /** 操作时间 */ + opuser?: string + /** 涉外收支交易分类与代码 */ + fortrancode?: string + /** 标志 */ + txflg?: string +} diff --git a/src/api/amld/UploadDataDelete/UploadDataDelete/index.ts b/src/api/amld/UploadDataDelete/UploadDataDelete/index.ts new file mode 100644 index 0000000..8d89ce4 --- /dev/null +++ b/src/api/amld/UploadDataDelete/UploadDataDelete/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getUploadDataDeleteListApi = (data: any) => { + return request.postJson({ url: '/UploadDataDelete/spi/UploadDataDelete/UploadDataDelete/UploadDataDeleteQueryPage', data }); +}; + +/** 批量删除 */ +export const delUploadDataDeleteListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/UploadDataDelete/spi/UploadDataDelete/UploadDataDelete/UploadDataDeleteBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delUploadDataDeleteApi = (pkid?: string): Promise => { + return request.postJson({ url: '/UploadDataDelete/spi/UploadDataDelete/UploadDataDelete/UploadDataDeleteDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveUploadDataDeleteApi = (data: Partial): Promise => { + return request.postJson({ url: '/UploadDataDelete/spi/UploadDataDelete/UploadDataDelete/UploadDataDeleteSave', data }); +}; + +/** 查询单条数据 */ +export const queryUploadDataDeleteApi = (pkid?: string): Promise => { + return request.postJson({ url: '/UploadDataDelete/spi/UploadDataDelete/UploadDataDelete/UploadDataDeleteQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/UploadDataDelete/sui/UploadDataDelete/UploadDataDelete/UploadDataDeleteImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/UploadDataDelete/sui/UploadDataDelete/UploadDataDelete/UploadDataDeleteImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/UploadDataDelete/sdi/UploadDataDelete/UploadDataDelete/UploadDataDeleteExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/UploadDataDelete/UploadDataDelete/types.ts b/src/api/amld/UploadDataDelete/UploadDataDelete/types.ts new file mode 100644 index 0000000..1d2c49a --- /dev/null +++ b/src/api/amld/UploadDataDelete/UploadDataDelete/types.ts @@ -0,0 +1,468 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序列字段 */ + pkid?: string + /** 规则编号 */ + autoCode?: string + /** 计算日期 */ + cctDate?: string + /** 规则表 */ + ruleCode?: string + /** 对应AML_RULE_IDX表IDX_CODE个字段 */ + idxCode?: string + /** 交易类型 */ + ruleType?: string + /** 类型 */ + cctType?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 身份证号 */ + ssnNo?: string + /** 客户证件类型 */ + ssnNotype?: string + /** 客户国籍 */ + custCountry?: string + /** 客户联系电话 */ + custTel?: string + /** 客户住址 */ + custAddress?: string + /** 客户其他联系方式 */ + custContactway?: string + /** 客户对公对私标示 交易对手客户类型 01对公 02 对私 */ + custPptype?: string + /** 对私客户职业或对公客户行也 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: number + /** 法定代表人姓名 */ + corporationName?: string + /** 法定代表人身份类型 */ + corporationCardtye?: string + /** 法定代表人身份证号码 */ + corporationCardno?: string + /** 开户机构号 */ + custOrgancode?: string + /** 客户性质 */ + custClipro?: string + /** 金融机构代码 */ + tranOrgan?: string + /** 金融机构代码类型 */ + tranOrgantype?: string + /** 交易机构 */ + tranOrganname?: string + /** 交易发生地 */ + tranAddress?: string + /** 金融机构所在地区行政区划代码 */ + tranAddresscode?: string + /** 交易账户 */ + tranAcct?: string + /** 账号名称 */ + tranAcctname?: string + /** 账户类型 */ + tranAccttype?: string + /** 活定期标志 */ + tranAccthdflg?: string + /** 账户性质 */ + tranAccthr?: string + /** 产品号 */ + tranAcctprdid?: string + /** 交易方式 */ + tranType?: string + /** 金融机构和大额关系 */ + tranBh?: string + /** 流水号 */ + serialNo?: string + /** 交易日期 */ + tranDate?: string + /** 交易时间 */ + tranTime?: string + /** 涉外收支交易分类与代码 */ + tsct?: string + /** 币种 */ + currencyCode?: string + /** 交易金额 */ + amount?: number + /** 资金收付标志 */ + sendcode?: string + /** 资金用途 */ + fundUse?: string + /** 代办人证件类型 */ + bterPaperstype?: string + /** 代办人姓名 */ + bterName?: string + /** 代办人国籍 */ + bterNationality?: string + /** 代办人证件号码 */ + bterPaersno?: string + /** 对方金融机构代码 */ + oppOrgan?: string + /** 对方金融机构代码类型 */ + oppOrgancodetype?: string + /** 对方机构 */ + oppOrganname?: string + /** 交易去向地 */ + oppAddress?: string + /** 对手金融机构网点行政区划代码 */ + opporgAddresscode?: string + /** 对手姓名 */ + oppName?: string + /** 对手证件类型 */ + oppPaperstype?: string + /** 对方证件号 */ + oppPapersno?: string + /** 对手账户类型 */ + oppAccttype?: string + /** 交易对手账号 */ + oppAcctt?: string + /** 柜员号 */ + telid?: string + /** 交易来源 */ + txtm?: string + /** 交易凭证类型 */ + doctyp?: string + /** 交易凭证号 */ + stvn?: string + /** 卡号 */ + crdno?: string + /** 人行上报的账户或者卡号 */ + ctac?: string + /** 交易状态 */ + status?: string + /** 下发状态 */ + issend?: string + /** 是否补录 */ + ismanualrecord?: string + /** 回执错误信息内容 */ + retErrors?: string + /** 回执错误对应的XPATH解析出报文中的错误内容 */ + retxpathRepcontent?: string + /** 回执结果编号 */ + retCode?: string + /** 预警排除备注信息 */ + warnRemark?: string + /** 开户时间 */ + opendate?: string + /** 销户时间 */ + closedate?: string + /** 补录id */ + manualrecord?: string + /** 对方客户性质 */ + clipro2?: string + /** 对方活定标志 */ + hdflg2?: string + /** 账户性质 */ + accchr2?: string + /** 对方产品号 */ + prdid2?: string + /** 现转标志 */ + ctflg?: string + /** 交易来源 */ + txcm?: string + /** 开户机构号 */ + openorg?: string + /** 大额的交易机构号 */ + orgcode?: string + /** 机构的报告主体 */ + orgbody?: string + /** 交易对手客户类型 */ + oppCustPptype?: string + /** 校验状态 */ + attribute1?: string + /** RULE_CODE的list */ + attribute2?: string + /** 每个自主交易规则的分数 */ + attribute3?: string + /** 是否给出过评审意见 */ + attribute4?: string + /** 客户身份证件/证明文件名称 */ + cuspbkname?: string + /** 对公客户法定代表人身份证件名称 */ + jrdpbna?: string + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 银行卡类型 */ + cardType?: string + /** 银行卡类型名称 */ + cardName?: string + /** 银行卡号码 */ + cardno?: string + /** 代办人身份证件/证明文件名称 */ + agtidn?: string + /** 交易对手身份证件/证明文件名称 */ + cuspbkname1?: string + /** 交易金额(折人民币) */ + amtCny?: number + /** 交易金额(折美元) */ + amtUsd?: number + /** 收付款方匹配号类型 */ + matchtype?: string + /** 收付款方匹配号 */ + matchno?: string + /** 非柜台交易方式 */ + countcode?: string + /** 其他非柜台交易方式 */ + ocountcode?: string + /** 非柜台交易方式的设备代码 */ + countno?: string + /** 交易对手账户类型 */ + acctype2?: string + /** 金融机构与客户的关系 */ + betrel?: string + /** 银行与支付机构之间的业务交易编码 */ + betrancode?: string + /** 交易信息备注 */ + tranremark?: string + /** 操作人 */ + oplasttime?: string + /** 操作时间 */ + opuser?: string + /** 涉外收支交易分类与代码 */ + fortrancode?: string + /** 标志 */ + txflg?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序列字段 */ + pkid?: string + /** 规则编号 */ + autoCode?: string + /** 计算日期 */ + cctDate?: string + /** 规则表 */ + ruleCode?: string + /** 对应AML_RULE_IDX表IDX_CODE个字段 */ + idxCode?: string + /** 交易类型 */ + ruleType?: string + /** 类型 */ + cctType?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 身份证号 */ + ssnNo?: string + /** 客户证件类型 */ + ssnNotype?: string + /** 客户国籍 */ + custCountry?: string + /** 客户联系电话 */ + custTel?: string + /** 客户住址 */ + custAddress?: string + /** 客户其他联系方式 */ + custContactway?: string + /** 客户对公对私标示 交易对手客户类型 01对公 02 对私 */ + custPptype?: string + /** 对私客户职业或对公客户行也 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: number + /** 法定代表人姓名 */ + corporationName?: string + /** 法定代表人身份类型 */ + corporationCardtye?: string + /** 法定代表人身份证号码 */ + corporationCardno?: string + /** 开户机构号 */ + custOrgancode?: string + /** 客户性质 */ + custClipro?: string + /** 金融机构代码 */ + tranOrgan?: string + /** 金融机构代码类型 */ + tranOrgantype?: string + /** 交易机构 */ + tranOrganname?: string + /** 交易发生地 */ + tranAddress?: string + /** 金融机构所在地区行政区划代码 */ + tranAddresscode?: string + /** 交易账户 */ + tranAcct?: string + /** 账号名称 */ + tranAcctname?: string + /** 账户类型 */ + tranAccttype?: string + /** 活定期标志 */ + tranAccthdflg?: string + /** 账户性质 */ + tranAccthr?: string + /** 产品号 */ + tranAcctprdid?: string + /** 交易方式 */ + tranType?: string + /** 金融机构和大额关系 */ + tranBh?: string + /** 流水号 */ + serialNo?: string + /** 交易日期 */ + tranDate?: string + /** 交易时间 */ + tranTime?: string + /** 涉外收支交易分类与代码 */ + tsct?: string + /** 币种 */ + currencyCode?: string + /** 交易金额 */ + amount?: number + /** 资金收付标志 */ + sendcode?: string + /** 资金用途 */ + fundUse?: string + /** 代办人证件类型 */ + bterPaperstype?: string + /** 代办人姓名 */ + bterName?: string + /** 代办人国籍 */ + bterNationality?: string + /** 代办人证件号码 */ + bterPaersno?: string + /** 对方金融机构代码 */ + oppOrgan?: string + /** 对方金融机构代码类型 */ + oppOrgancodetype?: string + /** 对方机构 */ + oppOrganname?: string + /** 交易去向地 */ + oppAddress?: string + /** 对手金融机构网点行政区划代码 */ + opporgAddresscode?: string + /** 对手姓名 */ + oppName?: string + /** 对手证件类型 */ + oppPaperstype?: string + /** 对方证件号 */ + oppPapersno?: string + /** 对手账户类型 */ + oppAccttype?: string + /** 交易对手账号 */ + oppAcctt?: string + /** 柜员号 */ + telid?: string + /** 交易来源 */ + txtm?: string + /** 交易凭证类型 */ + doctyp?: string + /** 交易凭证号 */ + stvn?: string + /** 卡号 */ + crdno?: string + /** 人行上报的账户或者卡号 */ + ctac?: string + /** 交易状态 */ + status?: string + /** 下发状态 */ + issend?: string + /** 是否补录 */ + ismanualrecord?: string + /** 回执错误信息内容 */ + retErrors?: string + /** 回执错误对应的XPATH解析出报文中的错误内容 */ + retxpathRepcontent?: string + /** 回执结果编号 */ + retCode?: string + /** 预警排除备注信息 */ + warnRemark?: string + /** 开户时间 */ + opendate?: string + /** 销户时间 */ + closedate?: string + /** 补录id */ + manualrecord?: string + /** 对方客户性质 */ + clipro2?: string + /** 对方活定标志 */ + hdflg2?: string + /** 账户性质 */ + accchr2?: string + /** 对方产品号 */ + prdid2?: string + /** 现转标志 */ + ctflg?: string + /** 交易来源 */ + txcm?: string + /** 开户机构号 */ + openorg?: string + /** 大额的交易机构号 */ + orgcode?: string + /** 机构的报告主体 */ + orgbody?: string + /** 交易对手客户类型 */ + oppCustPptype?: string + /** 校验状态 */ + attribute1?: string + /** RULE_CODE的list */ + attribute2?: string + /** 每个自主交易规则的分数 */ + attribute3?: string + /** 是否给出过评审意见 */ + attribute4?: string + /** 客户身份证件/证明文件名称 */ + cuspbkname?: string + /** 对公客户法定代表人身份证件名称 */ + jrdpbna?: string + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 银行卡类型 */ + cardType?: string + /** 银行卡类型名称 */ + cardName?: string + /** 银行卡号码 */ + cardno?: string + /** 代办人身份证件/证明文件名称 */ + agtidn?: string + /** 交易对手身份证件/证明文件名称 */ + cuspbkname1?: string + /** 交易金额(折人民币) */ + amtCny?: number + /** 交易金额(折美元) */ + amtUsd?: number + /** 收付款方匹配号类型 */ + matchtype?: string + /** 收付款方匹配号 */ + matchno?: string + /** 非柜台交易方式 */ + countcode?: string + /** 其他非柜台交易方式 */ + ocountcode?: string + /** 非柜台交易方式的设备代码 */ + countno?: string + /** 交易对手账户类型 */ + acctype2?: string + /** 金融机构与客户的关系 */ + betrel?: string + /** 银行与支付机构之间的业务交易编码 */ + betrancode?: string + /** 交易信息备注 */ + tranremark?: string + /** 操作人 */ + oplasttime?: string + /** 操作时间 */ + opuser?: string + /** 涉外收支交易分类与代码 */ + fortrancode?: string + /** 标志 */ + txflg?: string +} diff --git a/src/api/amld/UploadDataError/UploadDataError/index.ts b/src/api/amld/UploadDataError/UploadDataError/index.ts new file mode 100644 index 0000000..16e6287 --- /dev/null +++ b/src/api/amld/UploadDataError/UploadDataError/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getUploadDataErrorListApi = (data: any) => { + return request.postJson({ url: '/UploadDataError/spi/UploadDataError/UploadDataError/UploadDataErrorQueryPage', data }); +}; + +/** 批量删除 */ +export const delUploadDataErrorListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/UploadDataError/spi/UploadDataError/UploadDataError/UploadDataErrorBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delUploadDataErrorApi = (pkid?: string): Promise => { + return request.postJson({ url: '/UploadDataError/spi/UploadDataError/UploadDataError/UploadDataErrorDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveUploadDataErrorApi = (data: Partial): Promise => { + return request.postJson({ url: '/UploadDataError/spi/UploadDataError/UploadDataError/UploadDataErrorSave', data }); +}; + +/** 查询单条数据 */ +export const queryUploadDataErrorApi = (pkid?: string): Promise => { + return request.postJson({ url: '/UploadDataError/spi/UploadDataError/UploadDataError/UploadDataErrorQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/UploadDataError/sui/UploadDataError/UploadDataError/UploadDataErrorImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/UploadDataError/sui/UploadDataError/UploadDataError/UploadDataErrorImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/UploadDataError/sdi/UploadDataError/UploadDataError/UploadDataErrorExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/UploadDataError/UploadDataError/types.ts b/src/api/amld/UploadDataError/UploadDataError/types.ts new file mode 100644 index 0000000..1d2c49a --- /dev/null +++ b/src/api/amld/UploadDataError/UploadDataError/types.ts @@ -0,0 +1,468 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序列字段 */ + pkid?: string + /** 规则编号 */ + autoCode?: string + /** 计算日期 */ + cctDate?: string + /** 规则表 */ + ruleCode?: string + /** 对应AML_RULE_IDX表IDX_CODE个字段 */ + idxCode?: string + /** 交易类型 */ + ruleType?: string + /** 类型 */ + cctType?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 身份证号 */ + ssnNo?: string + /** 客户证件类型 */ + ssnNotype?: string + /** 客户国籍 */ + custCountry?: string + /** 客户联系电话 */ + custTel?: string + /** 客户住址 */ + custAddress?: string + /** 客户其他联系方式 */ + custContactway?: string + /** 客户对公对私标示 交易对手客户类型 01对公 02 对私 */ + custPptype?: string + /** 对私客户职业或对公客户行也 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: number + /** 法定代表人姓名 */ + corporationName?: string + /** 法定代表人身份类型 */ + corporationCardtye?: string + /** 法定代表人身份证号码 */ + corporationCardno?: string + /** 开户机构号 */ + custOrgancode?: string + /** 客户性质 */ + custClipro?: string + /** 金融机构代码 */ + tranOrgan?: string + /** 金融机构代码类型 */ + tranOrgantype?: string + /** 交易机构 */ + tranOrganname?: string + /** 交易发生地 */ + tranAddress?: string + /** 金融机构所在地区行政区划代码 */ + tranAddresscode?: string + /** 交易账户 */ + tranAcct?: string + /** 账号名称 */ + tranAcctname?: string + /** 账户类型 */ + tranAccttype?: string + /** 活定期标志 */ + tranAccthdflg?: string + /** 账户性质 */ + tranAccthr?: string + /** 产品号 */ + tranAcctprdid?: string + /** 交易方式 */ + tranType?: string + /** 金融机构和大额关系 */ + tranBh?: string + /** 流水号 */ + serialNo?: string + /** 交易日期 */ + tranDate?: string + /** 交易时间 */ + tranTime?: string + /** 涉外收支交易分类与代码 */ + tsct?: string + /** 币种 */ + currencyCode?: string + /** 交易金额 */ + amount?: number + /** 资金收付标志 */ + sendcode?: string + /** 资金用途 */ + fundUse?: string + /** 代办人证件类型 */ + bterPaperstype?: string + /** 代办人姓名 */ + bterName?: string + /** 代办人国籍 */ + bterNationality?: string + /** 代办人证件号码 */ + bterPaersno?: string + /** 对方金融机构代码 */ + oppOrgan?: string + /** 对方金融机构代码类型 */ + oppOrgancodetype?: string + /** 对方机构 */ + oppOrganname?: string + /** 交易去向地 */ + oppAddress?: string + /** 对手金融机构网点行政区划代码 */ + opporgAddresscode?: string + /** 对手姓名 */ + oppName?: string + /** 对手证件类型 */ + oppPaperstype?: string + /** 对方证件号 */ + oppPapersno?: string + /** 对手账户类型 */ + oppAccttype?: string + /** 交易对手账号 */ + oppAcctt?: string + /** 柜员号 */ + telid?: string + /** 交易来源 */ + txtm?: string + /** 交易凭证类型 */ + doctyp?: string + /** 交易凭证号 */ + stvn?: string + /** 卡号 */ + crdno?: string + /** 人行上报的账户或者卡号 */ + ctac?: string + /** 交易状态 */ + status?: string + /** 下发状态 */ + issend?: string + /** 是否补录 */ + ismanualrecord?: string + /** 回执错误信息内容 */ + retErrors?: string + /** 回执错误对应的XPATH解析出报文中的错误内容 */ + retxpathRepcontent?: string + /** 回执结果编号 */ + retCode?: string + /** 预警排除备注信息 */ + warnRemark?: string + /** 开户时间 */ + opendate?: string + /** 销户时间 */ + closedate?: string + /** 补录id */ + manualrecord?: string + /** 对方客户性质 */ + clipro2?: string + /** 对方活定标志 */ + hdflg2?: string + /** 账户性质 */ + accchr2?: string + /** 对方产品号 */ + prdid2?: string + /** 现转标志 */ + ctflg?: string + /** 交易来源 */ + txcm?: string + /** 开户机构号 */ + openorg?: string + /** 大额的交易机构号 */ + orgcode?: string + /** 机构的报告主体 */ + orgbody?: string + /** 交易对手客户类型 */ + oppCustPptype?: string + /** 校验状态 */ + attribute1?: string + /** RULE_CODE的list */ + attribute2?: string + /** 每个自主交易规则的分数 */ + attribute3?: string + /** 是否给出过评审意见 */ + attribute4?: string + /** 客户身份证件/证明文件名称 */ + cuspbkname?: string + /** 对公客户法定代表人身份证件名称 */ + jrdpbna?: string + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 银行卡类型 */ + cardType?: string + /** 银行卡类型名称 */ + cardName?: string + /** 银行卡号码 */ + cardno?: string + /** 代办人身份证件/证明文件名称 */ + agtidn?: string + /** 交易对手身份证件/证明文件名称 */ + cuspbkname1?: string + /** 交易金额(折人民币) */ + amtCny?: number + /** 交易金额(折美元) */ + amtUsd?: number + /** 收付款方匹配号类型 */ + matchtype?: string + /** 收付款方匹配号 */ + matchno?: string + /** 非柜台交易方式 */ + countcode?: string + /** 其他非柜台交易方式 */ + ocountcode?: string + /** 非柜台交易方式的设备代码 */ + countno?: string + /** 交易对手账户类型 */ + acctype2?: string + /** 金融机构与客户的关系 */ + betrel?: string + /** 银行与支付机构之间的业务交易编码 */ + betrancode?: string + /** 交易信息备注 */ + tranremark?: string + /** 操作人 */ + oplasttime?: string + /** 操作时间 */ + opuser?: string + /** 涉外收支交易分类与代码 */ + fortrancode?: string + /** 标志 */ + txflg?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序列字段 */ + pkid?: string + /** 规则编号 */ + autoCode?: string + /** 计算日期 */ + cctDate?: string + /** 规则表 */ + ruleCode?: string + /** 对应AML_RULE_IDX表IDX_CODE个字段 */ + idxCode?: string + /** 交易类型 */ + ruleType?: string + /** 类型 */ + cctType?: string + /** 客户号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 身份证号 */ + ssnNo?: string + /** 客户证件类型 */ + ssnNotype?: string + /** 客户国籍 */ + custCountry?: string + /** 客户联系电话 */ + custTel?: string + /** 客户住址 */ + custAddress?: string + /** 客户其他联系方式 */ + custContactway?: string + /** 客户对公对私标示 交易对手客户类型 01对公 02 对私 */ + custPptype?: string + /** 对私客户职业或对公客户行也 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: number + /** 法定代表人姓名 */ + corporationName?: string + /** 法定代表人身份类型 */ + corporationCardtye?: string + /** 法定代表人身份证号码 */ + corporationCardno?: string + /** 开户机构号 */ + custOrgancode?: string + /** 客户性质 */ + custClipro?: string + /** 金融机构代码 */ + tranOrgan?: string + /** 金融机构代码类型 */ + tranOrgantype?: string + /** 交易机构 */ + tranOrganname?: string + /** 交易发生地 */ + tranAddress?: string + /** 金融机构所在地区行政区划代码 */ + tranAddresscode?: string + /** 交易账户 */ + tranAcct?: string + /** 账号名称 */ + tranAcctname?: string + /** 账户类型 */ + tranAccttype?: string + /** 活定期标志 */ + tranAccthdflg?: string + /** 账户性质 */ + tranAccthr?: string + /** 产品号 */ + tranAcctprdid?: string + /** 交易方式 */ + tranType?: string + /** 金融机构和大额关系 */ + tranBh?: string + /** 流水号 */ + serialNo?: string + /** 交易日期 */ + tranDate?: string + /** 交易时间 */ + tranTime?: string + /** 涉外收支交易分类与代码 */ + tsct?: string + /** 币种 */ + currencyCode?: string + /** 交易金额 */ + amount?: number + /** 资金收付标志 */ + sendcode?: string + /** 资金用途 */ + fundUse?: string + /** 代办人证件类型 */ + bterPaperstype?: string + /** 代办人姓名 */ + bterName?: string + /** 代办人国籍 */ + bterNationality?: string + /** 代办人证件号码 */ + bterPaersno?: string + /** 对方金融机构代码 */ + oppOrgan?: string + /** 对方金融机构代码类型 */ + oppOrgancodetype?: string + /** 对方机构 */ + oppOrganname?: string + /** 交易去向地 */ + oppAddress?: string + /** 对手金融机构网点行政区划代码 */ + opporgAddresscode?: string + /** 对手姓名 */ + oppName?: string + /** 对手证件类型 */ + oppPaperstype?: string + /** 对方证件号 */ + oppPapersno?: string + /** 对手账户类型 */ + oppAccttype?: string + /** 交易对手账号 */ + oppAcctt?: string + /** 柜员号 */ + telid?: string + /** 交易来源 */ + txtm?: string + /** 交易凭证类型 */ + doctyp?: string + /** 交易凭证号 */ + stvn?: string + /** 卡号 */ + crdno?: string + /** 人行上报的账户或者卡号 */ + ctac?: string + /** 交易状态 */ + status?: string + /** 下发状态 */ + issend?: string + /** 是否补录 */ + ismanualrecord?: string + /** 回执错误信息内容 */ + retErrors?: string + /** 回执错误对应的XPATH解析出报文中的错误内容 */ + retxpathRepcontent?: string + /** 回执结果编号 */ + retCode?: string + /** 预警排除备注信息 */ + warnRemark?: string + /** 开户时间 */ + opendate?: string + /** 销户时间 */ + closedate?: string + /** 补录id */ + manualrecord?: string + /** 对方客户性质 */ + clipro2?: string + /** 对方活定标志 */ + hdflg2?: string + /** 账户性质 */ + accchr2?: string + /** 对方产品号 */ + prdid2?: string + /** 现转标志 */ + ctflg?: string + /** 交易来源 */ + txcm?: string + /** 开户机构号 */ + openorg?: string + /** 大额的交易机构号 */ + orgcode?: string + /** 机构的报告主体 */ + orgbody?: string + /** 交易对手客户类型 */ + oppCustPptype?: string + /** 校验状态 */ + attribute1?: string + /** RULE_CODE的list */ + attribute2?: string + /** 每个自主交易规则的分数 */ + attribute3?: string + /** 是否给出过评审意见 */ + attribute4?: string + /** 客户身份证件/证明文件名称 */ + cuspbkname?: string + /** 对公客户法定代表人身份证件名称 */ + jrdpbna?: string + /** 控股股东或实际控制人名称 */ + conshName?: string + /** 控股股东或实际控制人名称身份证件类型 */ + conshCardtype?: string + /** 控股股东或实际控制人名称身份证件名称 */ + conshCardname?: string + /** 控股股东或实际控制人名称身份证件号码 */ + conshCardno?: string + /** 银行卡类型 */ + cardType?: string + /** 银行卡类型名称 */ + cardName?: string + /** 银行卡号码 */ + cardno?: string + /** 代办人身份证件/证明文件名称 */ + agtidn?: string + /** 交易对手身份证件/证明文件名称 */ + cuspbkname1?: string + /** 交易金额(折人民币) */ + amtCny?: number + /** 交易金额(折美元) */ + amtUsd?: number + /** 收付款方匹配号类型 */ + matchtype?: string + /** 收付款方匹配号 */ + matchno?: string + /** 非柜台交易方式 */ + countcode?: string + /** 其他非柜台交易方式 */ + ocountcode?: string + /** 非柜台交易方式的设备代码 */ + countno?: string + /** 交易对手账户类型 */ + acctype2?: string + /** 金融机构与客户的关系 */ + betrel?: string + /** 银行与支付机构之间的业务交易编码 */ + betrancode?: string + /** 交易信息备注 */ + tranremark?: string + /** 操作人 */ + oplasttime?: string + /** 操作时间 */ + opuser?: string + /** 涉外收支交易分类与代码 */ + fortrancode?: string + /** 标志 */ + txflg?: string +} diff --git a/src/api/amld/UploadInvalidDeal/UploadInvalidDeal/index.ts b/src/api/amld/UploadInvalidDeal/UploadInvalidDeal/index.ts new file mode 100644 index 0000000..00b72e0 --- /dev/null +++ b/src/api/amld/UploadInvalidDeal/UploadInvalidDeal/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getUploadInvalidDealListApi = (data: any) => { + return request.postJson({ url: '/UploadInvalidDeal/spi/UploadInvalidDeal/UploadInvalidDeal/UploadInvalidDealQueryPage', data }); +}; + +/** 批量删除 */ +export const delUploadInvalidDealListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/UploadInvalidDeal/spi/UploadInvalidDeal/UploadInvalidDeal/UploadInvalidDealBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delUploadInvalidDealApi = (pkid?: string): Promise => { + return request.postJson({ url: '/UploadInvalidDeal/spi/UploadInvalidDeal/UploadInvalidDeal/UploadInvalidDealDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveUploadInvalidDealApi = (data: Partial): Promise => { + return request.postJson({ url: '/UploadInvalidDeal/spi/UploadInvalidDeal/UploadInvalidDeal/UploadInvalidDealSave', data }); +}; + +/** 查询单条数据 */ +export const queryUploadInvalidDealApi = (pkid?: string): Promise => { + return request.postJson({ url: '/UploadInvalidDeal/spi/UploadInvalidDeal/UploadInvalidDeal/UploadInvalidDealQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/UploadInvalidDeal/sui/UploadInvalidDeal/UploadInvalidDeal/UploadInvalidDealImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/UploadInvalidDeal/sui/UploadInvalidDeal/UploadInvalidDeal/UploadInvalidDealImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/UploadInvalidDeal/sdi/UploadInvalidDeal/UploadInvalidDeal/UploadInvalidDealExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/UploadInvalidDeal/UploadInvalidDeal/types.ts b/src/api/amld/UploadInvalidDeal/UploadInvalidDeal/types.ts new file mode 100644 index 0000000..08df728 --- /dev/null +++ b/src/api/amld/UploadInvalidDeal/UploadInvalidDeal/types.ts @@ -0,0 +1,60 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序列字段 */ + pkid?: string + /** 数据包编号 */ + pkgCode?: string + /** 数据包类型 */ + pkgType?: string + /** 交易类型 */ + repType?: string + /** 当日报送的批次 */ + sendSeq?: string + /** 数据包名称 */ + pkgName?: string + /** 数据包状态 */ + status?: string + /** 数据包创建时间 */ + createDate?: string + /** 数据包实体 */ + pkgContent?: string + /** 机构代码 */ + organCode?: string + /** 有无附件 */ + isuploadf?: string + /** 数据交易日期 */ + trantdate?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序列字段 */ + pkid?: string + /** 数据包编号 */ + pkgCode?: string + /** 数据包类型 */ + pkgType?: string + /** 交易类型 */ + repType?: string + /** 当日报送的批次 */ + sendSeq?: string + /** 数据包名称 */ + pkgName?: string + /** 数据包状态 */ + status?: string + /** 数据包创建时间 */ + createDate?: string + /** 数据包实体 */ + pkgContent?: string + /** 机构代码 */ + organCode?: string + /** 有无附件 */ + isuploadf?: string + /** 数据交易日期 */ + trantdate?: string +} diff --git a/src/api/amld/UserFinanceEvaluate/UserFinanceEvaluate/index.ts b/src/api/amld/UserFinanceEvaluate/UserFinanceEvaluate/index.ts new file mode 100644 index 0000000..0fae64f --- /dev/null +++ b/src/api/amld/UserFinanceEvaluate/UserFinanceEvaluate/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getUserFinanceEvaluateListApi = (data: any) => { + return request.postJson({ url: '/UserFinanceEvaluate/spi/UserFinanceEvaluate/UserFinanceEvaluate/UserFinanceEvaluateQueryPage', data }); +}; + +/** 批量删除 */ +export const delUserFinanceEvaluateListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/UserFinanceEvaluate/spi/UserFinanceEvaluate/UserFinanceEvaluate/UserFinanceEvaluateBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delUserFinanceEvaluateApi = (pkid?: string): Promise => { + return request.postJson({ url: '/UserFinanceEvaluate/spi/UserFinanceEvaluate/UserFinanceEvaluate/UserFinanceEvaluateDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveUserFinanceEvaluateApi = (data: Partial): Promise => { + return request.postJson({ url: '/UserFinanceEvaluate/spi/UserFinanceEvaluate/UserFinanceEvaluate/UserFinanceEvaluateSave', data }); +}; + +/** 查询单条数据 */ +export const queryUserFinanceEvaluateApi = (pkid?: string): Promise => { + return request.postJson({ url: '/UserFinanceEvaluate/spi/UserFinanceEvaluate/UserFinanceEvaluate/UserFinanceEvaluateQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/UserFinanceEvaluate/sui/UserFinanceEvaluate/UserFinanceEvaluate/UserFinanceEvaluateImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/UserFinanceEvaluate/sui/UserFinanceEvaluate/UserFinanceEvaluate/UserFinanceEvaluateImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/UserFinanceEvaluate/sdi/UserFinanceEvaluate/UserFinanceEvaluate/UserFinanceEvaluateExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/UserFinanceEvaluate/UserFinanceEvaluate/types.ts b/src/api/amld/UserFinanceEvaluate/UserFinanceEvaluate/types.ts new file mode 100644 index 0000000..b8a965a --- /dev/null +++ b/src/api/amld/UserFinanceEvaluate/UserFinanceEvaluate/types.ts @@ -0,0 +1,128 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 产品号 */ + productCode?: string + /** 产品名称 */ + productName?: string + /** 所属机构号 */ + organCode?: string + /** 所属机构名称 */ + organName?: string + /** 是否人工发起 */ + isman?: string + /** 人工发起日期 */ + manDate?: string + /** 人工发起评估原因 */ + manRiskReason?: string + /** 采集日期 */ + gatherDate?: string + /** 采集分数 */ + gatherScore?: number + /** 上次评级日期 */ + lastRiskDate?: string + /** 上一轮评级分数 */ + lastRiskScore?: number + /** 初评日期 */ + riskInitialDate?: string + /** 初评结果 */ + riskInitialLevel?: string + /** 复评日期 */ + riskRepeatDate?: string + /** 复评结果 */ + riskRepeatLevel?: string + /** 复评人 */ + riskRepeatUser?: string + /** 初评人 */ + riskInitialUser?: string + /** 处理状态 */ + statusNo?: string + /** 下次评级日期 */ + nextDate?: string + /** 当前评级分数 */ + riskScore?: number + /** 风险等级 */ + riskLevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 采集等级 */ + gatherLevel?: string + /** 初评分数 */ + riskInitialScore?: number + /** 复评分数 */ + riskRepeatScore?: number + /** 评估原因 */ + riskReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 产品推出日期 */ + launchDate?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 产品号 */ + productCode?: string + /** 产品名称 */ + productName?: string + /** 所属机构号 */ + organCode?: string + /** 所属机构名称 */ + organName?: string + /** 是否人工发起 */ + isman?: string + /** 人工发起日期 */ + manDate?: string + /** 人工发起评估原因 */ + manRiskReason?: string + /** 采集日期 */ + gatherDate?: string + /** 采集分数 */ + gatherScore?: number + /** 上次评级日期 */ + lastRiskDate?: string + /** 上一轮评级分数 */ + lastRiskScore?: number + /** 初评日期 */ + riskInitialDate?: string + /** 初评结果 */ + riskInitialLevel?: string + /** 复评日期 */ + riskRepeatDate?: string + /** 复评结果 */ + riskRepeatLevel?: string + /** 复评人 */ + riskRepeatUser?: string + /** 初评人 */ + riskInitialUser?: string + /** 处理状态 */ + statusNo?: string + /** 下次评级日期 */ + nextDate?: string + /** 当前评级分数 */ + riskScore?: number + /** 风险等级 */ + riskLevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 采集等级 */ + gatherLevel?: string + /** 初评分数 */ + riskInitialScore?: number + /** 复评分数 */ + riskRepeatScore?: number + /** 评估原因 */ + riskReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 产品推出日期 */ + launchDate?: string +} diff --git a/src/api/amld/UserLevelQuery/UserLevelQuery/index.ts b/src/api/amld/UserLevelQuery/UserLevelQuery/index.ts new file mode 100644 index 0000000..0201086 --- /dev/null +++ b/src/api/amld/UserLevelQuery/UserLevelQuery/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getUserLevelQueryListApi = (data: any) => { + return request.postJson({ url: '/UserLevelQuery/spi/UserLevelQuery/UserLevelQuery/UserLevelQueryQueryPage', data }); +}; + +/** 批量删除 */ +export const delUserLevelQueryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/UserLevelQuery/spi/UserLevelQuery/UserLevelQuery/UserLevelQueryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delUserLevelQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/UserLevelQuery/spi/UserLevelQuery/UserLevelQuery/UserLevelQueryDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveUserLevelQueryApi = (data: Partial): Promise => { + return request.postJson({ url: '/UserLevelQuery/spi/UserLevelQuery/UserLevelQuery/UserLevelQuerySave', data }); +}; + +/** 查询单条数据 */ +export const queryUserLevelQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/UserLevelQuery/spi/UserLevelQuery/UserLevelQuery/UserLevelQueryQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/UserLevelQuery/sui/UserLevelQuery/UserLevelQuery/UserLevelQueryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/UserLevelQuery/sui/UserLevelQuery/UserLevelQuery/UserLevelQueryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/UserLevelQuery/sdi/UserLevelQuery/UserLevelQuery/UserLevelQueryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/UserLevelQuery/UserLevelQuery/types.ts b/src/api/amld/UserLevelQuery/UserLevelQuery/types.ts new file mode 100644 index 0000000..ff57cd5 --- /dev/null +++ b/src/api/amld/UserLevelQuery/UserLevelQuery/types.ts @@ -0,0 +1,164 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户类型 */ + custType?: string + /** 客户开户日期 */ + custOpendate?: string + /** 客户名称 */ + custName?: string + /** 归属机构名称 */ + custOrganname?: string + /** 上次评级日期 */ + lastRiskdate?: string + /** 上次评级结果 */ + lastRiskScore?: number + /** 系统评级日期 */ + sysRiskdate?: string + /** 系统总分 */ + riskScore?: number + /** 初评总分 */ + riskInitalscore?: number + /** 初评日期 */ + riskInitialdate?: string + /** 复评总分 */ + riskRepeatscore?: number + /** 复评日期 */ + riskRepeatdate?: string + /** 评级原因 */ + riskReason?: string + /** 处理状态 */ + state?: string + /** 审核退回原因 */ + shReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 是否人工发起 */ + isman?: string + /** 客户归属机构号 */ + custOrgancode?: string + /** 系统评级结果 */ + riskLevel?: string + /** 初评结果 */ + riskInitallevel?: string + /** 复评结果 */ + riskRepeatlevel?: string + /** 复评用户 */ + riskRepeatUser?: string + /** 审核用户 */ + riskAuditUser?: string + /** 初评用户 */ + riskInitalUser?: string + /** 审核原因 */ + riskCauseAuditreason?: string + /** 评级次数 */ + riskCount?: string + /** 审核时间 */ + riskAuditdate?: string + /** 初评附加分 */ + riskAddInitalscore?: string + /** 复评附加分 */ + riskAddRepeatscore?: string + /** 初评调整原因 */ + riskCauseInitalreason?: string + /** 复评调整原因 */ + riskCauseRepeatreason?: string + /** 上次评级理由 */ + lastRiskReason?: string + /** 人工发起评级理由 */ + manRiskReason?: string + /** 评级日期 */ + manDate?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 旧系统数据迁移标志 */ + flag?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户类型 */ + custType?: string + /** 客户开户日期 */ + custOpendate?: string + /** 客户名称 */ + custName?: string + /** 归属机构名称 */ + custOrganname?: string + /** 上次评级日期 */ + lastRiskdate?: string + /** 上次评级结果 */ + lastRiskScore?: number + /** 系统评级日期 */ + sysRiskdate?: string + /** 系统总分 */ + riskScore?: number + /** 初评总分 */ + riskInitalscore?: number + /** 初评日期 */ + riskInitialdate?: string + /** 复评总分 */ + riskRepeatscore?: number + /** 复评日期 */ + riskRepeatdate?: string + /** 评级原因 */ + riskReason?: string + /** 处理状态 */ + state?: string + /** 审核退回原因 */ + shReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 是否人工发起 */ + isman?: string + /** 客户归属机构号 */ + custOrgancode?: string + /** 系统评级结果 */ + riskLevel?: string + /** 初评结果 */ + riskInitallevel?: string + /** 复评结果 */ + riskRepeatlevel?: string + /** 复评用户 */ + riskRepeatUser?: string + /** 审核用户 */ + riskAuditUser?: string + /** 初评用户 */ + riskInitalUser?: string + /** 审核原因 */ + riskCauseAuditreason?: string + /** 评级次数 */ + riskCount?: string + /** 审核时间 */ + riskAuditdate?: string + /** 初评附加分 */ + riskAddInitalscore?: string + /** 复评附加分 */ + riskAddRepeatscore?: string + /** 初评调整原因 */ + riskCauseInitalreason?: string + /** 复评调整原因 */ + riskCauseRepeatreason?: string + /** 上次评级理由 */ + lastRiskReason?: string + /** 人工发起评级理由 */ + manRiskReason?: string + /** 评级日期 */ + manDate?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 旧系统数据迁移标志 */ + flag?: string +} diff --git a/src/api/amld/WarnOutQuery/WarnOutQuery/index.ts b/src/api/amld/WarnOutQuery/WarnOutQuery/index.ts new file mode 100644 index 0000000..3e89e81 --- /dev/null +++ b/src/api/amld/WarnOutQuery/WarnOutQuery/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getWarnOutQueryListApi = (data: any) => { + return request.postJson({ url: '/WarnOutQuery/spi/WarnOutQuery/WarnOutQuery/WarnOutQueryQueryPage', data }); +}; + +/** 批量删除 */ +export const delWarnOutQueryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/WarnOutQuery/spi/WarnOutQuery/WarnOutQuery/WarnOutQueryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delWarnOutQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/WarnOutQuery/spi/WarnOutQuery/WarnOutQuery/WarnOutQueryDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveWarnOutQueryApi = (data: Partial): Promise => { + return request.postJson({ url: '/WarnOutQuery/spi/WarnOutQuery/WarnOutQuery/WarnOutQuerySave', data }); +}; + +/** 查询单条数据 */ +export const queryWarnOutQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/WarnOutQuery/spi/WarnOutQuery/WarnOutQuery/WarnOutQueryQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/WarnOutQuery/sui/WarnOutQuery/WarnOutQuery/WarnOutQueryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/WarnOutQuery/sui/WarnOutQuery/WarnOutQuery/WarnOutQueryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/WarnOutQuery/sdi/WarnOutQuery/WarnOutQuery/WarnOutQueryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/WarnOutQuery/WarnOutQuery/types.ts b/src/api/amld/WarnOutQuery/WarnOutQuery/types.ts new file mode 100644 index 0000000..baac5e7 --- /dev/null +++ b/src/api/amld/WarnOutQuery/WarnOutQuery/types.ts @@ -0,0 +1,196 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + pkid?: string + /** 案例编号 */ + warnCode?: string + /** 案例日期 */ + warnDate?: string + /** 案例类型 */ + warnType?: string + /** 规则类型 */ + ruleType?: string + /** 案例规则 */ + ruleCode?: string + /** 交易次数 */ + tranRecord?: string + /** 交易金额 */ + tranAmount?: number + /** 归属机构 */ + attrOrgan?: string + /** 客户号 */ + custCode?: string + /** 案例状态 */ + status?: string + /** 预先保留字段1--疑似已用 */ + attribute1?: string + /** 预先保留字段2 --疑似已用 */ + attribute2?: string + /** 提出操作人 */ + attribute3?: string + /** 通过操作人 */ + attribute4?: string + /** 操作时间 */ + attribute5?: string + /** 通过操作时间 */ + attribute6?: string + /** 不通过的原因 */ + attribute7?: string + /** 操作注解 */ + attribute8?: string + /** 附件List */ + attribute9?: string + /** 校验状态 */ + attribute10?: string + /** 归属机构 */ + organName?: string + /** 客户名称 */ + custName?: string + /** 报告机构主体号 */ + orgbody?: string + /** 审批意见 */ + attribute11?: string + /** 加入跟踪库说明 */ + attribute12?: string + /** 可疑交易出发点 */ + attribute13?: string + /** 其它可疑交易报告处发点 */ + attribute14?: string + /** 资金交易及客户行为情况 */ + attribute15?: string + /** 可疑交易特征 */ + attribute16?: string + /** 报告紧急程度 */ + urgency?: string + /** 报告其他方向 */ + reportdirectionorg?: string + /** 报告方向 */ + reportdirection?: string + /** 可疑交易特征(上报) */ + suscrimtypes?: string + /** 涉罪类型大项 */ + suscrimtypel?: string + /** 排除原因 */ + outcause?: string + /** 审核人 */ + enduser?: string + /** 审核日期 */ + enddate?: string + /** 复核人 */ + repeatuser?: string + /** 复核日期 */ + repeatdate?: string + /** 补录人 */ + initialuser?: string + /** 补录日期 */ + initialdate?: string + /** 报告人 */ + reportuser?: string + /** 报告日期 */ + reportdate?: string + /** 加入跟踪库到期时间 */ + tranceEnddata?: string + /** 跟踪库标识 */ + tranceType?: string +} diff --git a/src/api/amld/YjqkStatistics/YjqkStatistics/index.ts b/src/api/amld/YjqkStatistics/YjqkStatistics/index.ts new file mode 100644 index 0000000..912b3c8 --- /dev/null +++ b/src/api/amld/YjqkStatistics/YjqkStatistics/index.ts @@ -0,0 +1,59 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getYjqkStatisticsListApi = (data: any) => { + return request.postJson({ url: '/YjqkStatistics/spi/YjqkStatistics/YjqkStatistics/YjqkStatisticsQueryPage', data }); +}; + +/** 批量删除 */ +export const delYjqkStatisticsListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + }; + }); + return request.postJson({ + url: '/YjqkStatistics/spi/YjqkStatistics/YjqkStatistics/YjqkStatisticsBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delYjqkStatisticsApi = (): Promise => { + return request.postJson({ url: '/YjqkStatistics/spi/YjqkStatistics/YjqkStatistics/YjqkStatisticsDelete', data: { } }); +}; + +/** 保存 */ +export const saveYjqkStatisticsApi = (data: Partial): Promise => { + return request.postJson({ url: '/YjqkStatistics/spi/YjqkStatistics/YjqkStatistics/YjqkStatisticsSave', data }); +}; + +/** 查询单条数据 */ +export const queryYjqkStatisticsApi = (): Promise => { + return request.postJson({ url: '/YjqkStatistics/spi/YjqkStatistics/YjqkStatistics/YjqkStatisticsQueryOne', data: { } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/YjqkStatistics/sui/YjqkStatistics/YjqkStatistics/YjqkStatisticsImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/YjqkStatistics/sui/YjqkStatistics/YjqkStatistics/YjqkStatisticsImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/YjqkStatistics/sdi/YjqkStatistics/YjqkStatistics/YjqkStatisticsExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/YjqkStatistics/YjqkStatistics/types.ts b/src/api/amld/YjqkStatistics/YjqkStatistics/types.ts new file mode 100644 index 0000000..c3b2b2e --- /dev/null +++ b/src/api/amld/YjqkStatistics/YjqkStatistics/types.ts @@ -0,0 +1,36 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 报送机构 */ + organname?: string + /** 客户类型 */ + custpptype?: string + /** 可疑交易特征 */ + suscrimtypes?: string + /** 预警报告笔数 */ + yjbgbs?: string + /** 预警报告份数 */ + yjbgfs?: string + /** 预警报告金额(万元) */ + yjbgje?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 报送机构 */ + organname?: string + /** 客户类型 */ + custpptype?: string + /** 可疑交易特征 */ + suscrimtypes?: string + /** 预警报告笔数 */ + yjbgbs?: string + /** 预警报告份数 */ + yjbgfs?: string + /** 预警报告金额(万元) */ + yjbgje?: string +} diff --git a/src/api/amld/blackListMaitain/blackListMaitain/index.ts b/src/api/amld/blackListMaitain/blackListMaitain/index.ts new file mode 100644 index 0000000..f280bca --- /dev/null +++ b/src/api/amld/blackListMaitain/blackListMaitain/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getBlackListMaitainListApi = (data: any) => { + return request.postJson({ url: '/blackListMaitain/spi/blackListMaitain/BlackListMaitain/BlackListMaitainQueryPage', data }); +}; + +/** 批量删除 */ +export const delBlackListMaitainListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/blackListMaitain/spi/blackListMaitain/BlackListMaitain/BlackListMaitainBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delBlackListMaitainApi = (pkid?: string): Promise => { + return request.postJson({ url: '/blackListMaitain/spi/blackListMaitain/BlackListMaitain/BlackListMaitainDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveBlackListMaitainApi = (data: Partial): Promise => { + return request.postJson({ url: '/blackListMaitain/spi/blackListMaitain/BlackListMaitain/BlackListMaitainSave', data }); +}; + +/** 查询单条数据 */ +export const queryBlackListMaitainApi = (pkid?: string): Promise => { + return request.postJson({ url: '/blackListMaitain/spi/blackListMaitain/BlackListMaitain/BlackListMaitainQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/blackListMaitain/sui/blackListMaitain/BlackListMaitain/BlackListMaitainImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/blackListMaitain/sui/blackListMaitain/BlackListMaitain/BlackListMaitainImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/blackListMaitain/sdi/blackListMaitain/BlackListMaitain/BlackListMaitainExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/blackListMaitain/blackListMaitain/types.ts b/src/api/amld/blackListMaitain/blackListMaitain/types.ts new file mode 100644 index 0000000..7f94d2a --- /dev/null +++ b/src/api/amld/blackListMaitain/blackListMaitain/types.ts @@ -0,0 +1,180 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序列字段 */ + pkid?: string + /** 名单编号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 客户公私类型 */ + custType?: string + /** 客户状态 */ + custStatus?: string + /** 维护机构 */ + custOrgancode?: string + /** 黑名单状态 */ + lockStatus?: string + /** 客户类型 */ + custPptype?: string + /** 证件类型 */ + custCardtype?: string + /** 是否新增客户 */ + isnewcust?: string + /** 证件号码 */ + custCardno?: string + /** 移动电话 */ + custTel?: string + /** 固定电话 */ + custPhone?: string + /** 地址 */ + custAddress?: string + /** 其他联系方式 */ + custContactway?: string + /** 客户国籍 */ + custCountry?: string + /** 客户行业 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: string + /** 法人名称 */ + corporationName?: string + /** 法人证件类型 */ + corporationCardtye?: string + /** 法人证件号码 */ + corporationCardno?: string + /** 名单类型 */ + attribute1?: string + /** 道琼斯黑名单记录ID */ + attribute2?: string + /** 黑名单子类 */ + attribute3?: string + /** 黑名单来源 [0-核心,1-道琼斯,2-电信诈骗] */ + attribute4?: string + /** 账号 */ + attribute5?: string + /** 外部发布机构 */ + attribute6?: string + /** 审核人 */ + attribute7?: string + /** 审核时间 */ + attribute8?: string + /** 审核意见 */ + attribute9?: string + /** ETL_DATE */ + attribute10?: string + /** 原因代码 */ + cause?: string + /** 控制措施 */ + controlmeasures?: string + /** 审批状态 */ + spStatus?: string + /** 共享状态 */ + pubStatus?: string + /** 名单说明 */ + mdMess?: string + /** 更新日期 */ + updateDate?: string + /** 发布日期 */ + createDate?: string + /** 出生日期 */ + birthday?: string + /** 性别 1男 2女 */ + six?: string + /** 发布机构名称 */ + fbjgmc?: string + /** 黑名单类型 */ + blackType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序列字段 */ + pkid?: string + /** 名单编号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 客户公私类型 */ + custType?: string + /** 客户状态 */ + custStatus?: string + /** 维护机构 */ + custOrgancode?: string + /** 黑名单状态 */ + lockStatus?: string + /** 客户类型 */ + custPptype?: string + /** 证件类型 */ + custCardtype?: string + /** 是否新增客户 */ + isnewcust?: string + /** 证件号码 */ + custCardno?: string + /** 移动电话 */ + custTel?: string + /** 固定电话 */ + custPhone?: string + /** 地址 */ + custAddress?: string + /** 其他联系方式 */ + custContactway?: string + /** 客户国籍 */ + custCountry?: string + /** 客户行业 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: string + /** 法人名称 */ + corporationName?: string + /** 法人证件类型 */ + corporationCardtye?: string + /** 法人证件号码 */ + corporationCardno?: string + /** 名单类型 */ + attribute1?: string + /** 道琼斯黑名单记录ID */ + attribute2?: string + /** 黑名单子类 */ + attribute3?: string + /** 黑名单来源 [0-核心,1-道琼斯,2-电信诈骗] */ + attribute4?: string + /** 账号 */ + attribute5?: string + /** 外部发布机构 */ + attribute6?: string + /** 审核人 */ + attribute7?: string + /** 审核时间 */ + attribute8?: string + /** 审核意见 */ + attribute9?: string + /** ETL_DATE */ + attribute10?: string + /** 原因代码 */ + cause?: string + /** 控制措施 */ + controlmeasures?: string + /** 审批状态 */ + spStatus?: string + /** 共享状态 */ + pubStatus?: string + /** 名单说明 */ + mdMess?: string + /** 更新日期 */ + updateDate?: string + /** 发布日期 */ + createDate?: string + /** 出生日期 */ + birthday?: string + /** 性别 1男 2女 */ + six?: string + /** 发布机构名称 */ + fbjgmc?: string + /** 黑名单类型 */ + blackType?: string +} diff --git a/src/api/amld/blackListQuery/blackListQuery/index.ts b/src/api/amld/blackListQuery/blackListQuery/index.ts new file mode 100644 index 0000000..bdbe7be --- /dev/null +++ b/src/api/amld/blackListQuery/blackListQuery/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getBlackListQueryListApi = (data: any) => { + return request.postJson({ url: '/blackListQuery/spi/blackListQuery/BlackListQuery/BlackListQueryQueryPage', data }); +}; + +/** 批量删除 */ +export const delBlackListQueryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/blackListQuery/spi/blackListQuery/BlackListQuery/BlackListQueryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delBlackListQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/blackListQuery/spi/blackListQuery/BlackListQuery/BlackListQueryDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveBlackListQueryApi = (data: Partial): Promise => { + return request.postJson({ url: '/blackListQuery/spi/blackListQuery/BlackListQuery/BlackListQuerySave', data }); +}; + +/** 查询单条数据 */ +export const queryBlackListQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/blackListQuery/spi/blackListQuery/BlackListQuery/BlackListQueryQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/blackListQuery/sui/blackListQuery/BlackListQuery/BlackListQueryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/blackListQuery/sui/blackListQuery/BlackListQuery/BlackListQueryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/blackListQuery/sdi/blackListQuery/BlackListQuery/BlackListQueryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/blackListQuery/blackListQuery/types.ts b/src/api/amld/blackListQuery/blackListQuery/types.ts new file mode 100644 index 0000000..fc8ebb1 --- /dev/null +++ b/src/api/amld/blackListQuery/blackListQuery/types.ts @@ -0,0 +1,180 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序列字段 */ + pkid?: string + /** 名单编号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 客户公私类型 */ + custType?: string + /** 客户状态 */ + custStatus?: string + /** 开户机构 */ + custOrgancode?: string + /** 黑名单状态 0 解除 1 生效 */ + lockStatus?: string + /** 客户类型 */ + custPptype?: string + /** 证件类型 */ + custCardtype?: string + /** 是否新增客户 */ + isnewcust?: string + /** 证件号码 */ + custCardno?: string + /** 移动电话 */ + custTel?: string + /** 固定电话 */ + custPhone?: string + /** 地址 */ + custAddress?: string + /** 其他联系方式 */ + custContactway?: string + /** 客户国籍 */ + custCountry?: string + /** 客户行业 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: string + /** 法人名称 */ + corporationName?: string + /** 法人证件类型 */ + corporationCardtye?: string + /** 法人证件号码 */ + corporationCardno?: string + /** 名单类型 */ + attribute1?: string + /** 道琼斯黑名单记录ID */ + attribute2?: string + /** 黑名单子类 */ + attribute3?: string + /** 黑名单来源 [0-核心,1-道琼斯,2-电信诈骗] */ + attribute4?: string + /** 账号 */ + attribute5?: string + /** 外部发布机构 */ + attribute6?: string + /** 审核人 */ + attribute7?: string + /** 审核时间 */ + attribute8?: string + /** 审核意见 */ + attribute9?: string + /** ETL_DATE */ + attribute10?: string + /** 原因代码 */ + cause?: string + /** 控制措施 */ + controlmeasures?: string + /** 审批状态 */ + spStatus?: string + /** 共享状态 */ + pubStatus?: string + /** 名单说明 */ + mdMess?: string + /** 更新日期 */ + updateDate?: string + /** 发布日期 */ + createDate?: string + /** 出生日期 */ + birthday?: string + /** 性别 1男 2女 */ + six?: string + /** 发布机构名称 */ + fbjgmc?: string + /** 黑名单类型 */ + blackType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序列字段 */ + pkid?: string + /** 名单编号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 客户公私类型 */ + custType?: string + /** 客户状态 */ + custStatus?: string + /** 开户机构 */ + custOrgancode?: string + /** 黑名单状态 0 解除 1 生效 */ + lockStatus?: string + /** 客户类型 */ + custPptype?: string + /** 证件类型 */ + custCardtype?: string + /** 是否新增客户 */ + isnewcust?: string + /** 证件号码 */ + custCardno?: string + /** 移动电话 */ + custTel?: string + /** 固定电话 */ + custPhone?: string + /** 地址 */ + custAddress?: string + /** 其他联系方式 */ + custContactway?: string + /** 客户国籍 */ + custCountry?: string + /** 客户行业 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: string + /** 法人名称 */ + corporationName?: string + /** 法人证件类型 */ + corporationCardtye?: string + /** 法人证件号码 */ + corporationCardno?: string + /** 名单类型 */ + attribute1?: string + /** 道琼斯黑名单记录ID */ + attribute2?: string + /** 黑名单子类 */ + attribute3?: string + /** 黑名单来源 [0-核心,1-道琼斯,2-电信诈骗] */ + attribute4?: string + /** 账号 */ + attribute5?: string + /** 外部发布机构 */ + attribute6?: string + /** 审核人 */ + attribute7?: string + /** 审核时间 */ + attribute8?: string + /** 审核意见 */ + attribute9?: string + /** ETL_DATE */ + attribute10?: string + /** 原因代码 */ + cause?: string + /** 控制措施 */ + controlmeasures?: string + /** 审批状态 */ + spStatus?: string + /** 共享状态 */ + pubStatus?: string + /** 名单说明 */ + mdMess?: string + /** 更新日期 */ + updateDate?: string + /** 发布日期 */ + createDate?: string + /** 出生日期 */ + birthday?: string + /** 性别 1男 2女 */ + six?: string + /** 发布机构名称 */ + fbjgmc?: string + /** 黑名单类型 */ + blackType?: string +} diff --git a/src/api/amld/blackListShare/blackListShare/index.ts b/src/api/amld/blackListShare/blackListShare/index.ts new file mode 100644 index 0000000..65fe36b --- /dev/null +++ b/src/api/amld/blackListShare/blackListShare/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getBlackListShareListApi = (data: any) => { + return request.postJson({ url: '/blackListShare/spi/blackListShare/BlackListShare/BlackListShareQueryPage', data }); +}; + +/** 批量删除 */ +export const delBlackListShareListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/blackListShare/spi/blackListShare/BlackListShare/BlackListShareBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delBlackListShareApi = (pkid?: string): Promise => { + return request.postJson({ url: '/blackListShare/spi/blackListShare/BlackListShare/BlackListShareDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveBlackListShareApi = (data: Partial): Promise => { + return request.postJson({ url: '/blackListShare/spi/blackListShare/BlackListShare/BlackListShareSave', data }); +}; + +/** 查询单条数据 */ +export const queryBlackListShareApi = (pkid?: string): Promise => { + return request.postJson({ url: '/blackListShare/spi/blackListShare/BlackListShare/BlackListShareQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/blackListShare/sui/blackListShare/BlackListShare/BlackListShareImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/blackListShare/sui/blackListShare/BlackListShare/BlackListShareImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/blackListShare/sdi/blackListShare/BlackListShare/BlackListShareExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/blackListShare/blackListShare/types.ts b/src/api/amld/blackListShare/blackListShare/types.ts new file mode 100644 index 0000000..7f94d2a --- /dev/null +++ b/src/api/amld/blackListShare/blackListShare/types.ts @@ -0,0 +1,180 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序列字段 */ + pkid?: string + /** 名单编号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 客户公私类型 */ + custType?: string + /** 客户状态 */ + custStatus?: string + /** 维护机构 */ + custOrgancode?: string + /** 黑名单状态 */ + lockStatus?: string + /** 客户类型 */ + custPptype?: string + /** 证件类型 */ + custCardtype?: string + /** 是否新增客户 */ + isnewcust?: string + /** 证件号码 */ + custCardno?: string + /** 移动电话 */ + custTel?: string + /** 固定电话 */ + custPhone?: string + /** 地址 */ + custAddress?: string + /** 其他联系方式 */ + custContactway?: string + /** 客户国籍 */ + custCountry?: string + /** 客户行业 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: string + /** 法人名称 */ + corporationName?: string + /** 法人证件类型 */ + corporationCardtye?: string + /** 法人证件号码 */ + corporationCardno?: string + /** 名单类型 */ + attribute1?: string + /** 道琼斯黑名单记录ID */ + attribute2?: string + /** 黑名单子类 */ + attribute3?: string + /** 黑名单来源 [0-核心,1-道琼斯,2-电信诈骗] */ + attribute4?: string + /** 账号 */ + attribute5?: string + /** 外部发布机构 */ + attribute6?: string + /** 审核人 */ + attribute7?: string + /** 审核时间 */ + attribute8?: string + /** 审核意见 */ + attribute9?: string + /** ETL_DATE */ + attribute10?: string + /** 原因代码 */ + cause?: string + /** 控制措施 */ + controlmeasures?: string + /** 审批状态 */ + spStatus?: string + /** 共享状态 */ + pubStatus?: string + /** 名单说明 */ + mdMess?: string + /** 更新日期 */ + updateDate?: string + /** 发布日期 */ + createDate?: string + /** 出生日期 */ + birthday?: string + /** 性别 1男 2女 */ + six?: string + /** 发布机构名称 */ + fbjgmc?: string + /** 黑名单类型 */ + blackType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序列字段 */ + pkid?: string + /** 名单编号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 客户公私类型 */ + custType?: string + /** 客户状态 */ + custStatus?: string + /** 维护机构 */ + custOrgancode?: string + /** 黑名单状态 */ + lockStatus?: string + /** 客户类型 */ + custPptype?: string + /** 证件类型 */ + custCardtype?: string + /** 是否新增客户 */ + isnewcust?: string + /** 证件号码 */ + custCardno?: string + /** 移动电话 */ + custTel?: string + /** 固定电话 */ + custPhone?: string + /** 地址 */ + custAddress?: string + /** 其他联系方式 */ + custContactway?: string + /** 客户国籍 */ + custCountry?: string + /** 客户行业 */ + custBusinesstype?: string + /** 注册资金 */ + custRegcap?: string + /** 法人名称 */ + corporationName?: string + /** 法人证件类型 */ + corporationCardtye?: string + /** 法人证件号码 */ + corporationCardno?: string + /** 名单类型 */ + attribute1?: string + /** 道琼斯黑名单记录ID */ + attribute2?: string + /** 黑名单子类 */ + attribute3?: string + /** 黑名单来源 [0-核心,1-道琼斯,2-电信诈骗] */ + attribute4?: string + /** 账号 */ + attribute5?: string + /** 外部发布机构 */ + attribute6?: string + /** 审核人 */ + attribute7?: string + /** 审核时间 */ + attribute8?: string + /** 审核意见 */ + attribute9?: string + /** ETL_DATE */ + attribute10?: string + /** 原因代码 */ + cause?: string + /** 控制措施 */ + controlmeasures?: string + /** 审批状态 */ + spStatus?: string + /** 共享状态 */ + pubStatus?: string + /** 名单说明 */ + mdMess?: string + /** 更新日期 */ + updateDate?: string + /** 发布日期 */ + createDate?: string + /** 出生日期 */ + birthday?: string + /** 性别 1男 2女 */ + six?: string + /** 发布机构名称 */ + fbjgmc?: string + /** 黑名单类型 */ + blackType?: string +} diff --git a/src/api/amld/crrRiskResultFirst/crrRiskResultFirst/index.ts b/src/api/amld/crrRiskResultFirst/crrRiskResultFirst/index.ts new file mode 100644 index 0000000..24c2c78 --- /dev/null +++ b/src/api/amld/crrRiskResultFirst/crrRiskResultFirst/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCrrRiskResultFirstListApi = (data: any) => { + return request.postJson({ url: '/crrRiskResultFirst/spi/crrRiskResultFirst/CrrRiskResultFirst/CrrRiskResultFirstQueryPage', data }); +}; + +/** 批量删除 */ +export const delCrrRiskResultFirstListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/crrRiskResultFirst/spi/crrRiskResultFirst/CrrRiskResultFirst/CrrRiskResultFirstBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delCrrRiskResultFirstApi = (pkid?: string): Promise => { + return request.postJson({ url: '/crrRiskResultFirst/spi/crrRiskResultFirst/CrrRiskResultFirst/CrrRiskResultFirstDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveCrrRiskResultFirstApi = (data: Partial): Promise => { + return request.postJson({ url: '/crrRiskResultFirst/spi/crrRiskResultFirst/CrrRiskResultFirst/CrrRiskResultFirstSave', data }); +}; + +/** 查询单条数据 */ +export const queryCrrRiskResultFirstApi = (pkid?: string): Promise => { + return request.postJson({ url: '/crrRiskResultFirst/spi/crrRiskResultFirst/CrrRiskResultFirst/CrrRiskResultFirstQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/crrRiskResultFirst/sui/crrRiskResultFirst/CrrRiskResultFirst/CrrRiskResultFirstImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/crrRiskResultFirst/sui/crrRiskResultFirst/CrrRiskResultFirst/CrrRiskResultFirstImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/crrRiskResultFirst/sdi/crrRiskResultFirst/CrrRiskResultFirst/CrrRiskResultFirstExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/crrRiskResultFirst/crrRiskResultFirst/types.ts b/src/api/amld/crrRiskResultFirst/crrRiskResultFirst/types.ts new file mode 100644 index 0000000..ad54c2f --- /dev/null +++ b/src/api/amld/crrRiskResultFirst/crrRiskResultFirst/types.ts @@ -0,0 +1,164 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户类型 */ + custType?: string + /** 客户号开立日期 */ + custOpendate?: string + /** 客户名称 */ + custName?: string + /** 归属机构名称 */ + custOrganname?: string + /** 上一次评级日期 */ + lastRiskdate?: string + /** 上次评级结果 */ + lastRiskScore?: number + /** 系统评级日期 */ + sysRiskdate?: string + /** 系统评级结果 */ + riskScore?: number + /** 初评结果 */ + riskInitalscore?: number + /** 初评日期 */ + riskInitialdate?: string + /** 复评结果 */ + riskRepeatscore?: number + /** 复评日期 */ + riskRepeatdate?: string + /** 评级原因 */ + riskReason?: string + /** 评级状态 */ + state?: string + /** 审核退回原因 */ + shReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 是否人工发起 */ + isman?: string + /** 归属机构 */ + custOrgancode?: string + /** 系统评级结果 */ + riskLevel?: string + /** 初评结果 */ + riskInitallevel?: string + /** 复评结果 */ + riskRepeatlevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 上次评级理由 */ + lastRiskReason?: string + /** 复评用户 */ + riskRepeatUser?: string + /** 审核用户 */ + riskAuditUser?: string + /** 初评用户 */ + riskInitalUser?: string + /** 初评附加分 */ + riskAddRepeatscore?: string + /** 复评附加分 */ + riskAddInitalscore?: string + /** 审核日期 */ + riskAuditdate?: string + /** 复评调整原因 */ + riskCauseRepeatreason?: string + /** 初评调整原因 */ + riskCauseInitalreason?: string + /** 人工评级发起时间 */ + manDate?: string + /** 人工发起评级理由 */ + manRiskReason?: string + /** 审核原因 */ + riskCauseAuditreason?: string + /** 评级次数 */ + riskCount?: string + /** 旧系统数据迁移标志 */ + flag?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户类型 */ + custType?: string + /** 客户号开立日期 */ + custOpendate?: string + /** 客户名称 */ + custName?: string + /** 归属机构名称 */ + custOrganname?: string + /** 上一次评级日期 */ + lastRiskdate?: string + /** 上次评级结果 */ + lastRiskScore?: number + /** 系统评级日期 */ + sysRiskdate?: string + /** 系统评级结果 */ + riskScore?: number + /** 初评结果 */ + riskInitalscore?: number + /** 初评日期 */ + riskInitialdate?: string + /** 复评结果 */ + riskRepeatscore?: number + /** 复评日期 */ + riskRepeatdate?: string + /** 评级原因 */ + riskReason?: string + /** 评级状态 */ + state?: string + /** 审核退回原因 */ + shReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 是否人工发起 */ + isman?: string + /** 归属机构 */ + custOrgancode?: string + /** 系统评级结果 */ + riskLevel?: string + /** 初评结果 */ + riskInitallevel?: string + /** 复评结果 */ + riskRepeatlevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 上次评级理由 */ + lastRiskReason?: string + /** 复评用户 */ + riskRepeatUser?: string + /** 审核用户 */ + riskAuditUser?: string + /** 初评用户 */ + riskInitalUser?: string + /** 初评附加分 */ + riskAddRepeatscore?: string + /** 复评附加分 */ + riskAddInitalscore?: string + /** 审核日期 */ + riskAuditdate?: string + /** 复评调整原因 */ + riskCauseRepeatreason?: string + /** 初评调整原因 */ + riskCauseInitalreason?: string + /** 人工评级发起时间 */ + manDate?: string + /** 人工发起评级理由 */ + manRiskReason?: string + /** 审核原因 */ + riskCauseAuditreason?: string + /** 评级次数 */ + riskCount?: string + /** 旧系统数据迁移标志 */ + flag?: string +} diff --git a/src/api/amld/crrRiskResultSecond/crrRiskResultSecond/index.ts b/src/api/amld/crrRiskResultSecond/crrRiskResultSecond/index.ts new file mode 100644 index 0000000..77c2a01 --- /dev/null +++ b/src/api/amld/crrRiskResultSecond/crrRiskResultSecond/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCrrRiskResultSecondListApi = (data: any) => { + return request.postJson({ url: '/crrRiskResultSecond/spi/crrRiskResultSecond/CrrRiskResultSecond/CrrRiskResultSecondQueryPage', data }); +}; + +/** 批量删除 */ +export const delCrrRiskResultSecondListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/crrRiskResultSecond/spi/crrRiskResultSecond/CrrRiskResultSecond/CrrRiskResultSecondBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delCrrRiskResultSecondApi = (pkid?: string): Promise => { + return request.postJson({ url: '/crrRiskResultSecond/spi/crrRiskResultSecond/CrrRiskResultSecond/CrrRiskResultSecondDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveCrrRiskResultSecondApi = (data: Partial): Promise => { + return request.postJson({ url: '/crrRiskResultSecond/spi/crrRiskResultSecond/CrrRiskResultSecond/CrrRiskResultSecondSave', data }); +}; + +/** 查询单条数据 */ +export const queryCrrRiskResultSecondApi = (pkid?: string): Promise => { + return request.postJson({ url: '/crrRiskResultSecond/spi/crrRiskResultSecond/CrrRiskResultSecond/CrrRiskResultSecondQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/crrRiskResultSecond/sui/crrRiskResultSecond/CrrRiskResultSecond/CrrRiskResultSecondImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/crrRiskResultSecond/sui/crrRiskResultSecond/CrrRiskResultSecond/CrrRiskResultSecondImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/crrRiskResultSecond/sdi/crrRiskResultSecond/CrrRiskResultSecond/CrrRiskResultSecondExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/crrRiskResultSecond/crrRiskResultSecond/types.ts b/src/api/amld/crrRiskResultSecond/crrRiskResultSecond/types.ts new file mode 100644 index 0000000..c9f7c67 --- /dev/null +++ b/src/api/amld/crrRiskResultSecond/crrRiskResultSecond/types.ts @@ -0,0 +1,164 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户类型 */ + custType?: string + /** 客户号开立日期 */ + custOpendate?: string + /** 客户名称 */ + custName?: string + /** 归属机构名称 */ + custOrganname?: string + /** 上一次评级日期 */ + lastRiskdate?: string + /** 上次评级结果 */ + lastRiskScore?: number + /** 系统评级日期 */ + sysRiskdate?: string + /** 系统评级结果 */ + riskScore?: number + /** 初评结果 */ + riskInitalscore?: number + /** 初评日期 */ + riskInitialdate?: string + /** 复评结果 */ + riskRepeatscore?: number + /** 复评日期 */ + riskRepeatdate?: string + /** 评级原因 */ + riskReason?: string + /** 任务状态 */ + state?: string + /** 审核退回原因 */ + shReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 是否人工发起 */ + isman?: string + /** 归属机构 */ + custOrgancode?: string + /** 系统评级结果 */ + riskLevel?: string + /** 初评结果 */ + riskInitallevel?: string + /** 复评结果 */ + riskRepeatlevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 上次评级理由 */ + lastRiskReason?: string + /** 复评用户 */ + riskRepeatUser?: string + /** 审核用户 */ + riskAuditUser?: string + /** 初评用户 */ + riskInitalUser?: string + /** 初评附加分 */ + riskAddRepeatscore?: string + /** 复评附加分 */ + riskAddInitalscore?: string + /** 审核日期 */ + riskAuditdate?: string + /** 复评调整原因 */ + riskCauseRepeatreason?: string + /** 初评调整原因 */ + riskCauseInitalreason?: string + /** 人工评级发起时间 */ + manDate?: string + /** 人工发起评级理由 */ + manRiskReason?: string + /** 审核原因 */ + riskCauseAuditreason?: string + /** 评级次数 */ + riskCount?: string + /** 旧系统数据迁移标志 */ + flag?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户类型 */ + custType?: string + /** 客户号开立日期 */ + custOpendate?: string + /** 客户名称 */ + custName?: string + /** 归属机构名称 */ + custOrganname?: string + /** 上一次评级日期 */ + lastRiskdate?: string + /** 上次评级结果 */ + lastRiskScore?: number + /** 系统评级日期 */ + sysRiskdate?: string + /** 系统评级结果 */ + riskScore?: number + /** 初评结果 */ + riskInitalscore?: number + /** 初评日期 */ + riskInitialdate?: string + /** 复评结果 */ + riskRepeatscore?: number + /** 复评日期 */ + riskRepeatdate?: string + /** 评级原因 */ + riskReason?: string + /** 任务状态 */ + state?: string + /** 审核退回原因 */ + shReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 是否人工发起 */ + isman?: string + /** 归属机构 */ + custOrgancode?: string + /** 系统评级结果 */ + riskLevel?: string + /** 初评结果 */ + riskInitallevel?: string + /** 复评结果 */ + riskRepeatlevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 上次评级理由 */ + lastRiskReason?: string + /** 复评用户 */ + riskRepeatUser?: string + /** 审核用户 */ + riskAuditUser?: string + /** 初评用户 */ + riskInitalUser?: string + /** 初评附加分 */ + riskAddRepeatscore?: string + /** 复评附加分 */ + riskAddInitalscore?: string + /** 审核日期 */ + riskAuditdate?: string + /** 复评调整原因 */ + riskCauseRepeatreason?: string + /** 初评调整原因 */ + riskCauseInitalreason?: string + /** 人工评级发起时间 */ + manDate?: string + /** 人工发起评级理由 */ + manRiskReason?: string + /** 审核原因 */ + riskCauseAuditreason?: string + /** 评级次数 */ + riskCount?: string + /** 旧系统数据迁移标志 */ + flag?: string +} diff --git a/src/api/amld/crrRiskResultVerify/crrRiskResultVerify/index.ts b/src/api/amld/crrRiskResultVerify/crrRiskResultVerify/index.ts new file mode 100644 index 0000000..6597ff1 --- /dev/null +++ b/src/api/amld/crrRiskResultVerify/crrRiskResultVerify/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCrrRiskResultVerifyListApi = (data: any) => { + return request.postJson({ url: '/crrRiskResultVerify/spi/crrRiskResultVerify/CrrRiskResultVerify/CrrRiskResultVerifyQueryPage', data }); +}; + +/** 批量删除 */ +export const delCrrRiskResultVerifyListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/crrRiskResultVerify/spi/crrRiskResultVerify/CrrRiskResultVerify/CrrRiskResultVerifyBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delCrrRiskResultVerifyApi = (pkid?: string): Promise => { + return request.postJson({ url: '/crrRiskResultVerify/spi/crrRiskResultVerify/CrrRiskResultVerify/CrrRiskResultVerifyDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveCrrRiskResultVerifyApi = (data: Partial): Promise => { + return request.postJson({ url: '/crrRiskResultVerify/spi/crrRiskResultVerify/CrrRiskResultVerify/CrrRiskResultVerifySave', data }); +}; + +/** 查询单条数据 */ +export const queryCrrRiskResultVerifyApi = (pkid?: string): Promise => { + return request.postJson({ url: '/crrRiskResultVerify/spi/crrRiskResultVerify/CrrRiskResultVerify/CrrRiskResultVerifyQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/crrRiskResultVerify/sui/crrRiskResultVerify/CrrRiskResultVerify/CrrRiskResultVerifyImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/crrRiskResultVerify/sui/crrRiskResultVerify/CrrRiskResultVerify/CrrRiskResultVerifyImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/crrRiskResultVerify/sdi/crrRiskResultVerify/CrrRiskResultVerify/CrrRiskResultVerifyExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/crrRiskResultVerify/crrRiskResultVerify/types.ts b/src/api/amld/crrRiskResultVerify/crrRiskResultVerify/types.ts new file mode 100644 index 0000000..ad54c2f --- /dev/null +++ b/src/api/amld/crrRiskResultVerify/crrRiskResultVerify/types.ts @@ -0,0 +1,164 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户类型 */ + custType?: string + /** 客户号开立日期 */ + custOpendate?: string + /** 客户名称 */ + custName?: string + /** 归属机构名称 */ + custOrganname?: string + /** 上一次评级日期 */ + lastRiskdate?: string + /** 上次评级结果 */ + lastRiskScore?: number + /** 系统评级日期 */ + sysRiskdate?: string + /** 系统评级结果 */ + riskScore?: number + /** 初评结果 */ + riskInitalscore?: number + /** 初评日期 */ + riskInitialdate?: string + /** 复评结果 */ + riskRepeatscore?: number + /** 复评日期 */ + riskRepeatdate?: string + /** 评级原因 */ + riskReason?: string + /** 评级状态 */ + state?: string + /** 审核退回原因 */ + shReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 是否人工发起 */ + isman?: string + /** 归属机构 */ + custOrgancode?: string + /** 系统评级结果 */ + riskLevel?: string + /** 初评结果 */ + riskInitallevel?: string + /** 复评结果 */ + riskRepeatlevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 上次评级理由 */ + lastRiskReason?: string + /** 复评用户 */ + riskRepeatUser?: string + /** 审核用户 */ + riskAuditUser?: string + /** 初评用户 */ + riskInitalUser?: string + /** 初评附加分 */ + riskAddRepeatscore?: string + /** 复评附加分 */ + riskAddInitalscore?: string + /** 审核日期 */ + riskAuditdate?: string + /** 复评调整原因 */ + riskCauseRepeatreason?: string + /** 初评调整原因 */ + riskCauseInitalreason?: string + /** 人工评级发起时间 */ + manDate?: string + /** 人工发起评级理由 */ + manRiskReason?: string + /** 审核原因 */ + riskCauseAuditreason?: string + /** 评级次数 */ + riskCount?: string + /** 旧系统数据迁移标志 */ + flag?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 序号 */ + pkid?: string + /** 客户号 */ + custCode?: string + /** 客户类型 */ + custType?: string + /** 客户号开立日期 */ + custOpendate?: string + /** 客户名称 */ + custName?: string + /** 归属机构名称 */ + custOrganname?: string + /** 上一次评级日期 */ + lastRiskdate?: string + /** 上次评级结果 */ + lastRiskScore?: number + /** 系统评级日期 */ + sysRiskdate?: string + /** 系统评级结果 */ + riskScore?: number + /** 初评结果 */ + riskInitalscore?: number + /** 初评日期 */ + riskInitialdate?: string + /** 复评结果 */ + riskRepeatscore?: number + /** 复评日期 */ + riskRepeatdate?: string + /** 评级原因 */ + riskReason?: string + /** 评级状态 */ + state?: string + /** 审核退回原因 */ + shReason?: string + /** 复评退回原因 */ + repeatReason?: string + /** 是否人工发起 */ + isman?: string + /** 归属机构 */ + custOrgancode?: string + /** 系统评级结果 */ + riskLevel?: string + /** 初评结果 */ + riskInitallevel?: string + /** 复评结果 */ + riskRepeatlevel?: string + /** 上次评级结果 */ + lastRiskLevel?: string + /** 上次评级理由 */ + lastRiskReason?: string + /** 复评用户 */ + riskRepeatUser?: string + /** 审核用户 */ + riskAuditUser?: string + /** 初评用户 */ + riskInitalUser?: string + /** 初评附加分 */ + riskAddRepeatscore?: string + /** 复评附加分 */ + riskAddInitalscore?: string + /** 审核日期 */ + riskAuditdate?: string + /** 复评调整原因 */ + riskCauseRepeatreason?: string + /** 初评调整原因 */ + riskCauseInitalreason?: string + /** 人工评级发起时间 */ + manDate?: string + /** 人工发起评级理由 */ + manRiskReason?: string + /** 审核原因 */ + riskCauseAuditreason?: string + /** 评级次数 */ + riskCount?: string + /** 旧系统数据迁移标志 */ + flag?: string +} diff --git a/src/api/amld/whiteListMaintain/whiteListMaintain/index.ts b/src/api/amld/whiteListMaintain/whiteListMaintain/index.ts new file mode 100644 index 0000000..502c47e --- /dev/null +++ b/src/api/amld/whiteListMaintain/whiteListMaintain/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getWhiteListMaintainListApi = (data: any) => { + return request.postJson({ url: '/whiteListMaintain/spi/whiteListMaintain/WhiteListMaintain/WhiteListMaintainQueryPage', data }); +}; + +/** 批量删除 */ +export const delWhiteListMaintainListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/whiteListMaintain/spi/whiteListMaintain/WhiteListMaintain/WhiteListMaintainBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delWhiteListMaintainApi = (pkid?: string): Promise => { + return request.postJson({ url: '/whiteListMaintain/spi/whiteListMaintain/WhiteListMaintain/WhiteListMaintainDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveWhiteListMaintainApi = (data: Partial): Promise => { + return request.postJson({ url: '/whiteListMaintain/spi/whiteListMaintain/WhiteListMaintain/WhiteListMaintainSave', data }); +}; + +/** 查询单条数据 */ +export const queryWhiteListMaintainApi = (pkid?: string): Promise => { + return request.postJson({ url: '/whiteListMaintain/spi/whiteListMaintain/WhiteListMaintain/WhiteListMaintainQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/whiteListMaintain/sui/whiteListMaintain/WhiteListMaintain/WhiteListMaintainImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/whiteListMaintain/sui/whiteListMaintain/WhiteListMaintain/WhiteListMaintainImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/whiteListMaintain/sdi/whiteListMaintain/WhiteListMaintain/WhiteListMaintainExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/whiteListMaintain/whiteListMaintain/types.ts b/src/api/amld/whiteListMaintain/whiteListMaintain/types.ts new file mode 100644 index 0000000..7820409 --- /dev/null +++ b/src/api/amld/whiteListMaintain/whiteListMaintain/types.ts @@ -0,0 +1,152 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 系统流水号 */ + pkid?: string + /** 客户编号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 客户类型 */ + custType?: string + /** 客户状态 */ + custStatus?: string + /** 客户开户机构代码 */ + custOrgancode?: string + /** 审核状态 */ + lockStatus?: string + /** 客户公私类型 */ + custPptype?: string + /** 客户身份证件类型 */ + custCardtype?: string + /** 是否新增客户 */ + isnewcust?: string + /** 客户证件号码 */ + custCardno?: string + /** 客户固定电话 */ + custTel?: string + /** 客户手机号码 */ + custPhone?: string + /** 客户住址地址 */ + custAddress?: string + /** 其他联系方式 */ + custContactway?: string + /** 所属国家 */ + custCountry?: string + /** 客户行业类型 */ + custBusinesstype?: string + /** 客户注册资金 */ + custRegcap?: string + /** 法人代表人姓名 */ + corporationName?: string + /** 法人代表人证件类型 */ + corporationCardtye?: string + /** 法人代表人证件号码 */ + corporationCardno?: string + /** 风险评级编号 */ + riskCode?: string + /** 风险等级编号 */ + riskGradecode?: string + /** 风险评级分值 */ + riskScore?: string + /** 风险评级备注 */ + riskNate?: string + /** 审核人 */ + attribute1?: string + /** 审核时间 */ + attribute2?: string + /** 审核意见 */ + attribute3?: string + /** 申请时间 */ + attribute4?: string + /** 删除原因 */ + attribute5?: string + /** 预先保留字段6 */ + attribute6?: string + /** 预先保留字段7 */ + attribute7?: string + /** 预先保留字段8 */ + attribute8?: string + /** 预先保留字段9 */ + attribute9?: string + /** 预先保留字段10 */ + attribute10?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 系统流水号 */ + pkid?: string + /** 客户编号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 客户类型 */ + custType?: string + /** 客户状态 */ + custStatus?: string + /** 客户开户机构代码 */ + custOrgancode?: string + /** 审核状态 */ + lockStatus?: string + /** 客户公私类型 */ + custPptype?: string + /** 客户身份证件类型 */ + custCardtype?: string + /** 是否新增客户 */ + isnewcust?: string + /** 客户证件号码 */ + custCardno?: string + /** 客户固定电话 */ + custTel?: string + /** 客户手机号码 */ + custPhone?: string + /** 客户住址地址 */ + custAddress?: string + /** 其他联系方式 */ + custContactway?: string + /** 所属国家 */ + custCountry?: string + /** 客户行业类型 */ + custBusinesstype?: string + /** 客户注册资金 */ + custRegcap?: string + /** 法人代表人姓名 */ + corporationName?: string + /** 法人代表人证件类型 */ + corporationCardtye?: string + /** 法人代表人证件号码 */ + corporationCardno?: string + /** 风险评级编号 */ + riskCode?: string + /** 风险等级编号 */ + riskGradecode?: string + /** 风险评级分值 */ + riskScore?: string + /** 风险评级备注 */ + riskNate?: string + /** 审核人 */ + attribute1?: string + /** 审核时间 */ + attribute2?: string + /** 审核意见 */ + attribute3?: string + /** 申请时间 */ + attribute4?: string + /** 删除原因 */ + attribute5?: string + /** 预先保留字段6 */ + attribute6?: string + /** 预先保留字段7 */ + attribute7?: string + /** 预先保留字段8 */ + attribute8?: string + /** 预先保留字段9 */ + attribute9?: string + /** 预先保留字段10 */ + attribute10?: string +} diff --git a/src/api/amld/whiteListQuery/whiteListQuery/index.ts b/src/api/amld/whiteListQuery/whiteListQuery/index.ts new file mode 100644 index 0000000..5f8e44d --- /dev/null +++ b/src/api/amld/whiteListQuery/whiteListQuery/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getWhiteListQueryListApi = (data: any) => { + return request.postJson({ url: '/whiteListQuery/spi/whiteListQuery/WhiteListQuery/WhiteListQueryQueryPage', data }); +}; + +/** 批量删除 */ +export const delWhiteListQueryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/whiteListQuery/spi/whiteListQuery/WhiteListQuery/WhiteListQueryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delWhiteListQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/whiteListQuery/spi/whiteListQuery/WhiteListQuery/WhiteListQueryDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveWhiteListQueryApi = (data: Partial): Promise => { + return request.postJson({ url: '/whiteListQuery/spi/whiteListQuery/WhiteListQuery/WhiteListQuerySave', data }); +}; + +/** 查询单条数据 */ +export const queryWhiteListQueryApi = (pkid?: string): Promise => { + return request.postJson({ url: '/whiteListQuery/spi/whiteListQuery/WhiteListQuery/WhiteListQueryQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/whiteListQuery/sui/whiteListQuery/WhiteListQuery/WhiteListQueryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/whiteListQuery/sui/whiteListQuery/WhiteListQuery/WhiteListQueryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/whiteListQuery/sdi/whiteListQuery/WhiteListQuery/WhiteListQueryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/whiteListQuery/whiteListQuery/types.ts b/src/api/amld/whiteListQuery/whiteListQuery/types.ts new file mode 100644 index 0000000..7820409 --- /dev/null +++ b/src/api/amld/whiteListQuery/whiteListQuery/types.ts @@ -0,0 +1,152 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 系统流水号 */ + pkid?: string + /** 客户编号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 客户类型 */ + custType?: string + /** 客户状态 */ + custStatus?: string + /** 客户开户机构代码 */ + custOrgancode?: string + /** 审核状态 */ + lockStatus?: string + /** 客户公私类型 */ + custPptype?: string + /** 客户身份证件类型 */ + custCardtype?: string + /** 是否新增客户 */ + isnewcust?: string + /** 客户证件号码 */ + custCardno?: string + /** 客户固定电话 */ + custTel?: string + /** 客户手机号码 */ + custPhone?: string + /** 客户住址地址 */ + custAddress?: string + /** 其他联系方式 */ + custContactway?: string + /** 所属国家 */ + custCountry?: string + /** 客户行业类型 */ + custBusinesstype?: string + /** 客户注册资金 */ + custRegcap?: string + /** 法人代表人姓名 */ + corporationName?: string + /** 法人代表人证件类型 */ + corporationCardtye?: string + /** 法人代表人证件号码 */ + corporationCardno?: string + /** 风险评级编号 */ + riskCode?: string + /** 风险等级编号 */ + riskGradecode?: string + /** 风险评级分值 */ + riskScore?: string + /** 风险评级备注 */ + riskNate?: string + /** 审核人 */ + attribute1?: string + /** 审核时间 */ + attribute2?: string + /** 审核意见 */ + attribute3?: string + /** 申请时间 */ + attribute4?: string + /** 删除原因 */ + attribute5?: string + /** 预先保留字段6 */ + attribute6?: string + /** 预先保留字段7 */ + attribute7?: string + /** 预先保留字段8 */ + attribute8?: string + /** 预先保留字段9 */ + attribute9?: string + /** 预先保留字段10 */ + attribute10?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 系统流水号 */ + pkid?: string + /** 客户编号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 客户类型 */ + custType?: string + /** 客户状态 */ + custStatus?: string + /** 客户开户机构代码 */ + custOrgancode?: string + /** 审核状态 */ + lockStatus?: string + /** 客户公私类型 */ + custPptype?: string + /** 客户身份证件类型 */ + custCardtype?: string + /** 是否新增客户 */ + isnewcust?: string + /** 客户证件号码 */ + custCardno?: string + /** 客户固定电话 */ + custTel?: string + /** 客户手机号码 */ + custPhone?: string + /** 客户住址地址 */ + custAddress?: string + /** 其他联系方式 */ + custContactway?: string + /** 所属国家 */ + custCountry?: string + /** 客户行业类型 */ + custBusinesstype?: string + /** 客户注册资金 */ + custRegcap?: string + /** 法人代表人姓名 */ + corporationName?: string + /** 法人代表人证件类型 */ + corporationCardtye?: string + /** 法人代表人证件号码 */ + corporationCardno?: string + /** 风险评级编号 */ + riskCode?: string + /** 风险等级编号 */ + riskGradecode?: string + /** 风险评级分值 */ + riskScore?: string + /** 风险评级备注 */ + riskNate?: string + /** 审核人 */ + attribute1?: string + /** 审核时间 */ + attribute2?: string + /** 审核意见 */ + attribute3?: string + /** 申请时间 */ + attribute4?: string + /** 删除原因 */ + attribute5?: string + /** 预先保留字段6 */ + attribute6?: string + /** 预先保留字段7 */ + attribute7?: string + /** 预先保留字段8 */ + attribute8?: string + /** 预先保留字段9 */ + attribute9?: string + /** 预先保留字段10 */ + attribute10?: string +} diff --git a/src/api/amld/whiteListVerify/whiteListVerify/index.ts b/src/api/amld/whiteListVerify/whiteListVerify/index.ts new file mode 100644 index 0000000..bc9d171 --- /dev/null +++ b/src/api/amld/whiteListVerify/whiteListVerify/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getWhiteListVerifyListApi = (data: any) => { + return request.postJson({ url: '/whiteListVerify/spi/whiteListVerify/WhiteListVerify/WhiteListVerifyQueryPage', data }); +}; + +/** 批量删除 */ +export const delWhiteListVerifyListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v.pkid, + }; + }); + return request.postJson({ + url: '/whiteListVerify/spi/whiteListVerify/WhiteListVerify/WhiteListVerifyBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delWhiteListVerifyApi = (pkid?: string): Promise => { + return request.postJson({ url: '/whiteListVerify/spi/whiteListVerify/WhiteListVerify/WhiteListVerifyDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveWhiteListVerifyApi = (data: Partial): Promise => { + return request.postJson({ url: '/whiteListVerify/spi/whiteListVerify/WhiteListVerify/WhiteListVerifySave', data }); +}; + +/** 查询单条数据 */ +export const queryWhiteListVerifyApi = (pkid?: string): Promise => { + return request.postJson({ url: '/whiteListVerify/spi/whiteListVerify/WhiteListVerify/WhiteListVerifyQueryOne', data: { pkid } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/whiteListVerify/sui/whiteListVerify/WhiteListVerify/WhiteListVerifyImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/whiteListVerify/sui/whiteListVerify/WhiteListVerify/WhiteListVerifyImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/whiteListVerify/sdi/whiteListVerify/WhiteListVerify/WhiteListVerifyExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/amld/whiteListVerify/whiteListVerify/types.ts b/src/api/amld/whiteListVerify/whiteListVerify/types.ts new file mode 100644 index 0000000..7820409 --- /dev/null +++ b/src/api/amld/whiteListVerify/whiteListVerify/types.ts @@ -0,0 +1,152 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 系统流水号 */ + pkid?: string + /** 客户编号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 客户类型 */ + custType?: string + /** 客户状态 */ + custStatus?: string + /** 客户开户机构代码 */ + custOrgancode?: string + /** 审核状态 */ + lockStatus?: string + /** 客户公私类型 */ + custPptype?: string + /** 客户身份证件类型 */ + custCardtype?: string + /** 是否新增客户 */ + isnewcust?: string + /** 客户证件号码 */ + custCardno?: string + /** 客户固定电话 */ + custTel?: string + /** 客户手机号码 */ + custPhone?: string + /** 客户住址地址 */ + custAddress?: string + /** 其他联系方式 */ + custContactway?: string + /** 所属国家 */ + custCountry?: string + /** 客户行业类型 */ + custBusinesstype?: string + /** 客户注册资金 */ + custRegcap?: string + /** 法人代表人姓名 */ + corporationName?: string + /** 法人代表人证件类型 */ + corporationCardtye?: string + /** 法人代表人证件号码 */ + corporationCardno?: string + /** 风险评级编号 */ + riskCode?: string + /** 风险等级编号 */ + riskGradecode?: string + /** 风险评级分值 */ + riskScore?: string + /** 风险评级备注 */ + riskNate?: string + /** 审核人 */ + attribute1?: string + /** 审核时间 */ + attribute2?: string + /** 审核意见 */ + attribute3?: string + /** 申请时间 */ + attribute4?: string + /** 删除原因 */ + attribute5?: string + /** 预先保留字段6 */ + attribute6?: string + /** 预先保留字段7 */ + attribute7?: string + /** 预先保留字段8 */ + attribute8?: string + /** 预先保留字段9 */ + attribute9?: string + /** 预先保留字段10 */ + attribute10?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 系统流水号 */ + pkid?: string + /** 客户编号 */ + custCode?: string + /** 客户名称 */ + custName?: string + /** 客户类型 */ + custType?: string + /** 客户状态 */ + custStatus?: string + /** 客户开户机构代码 */ + custOrgancode?: string + /** 审核状态 */ + lockStatus?: string + /** 客户公私类型 */ + custPptype?: string + /** 客户身份证件类型 */ + custCardtype?: string + /** 是否新增客户 */ + isnewcust?: string + /** 客户证件号码 */ + custCardno?: string + /** 客户固定电话 */ + custTel?: string + /** 客户手机号码 */ + custPhone?: string + /** 客户住址地址 */ + custAddress?: string + /** 其他联系方式 */ + custContactway?: string + /** 所属国家 */ + custCountry?: string + /** 客户行业类型 */ + custBusinesstype?: string + /** 客户注册资金 */ + custRegcap?: string + /** 法人代表人姓名 */ + corporationName?: string + /** 法人代表人证件类型 */ + corporationCardtye?: string + /** 法人代表人证件号码 */ + corporationCardno?: string + /** 风险评级编号 */ + riskCode?: string + /** 风险等级编号 */ + riskGradecode?: string + /** 风险评级分值 */ + riskScore?: string + /** 风险评级备注 */ + riskNate?: string + /** 审核人 */ + attribute1?: string + /** 审核时间 */ + attribute2?: string + /** 审核意见 */ + attribute3?: string + /** 申请时间 */ + attribute4?: string + /** 删除原因 */ + attribute5?: string + /** 预先保留字段6 */ + attribute6?: string + /** 预先保留字段7 */ + attribute7?: string + /** 预先保留字段8 */ + attribute8?: string + /** 预先保留字段9 */ + attribute9?: string + /** 预先保留字段10 */ + attribute10?: string +} diff --git a/src/api/auth/user/index.ts b/src/api/auth/user/index.ts new file mode 100644 index 0000000..c1f4dee --- /dev/null +++ b/src/api/auth/user/index.ts @@ -0,0 +1,68 @@ +import request from '@/config/axios' +import type { TableData } from './types' +import SM4Util from '@/utils/sm4' + +/** 获取用户列表 */ +export const getUserListApi = (params: any) => { + return request.post({ url: '/sysuser/allUser', params }) +} + +/** 批量删除数据接口 */ +export const delUserListApi = (ids: string[] | number[]): Promise => { + return request.post({ url: '/sysuser/batchDelUser', data: { ids } }) +} + +/** 删除数据接口 */ +export const delUserApi = (id: string): Promise => { + return request.post({ url: '/sysuser/delete', data: { id } }) +} + +/** 保存接口 */ +export const saveUserApi = (data: Partial): Promise => { + return request.post({ url: '/sysuser/save', data }) +} + +/** 编辑| 查询接口 */ +export const queryUserApi = (id: string | number): Promise => { + return request.post({ url: '/sysuser/edit/getParams', data: { id } }) +} + +/** 重置密码接口 */ +export const resetPassword = (id: string | number): Promise => { + return request.post({ url: '/sysuser/resetPassword', data: { id } }) +} + +/** 批量重置密码接口 */ +export const resetPasswordbatch = (ids: string[] | number[]): Promise => { + const sm4 = new SM4Util() + return request.post({ + url: '/sysuser/resetPasswordbatch', + data: { ids, password: sm4.encryptData_ECB('123456') } + }) +} + +/** 获取字典接口[部门&单位名称] */ +export const getUserDictApi = (): Promise => { + return request.post({ url: '/sysuser/initParams' }) +} + +/** 获取角色列表接口 */ +export const getRoleListParamsApi = (): Promise => { + return request.post({ url: '/sysuser/add/getParams' }) +} + +/** 判断是否存在登录号 */ +export const checkUserNameApi = (username: string | number): Promise => { + return request.post({ url: '/sysuser/checkname', data: { username } }) +} + +/** 获得当前登录用户系统组 */ +export const getProfessionGroup = (): Promise => { + return request.post({ url: '/system/spi/system/SysRoleProfession/SysRoleProfession' }) +} + + + + + + diff --git a/src/api/auth/user/types.ts b/src/api/auth/user/types.ts new file mode 100644 index 0000000..8fe56ce --- /dev/null +++ b/src/api/auth/user/types.ts @@ -0,0 +1,30 @@ +export type TableData = { + /** 更新类型 */ + type?: string + /** 编号 */ + id: string + /** 登录号 */ + username?: string + /** 用户姓名 */ + name?: string + /** 机构id */ + organId: string + /** 机构名称 */ + organName: string + /** 性别 */ + sex?: string + /** 角色 */ + roles?: any + /** 角色 */ + roleIds?: any + /** Email */ + email?: string + /** 手机号 */ + mobile?: string + /** 电话 */ + phone?: string + /** 最后登录IP */ + loginIp?: string + /** 最后登录时间 */ + logindate?: string +} diff --git a/src/api/common/index.ts b/src/api/common/index.ts new file mode 100644 index 0000000..ff28ec2 --- /dev/null +++ b/src/api/common/index.ts @@ -0,0 +1,100 @@ +import request from '@/config/axios'; + +/** 获取所有字典 */ +export const getDictApi = () => { + return request.get({ url: '/dict/list' }); +}; + +/** 获取某个字典 */ +export const getDictOneApi = async ({ paramName, systemCode = 'system' }: { paramName: string; systemCode?: string }) => { + const res = await request.post({ + url: '/param/spi/param/systemparam', + data: { paramName: paramName, systemCode }, + }); + if (res?.body?.result?.length > 0) { + return res.body.result.map(item => ({ + label: item.dictName, + value: item.dictld, + })); + } + return []; +}; + +/** 获取跨系统校验系统名称/版本级联下拉字典 */ +export const getCsckSystem = async () => { + const res = await request.post({ + url: '/csck/spi/csck/CsckBusinessSystem/CsckBusinessSystemQuery', + data: {}, + }); + if (res?.body?.list?.length > 0) { + return res.body.list; + } + return []; +}; + +/** 获取跨系统校验系统组别/组别版本级联下拉字典 */ +export const getCsckSystemGroup = async () => { + const res = await request.post({ + url: '/csck/spi/csck/CsckCheckVesrion/CsckCheckVesrionQuery', + data: {}, + }); + if (res?.body?.list?.length > 0) { + return res.body.list; + } + return []; +}; + +/** 获取跨系统校验系统名称下拉字典 */ +export const getCsckSystemList = async () => { + const res = await request.post({ + url: '/csck/spi/csck/CsckBusinessSystem/CsckBusinessSystemDict', + data: {}, + }); + if (res?.body?.result?.length > 0) { + return res.body.result.map(item => ({ + label: item.systemName, + value: item.systemCode, + })); + } + return []; +}; + +/** 菜单树,增加默认排序 */ +export const getMenuTreeApi = async () => { + const res = await request.post({ + url: '/system/spi/system/SysMenu/SysMenuTree', + }); + if (res?.body?.menutree?.length > 0) { + const data = res.body.menutree + return data.sort((a:AppCustomRouteRecordRaw, b:AppCustomRouteRecordRaw) => { + return a?.props?.sort && b?.props?.sort ? a.props.sort - b.props.sort : 0 + }); + } + return []; +}; + +/** 获取机构树 */ +export const getOrgTreeByTreeId = async (treeid: string, systemCode: string = '') => { + return request.postJson({ url: '/param/spi/param/systemorgantree', data: { treeid, systemCode } }); +}; + +/** 获取机构树 */ +export const getOrganTree = (data: any) => { + return request.postJson({ url: '/param/spi/param/systemorgantree', data }); +}; + +/** 查询表格列 */ +export const queryTableColumnsApi = (data: any) => { + return request.postJson({ url: '/param/spi/param/TableColumns/TableColumnsQueryOne', data }); +}; + +/** 更新表格列 */ +export const updateTableColumnsApi = (data: any) => { + return request.postJson({ url: '/param/spi/param/TableColumns/TableColumnsSave', data }); +}; + +/** 删除表格列 */ +export const delTableColumnsApi = (data: any) => { + return request.postJson({ url: '/param/spi/param/TableColumns/TableColumnsDelete', data }); +}; + diff --git a/src/api/csck/CsckBusinessSystem/index.ts b/src/api/csck/CsckBusinessSystem/index.ts new file mode 100644 index 0000000..47fac89 --- /dev/null +++ b/src/api/csck/CsckBusinessSystem/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCsckBusinessSystemListApi = (data: any) => { + return request.postJson({ url: '/csck/spi/csck/CsckBusinessSystem/CsckBusinessSystemQueryPage', data }); +}; + +/** 批量删除 */ +export const delCsckBusinessSystemListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + systemCode: v, + }; + }); + return request.postJson({ + url: '/csck/spi/csck/CsckBusinessSystem/CsckBusinessSystemBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delCsckBusinessSystemApi = (systemCode: string | number, systemVersion: string): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckBusinessSystem/CsckBusinessSystemDelete', data: { systemCode, systemVersion } }); +}; + +/** 保存 */ +export const saveCsckBusinessSystemApi = (data: Partial): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckBusinessSystem/CsckBusinessSystemSave', data }); +}; + +/** 查询单条数据 */ +export const queryCsckBusinessSystemApi = (systemCode: string | number, systemVersion: string): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckBusinessSystem/CsckBusinessSystemQueryOne', data: { systemCode, systemVersion } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/csck/sui/csck/CsckBusinessSystem/CsckBusinessSystemImportExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/csck/sdi/csck/CsckBusinessSystem/CsckBusinessSystemExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckBusinessSystemApi = async ({ paramName }: { paramName: string; systemCode?: string }) => { + const res = await request.post({ + url: '/csck/spi/csck/CsckBusinessSystem/CsckBusinessSystemDict', + data: { paramName: paramName }, + }); + if (res?.body?.result?.length > 0) { + return res.body.result.map(item => ({ + label: item.dictName, + value: item.dictld, + })); + } + return []; +}; diff --git a/src/api/csck/CsckBusinessSystem/types.ts b/src/api/csck/CsckBusinessSystem/types.ts new file mode 100644 index 0000000..af3955e --- /dev/null +++ b/src/api/csck/CsckBusinessSystem/types.ts @@ -0,0 +1,18 @@ +export type TableData = { + /** 系统编码 */ + systemCode: string + /** 系统名称 */ + systemName: string + /** 系统版本号 */ + systemVersion: string + /** 创建人 */ + createUser: string + /** 创建时间 */ + createTime: string + /** 开始时间 */ + startTime: string + /** 结束时间 */ + endTime: string + /** 删除标识(0:未删除,1:删除) */ + isDel: string +} diff --git a/src/api/csck/CsckCheckRule/index.ts b/src/api/csck/CsckCheckRule/index.ts new file mode 100644 index 0000000..52b97f6 --- /dev/null +++ b/src/api/csck/CsckCheckRule/index.ts @@ -0,0 +1,61 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCsckCheckRuleListApi = (data: any) => { + return request.postJson({ url: '/csck/spi/csck/CsckCheckRule/CsckCheckRuleQueryPage', data }); +}; + +/** 批量删除 */ +export const delCsckCheckRuleListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v, + }; + }); + return request.postJson({ + url: '/csck/spi/csck/CsckCheckRule/CsckCheckRuleBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delCsckCheckRuleApi = (pkid: string | number): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckCheckRule/CsckCheckRuleDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveCsckCheckRuleApi = (data: Partial): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckCheckRule/CsckCheckRuleSave', data }); +}; + +/** 查询单条数据 */ +export const queryCsckCheckRuleApi = (pkid: string | number): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckCheckRule/CsckCheckRuleQueryOne', data: { pkid } }); +}; +/** 测试单条规则 */ +export const testCsckCheckRuleApi = (pkid: string | number): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckCheckRule/CsckTestCheckRule', data: { pkid } }); +}; + + + +/** 导入 */ +export const importExcelApiUrl = '/csck/sui/csck/CsckCheckRule/CsckCheckRuleImportExcel'; + +/** 导出 */ +export const exportExcelApi = (data: any) => { + return request.doExport({ url: '/csck/sdi/csck/CsckCheckRule/CsckCheckRuleExportXls', data }); +}; +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; diff --git a/src/api/csck/CsckCheckRule/types.ts b/src/api/csck/CsckCheckRule/types.ts new file mode 100644 index 0000000..d0da765 --- /dev/null +++ b/src/api/csck/CsckCheckRule/types.ts @@ -0,0 +1,32 @@ +export type TableData = { + /** 主键 */ + pkid: string + /** 源系统编码 */ + sourceSystemCode: string + /** 目标系统编码 */ + targetSystemCode: string + /** 系统组 */ + systemGroupName: string + /** 校验版本号 */ + checkVersion: string + /** 规则编制机构 */ + ruleMakingOrgan: string + /** 风险等级 */ + riskLevel: string + /** 官方关注度 */ + attentionDegree: string + /** 业务类型 */ + businessType: string + /** 执行频度 */ + frequency: string + /** 比较符 */ + comparator: string + /** 容差范围 */ + faultTolerance: string + /** 规则描述 */ + ruleDesc: string + /** 是否启用 */ + isEnable: string + /** 是否强制执行 */ + isEnforcement: string +} diff --git a/src/api/csck/CsckCheckVesrion/index.ts b/src/api/csck/CsckCheckVesrion/index.ts new file mode 100644 index 0000000..a7da1fa --- /dev/null +++ b/src/api/csck/CsckCheckVesrion/index.ts @@ -0,0 +1,47 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCsckCheckVesrionListApi = (data: any) => { + return request.postJson({ url: '/csck/spi/csck/CsckCheckVesrion/CsckCheckVesrionQueryPage', data }); +}; + +/** 批量删除 */ +export const delCsckCheckVesrionListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + sourceSystemCode, + targetSystemCode, + checkVersion: v, + }; + }); + return request.postJson({ + url: '/csck/spi/csck/CsckCheckVesrion/CsckCheckVesrionBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delCsckCheckVesrionApi = (sourceSystemCode, targetSystemCode, checkVersion: string | number): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckCheckVesrion/CsckCheckVesrionDelete', data: { sourceSystemCode, targetSystemCode, checkVersion } }); +}; + +/** 保存 */ +export const saveCsckCheckVesrionApi = (data: Partial): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckCheckVesrion/CsckCheckVesrionSave', data }); +}; + +/** 查询单条数据 */ +export const queryCsckCheckVesrionApi = (sourceSystemCode, targetSystemCode, checkVersion: string | number): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckCheckVesrion/CsckCheckVesrionQueryOne', data: { sourceSystemCode, targetSystemCode, checkVersion } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/csck/sui/csck/CsckCheckVesrion/CsckCheckVesrionImportExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/csck/sdi/csck/CsckCheckVesrion/CsckCheckVesrionExportXls', params }); +}; diff --git a/src/api/csck/CsckCheckVesrion/types.ts b/src/api/csck/CsckCheckVesrion/types.ts new file mode 100644 index 0000000..d6c1296 --- /dev/null +++ b/src/api/csck/CsckCheckVesrion/types.ts @@ -0,0 +1,26 @@ +export type TableData = { + /** 源系统编码 */ + sourceSystemCode: string + /** 源系统名称 */ + sourceSystemName: string + /** 目标系统编码 */ + targetSystemCode: string + /** 目标系统名称 */ + targetSystemName: string + /** 校验版本号 */ + checkVersion: string + /** 校验版本名称 */ + checkVersionName: string + /** 报表名称 */ + reportName: string + /** 报表版本号 */ + reportVersion: string + /** 开始时间 */ + startTime: string + /** 结束时间 */ + endTime: string + /** 创建人 */ + createUser: string + /** 创建时间 */ + createTime: string +} diff --git a/src/api/csck/CsckDataCheckImport/index.ts b/src/api/csck/CsckDataCheckImport/index.ts new file mode 100644 index 0000000..4d4f651 --- /dev/null +++ b/src/api/csck/CsckDataCheckImport/index.ts @@ -0,0 +1,50 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCsckDataCheckImportListApi = (data: any) => { + return request.postJson({ url: '/csck/spi/csck/CsckDataCheckImport/CsckDataCheckImportQueryPage', data }); +}; + +/** 批量删除 */ +export const delCsckDataCheckImportListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v, + }; + }); + return request.postJson({ + url: '/csck/spi/csck/CsckDataCheckImport/CsckDataCheckImportBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delCsckDataCheckImportApi = (pkid: string | number): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckDataCheckImport/CsckDataCheckImportDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveCsckDataCheckImportApi = (data: Partial): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckDataCheckImport/CsckDataCheckImportSave', data }); +}; + +/** 查询单条数据 */ +export const queryCsckDataCheckImportApi = (pkid: string | number): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckDataCheckImport/CsckDataCheckImportQueryOne', data: { pkid } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/csck/sui/csck/CsckDataCheckImport/CsckDataCheckImportImportExcel'; + +/** 按系统组统计数量导出 */ +export const exportExcelBySystemgroupApi = (data: any) => { + return request.doExport({ url: '/csck/sdi/csck/CsckDataCheckResult/CsckDataCheckResultBySystemGroupExportXls', data }); +}; + +/** 导出 */ +export const exportExcelByRulepApi = (data: any) => { + return request.doExport({ url: '/csck/sdi/csck/CsckDataCheckResult/CsckDataCheckResultByInspectionIssuesExportXls', data }); +}; diff --git a/src/api/csck/CsckDataCheckImport/types.ts b/src/api/csck/CsckDataCheckImport/types.ts new file mode 100644 index 0000000..6bd03f9 --- /dev/null +++ b/src/api/csck/CsckDataCheckImport/types.ts @@ -0,0 +1,26 @@ +export type TableData = { + /** 主键 */ + pkid: string + /** 机构编码 */ + orgCode: string + /** 数据日期 */ + dataDate: string + /** 系统编码 */ + systemCode: string + /** 系统名称 */ + systemName: string + /** 系统版本号 */ + systemVersion: string + /** 模型/报表ID */ + modelReportId: string + /** 模型/报表名称 */ + modelReportName: string + /** 导入状态 */ + status: string + /** 报表类型 */ + reportType: string + /** 更新时间 */ + updateTime: string + /** 错误信息 */ + errorDesc: string +} diff --git a/src/api/csck/CsckDataCheckResult/index.ts b/src/api/csck/CsckDataCheckResult/index.ts new file mode 100644 index 0000000..21fb282 --- /dev/null +++ b/src/api/csck/CsckDataCheckResult/index.ts @@ -0,0 +1,65 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCsckDataCheckResultListApi = (data: any) => { + return request.postJson({ url: '/csck/spi/csck/CsckDataCheckResult/CsckDataCheckResultQueryPage', data }); +}; + +/** 批量删除 */ +export const delCsckDataCheckResultListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v, + }; + }); + return request.postJson({ + url: '/csck/spi/csck/CsckDataCheckResult/CsckDataCheckResultBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delCsckDataCheckResultApi = (pkid: string | number): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckDataCheckResult/CsckDataCheckResultDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveCsckDataCheckResultApi = (data: Partial): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckDataCheckResult/CsckDataCheckResultSave', data }); +}; + +/** 查询单条数据 */ +export const queryCsckDataCheckResultApi = (pkid: string | number): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckDataCheckResult/CsckDataCheckResultQueryOne', data: { pkid } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/csck/sui/csck/CsckDataCheckResult/CsckDataCheckResultImportExcel'; + +/** 导出 */ +export const exportExcelApi = (data: any) => { + return request.doExport({ url: '/csck/sdi/csck/CsckDataCheckResult/CsckDataCheckResultExportXls', data }); +}; +/** 单独导出 */ +export const exportAloneExcelApi = (data: any) => { + return request.doExport({ url: '/csck/sdi/csck/CsckDataCheckResult/CsckDataCheckRuleDataExportXls', data }); +}; +export const checkAllRuleApi = (data: { orgCodes?: string; dataDate?: string; pkid?: string,createUser?: string;systemGroupCode?: string }): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckDataCheckResult/CsckDataForRuleChecks', data }); +}; + +export const batchCheckRuleApi = (data: { list: { orgCodes?: string; dataDate?: string; pkid?: string;systemGroupName?:string }[] }): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckDataCheckResult/CsckDataForResultChecks', data }); +}; + +/** 获取表格数据 */ +export const getCsckDataCheckDataApi = (data: any): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckDataCheckResult/CsckDataCheckData', data }); +}; + +export const csckDataRetrievalApi = (data: { dbList: { orgCode?: string; dataDate?: string; pkid?: string;systemGroupName?:string}[],createUser?: string } ): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckDataRetrieval/CsckDataRetrieval', data }); +}; diff --git a/src/api/csck/CsckDataCheckResult/types.ts b/src/api/csck/CsckDataCheckResult/types.ts new file mode 100644 index 0000000..f4c93c3 --- /dev/null +++ b/src/api/csck/CsckDataCheckResult/types.ts @@ -0,0 +1,73 @@ +import type { TableColumnCtx } from 'element-plus' + +export interface SpanMethodProps { + row: TableData + column: TableColumnCtx + rowIndex: number + columnIndex: number +} + +export type TableData = { + sourceRuleDesc: any + targetRuleDesc: any + /** 机构名称 */ + organName?: string + /** 主键 */ + pkid: string + /** 机构编码 */ + orgCode: string + /** 机构名称 */ + orgName: string + /** 源系统编码 */ + sourceSystemCode: string + /** 源系统名称 */ + sourceSystemName: string + /** 目标系统编码 */ + targetSystemCode: string + /** 目标系统名称 */ + targetSystemName: string + /** 系统组编码 */ + systemGroupCode: string + /** 系统组名称 */ + systemGroupName: string + /** 数据日期 */ + dataDate: string + /** 校验版本号 */ + checkVersion: string + /** 校验版本名称 */ + checkVersionName: string + /** 规则编制机构 */ + ruleMakingOrgan: string + /** 风险等级 */ + riskLevel: string + /** 官方关注度 */ + attentionDegree: string + /** 是否强制执行 */ + isEnforcement: string + /** 校验结果 */ + checkResult: string + /** 比较符 */ + comparator: string + /** 容差范围 */ + faultTolerance: string + /** 规则描述 */ + ruleDesc: string + /** 左侧值 */ + leftValue: string + /** 左侧规则 */ + leftRule: string + /** 左侧版本 */ + leftVersion: string + /** 右侧值 */ + rightValue: string + /** 右侧规则 */ + rightRule: string + /** 右侧版本 */ + rightVersion: string + /** 差值 */ + diffValue: string, + /** 校验规则名称 */ + checkRuleName: string, + /** 行合并 */ + _rowspan?: number +} \ No newline at end of file diff --git a/src/api/csck/CsckDataCheckResultComment/index.ts b/src/api/csck/CsckDataCheckResultComment/index.ts new file mode 100644 index 0000000..4848ff9 --- /dev/null +++ b/src/api/csck/CsckDataCheckResultComment/index.ts @@ -0,0 +1,28 @@ +import request from '@/config/axios'; + + +/** 按机构导出情况说明 */ +export const exportCommentsExcelByOrganApi = (data: any) => { + return request.doExport({ url: '/csck/sdi/csck/CsckComments/CsckCommentsExportXlsByOrgan', data }); +}; + +/** 按规则导出情况说明 */ +export const exportCommentsExcelByRuleApi = (data: any) => { + return request.doExport({ url: '/csck/sdi/csck/CsckComments/CsckCommentsExportXlsByRule', data }); +}; + +/** 查询情况说明 */ +export const getCsckCommentsListApi = (data: any): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckComments/CsckCommentsSearch', data }); +}; + +/** 查询情况说明子查询 */ +export const getCsckCommentsSubListApi = (data: any): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckComments/CsckCommentsSubSearch', data }); +}; + +/** 保存情况说明 */ +export const saveCsckCommentsApi = (data: { organCode?: string;dataDate?: string;pkid?: string,grade?:string,comment?: string }): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckComments/CsckCommentsSave', data }); +}; + diff --git a/src/api/csck/CsckDataCheckResultComment/types.ts b/src/api/csck/CsckDataCheckResultComment/types.ts new file mode 100644 index 0000000..5ef2cae --- /dev/null +++ b/src/api/csck/CsckDataCheckResultComment/types.ts @@ -0,0 +1,73 @@ +export type TableData = { + sourceRuleDesc: any + targetRuleDesc: any + /** 机构名称 */ + organName?: string + orgname?: string + /** 主键 */ + pkid: string + /** 机构编码 */ + orgCode: string + /** 机构编码 */ + orgcode: string + /** 机构名称 */ + orgName: string + /** 源系统编码 */ + sourceSystemCode: string + /** 源系统名称 */ + sourceSystemName: string + /** 目标系统编码 */ + targetSystemCode: string + /** 目标系统名称 */ + targetSystemName: string + /** 系统组编码 */ + systemGroupCode: string + /** 系统组名称 */ + systemGroupName: string + /** 数据日期 */ + dataDate: string + /** 校验版本号 */ + checkVersion: string + /** 校验版本名称 */ + checkVersionName: string + /** 规则编制机构 */ + ruleMakingOrgan: string + /** 风险等级 */ + riskLevel: string + /** 官方关注度 */ + attentionDegree: string + /** 是否强制执行 */ + isEnforcement: string + /** 校验结果 */ + checkResult: string + /** 比较符 */ + comparator: string + /** 容差范围 */ + faultTolerance: string + /** 规则描述 */ + ruleDesc: string + /** 左侧值 */ + leftValue: string + /** 左侧规则 */ + leftRule: string + /** 左侧版本 */ + leftVersion: string + /** 右侧值 */ + rightValue: string + /** 右侧规则 */ + rightRule: string + /** 右侧版本 */ + rightVersion: string + /** 差值 */ + diffValue: string, + /** 校验规则名称 */ + checkRuleName: string, + /** 随机字符串 */ + randomCode?: string, + /** 是否存在子级 */ + hasChildren?: boolean, + /** 是否存在子机构 */ + subOrgan?: string + /** 行合并 */ + _rowspan?: number +} diff --git a/src/api/csck/CsckFlow/index.ts b/src/api/csck/CsckFlow/index.ts new file mode 100644 index 0000000..03a385a --- /dev/null +++ b/src/api/csck/CsckFlow/index.ts @@ -0,0 +1,27 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCsckBusinessSystemListApi = (data: any) => { + return request.postJson({ url: '/csck/spi/csck/CsckWorkFlow/CsckWorkFlowQuery', data}); +}; + +/** 获取子表格数据 */ +export const getCsckWorkFlowSubTable = (data: any) => { + return request.postJson({ url: '/csck/spi/csck/CsckWorkFlow/CsckWorkFlowSubTable', data}); +}; + +/** 提交/驳回 */ +export const saveCsckBusinessSystemApi = (data: Partial): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckWorkFlow/CsckWorkFlowDeal', data }); +}; + +/** 查询单条数据 */ +export const queryCsckBusinessSystemApi = (systemCode: string | number, systemVersion: string): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckBusinessSystem/CsckBusinessSystemQueryOne', data: { systemCode, systemVersion } }); +}; + +/** 获取提交时按钮状态 */ +export const getWorkFlowVisiableButton = (systemGroup: string): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckWorkFlow/CsckWorkFlowVisiableButton', data: { systemGroup } }); +}; \ No newline at end of file diff --git a/src/api/csck/CsckFlow/types.ts b/src/api/csck/CsckFlow/types.ts new file mode 100644 index 0000000..3d52af1 --- /dev/null +++ b/src/api/csck/CsckFlow/types.ts @@ -0,0 +1,26 @@ +export type TableData = { + /** 机构名称 */ + organName?: string + /** 数据日期 */ + dataDate?: string + /** 创建日期 */ + createTime?: string + /** 机构编码 */ + organCode?: string + /** 机构层级 */ + grade?: string + /** 创建用户 */ + createUser?: string + /** 示例id */ + processinsstanceId?: string + /** 状态 */ + state?: string + /** 任务id */ + taskId?: string + /** 系统组 */ + systemGroup?: string + /** 随机字符串 */ + randomCode?: string + /** 是否存在子级 */ + hasChildren?: boolean +} diff --git a/src/api/csck/CsckModelDetail/index.ts b/src/api/csck/CsckModelDetail/index.ts new file mode 100644 index 0000000..56cbfa9 --- /dev/null +++ b/src/api/csck/CsckModelDetail/index.ts @@ -0,0 +1,47 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCsckModelDetailListApi = (data: any) => { + return request.postJson({ url: '/csck/spi/csck/CsckModelDetail/CsckModelDetailQueryPage', data }); +}; + +/** 批量删除 */ +export const delCsckModelDetailListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + systemCode, + systemVersion, + modelId: v, + }; + }); + return request.postJson({ + url: '/csck/spi/csck/CsckModelDetail/CsckModelDetailBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delCsckModelDetailApi = (systemCode, systemVersion, modelId: string | number): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckModelDetail/CsckModelDetailDelete', data: { systemCode, systemVersion, modelId } }); +}; + +/** 保存 */ +export const saveCsckModelDetailApi = (data: Partial): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckModelDetail/CsckModelDetailSave', data }); +}; + +/** 查询单条数据 */ +export const queryCsckModelDetailApi = (systemCode, systemVersion, modelId: string | number): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckModelDetail/CsckModelDetailQueryOne', data: { systemCode, systemVersion, modelId } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/csck/sui/csck/CsckModelDetail/CsckModelDetailImportExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/csck/sdi/csck/CsckModelDetail/CsckModelDetailExportXls', params }); +}; diff --git a/src/api/csck/CsckModelDetail/types.ts b/src/api/csck/CsckModelDetail/types.ts new file mode 100644 index 0000000..d190d3c --- /dev/null +++ b/src/api/csck/CsckModelDetail/types.ts @@ -0,0 +1,20 @@ +export type TableData = { + /** 系统编码 */ + systemCode: string + /** 系统名称 */ + systemName: string + /** 系统版本号 */ + systemVersion: string + /** 模型ID */ + modelId: string + /** 存储方式 */ + storeType: string + /** 存储频度 */ + storeFrequency: string + /** 模型名称 */ + modelName: string + /** 创建人 */ + createUser: string + /** 创建时间 */ + createTime: string +} diff --git a/src/api/csck/CsckModelDetailTarget/index.ts b/src/api/csck/CsckModelDetailTarget/index.ts new file mode 100644 index 0000000..2a15f04 --- /dev/null +++ b/src/api/csck/CsckModelDetailTarget/index.ts @@ -0,0 +1,30 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCsckModelDetailTargetListApi = (data: any) => { + return request.postJson({ url: '/csck/spi/csck/CsckModelDetailTarget/CsckModelDetailTargetQueryPage', data }); +}; + +/** 删除 */ +export const delCsckModelDetailTargetApi = (params: { modelId; fieldCode; systemVersion: string | number }): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckModelDetailTarget/CsckModelDetailTargetDelete', data: params }); +}; + +/** 保存 */ +export const saveCsckModelDetailTargetApi = (data: Partial): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckModelDetailTarget/CsckModelDetailTargetSave', data }); +}; + +/** 查询单条数据 */ +export const queryCsckModelDetailTargetApi = (params: { modelId; fieldCode; systemVersion: string | number }): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckModelDetailTarget/CsckModelDetailTargetQueryOne', data: params }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/csck/sui/csck/CsckModelDetailTarget/CsckModelDetailTargetImportExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/csck/sdi/csck/CsckModelDetailTarget/CsckModelDetailTargetExportXls', params }); +}; diff --git a/src/api/csck/CsckModelDetailTarget/types.ts b/src/api/csck/CsckModelDetailTarget/types.ts new file mode 100644 index 0000000..c1f5d40 --- /dev/null +++ b/src/api/csck/CsckModelDetailTarget/types.ts @@ -0,0 +1,28 @@ +export type TableData = { + /** 系统编码 */ + systemCode: string + /** 系统名称 */ + systemName: string + /** 系统版本号 */ + systemVersion: string + /** 模型ID */ + modelId: string + /** 模型名称 */ + modelName: string + /** 字段编码 */ + fieldCode: string + /** 字段名称 */ + fieldName: string + /** 数据库类型 */ + dbType: string + /** 字段类型 */ + fieldType: string + /** 字段长度 */ + fieldLength: string + /** 字段精度 */ + fieldPrecision: string + /** 是否为空(0:否,1:是) */ + isNull: string + /** 是否主键(0:否,1:是) */ + isPkid: string +} diff --git a/src/api/csck/CsckModelItem/index.ts b/src/api/csck/CsckModelItem/index.ts new file mode 100644 index 0000000..cb0ecfa --- /dev/null +++ b/src/api/csck/CsckModelItem/index.ts @@ -0,0 +1,30 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCsckModelItemListApi = (data: any) => { + return request.postJson({ url: '/csck/spi/csck/CsckModelItem/CsckModelItemQueryPage', data }); +}; + +/** 删除 */ +export const delCsckModelItemApi = (systemCode, systemVersion, reportCode, reportVersion, reportFrequency, itemName: string | number): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckModelItem/CsckModelItemDelete', data: { systemCode, systemVersion, reportCode, reportVersion, reportFrequency, itemName } }); +}; + +/** 保存 */ +export const saveCsckModelItemApi = (data: Partial): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckModelItem/CsckModelItemSave', data }); +}; + +/** 查询单条数据 */ +export const queryCsckModelItemApi = (systemCode, systemVersion, reportCode, reportVersion, reportFrequency, itemName: string | number): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckModelItem/CsckModelItemQueryOne', data: { systemCode, systemVersion, reportCode, reportVersion, reportFrequency, itemName } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/csck/sui/csck/CsckModelItem/CsckModelItemImportExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/csck/sdi/csck/CsckModelItem/CsckModelItemExportXls', params }); +}; diff --git a/src/api/csck/CsckModelItem/types.ts b/src/api/csck/CsckModelItem/types.ts new file mode 100644 index 0000000..d5a27f9 --- /dev/null +++ b/src/api/csck/CsckModelItem/types.ts @@ -0,0 +1,24 @@ +export type TableData = { + /** 系统编码 */ + systemCode: string + /** 系统名称 */ + systemName: string + /** 系统版本号 */ + systemVersion: string + /** 报表编码 */ + reportCode: string + /** 报表名称 */ + reportName: string + /** 报表版本号 */ + reportVersion: string + /** 报表频度 */ + reportFrequency: string + /** 指标编码 */ + itemCode: string + /** 指标名称 */ + itemName: string + /** 指标行坐标 */ + itemRow: string + /** 指标列坐标 */ + itemColumn: string +} diff --git a/src/api/csck/CsckWorkFlow/index.ts b/src/api/csck/CsckWorkFlow/index.ts new file mode 100644 index 0000000..872b880 --- /dev/null +++ b/src/api/csck/CsckWorkFlow/index.ts @@ -0,0 +1,35 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getCsckBusinessSystemListApi = (data: any) => { + return request.postJson({ url: '/csck/spi/csck/CsckWorkFlow/CsckWorkFlowQuery', data}); +}; + +/** 获取子表格数据 */ +export const getCsckWorkFlowSubTable = (data: any) => { + return request.postJson({ url: '/csck/spi/csck/CsckWorkFlow/CsckWorkFlowSubTable', data}); +}; + +/** 提交/驳回 */ +export const saveCsckBusinessSystemApi = (data: Partial): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckWorkFlow/CsckWorkFlowDeal', data }); +}; + +/** 查询单条数据 */ +export const queryCsckBusinessSystemApi = (systemCode: string | number, systemVersion: string): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckBusinessSystem/CsckBusinessSystemQueryOne', data: { systemCode, systemVersion } }); +}; + +/** 获取提交时按钮状态 */ +export const getWorkFlowVisiableButton = (systemGroup: string): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckWorkFlow/CsckWorkFlowVisiableButton', data: { systemGroup } }); +}; + +export const queryCsckWorkFlowApi = (data: { systemGroup?: string; dataDate?: string; organCode?: string }): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckWorkFlow/CsckWorkFlowQueryOne', data }); +}; + +export const queryCsckWorkFlowBatchApi = (data: { dbList: { orgCode?: string; dataDate?: string; pkid?: string;systemGroupName?:string}[] }): Promise => { + return request.postJson({ url: '/csck/spi/csck/CsckWorkFlow/CsckWorkFlowQueryBatchState', data }); +}; \ No newline at end of file diff --git a/src/api/csck/CsckWorkFlow/types.ts b/src/api/csck/CsckWorkFlow/types.ts new file mode 100644 index 0000000..3d52af1 --- /dev/null +++ b/src/api/csck/CsckWorkFlow/types.ts @@ -0,0 +1,26 @@ +export type TableData = { + /** 机构名称 */ + organName?: string + /** 数据日期 */ + dataDate?: string + /** 创建日期 */ + createTime?: string + /** 机构编码 */ + organCode?: string + /** 机构层级 */ + grade?: string + /** 创建用户 */ + createUser?: string + /** 示例id */ + processinsstanceId?: string + /** 状态 */ + state?: string + /** 任务id */ + taskId?: string + /** 系统组 */ + systemGroup?: string + /** 随机字符串 */ + randomCode?: string + /** 是否存在子级 */ + hasChildren?: boolean +} diff --git a/src/api/dashboard/analysis/index.ts b/src/api/dashboard/analysis/index.ts new file mode 100644 index 0000000..1f00ed0 --- /dev/null +++ b/src/api/dashboard/analysis/index.ts @@ -0,0 +1,23 @@ +import request from '@/config/axios' +import type { + AnalysisTotalTypes, + UserAccessSource, + WeeklyUserActivity, + MonthlySales +} from './types' + +export const getCountApi = (): Promise> => { + return request.get({ url: '/analysis/total' }) +} + +export const getUserAccessSourceApi = (): Promise> => { + return request.get({ url: '/analysis/userAccessSource' }) +} + +export const getWeeklyUserActivityApi = (): Promise> => { + return request.get({ url: '/analysis/weeklyUserActivity' }) +} + +export const getMonthlySalesApi = (): Promise> => { + return request.get({ url: '/analysis/monthlySales' }) +} diff --git a/src/api/dashboard/analysis/types.ts b/src/api/dashboard/analysis/types.ts new file mode 100644 index 0000000..4a239f5 --- /dev/null +++ b/src/api/dashboard/analysis/types.ts @@ -0,0 +1,22 @@ +export type AnalysisTotalTypes = { + users: number + messages: number + moneys: number + shoppings: number +} + +export type UserAccessSource = { + value: number + name: string +} + +export type WeeklyUserActivity = { + value: number + name: string +} + +export type MonthlySales = { + name: string + estimate: number + actual: number +} diff --git a/src/api/dashboard/workplace/index.ts b/src/api/dashboard/workplace/index.ts new file mode 100644 index 0000000..0880640 --- /dev/null +++ b/src/api/dashboard/workplace/index.ts @@ -0,0 +1,22 @@ +import request from '@/config/axios' +import type { WorkplaceTotal, Project, Dynamic, Team, RadarData } from './types' + +export const getCountApi = (): Promise> => { + return request.get({ url: '/workplace/total' }) +} + +export const getProjectApi = (): Promise> => { + return request.get({ url: '/workplace/project' }) +} + +export const getDynamicApi = (): Promise> => { + return request.get({ url: '/workplace/dynamic' }) +} + +export const getTeamApi = (): Promise> => { + return request.get({ url: '/workplace/team' }) +} + +export const getRadarApi = (): Promise> => { + return request.get({ url: '/workplace/radar' }) +} diff --git a/src/api/dashboard/workplace/types.ts b/src/api/dashboard/workplace/types.ts new file mode 100644 index 0000000..da23e74 --- /dev/null +++ b/src/api/dashboard/workplace/types.ts @@ -0,0 +1,30 @@ +export type WorkplaceTotal = { + project: number + access: number + todo: number +} + +export type Project = { + name: string + icon: string + message: string + personal: string + time: Date | number | string +} + +export type Dynamic = { + keys: string[] + time: Date | number | string +} + +export type Team = { + name: string + icon: string +} + +export type RadarData = { + personal: number + team: number + max: number + name: string +} diff --git a/src/api/dataManage/dataModelManage/index.ts b/src/api/dataManage/dataModelManage/index.ts new file mode 100644 index 0000000..da5fb3b --- /dev/null +++ b/src/api/dataManage/dataModelManage/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSysRoleListApi = (data: any) => { + return request.postJson({ url: '/system/spi/system/SysRole/SysRoleQueryPage', data }); +}; + +/** 批量删除 */ +export const delSysRoleListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v, + }; + }); + return request.postJson({ + url: '/system/spi/system/SysRole/SysRoleBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSysRoleApi = (id: string | number): Promise => { + return request.postJson({ url: '/system/spi/system/SysRoleDelete', data: { id } }); +}; + +/** 保存 */ +export const saveSysRoleApi = (data: Partial): Promise => { + return request.postJson({ url: '/system/spi/system/SysRole/SysRoleSave', data }); +}; + +/** 查询单条数据 */ +export const querySysRoleApi = (id: string | number): Promise => { + return request.postJson({ url: '/system/spi/system/SysRoleQueryOne', data: { id } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/system/sui/system/SysRole/SysRoleImportXls'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/system/sdi/system/SysRole/SysRoleExportXls', params }); +}; diff --git a/src/api/dataManage/dataModelManage/types.ts b/src/api/dataManage/dataModelManage/types.ts new file mode 100644 index 0000000..afe6e93 --- /dev/null +++ b/src/api/dataManage/dataModelManage/types.ts @@ -0,0 +1,22 @@ +export type TableData = { + /** 主键 */ + id?: string + /** 机构号 */ + organId?: string + /** 角色名称 */ + name?: string + /** 权限范围 */ + dataScope?: string + /** 创建人 */ + createBy?: string + /** 创建时间 */ + createDate?: string + /** 最近修改人 */ + updateBy?: string + /** 最近修改时间 */ + updateDate?: string + /** 描述 */ + remarks?: string + /** 逻辑删除标记(0.正常,1.删除) */ + delFlag?: string +} diff --git a/src/api/dataManage/dataSetManage/index.ts b/src/api/dataManage/dataSetManage/index.ts new file mode 100644 index 0000000..da5fb3b --- /dev/null +++ b/src/api/dataManage/dataSetManage/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSysRoleListApi = (data: any) => { + return request.postJson({ url: '/system/spi/system/SysRole/SysRoleQueryPage', data }); +}; + +/** 批量删除 */ +export const delSysRoleListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v, + }; + }); + return request.postJson({ + url: '/system/spi/system/SysRole/SysRoleBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSysRoleApi = (id: string | number): Promise => { + return request.postJson({ url: '/system/spi/system/SysRoleDelete', data: { id } }); +}; + +/** 保存 */ +export const saveSysRoleApi = (data: Partial): Promise => { + return request.postJson({ url: '/system/spi/system/SysRole/SysRoleSave', data }); +}; + +/** 查询单条数据 */ +export const querySysRoleApi = (id: string | number): Promise => { + return request.postJson({ url: '/system/spi/system/SysRoleQueryOne', data: { id } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/system/sui/system/SysRole/SysRoleImportXls'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/system/sdi/system/SysRole/SysRoleExportXls', params }); +}; diff --git a/src/api/dataManage/dataSetManage/types.ts b/src/api/dataManage/dataSetManage/types.ts new file mode 100644 index 0000000..afe6e93 --- /dev/null +++ b/src/api/dataManage/dataSetManage/types.ts @@ -0,0 +1,22 @@ +export type TableData = { + /** 主键 */ + id?: string + /** 机构号 */ + organId?: string + /** 角色名称 */ + name?: string + /** 权限范围 */ + dataScope?: string + /** 创建人 */ + createBy?: string + /** 创建时间 */ + createDate?: string + /** 最近修改人 */ + updateBy?: string + /** 最近修改时间 */ + updateDate?: string + /** 描述 */ + remarks?: string + /** 逻辑删除标记(0.正常,1.删除) */ + delFlag?: string +} diff --git a/src/api/dataManage/dataSourceManage/index.ts b/src/api/dataManage/dataSourceManage/index.ts new file mode 100644 index 0000000..189d02a --- /dev/null +++ b/src/api/dataManage/dataSourceManage/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getTableList = (data: any) => { + return request.postJson({ url: '/system/spi/system/RepDataSource/RepDataSourceQueryPage', data }); +}; + +/** 批量删除 */ +export const delTableBatchApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v, + }; + }); + return request.postJson({ + url: '/system/spi/system/SysRole/SysRoleBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delTableApi = (dscode: string): Promise => { + return request.postJson({ + url: '/system/spi/system/RepDataSource/RepDataSourceDelete', + data: { dscode }, + }); +}; + +/** 保存 */ +export const saveTableApi = (data: Partial): Promise => { + return request.postJson({ url: '/system/spi/system/SysRole/SysRoleSave', data }); +}; + +/** 查询单条数据 */ +export const queryTableApi = (dscode: string): Promise => { + return request.postJson({ url: '/system/spi/system/SysRoleQueryOne', data: { dscode } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/system/sui/system/RepDataSource/RepDataSourceImpFileLoop'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ + url: '/system/sdi/system/RepDataSource/RepDataSourceExportXls', + params, + }); +}; diff --git a/src/api/dataManage/dataSourceManage/types.ts b/src/api/dataManage/dataSourceManage/types.ts new file mode 100644 index 0000000..8445463 --- /dev/null +++ b/src/api/dataManage/dataSourceManage/types.ts @@ -0,0 +1,16 @@ +export type TableData = { + /** 编码 */ + dscode: string + /** 名称 */ + dsname?: string + /** 类型 */ + dstype?: string + /** 驱动 */ + dsdriver?: string + /** 链接地址 */ + dsurl?: string + /** 创建人 */ + createUser?: string + /** schema */ + defaultschema?: string +} diff --git a/src/api/dataReview/detailRule/index.ts b/src/api/dataReview/detailRule/index.ts new file mode 100644 index 0000000..24974e7 --- /dev/null +++ b/src/api/dataReview/detailRule/index.ts @@ -0,0 +1,95 @@ +import request from '@/config/axios' +import type { TableData } from './types' + +/** 获取列表数据 */ +export const getTableListApi = (params: any) => { + // return request.get({ url: '/datadetail/list', params }) + const data = [ + { + modelId: 'IN_JS101_JRJGFZ', + reportCode: 'IN_JS101_JRJGFZ', + reportName: '金融机构(分支机构)基础信息(补录)', + typeName: '机构信息(补录)' + }, + { + modelId: 'IN_JS102_FTTYCKK', + reportCode: 'IN_JS102_FTTYCKK', + reportName: '非同业单位存款客户基础信息(补录)', + typeName: '单位存款(补录)' + }, + { + modelId: 'IN_JS102_FTYKHX', + reportCode: 'IN_JS102_FTYKHX', + reportName: '非同业单位客户基础信息(补录)', + typeName: '同业业务(补录)' + }, + { + modelId: 'IN_JS102_XDQYXX', + reportCode: 'IN_JS102_XDQYXX', + reportName: '信贷企业基础信息(补录)', + typeName: '单位贷款(补录)' + }, + { + modelId: 'IN_JS102_TYKHXX', + reportCode: 'IN_JS102_TYKHXX', + reportName: '同业客户基础信息(补录)', + typeName: '同业业务(补录)' + }, + { + modelId: 'IN_JS102_CLDWDK', + reportCode: 'IN_JS102_CLDWDK', + reportName: '存量单位贷款信息(补录)', + typeName: '单位贷款(补录)' + }, + { + modelId: 'IN_JS101_CLGRDK', + reportCode: 'IN_JS101_CLGRDK', + reportName: '存量个人贷款信息(补录)', + typeName: '个人贷款(补录)' + }, + { + modelId: 'IN_JS201_CLPJRZ', + reportCode: 'IN_JS201_CLPJRZ', + reportName: '存量票据融资信息(补录)', + typeName: '票据数据(补录)' + }, + { + modelId: 'IN_JS201_CLTYJD', + reportCode: 'IN_JS201_CLTYJD', + reportName: '存量同业借款信息(补录)', + typeName: '同业业务(补录)' + } + ] + // list: [ + // { + // modelId: 'IN_EAST_1', + // reportName: '表内外业务担保合同表', + // typeName: '表内外担类', + // reportType: '006', + // rtypesText: 'EAST补录', + // rtypes: '006' + // } + // ], + return { + data: { + list: data, + total: data.length + } + } +} + +export const getTreeTableListApi = (params: any) => { + return request.get({ url: '/example/treeList', params }) +} + +export const saveTableApi = (data: Partial): Promise => { + return request.post({ url: '/example/save', data }) +} + +export const getTableDetApi = (id: string): Promise> => { + return request.get({ url: '/example/detail', params: { id } }) +} + +export const delTableListApi = (ids: string[] | number[]): Promise => { + return request.post({ url: '/example/delete', data: { ids } }) +} diff --git a/src/api/dataReview/detailRule/types.ts b/src/api/dataReview/detailRule/types.ts new file mode 100644 index 0000000..448d1da --- /dev/null +++ b/src/api/dataReview/detailRule/types.ts @@ -0,0 +1,4 @@ +export type TableData = { + /** 类型 */ + type?: string +} diff --git a/src/api/dataReview/detailRuleConfig/index.ts b/src/api/dataReview/detailRuleConfig/index.ts new file mode 100644 index 0000000..e302545 --- /dev/null +++ b/src/api/dataReview/detailRuleConfig/index.ts @@ -0,0 +1,151 @@ +import request from '@/config/axios' +import type { TableData } from './types' + +/** 规则配置列表 */ +export const getRuleConfigList = (params: any) => { + // return request.get({ url: '/datadetail/list', params }) + const data = [ + { + ruleCode: 'IN_EAST_GRXDYWJJB-HKZH-7-2', + reportCode: 'IN_JS101_JRJGFZ', + dataSetCode: 'IN_JS101_JRJGFZ', + indexCode: 'HKZH', + indexName: '还款账号', + ruleType: '0', + ruleDesc: '【软性】50340_2_填还款的实际账户,不能填系统内的中间账户账号及过渡账户账号', + ruleStrength: '1', + ruleState: '1' + }, + { + ruleCode: 'IN_EAST_GRXDYWJJB-HKZH-7-2', + reportCode: 'IN_JS101_JRJGFZ', + dataSetCode: 'IN_JS101_JRJGFZ', + indexCode: 'SFSNDK', + indexName: '是否涉农贷款', + ruleType: '0', + ruleDesc: '【硬性】是否涉农贷款非空时应填是、否', + ruleStrength: '1', + ruleState: '1' + }, + { + ruleCode: 'IN_EAST_GRXDYWJJB-HKZH-7-2', + reportCode: 'IN_JS101_JRJGFZ', + dataSetCode: 'IN_JS101_JRJGFZ', + indexCode: 'HKZH', + indexName: '还款账号', + ruleType: '7', + ruleDesc: '【软性】50438_3_填还款的实际账户,不能填系统内的中间账户账号及过渡账户账号', + ruleStrength: '1', + ruleState: '1' + }, + { + ruleCode: 'IN_EAST_GRXDYWJJB-HKZH-7-2', + reportCode: 'IN_JS101_JRJGFZ', + dataSetCode: 'IN_JS101_JRJGFZ', + indexCode: 'JXFS', + indexName: '计息方式', + ruleType: '7', + ruleDesc: + '【硬性】计息方式非空时应为按月结息,按季结息,按半年结息,按年结息,不定期结息,不记利息,利随本清,其他-XX。其中“XX”为银行自定义类型。', + ruleStrength: '1', + ruleState: '1' + }, + { + ruleCode: 'IN_EAST_GRXDYWJJB-HKZH-7-2', + reportCode: 'IN_JS101_JRJGFZ', + dataSetCode: 'IN_JS101_JRJGFZ', + indexCode: 'ZJRQ', + indexName: '终结日期', + ruleType: '5', + ruleDesc: '【硬性】终结日期必须满足日期格式YYYYMMDD', + ruleStrength: '1', + ruleState: '1' + }, + { + ruleCode: 'IN_EAST_GRXDYWJJB-HKZH-7-2', + reportCode: 'IN_JS101_JRJGFZ', + dataSetCode: 'IN_JS101_JRJGFZ', + indexCode: 'DKWJFL', + indexName: '贷款五级分类', + ruleType: '5', + ruleDesc: '【硬性】信贷业务种类不包含委托贷款时,贷款五级分类不允许为空', + ruleStrength: '1', + ruleState: '1' + }, + { + ruleCode: 'IN_EAST_GRXDYWJJB-HKZH-7-2', + reportCode: 'IN_JS101_JRJGFZ', + dataSetCode: 'IN_JS101_JRJGFZ', + indexCode: 'SJLL', + indexName: '实际利率', + ruleType: '0', + ruleDesc: + '【软性】实际利率应大于等于0软性】50340_2_填还款的实际账户,不能填系统内的中间账户账号及过渡账户账', + ruleStrength: '1', + ruleState: '0' + }, + { + ruleCode: 'IN_EAST_GRXDYWJJB-HKZH-7-2', + reportCode: 'IN_JS101_JRJGFZ', + dataSetCode: 'IN_JS101_JRJGFZ', + indexCode: 'DKFFRQ', + indexName: '贷款发放日期', + ruleType: '0', + ruleDesc: '【软性】贷款发放日期不为空且不为99991231时,应当晚于19490101且小于等于采集日期', + ruleStrength: '1', + ruleState: '0' + }, + { + ruleCode: 'IN_EAST_GRXDYWJJB-HKZH-7-2', + reportCode: 'IN_JS101_JRJGFZ', + dataSetCode: 'IN_JS101_JRJGFZ', + indexCode: 'SJLL', + indexName: '实际利率', + ruleType: '0', + ruleDesc: + '【硬性】成员客户统一编号非空时,必须在对公客户表中存在,关联数据项:对公客户.客户统一编号', + ruleStrength: '1', + ruleState: '1' + } + ] + // list: [ + // { + // modelId: 'IN_EAST_1', + // reportName: '表内外业务担保合同表', + // typeName: '表内外担类', + // reportType: '006', + // rtypesText: 'EAST补录', + // rtypes: '006' + // } + // ], + return { + data: { + list: data, + total: data.length + } + } +} + +export const getTreeTableListApi = (params: any) => { + return request.get({ url: '/example/treeList', params }) +} + +export const saveTableApi = (data: Partial): Promise => { + return request.post({ url: '/example/save', data }) +} + +export const getTableDetApi = (id: string): Promise> => { + return request.get({ url: '/example/detail', params: { id } }) +} + +export const delTableListApi = (ids: string[] | number[]): Promise => { + return request.post({ url: '/example/delete', data: { ids } }) +} + +/** 导入 */ +export const importExcelApiUrl = '/krm-job/fileup/job/RepJobImport' + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/export/spi/krmJob/filedown/job/RepJobExport', params }) +} diff --git a/src/api/dataReview/detailRuleConfig/types.ts b/src/api/dataReview/detailRuleConfig/types.ts new file mode 100644 index 0000000..448d1da --- /dev/null +++ b/src/api/dataReview/detailRuleConfig/types.ts @@ -0,0 +1,4 @@ +export type TableData = { + /** 类型 */ + type?: string +} diff --git a/src/api/dict/index.ts b/src/api/dict/index.ts new file mode 100644 index 0000000..b6ece1e --- /dev/null +++ b/src/api/dict/index.ts @@ -0,0 +1,30 @@ +import request from '@/config/axios' +import { DepartmentListResponse, DepartmentUserParams, DepartmentUserResponse } from './types' + +export const getDepartmentApi = () => { + return request.get({ url: '/department/list' }) +} + +export const getUserByIdApi = (params: DepartmentUserParams) => { + return request.get({ url: '/department/users', params }) +} + +export const deleteUserByIdApi = (ids: string[] | number[]) => { + return request.post({ url: '/department/user/delete', data: { ids } }) +} + +export const saveUserApi = (data: any) => { + return request.post({ url: '/department/user/save', data }) +} + +export const saveDepartmentApi = (data: any) => { + return request.post({ url: '/department/save', data }) +} + +export const deleteDepartmentApi = (ids: string[] | number[]) => { + return request.post({ url: '/department/delete', data: { ids } }) +} + +export const getDepartmentTableApi = (params: any) => { + return request.get({ url: '/department/table/list', params }) +} diff --git a/src/api/dict/types.ts b/src/api/dict/types.ts new file mode 100644 index 0000000..526fe1a --- /dev/null +++ b/src/api/dict/types.ts @@ -0,0 +1,65 @@ +export interface DepartmentItem { + id: string + departmentName: string + children?: DepartmentItem[] +} + +export interface DepartmentListResponse { + list: DepartmentItem[] +} + +export interface DepartmentUserParams { + pageSize: number + pageNum: number + id: string + username?: string + account?: string +} + +export interface DepartmentUserItem { + /** 编号 */ + id: string + /** 登录号 */ + username?: string + /** 用户姓名 */ + name?: string + /** 机构id */ + organId: string + /** 机构名称 */ + organName: string + /** 性别 */ + sex?: string + /** 角色 */ + roles?: string + /** Email */ + email?: string + /** 电话 */ + mobile?: string + /** 手机号 */ + phone?: string + /** 最后登录IP */ + loginIp?: string + /** 最后登录时间 */ + logindate?: string +} + +export interface DepartmentUserResponse { + list: DepartmentUserItem[] + total: number +} + +/** 字典项 */ +export type DictItem = { + /** 字段名称 */ + dictName: string + /** 字段值 */ + dictld: string +} + +/** 列表 */ +export type ListItem = { + /** 字段名称 */ + label: string + /** 字段值 */ + value: string +} diff --git a/src/api/irisquery/ServiceLogQuery/index.ts b/src/api/irisquery/ServiceLogQuery/index.ts new file mode 100644 index 0000000..f283e0c --- /dev/null +++ b/src/api/irisquery/ServiceLogQuery/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getServiceLogQueryListApi = (data: any) => { + return request.postJson({ url: '/irisquery/spi/irisquery/ServiceLogQuery/ServiceLogQueryQueryPage', data }); +}; + +/** 批量删除 */ +export const delServiceLogQueryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + serviceId: v, + }; + }); + return request.postJson({ + url: '/irisquery/spi/irisquery/ServiceLogQuery/ServiceLogQueryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delServiceLogQueryApi = (serviceId: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/ServiceLogQuery/ServiceLogQueryDelete', data: { serviceId } }); +}; + +/** 保存 */ +export const saveServiceLogQueryApi = (data: Partial): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/ServiceLogQuery/ServiceLogQuerySave', data }); +}; + +/** 查询单条数据 */ +export const queryServiceLogQueryApi = (serviceId: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/ServiceLogQuery/ServiceLogQueryQueryOne', data: { serviceId } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/irisquery/sui/irisquery/ServiceLogQuery/ServiceLogQueryImpFileLoop'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/irisquery/sdi/irisquery/ServiceLogQuery/ServiceLogQueryExportXls', params }); +}; diff --git a/src/api/irisquery/ServiceLogQuery/types.ts b/src/api/irisquery/ServiceLogQuery/types.ts new file mode 100644 index 0000000..e550625 --- /dev/null +++ b/src/api/irisquery/ServiceLogQuery/types.ts @@ -0,0 +1,40 @@ +export type TableData = { + /** 服务标识 */ + serviceId: string + /** 服务名称 */ + serviceName: string + /** 服务类型 */ + serviceType: string + /** 服务版本号 */ + serviceVersion: string + /** 请求方式 */ + requestMethod: string + /** 请求日期 */ + requestDate: string + /** 请求时间 */ + requestTime: string + /** 请求报文 */ + requestReport: string + /** 响应日期 */ + responseDate: string + /** 响应时间 */ + responseTime: string + /** 响应状态 */ + responseStatus: string + /** 响应消息 */ + responseMessage: string + /** 用时 */ + usageTime: string + /** 响应报文 */ + responseReport: string + /** 备用1 */ + temp1: string + /** 备用2 */ + temp2: string + /** 备用3 */ + temp3: string + /** 备用4 */ + temp4: string + /** 备用5 */ + temp5: string +} diff --git a/src/api/irisquery/T11/index.ts b/src/api/irisquery/T11/index.ts new file mode 100644 index 0000000..b889cba --- /dev/null +++ b/src/api/irisquery/T11/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getT11ListApi = (data: any) => { + return request.postJson({ url: '/irisquery/spi/irisquery/T11/T11QueryPage', data }); +}; + +/** 批量删除 */ +export const delT11ListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v, + }; + }); + return request.postJson({ + url: '/irisquery/spi/irisquery/T11/T11BatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delT11Api = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/T11/T11Delete', data: { id } }); +}; + +/** 保存 */ +export const saveT11Api = (data: Partial): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/T11/T11Save', data }); +}; + +/** 查询单条数据 */ +export const queryT11Api = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/T11/T11QueryOne', data: { id } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/irisquery/sui/irisquery/T11/T11ImpFileLoop'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/irisquery/sdi/irisquery/T11/T11ExportXls', params }); +}; diff --git a/src/api/irisquery/T11/types.ts b/src/api/irisquery/T11/types.ts new file mode 100644 index 0000000..ec3c80d --- /dev/null +++ b/src/api/irisquery/T11/types.ts @@ -0,0 +1,43 @@ +export type TableData = { + /** 机构ID */ + id: string + a010001: string + /** 内部机构号 */ + a010002: string + /** 金融许可证号 */ + a010003: string + /** 统一社会信用代码 */ + a010004: string + /** 银行机构名称 */ + a010005: string + /** 支付行号 */ + a010006: string + /** 机构类型 */ + a010007: string + /** 机构类别 */ + a010008: string + /** 县域机构标识 */ + a010009: string + /** 科技支行标识 */ + a010010: string + /** 科技特色支行标识 */ + a010011: string + /** 科技金融专营机构标识 */ + a010012: string + /** 行政区划 */ + a010013: string + /** 运营状态 */ + a010014: string + /** 成立日期 */ + a010015: string + /** 机构地址 */ + a010016: string + /** 负责人姓名 */ + a010017: string + /** 负责人工号 */ + a010018: string + /** 负责人联系电话 */ + a010019: string + /** 采集日期 */ + a010020: string +} diff --git a/src/api/irisquery/TCdColumnData/index.ts b/src/api/irisquery/TCdColumnData/index.ts new file mode 100644 index 0000000..c1b3dd1 --- /dev/null +++ b/src/api/irisquery/TCdColumnData/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getTCdColumnDataListApi = (data: any) => { + return request.postJson({ url: '/irisquery/spi/irisquery/TCdColumnData/TCdColumnDataQueryPage', data }); +}; + +/** 批量删除 */ +export const delTCdColumnDataListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v, + }; + }); + return request.postJson({ + url: '/irisquery/spi/irisquery/TCdColumnData/TCdColumnDataBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delTCdColumnDataApi = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TCdColumnData/TCdColumnDataDelete', data: { id } }); +}; + +/** 保存 */ +export const saveTCdColumnDataApi = (data: Partial): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TCdColumnData/TCdColumnDataSave', data }); +}; + +/** 查询单条数据 */ +export const queryTCdColumnDataApi = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TCdColumnData/TCdColumnDataQueryOne', data: { id } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/irisquery/sui/irisquery/TCdColumnData/TCdColumnDataImpFileLoop'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/irisquery/sdi/irisquery/TCdColumnData/TCdColumnDataExportXls', params }); +}; diff --git a/src/api/irisquery/TCdColumnData/types.ts b/src/api/irisquery/TCdColumnData/types.ts new file mode 100644 index 0000000..7337fba --- /dev/null +++ b/src/api/irisquery/TCdColumnData/types.ts @@ -0,0 +1,46 @@ +export type TableData = { + /** 金融许可证号 */ + orgNo: string + /** 机构名称 */ + orgName: string + /** 采集编号 */ + collectingCode: string + /** 制度编号 */ + regulationId: string + /** 制度名称 */ + regulationName: string + /** 制度版本 */ + regulationVersion: string + /** 表英文名 */ + tabNameEn: string + /** 表中文名 */ + tabName: string + /** 表编号 */ + tabGuid: string + /** 数据项代码 */ + colNameEn: string + /** 数据项名称 */ + colName: string + /** 是否主键 */ + isPk: string + /** 数据项编号 */ + colNo: string + /** 数据类型 */ + dataType: string + /** 数据长度 */ + dataLength: string + /** 元数据编号 */ + metaNo: string + /** 元数据名称 */ + metaName: string + /** 关联元数据编号 */ + preMetaList: string + /** 报送日期 */ + reportDt: string + /** 数据日期 */ + dataDate: string + /** 数据变更日期 */ + updateTime: string + /** 本条数据的记录类型 */ + recordType: string +} diff --git a/src/api/irisquery/TCdLedgerData/index.ts b/src/api/irisquery/TCdLedgerData/index.ts new file mode 100644 index 0000000..e253071 --- /dev/null +++ b/src/api/irisquery/TCdLedgerData/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getTCdLedgerDataListApi = (data: any) => { + return request.postJson({ url: '/irisquery/spi/irisquery/TCdLedgerData/TCdLedgerDataQueryPage', data }); +}; + +/** 批量删除 */ +export const delTCdLedgerDataListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v, + }; + }); + return request.postJson({ + url: '/irisquery/spi/irisquery/TCdLedgerData/TCdLedgerDataBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delTCdLedgerDataApi = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TCdLedgerData/TCdLedgerDataDelete', data: { id } }); +}; + +/** 保存 */ +export const saveTCdLedgerDataApi = (data: Partial): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TCdLedgerData/TCdLedgerDataSave', data }); +}; + +/** 查询单条数据 */ +export const queryTCdLedgerDataApi = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TCdLedgerData/TCdLedgerDataQueryOne', data: { id } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/irisquery/sui/irisquery/TCdLedgerData/TCdLedgerDataImpFileLoop'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/irisquery/sdi/irisquery/TCdLedgerData/TCdLedgerDataExportXls', params }); +}; diff --git a/src/api/irisquery/TCdLedgerData/types.ts b/src/api/irisquery/TCdLedgerData/types.ts new file mode 100644 index 0000000..f2348da --- /dev/null +++ b/src/api/irisquery/TCdLedgerData/types.ts @@ -0,0 +1,42 @@ +export type TableData = { + /** 金融许可证号 */ + orgNo: string + /** 机构名称 */ + orgName: string + /** 采集编号 */ + collectingCode: string + /** 制度编号 */ + regulationId: string + /** 制度名称 */ + regulationName: string + /** 制度版本号 */ + regulationVersion: string + /** 数据日期 */ + dataDate: string + /** 重报次数 */ + rereportNum: string + /** 报送日期 */ + reportDt: string + /** 报送状态 */ + reportStatus: string + /** 二级分类 */ + tabLevel: string + /** 表英文名 */ + tabNameEn: string + /** 表中文名 */ + tabName: string + /** 表唯一性编号 */ + tabGuid: string + /** 表三级分类 */ + tabType: string + /** 表数据总量 */ + volume: string + /** 上报文件存放全路径 */ + filePathList: string + /** 本条数据创建或更新时间 */ + updateTime: string + /** 本条数据的记录类型 */ + recordType: string + /** 任务ID */ + workflowId: string +} diff --git a/src/api/irisquery/TCdLogData/index.ts b/src/api/irisquery/TCdLogData/index.ts new file mode 100644 index 0000000..fe3a93e --- /dev/null +++ b/src/api/irisquery/TCdLogData/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getTCdLogDataListApi = (data: any) => { + return request.postJson({ url: '/irisquery/spi/irisquery/TCdLogData/TCdLogDataQueryPage', data }); +}; + +/** 批量删除 */ +export const delTCdLogDataListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v, + }; + }); + return request.postJson({ + url: '/irisquery/spi/irisquery/TCdLogData/TCdLogDataBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delTCdLogDataApi = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TCdLogData/TCdLogDataDelete', data: { id } }); +}; + +/** 保存 */ +export const saveTCdLogDataApi = (data: Partial): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TCdLogData/TCdLogDataSave', data }); +}; + +/** 查询单条数据 */ +export const queryTCdLogDataApi = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TCdLogData/TCdLogDataQueryOne', data: { id } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/irisquery/sui/irisquery/TCdLogData/TCdLogDataImpFileLoop'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/irisquery/sdi/irisquery/TCdLogData/TCdLogDataExportXls', params }); +}; diff --git a/src/api/irisquery/TCdLogData/types.ts b/src/api/irisquery/TCdLogData/types.ts new file mode 100644 index 0000000..ee1ae4d --- /dev/null +++ b/src/api/irisquery/TCdLogData/types.ts @@ -0,0 +1,20 @@ +export type TableData = { + /** 机构名称 */ + orgName: string + /** 机构编号 */ + orgNo: string + /** 日志记录时间 */ + logRecordTime: string + /** 操作日期 */ + dataDate: string + /** 操作时间 */ + operationTime: string + /** 操作账号 */ + userName: string + /** 操作IP */ + userIp: string + /** 操作类型 */ + operationType: string + /** 日志详情 */ + logDetail: string +} diff --git a/src/api/irisquery/TCdTableData/index.ts b/src/api/irisquery/TCdTableData/index.ts new file mode 100644 index 0000000..3c8b4d9 --- /dev/null +++ b/src/api/irisquery/TCdTableData/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getTCdTableDataListApi = (data: any) => { + return request.postJson({ url: '/irisquery/spi/irisquery/TCdTableData/TCdTableDataQueryPage', data }); +}; + +/** 批量删除 */ +export const delTCdTableDataListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v, + }; + }); + return request.postJson({ + url: '/irisquery/spi/irisquery/TCdTableData/TCdTableDataBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delTCdTableDataApi = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TCdTableData/TCdTableDataDelete', data: { id } }); +}; + +/** 保存 */ +export const saveTCdTableDataApi = (data: Partial): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TCdTableData/TCdTableDataSave', data }); +}; + +/** 查询单条数据 */ +export const queryTCdTableDataApi = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TCdTableData/TCdTableDataQueryOne', data: { id } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/irisquery/sui/irisquery/TCdTableData/TCdTableDataImpFileLoop'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/irisquery/sdi/irisquery/TCdTableData/TCdTableDataExportXls', params }); +}; diff --git a/src/api/irisquery/TCdTableData/types.ts b/src/api/irisquery/TCdTableData/types.ts new file mode 100644 index 0000000..2cd2969 --- /dev/null +++ b/src/api/irisquery/TCdTableData/types.ts @@ -0,0 +1,66 @@ +export type TableData = { + /** 机构类型 */ + orgType: string + /** 机构名称 */ + orgName: string + /** 机构编号 */ + orgNo: string + /** 采集编号 */ + collectingCode: string + /** 制度编号 */ + regulationId: string + /** 制度名称 */ + regulationName: string + /** 制度版本 */ + regulationVersion: string + /** 表中文名 */ + tabName: string + /** 表英文名 */ + tabNameEn: string + /** 三级分类 */ + tabType: string + /** 表记录数 */ + volume: string + /** 表编号 */ + tabGuid: string + /** 报送状态 */ + reportStatus: string + /** 报送日期 */ + reportDt: string + /** 数据日期 */ + dataDate: string + /** 当前表最新的数据日期 */ + latelyDataDt: string + /** 表一级分类 */ + tabBelonging: string + /** 二级分类 */ + tabLevel: string + /** 现存数据期数 */ + numberOfPeriods: string + /** 数据库schema */ + tabSchema: string + /** 数据安全等级 */ + safetyLevel: string + /** 数据来源表GUID列表 */ + preTableList: string + /** 该表所属管理部门 */ + department: string + /** 数据库名称 */ + databaseName: string + /** 数据库类型 */ + databaseType: string + /** 物理化策略 */ + physicsStrategy: string + /** 数据生命周期 */ + dataLifeCycle: string + /** 数据表分类 */ + dataType: string + /** 数据表分类编号 */ + dataTypeNo: string + /** 备注 */ + remark: string + /** 数据变更日期 */ + updateTime: string + /** 本条数据的记录类型 */ + recordType: string +} diff --git a/src/api/irisquery/TJcJyjg/index.ts b/src/api/irisquery/TJcJyjg/index.ts new file mode 100644 index 0000000..56176a0 --- /dev/null +++ b/src/api/irisquery/TJcJyjg/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getTJcJyjgListApi = (data: any) => { + return request.postJson({ url: '/irisquery/spi/irisquery/TJcJyjg/TJcJyjgQueryPage', data }); +}; + +/** 批量删除 */ +export const delTJcJyjgListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v, + }; + }); + return request.postJson({ + url: '/irisquery/spi/irisquery/TJcJyjg/TJcJyjgBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delTJcJyjgApi = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TJcJyjg/TJcJyjgDelete', data: { id } }); +}; + +/** 保存 */ +export const saveTJcJyjgApi = (data: Partial): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TJcJyjg/TJcJyjgSave', data }); +}; + +/** 查询单条数据 */ +export const queryTJcJyjgApi = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TJcJyjg/TJcJyjgQueryOne', data: { id } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/irisquery/sui/irisquery/TJcJyjg/TJcJyjgImpFileLoop'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/irisquery/sdi/irisquery/TJcJyjg/TJcJyjgExportXls', params }); +}; diff --git a/src/api/irisquery/TJcJyjg/types.ts b/src/api/irisquery/TJcJyjg/types.ts new file mode 100644 index 0000000..4d908aa --- /dev/null +++ b/src/api/irisquery/TJcJyjg/types.ts @@ -0,0 +1,30 @@ +export type TableData = { + /** 数据日期 */ + dataDate: string + /** 金融许可证号 */ + orgNo: string + /** 校验对象 */ + checkObj: string + /** 机构名称 */ + orgName: string + /** 规则版本 */ + ruleVersion: string + /** 校验关系代码 */ + ruleNo: string + /** 校验性质 */ + checkProp: string + /** 校验总记录数 */ + checkTotalNum: string + /** 校验通过记录数 */ + checkPassNum: string + /** 通过率(%) */ + checkPassPer: string + /** 校验结果值(判断) */ + checkResult: string + /** 校验结果值(数值) */ + checkResultVal: string + /** 校验通过情况 */ + checkPassResult: string + /** 校验时间 */ + checkTs: string +} diff --git a/src/api/irisquery/TJcKdjg/index.ts b/src/api/irisquery/TJcKdjg/index.ts new file mode 100644 index 0000000..7b7ca78 --- /dev/null +++ b/src/api/irisquery/TJcKdjg/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getTJcKdjgListApi = (data: any) => { + return request.postJson({ url: '/irisquery/spi/irisquery/TJcKdjg/TJcKdjgQueryPage', data }); +}; + +/** 批量删除 */ +export const delTJcKdjgListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v, + }; + }); + return request.postJson({ + url: '/irisquery/spi/irisquery/TJcKdjg/TJcKdjgBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delTJcKdjgApi = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TJcKdjg/TJcKdjgDelete', data: { id } }); +}; + +/** 保存 */ +export const saveTJcKdjgApi = (data: Partial): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TJcKdjg/TJcKdjgSave', data }); +}; + +/** 查询单条数据 */ +export const queryTJcKdjgApi = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TJcKdjg/TJcKdjgQueryOne', data: { id } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/irisquery/sui/irisquery/TJcKdjg/TJcKdjgImpFileLoop'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/irisquery/sdi/irisquery/TJcKdjg/TJcKdjgExportXls', params }); +}; diff --git a/src/api/irisquery/TJcKdjg/types.ts b/src/api/irisquery/TJcKdjg/types.ts new file mode 100644 index 0000000..ddb5461 --- /dev/null +++ b/src/api/irisquery/TJcKdjg/types.ts @@ -0,0 +1,22 @@ +export type TableData = { + /** 数据日期 */ + dataDate: string + /** 金融许可证号 */ + orgNo: string + /** 校验对象 */ + checkObj: string + /** 机构名称 */ + orgName: string + /** 关键基础数据编码 */ + dicCode: string + /** 校验总记录数 */ + checkTotalNum: string + /** 校验通过记录数 */ + checkPassNum: string + /** 通过率(%) */ + checkPassPer: string + /** 校验通过情况 */ + checkPassResult: string + /** 校验时间 */ + checkTs: string +} diff --git a/src/api/irisquery/TJcKdmx/index.ts b/src/api/irisquery/TJcKdmx/index.ts new file mode 100644 index 0000000..0d2e6ee --- /dev/null +++ b/src/api/irisquery/TJcKdmx/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getTJcKdmxListApi = (data: any) => { + return request.postJson({ url: '/irisquery/spi/irisquery/TJcKdmx/TJcKdmxQueryPage', data }); +}; + +/** 批量删除 */ +export const delTJcKdmxListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v, + }; + }); + return request.postJson({ + url: '/irisquery/spi/irisquery/TJcKdmx/TJcKdmxBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delTJcKdmxApi = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TJcKdmx/TJcKdmxDelete', data: { id } }); +}; + +/** 保存 */ +export const saveTJcKdmxApi = (data: Partial): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TJcKdmx/TJcKdmxSave', data }); +}; + +/** 查询单条数据 */ +export const queryTJcKdmxApi = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TJcKdmx/TJcKdmxQueryOne', data: { id } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/irisquery/sui/irisquery/TJcKdmx/TJcKdmxImpFileLoop'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/irisquery/sdi/irisquery/TJcKdmx/TJcKdmxExportXls', params }); +}; diff --git a/src/api/irisquery/TJcKdmx/types.ts b/src/api/irisquery/TJcKdmx/types.ts new file mode 100644 index 0000000..2fd5a10 --- /dev/null +++ b/src/api/irisquery/TJcKdmx/types.ts @@ -0,0 +1,12 @@ +export type TableData = { + /** 数据日期 */ + dataDate: string + /** 金融许可证号 */ + orgNo: string + /** 关键基础数据编码 */ + dicCode: string + /** 失范数据 */ + failedData: string + /** 校验时间 */ + checkTs: string +} diff --git a/src/api/irisquery/TKdData/index.ts b/src/api/irisquery/TKdData/index.ts new file mode 100644 index 0000000..8b106f2 --- /dev/null +++ b/src/api/irisquery/TKdData/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getTKdDataListApi = (data: any) => { + return request.postJson({ url: '/irisquery/spi/irisquery/TKdData/TKdDataQueryPage', data }); +}; + +/** 批量删除 */ +export const delTKdDataListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v, + }; + }); + return request.postJson({ + url: '/irisquery/spi/irisquery/TKdData/TKdDataBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delTKdDataApi = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TKdData/TKdDataDelete', data: { id } }); +}; + +/** 保存 */ +export const saveTKdDataApi = (data: Partial): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TKdData/TKdDataSave', data }); +}; + +/** 查询单条数据 */ +export const queryTKdDataApi = (id: string | number): Promise => { + return request.postJson({ url: '/irisquery/spi/irisquery/TKdData/TKdDataQueryOne', data: { id } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/irisquery/sui/irisquery/TKdData/TKdDataImpFileLoop'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/irisquery/sdi/irisquery/TKdData/TKdDataExportXls', params }); +}; diff --git a/src/api/irisquery/TKdData/types.ts b/src/api/irisquery/TKdData/types.ts new file mode 100644 index 0000000..8248cc7 --- /dev/null +++ b/src/api/irisquery/TKdData/types.ts @@ -0,0 +1,12 @@ +export type TableData = { + /** 数据日期 */ + dataDate: string + /** 金融许可证号 */ + orgNo: string + /** 关键基础数据编码 */ + dicCode: string + /** 关键基础数据_第一列 */ + dicColVal1: string + /** 关键基础数据_第二列 */ + dicColVal2: string +} diff --git a/src/api/job/RepJob/index.ts b/src/api/job/RepJob/index.ts new file mode 100644 index 0000000..19f8ead --- /dev/null +++ b/src/api/job/RepJob/index.ts @@ -0,0 +1,73 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getRepJobListApi = (data: any) => { + return request.postJson({ url: '/job/spi/job/RepJob/RepJobQueryPage', data }); +}; + +/** 批量删除 */ +export const delRepJobListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + jPid: v.jPid, + jName: v.jName, + jId : v.jId + }; + }); + return request.postJson({ + url: '/job/spi/job/RepJob/RepJobBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delRepJobApi = (jPid: string | number, jName: string, jId: string): Promise => { + return request.postJson({ url: '/job/spi/job/RepJob/RepJobDelete', data: { jPid, jName, jId } }); +}; + +/** 保存 */ +export const saveRepJobApi = (data: Partial): Promise => { + return request.postJson({ url: '/job/spi/job/RepJob/RepJobSave', data }); +}; + +/** 查询单条数据 */ +export const queryRepJobApi = (jPid: string | number, jName: string): Promise => { + return request.postJson({ url: '/job/spi/job/RepJob/RepJobQueryOne', data: { jPid, jName } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/job/sui/job/RepJob/RepJobImportExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/job/sdi/job/RepJob/RepJobExportXls', params }); +}; +/*根据选中的规则,获取运行的弹框*/ +export const getDistinctParams = (params:any)=>{ + return request.postJson({url:"/report/targetRule/params/getDistinctParams",params}) +} + +/** 运行(不带依赖执行) */ +export const runData = data => { + return request.post({ url: '/job/spi/job/RepJob/RunJob', data }); +}; + +/** 运行(带依赖执行) */ +export const runRelyOnData = data => { + return request.post({ url:'/job/spi/job/RepJob/RunJobs',data}); +} + +/* 定时器 */ +export const ScheduleJobAdd = data=>{ + return request.post({url:'/job/spi/job/RepScheduleJob/RepScheduleJobAdd',data}) +} + +//关闭定时器 +export const RepScheduleJobStop = data=>{ + return request.post({url:'/job/spi/job/RepScheduleJob/RepScheduleJobStop',data}) +} + + diff --git a/src/api/job/RepJob/types.ts b/src/api/job/RepJob/types.ts new file mode 100644 index 0000000..f05ea0e --- /dev/null +++ b/src/api/job/RepJob/types.ts @@ -0,0 +1,34 @@ +export type TableData = { + /** 项目编号 */ + jPid: string + /** 作业编号 */ + jId: string + /** 作业名称 */ + jName: string + /** 作业类型 */ + jType: string + /** 自定义参数 */ + paramJson: string + /** 作业中文名称 */ + jDescription: string + /** 前置作业名称 */ + jBeforeJob: string + /** 作业分组 */ + jobGroup: string + /** 失败重试次数(整数) */ + jobRetryTimes: string + /** 失败重试间隔(单位:分钟) */ + jobRetryPeriod: string + /** 作业优先级 */ + jobPriority: string + /** 创建机构 */ + createOrgan: string + /** 创建用户 */ + createUser: string + /** 创建时间 */ + createTime: string + /** 更新时间 */ + updateTime: string + /* 定时的状态*/ + sStatus:string +} diff --git a/src/api/job/RepScheduleJob/index.ts b/src/api/job/RepScheduleJob/index.ts new file mode 100644 index 0000000..3751974 --- /dev/null +++ b/src/api/job/RepScheduleJob/index.ts @@ -0,0 +1,62 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getRepScheduleJobListApi = (data: any) => { + return request.postJson({ url: '/job/spi/job/RepScheduleJob/RepScheduleJobQueryPage', data }); +}; + +/** 批量删除 */ +export const delRepScheduleJobListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pId: v.pId, + sId: v.sId, + jId: v.jId, + }; + }); + return request.postJson({ + url: '/job/spi/job/RepScheduleJob/RepScheduleJobBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delRepScheduleJobApi = (pId?: string, sId?: string, jId?: string): Promise => { + return request.postJson({ url: '/job/spi/job/RepScheduleJob/RepScheduleJobDelete', data: { pId, sId, jId } }); +}; + +/** 保存 */ +export const saveRepScheduleJobApi = (data: Partial): Promise => { + return request.postJson({ url: '/job/spi/job/RepScheduleJob/RepScheduleJobSave', data }); +}; + +/** 查询单条数据 */ +export const queryRepScheduleJobApi = (pId?: string, sId?: string, jId?: string): Promise => { + return request.postJson({ url: '/job/spi/job/RepScheduleJob/RepScheduleJobQueryOne', data: { pId, sId, jId } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/job/sui/job/RepScheduleJob/RepScheduleJobImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/job/sui/job/RepScheduleJob/RepScheduleJobImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/job/sdi/job/RepScheduleJob/RepScheduleJobExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/job/RepScheduleJob/types.ts b/src/api/job/RepScheduleJob/types.ts new file mode 100644 index 0000000..ede50c1 --- /dev/null +++ b/src/api/job/RepScheduleJob/types.ts @@ -0,0 +1,68 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 系统 */ + pId?: string + /** 任务ID */ + sId?: string + /** 作业ID */ + jId?: string + /** 任务名称 */ + sName?: string + /** 任务类型 */ + sType?: string + /** 系统 */ + sSystem?: string + /** cron表达式 */ + sCron?: string + /** 状态,0:启用,1:停止 */ + sStatus?: string + /** 创建人 */ + createUser?: string + /** 创建时间 */ + createTime?: string + /** 更新时间 */ + updateTime?: string + /** 创建机构 */ + createOrgan?: string + /** 业务日期 */ + dataDate?: string + /** 任务描述 */ + sDescription?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 系统 */ + pId?: string + /** 任务ID */ + sId?: string + /** 作业ID */ + jId?: string + /** 任务名称 */ + sName?: string + /** 任务类型 */ + sType?: string + /** 系统 */ + sSystem?: string + /** cron表达式 */ + sCron?: string + /** 状态,0:启用,1:停止 */ + sStatus?: string + /** 创建人 */ + createUser?: string + /** 创建时间 */ + createTime?: string + /** 更新时间 */ + updateTime?: string + /** 创建机构 */ + createOrgan?: string + /** 业务日期 */ + dataDate?: string + /** 任务描述 */ + sDescription?: string +} diff --git a/src/api/job/RepTask/index.ts b/src/api/job/RepTask/index.ts new file mode 100644 index 0000000..6299654 --- /dev/null +++ b/src/api/job/RepTask/index.ts @@ -0,0 +1,70 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getRepTaskListApi = (data: any) => { + return request.postJson({ url: '/job/spi/job/RepTask/RepTaskQueryPage', data }); +}; + +/** 获取子任务表格数据 */ +export const getSubTaskListApi = (data: any) => { + return request.postJson({ url: '/job/spi/job/RepTask/RepSubTaskQuery', data }); +}; + +/** 批量删除 */ +export const delRepTaskListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v, + }; + }); + return request.postJson({ + url: '/job/spi/job/RepTask/RepTaskBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delRepTaskApi = (id: string | number): Promise => { + return request.postJson({ url: '/job/spi/job/RepTask/RepTaskDelete', data: { id } }); +}; + +/** 保存 */ +export const saveRepTaskApi = (data: Partial): Promise => { + return request.postJson({ url: '/job/spi/job/RepTask/RepTaskSave', data }); +}; + +/** 查询单条数据 */ +export const queryRepTaskApi = (id: string | number): Promise => { + return request.postJson({ url: '/job/spi/job/RepTask/RepTaskQueryOne', data: { id } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/job/sui/job/RepTask/RepTaskImportExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/job/sdi/job/RepTask/RepTaskExportXls', params }); +}; + +/** 重新执行作业 */ +export const ReRunTaskApi = (params:any) => { + return request.postJson({ url: '/job/spi/job/RepTask/ReRunTask', params }); +} + +/* 刷新任务 */ +export const RefreshTask = (params:any) => { + return request.postJson({ url: '/job/spi/job/RepTask/RefreshTask', params }); +} + +/** 下载任务的错误日志 **/ +export const RepTaskErrorMessageDownload = (params:any) => { + return request.doExport({ url: '/job/sdi/job/RepTask/RepTaskErrorMessageDownload', params }); +} +/** 下载完成执行的任务文件 **/ +export const RepTaskFileDownload = (params:any) => { + return request.doExport({ url: '/job/sdi/job/RepTask/RepTaskFileDownload', params }); +} + diff --git a/src/api/job/RepTask/types.ts b/src/api/job/RepTask/types.ts new file mode 100644 index 0000000..01d58fc --- /dev/null +++ b/src/api/job/RepTask/types.ts @@ -0,0 +1,50 @@ +export type TableData = { + /** 任务ID */ + id: string + /** 任务名称 */ + name: string + /** 任务类型 */ + type: string + /** 创建者 */ + createUser: string + /** 创建时间 */ + createTime: string + /** 开始时间 */ + startTime: string + /** 结束时间 */ + endTime: string + /** 状态 */ + state: string + /** 任务进度 */ + progress: string + /** 任务生成目录路径 */ + path: string + /** 错误信息 */ + errorMessage: string + /** 参数json */ + paramJson: string + /** 执行该任务的服务端节点 */ + serverNode: string + /** 父任务ID,预留字段,暂时不用 */ + parentId: string + /** 任务描述 */ + description: string + /** 报表id */ + repCode: string + /** 数据日期 */ + dataDate: string + /** 机构 */ + organId: string + /** 数据日期1 */ + dataDate1: string + /** 优先级 */ + tSort: string + /** 失败尝试次数 */ + tFailNum: string + /** 尝试间隔时间(秒) */ + tFailInterval: string + /** 随机字符串 */ + randomCode?: string + /** 是否存在子级 */ + hasChildren?: boolean +} diff --git a/src/api/jobmanage/jobconfig/index.ts b/src/api/jobmanage/jobconfig/index.ts new file mode 100644 index 0000000..d30bcd6 --- /dev/null +++ b/src/api/jobmanage/jobconfig/index.ts @@ -0,0 +1,46 @@ +import request from '@/config/axios' +import { DepartmentListResponse, DepartmentUserParams, DepartmentUserResponse } from './types' + +export const getDepartmentApi = () => { + return request.get({ url: '/department/list' }) +} + +export const getUserByIdApi = (params: DepartmentUserParams) => { + return request.get({ url: '/department/users', params }) +} + +export const deleteUserByIdApi = (ids: string[] | number[]) => { + return request.post({ url: '/department/user/delete', data: { ids } }) +} + +export const saveUserApi = (data: any) => { + return request.post({ url: '/department/user/save', data }) +} + +export const saveDepartmentApi = (data: any) => { + return request.post({ url: '/department/save', data }) +} + +export const deleteApi = (jPid: string, jName: string) => { + return request.post({ url: '/job/sysJob/delete', data: { jPid, jName } }) +} + +export const getDepartmentTableApi = (params: any) => { + return request.get({ url: '/krm-job/api/job/RepJobQueryPage', params }) +} + +export const runDataApi = (jobId: string, jName: string) => { + return request.post({ url: '/job/sysJob/run', data: { jobId, jName } }) +} + +export const runCDataApi = (jobId: string, jName: string) => { + return request.post({ url: '/job/sysJob/runC', data: { jobId, jName } }) +} + +/** 导入 */ +export const importExcelApiUrl = '/krm-job/fileup/job/RepJobImport' + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/export/spi/krmJob/filedown/job/RepJobExport', params }) +} diff --git a/src/api/jobmanage/jobconfig/types.ts b/src/api/jobmanage/jobconfig/types.ts new file mode 100644 index 0000000..510360b --- /dev/null +++ b/src/api/jobmanage/jobconfig/types.ts @@ -0,0 +1,39 @@ +export interface DepartmentItem { + id: string + departmentName: string + children?: DepartmentItem[] +} + +export interface DepartmentListResponse { + list: DepartmentItem[] +} + +export interface DepartmentUserParams { + pageSize: number + pageNum: number + id: string + username?: string + account?: string +} + +export interface DepartmentUserItem { + id: string + username: string + account: string + email: string + createTime: string + role: string + department: DepartmentItem +} + +export interface DepartmentUserResponse { + list: DepartmentUserItem[] + total: number +} + +export type TableData = { + /** 作业编号 */ + jPid: string + /** 作业名称 */ + jName: string +} diff --git a/src/api/jobmanage/jobmonitor/index.ts b/src/api/jobmanage/jobmonitor/index.ts new file mode 100644 index 0000000..c60facd --- /dev/null +++ b/src/api/jobmanage/jobmonitor/index.ts @@ -0,0 +1,37 @@ +import request from '@/config/axios' +import { DepartmentListResponse, DepartmentUserParams, DepartmentUserResponse } from './types' + +export const getDepartmentApi = () => { + return request.get({ url: '/department/list' }) +} + +export const getUserByIdApi = (params: DepartmentUserParams) => { + return request.get({ url: '/department/users', params }) +} + +export const deleteUserByIdApi = (ids: string[] | number[]) => { + return request.post({ url: '/department/user/delete', data: { ids } }) +} + +export const saveUserApi = (data: any) => { + return request.post({ url: '/department/user/save', data }) +} + +export const saveDepartmentApi = (data: any) => { + return request.post({ url: '/department/save', data }) +} + +export const deleteDepartmentApi = (ids: string[] | number[]) => { + return request.post({ url: '/job/RepTask/delete', data: { ids } }) +} + +export const getDepartmentTableApi = (params: any) => { + return request.post({ url: '/job/spi/job/RepTask/RepTaskQueryPage', params }) +} + +export const reRunApi = (taskId: string) => { + return request.post({ url: '/job/RepTask/taskReRun', data: { taskId } }) +} +export const downLoadErrorApi = (id: string) => { + return request.post({ url: '/job/RepTask/downLoadRepTaskErr', data: { id } }) +} diff --git a/src/api/jobmanage/jobmonitor/types.ts b/src/api/jobmanage/jobmonitor/types.ts new file mode 100644 index 0000000..debb771 --- /dev/null +++ b/src/api/jobmanage/jobmonitor/types.ts @@ -0,0 +1,37 @@ +export interface DepartmentItem { + id: string + departmentName: string + children?: DepartmentItem[] +} + +export interface DepartmentListResponse { + list: DepartmentItem[] +} + +export interface DepartmentUserParams { + pageSize: number + pageNum: number + id: string + username?: string + account?: string +} + +export interface DepartmentUserItem { + id: string + username: string + account: string + email: string + createTime: string + role: string + department: DepartmentItem +} + +export interface DepartmentUserResponse { + list: DepartmentUserItem[] + total: number +} + +export type TableData = { + /** 编号 */ + id: string +} diff --git a/src/api/login/index.ts b/src/api/login/index.ts new file mode 100644 index 0000000..aab018d --- /dev/null +++ b/src/api/login/index.ts @@ -0,0 +1,38 @@ +import request from '@/config/axios' +import type { UserType } from './types' + +interface RoleParams { + userId: string +} + +export const loginApi = (data: any): Promise> => { + return request.postJson({ url: '/system/spi/system/auth/pclogin', data }) +} + +export const loginSso = (ssoToken: string): Promise> => { + return request.postJson({ url: '/system/spi/system/auth/ssoLogin', data:{ssoToken} }) +} + +export const loginOutApi = (): Promise> => { + return request.postJson({ url: '/system/spi/system/auth/pclogout' }) +} + +export const getUserListApi = ({ params }: AxiosConfig) => { + return request.get<{ + code: string + data: { + list: UserType[] + total: number + } + }>({ url: '/user/list', params }) +} + +export const getMenuTreeByRole = ( + params: RoleParams +): Promise> => { + return request.get({ url: '/system/spi/system/auth/UserRoleMenu', params }) +} + +export const getMenuKeysByRole = (params: RoleParams): Promise> => { + return request.get({ url: '/system/spi/system/auth/UserRoleMenu', params }) +} diff --git a/src/api/login/types.ts b/src/api/login/types.ts new file mode 100644 index 0000000..1f46421 --- /dev/null +++ b/src/api/login/types.ts @@ -0,0 +1,13 @@ +export interface UserLoginType { + username: string + password: string +} + +export interface UserType { + username: string + password: string + role: string + roleId: string + permissions: string | string[] + data: any +} diff --git a/src/api/menu/index.ts b/src/api/menu/index.ts new file mode 100644 index 0000000..7c522fc --- /dev/null +++ b/src/api/menu/index.ts @@ -0,0 +1,12 @@ +import request from '@/config/axios' + +export const getMenuListApi = (params: any) => { + return request.post({ url: '/menu/list', params }) +} + +export const getMenuListByUserIdApi = () => { + return request.post({ url: '/menu/getMenusByUserId' }) +} +export const delMenuByMenuIdApi = (id: string) => { + return request.post({ url: '/menu/delete', data: { id } }) +} diff --git a/src/api/multipleQuery/serviceLog/index.ts b/src/api/multipleQuery/serviceLog/index.ts new file mode 100644 index 0000000..4679611 --- /dev/null +++ b/src/api/multipleQuery/serviceLog/index.ts @@ -0,0 +1,167 @@ +import request from '@/config/axios' + +export const getTableListApi = (params: any) => { + //return request.post({ url: '/export/spi/export/format/ExportFormatConfigQueryPage', params }) + const data: any = [ + { + serviceName: '可信区表字段信息查询', + serviceType: '联机服务', + serviceVersion: 'v1.0', + requestType: 'GET', + requestDate: '20220308', + requestTime: '20220308 09:09:16', + responseDate: '20220308', + responseTime: '20220308 09:13:16', + responseState: '失败', + responseMsg: '102 -- 查询对象不存在或者权限不足 400 -- 机构信息不一致 500 -- 机构端系统异常', + useTime: '' + }, + { + serviceName: '台账查询接口', + serviceType: '联机服务', + serviceVersion: 'v1.0', + requestType: 'GET', + requestDate: '20220308', + requestTime: '20220308 09:09:16', + responseDate: '20220308', + responseTime: '20220308 09:13:16', + responseState: '失败', + responseMsg: '102 -- 查询对象不存在或者权限不足 400 -- 机构信息不一致 500 -- 机构端系统异常', + useTime: '' + }, + { + serviceName: '可信区操作日志查询', + serviceType: '联机服务', + serviceVersion: 'v1.0', + requestType: 'GET', + requestDate: '20220308', + requestTime: '20220308 09:09:16', + responseDate: '20220308', + responseTime: '20220308 09:13:16', + responseState: '失败', + responseMsg: '102 -- 查询对象不存在或者权限不足 400 -- 机构信息不一致 500 -- 机构端系统异常', + useTime: '' + }, + { + serviceName: '任务状态查询', + serviceType: '联机服务', + serviceVersion: 'v1.0', + requestType: 'GET', + requestDate: '20220308', + requestTime: '20220308 09:09:16', + responseDate: '20220308', + responseTime: '20220308 09:13:16', + responseState: '失败', + responseMsg: '102 -- 查询对象不存在或者权限不足 400 -- 机构信息不一致 500 -- 机构端系统异常', + useTime: '' + }, + { + serviceName: '重报申请查询服务', + queryTableInfo: '实时数据查询', + serviceType: '联机服务', + serviceVersion: 'v1.0', + requestType: 'GET', + requestDate: '20220308', + requestTime: '20220308 09:09:16', + responseDate: '20220308', + responseTime: '20220308 09:13:16', + responseState: '失败', + responseMsg: '102 -- 查询对象不存在或者权限不足 400 -- 机构信息不一致 500 -- 机构端系统异常', + useTime: '' + }, + { + serviceName: '重报申请查询服务', + serviceType: '联机服务', + serviceVersion: 'v1.0', + requestType: 'GET', + requestDate: '20220308', + requestTime: '20220308 09:09:16', + responseDate: '20220308', + responseTime: '20220308 09:13:16', + responseState: '失败', + responseMsg: '102 -- 查询对象不存在或者权限不足 400 -- 机构信息不一致 500 -- 机构端系统异常', + useTime: '' + }, + { + serviceName: '任务完成确认', + serviceType: '联机服务', + serviceVersion: 'v1.0', + requestType: 'GET', + requestDate: '20220308', + requestTime: '20220308 09:09:16', + responseDate: '20220308', + responseTime: '20220308 09:13:16', + responseState: '失败', + responseMsg: '102 -- 查询对象不存在或者权限不足 400 -- 机构信息不一致 500 -- 机构端系统异常', + useTime: '' + }, + { + serviceName: '任务完成确认', + serviceType: '联机服务', + serviceVersion: 'v1.0', + requestType: 'GET', + requestDate: '20220308', + requestTime: '20220308 09:09:16', + responseDate: '20220308', + responseTime: '20220308 09:13:16', + responseState: '失败', + responseMsg: '102 -- 查询对象不存在或者权限不足 400 -- 机构信息不一致 500 -- 机构端系统异常', + useTime: '' + }, + { + serviceName: '任务完成确认', + serviceType: '联机服务', + serviceVersion: 'v1.0', + requestType: 'GET', + requestDate: '20220308', + requestTime: '20220308 09:09:16', + responseDate: '20220308', + responseTime: '20220308 09:13:16', + responseState: '失败', + responseMsg: '102 -- 查询对象不存在或者权限不足 400 -- 机构信息不一致 500 -- 机构端系统异常', + useTime: '' + }, + { + serviceName: '任务完成确认', + serviceType: '联机服务', + serviceVersion: 'v1.0', + requestType: 'GET', + requestDate: '20220308', + requestTime: '20220308 09:09:16', + responseDate: '20220308', + responseTime: '20220308 09:13:16', + responseState: '失败', + responseMsg: '102 -- 查询对象不存在或者权限不足 400 -- 机构信息不一致 500 -- 机构端系统异常', + useTime: '' + } + ] + const data1: any = [ + { + serviceName: '任务完成确认', + serviceType: '联机服务', + serviceVersion: 'v1.0', + requestType: 'GET', + requestDate: '20220308', + requestTime: '20220308 09:09:16', + responseDate: '20220308', + responseTime: '20220308 09:13:16', + responseState: '失败', + responseMsg: '102 -- 查询对象不存在或者权限不足 400 -- 机构信息不一致 500 -- 机构端系统异常', + useTime: '' + } + ] + return { + data: { + list: params.pageNum === 1 ? data : data1, + total: 11 + } + } +} + +export const getTreeTableListApi = (params: any) => { + return request.get({ url: '/example/treeList', params }) +} + +export const delTableListApi = (pkid: string[] | number[]): Promise => { + return request.post({ url: '/export/spi/format/ExportFormatConfigDelete', data: { pkid } }) +} diff --git a/src/api/multipleQuery/submitDataQuery/index.ts b/src/api/multipleQuery/submitDataQuery/index.ts new file mode 100644 index 0000000..a6a829f --- /dev/null +++ b/src/api/multipleQuery/submitDataQuery/index.ts @@ -0,0 +1,91 @@ +import request from '@/config/axios' + +export const getTableListApi = (params: any) => { + //return request.post({ url: '/export/spi/export/format/ExportFormatConfigQueryPage', params }) + const data: any = [ + { + reportCode: 'C01', + reportName: 'C01机构人数统计表', + frequency: '月报', + date: '202310000', + organ: '河北省农联社' + }, + { + reportCode: 'C02', + reportName: 'C02机构人数统计表', + frequency: '月报', + date: '202310000', + organ: '河北省农联社' + }, + { + reportCode: 'C03', + reportName: 'C03机构人数统计表', + frequency: '月报', + date: '202310000', + organ: '河北省农联社' + }, + { + reportCode: 'C04', + reportName: 'C04机构人数统计表', + frequency: '月报', + date: '202310000', + organ: '河北省农联社' + }, + { + reportCode: 'C05', + reportName: 'C05机构人数统计表', + frequency: '月报', + date: '202310000', + organ: '河北省农联社' + }, + { + reportCode: 'C06', + reportName: 'C06机构人数统计表', + frequency: '月报', + date: '202310000', + organ: '河北省农联社' + }, + { + reportCode: 'C07', + reportName: 'C07机构人数统计表', + frequency: '月报', + date: '202310000', + organ: '河北省农联社' + }, + { + reportCode: 'C08', + reportName: 'C08机构人数统计表', + frequency: '月报', + date: '202310000', + organ: '河北省农联社' + }, + { + reportCode: 'C09', + reportName: 'C09机构人数统计表', + frequency: '月报', + date: '202310000', + organ: '河北省农联社' + }, + { + reportCode: 'C10', + reportName: 'C10机构人数统计表', + frequency: '月报', + date: '202310000', + organ: '河北省农联社' + } + ] + return { + data: { + list: data, + total: data.length + } + } +} + +export const getTreeTableListApi = (params: any) => { + return request.get({ url: '/example/treeList', params }) +} + +export const delTableListApi = (pkid: string[] | number[]): Promise => { + return request.post({ url: '/export/spi/format/ExportFormatConfigDelete', data: { pkid } }) +} diff --git a/src/api/param/RepDataSource/index.ts b/src/api/param/RepDataSource/index.ts new file mode 100644 index 0000000..54689ba --- /dev/null +++ b/src/api/param/RepDataSource/index.ts @@ -0,0 +1,56 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getRepDataSourceListApi = (data: any) => { + return request.postJson({ url: '/param/spi/param/RepDataSource/RepDataSourceQueryPage', data }); +}; + +/** 批量删除 */ +export const delRepDataSourceListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + dsCode: v, + }; + }); + return request.postJson({ + url: '/param/spi/param/RepDataSource/RepDataSourceBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delRepDataSourceApi = (dscode: string | number): Promise => { + return request.postJson({ + url: '/param/spi/param/RepDataSource/RepDataSourceDelete', + data: { dscode }, + }); +}; + +/** 保存 */ +export const saveRepDataSourceApi = (data: Partial): Promise => { + return request.postJson({ url: '/param/spi/param/RepDataSource/RepDataSourceSave', data }); +}; + +/** 查询单条数据 */ +export const queryRepDataSourceApi = (dscode: string | number): Promise => { + return request.postJson({ + url: '/param/spi/param/RepDataSource/RepDataSourceQueryOne', + data: { dscode }, + }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/param/sui/param/RepDataSource/RepDataSourceImportExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/param/sdi/param/RepDataSource/RepDataSourceExportXls', params }); +}; + +/** 测试链接 */ +export const checkConnectApi = (params: any) => { + return request.postJson({ url: '/param/spi/param/RepDataSource/DataSourceCheckConnect', data: params }); +}; diff --git a/src/api/param/RepDataSource/types.ts b/src/api/param/RepDataSource/types.ts new file mode 100644 index 0000000..8990520 --- /dev/null +++ b/src/api/param/RepDataSource/types.ts @@ -0,0 +1,42 @@ +export type TableData = { + /** 数据源编码 */ + dscode: string + /** 数据源名称 */ + dsname: string + /** 数据源类型 */ + dstype: string + /** 驱动类全名 */ + dsdriver: string + /** jdbc链接 */ + dsurl: string + /** 用户名 */ + username: string + /** 机构编码 */ + organCode: string + /** 工具 */ + defaultschema: string + /** 排序 */ + showOrder: string + /** 创建机构 */ + createOrgan: string + /** 创建用户 */ + createUser: string + /** 密码 */ + userpwd: string + /** 初始化链接大小 */ + initialsize: string + /** 最小空闲链接 */ + minidle: string + /** 最大空闲链接 */ + maxactive: string + /** 是否进行链接遗漏检测 */ + removeabandoned: string + /** 链接活动时间(超过该时间即被回收) */ + removeabandonedtimeout: string + /** 最大获取链接时间 */ + maxwait: string + /** 遗漏检测间隔时间 */ + timebetweenevictionrunsmillis: string + /** 是否缓存游标 */ + poolpreparedstatements: string +} diff --git a/src/api/param/SysDictcode/index.ts b/src/api/param/SysDictcode/index.ts new file mode 100644 index 0000000..82cd6aa --- /dev/null +++ b/src/api/param/SysDictcode/index.ts @@ -0,0 +1,57 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSysDictcodeListApi = (data: any) => { + return request.postJson({ url: '/param/spi/param/SysDictcode/SysDictcodeQueryPage', data }); +}; + +/** 批量删除 */ +export const delSysDictcodeListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + dicKey: v.dicKey, + dicId: v.dicId, + }; + }); + return request.postJson({ + url: '/param/spi/param/SysDictcode/SysDictcodeBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSysDictcodeApi = (dicKey?: string, dicId?: string): Promise => { + return request.postJson({ url: '/param/spi/param/SysDictcode/SysDictcodeDelete', data: { dicKey, dicId } }); +}; + +/** 保存 */ +export const saveSysDictcodeApi = (data: Partial): Promise => { + return request.postJson({ url: '/param/spi/param/SysDictcode/SysDictcodeSave', data }); +}; + +/** 查询单条数据 */ +export const querySysDictcodeApi = (dicKey?: string, dicId?: string): Promise => { + return request.postJson({ url: '/param/spi/param/SysDictcode/SysDictcodeQueryOne', data: { dicKey, dicId } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/param/sui/param/SysDictcode/SysDictcodeImportExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/param/sdi/param/SysDictcode/SysDictcodeExportXls', params }); +}; +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/param/SysDictcode/types.ts b/src/api/param/SysDictcode/types.ts new file mode 100644 index 0000000..dc1e121 --- /dev/null +++ b/src/api/param/SysDictcode/types.ts @@ -0,0 +1,52 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 关键字 */ + dicKey?: string + /** ID */ + dicId?: string + /** 名称 */ + dicName?: string + /** 值 */ + dicValue?: string + /** 父节点ID */ + parentId?: string + /** 描述 */ + description?: string + /** 状态 */ + dicStatus?: string + /** 排序 */ + dicSort?: string + /** 属性 */ + props?: string + /** 系统类型 */ + systemCode?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 关键字 */ + dicKey?: string + /** ID */ + dicId?: string + /** 名称 */ + dicName?: string + /** 值 */ + dicValue?: string + /** 父节点ID */ + parentId?: string + /** 描述 */ + description?: string + /** 状态 */ + dicStatus?: string + /** 排序 */ + dicSort?: string + /** 属性 */ + props?: string + /** 系统类型 */ + systemCode?: string +} diff --git a/src/api/param/SysOrgan/index.ts b/src/api/param/SysOrgan/index.ts new file mode 100644 index 0000000..74d62d4 --- /dev/null +++ b/src/api/param/SysOrgan/index.ts @@ -0,0 +1,56 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSysOrganListApi = (data: any) => { + return request.postJson({ url: '/param/spi/param/SysOrgan/SysOrganQueryPage', data }); +}; + +/** 批量删除 */ +export const delSysOrganListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v, + }; + }); + return request.postJson({ + url: '/param/spi/param/SysOrgan/SysOrganBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSysOrganApi = (id: string | number): Promise => { + return request.postJson({ url: '/param/spi/param/SysOrgan/SysOrganDelete', data: { id } }); +}; + +/** 保存 */ +export const saveSysOrganApi = (data: Partial): Promise => { + return request.postJson({ url: '/param/spi/param/SysOrgan/SysOrganSave', data }); +}; + +/** 查询单条数据 */ +export const querySysOrganApi = (id: string | number): Promise => { + return request.postJson({ url: '/param/spi/param/SysOrgan/SysOrganQueryOne', data: { id } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/param/sui/param/SysOrgan/SysOrganImportExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/param/sdi/param/SysOrgan/SysOrganExportXls', params }); +}; + +/** 机构类型 */ +export const getSysOrgType = (): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: 'OrganTypeParam_param', + systemCode: 'system', + }, + }); +}; diff --git a/src/api/param/SysOrgan/types.ts b/src/api/param/SysOrgan/types.ts new file mode 100644 index 0000000..97091ba --- /dev/null +++ b/src/api/param/SysOrgan/types.ts @@ -0,0 +1,94 @@ +export type TableData = { + /** 主键 */ + id: string + /** 上级机构号 */ + parentId: string + /** 区域 */ + areaId: string + /** 机构号 */ + code: string + /** 机构名称 */ + orgname: string + /** 类型 */ + type: string + /** 层级 */ + grade: string + /** 归属区域 */ + address: string + /** 邮政编码 */ + zipCode: string + /** 负责人 */ + master: string + /** 电话号码 */ + phone: string + /** 邮件 */ + fax: string + /** 传真 */ + email: string + /** 创建人 */ + createBy: string + /** 开始日期 */ + createDate: string + /** 最近修改人 */ + updateBy: string + /** 结束日期 */ + updateDate: string + /** 机构描述 */ + remarks: string + /** 假删除标记(0.正常 1.删除) */ + delFlag: string + /** 图标 */ + icon: string + /** 所有上级机构号 */ + parentIds: string + /** 机构树id */ + treeId: string + /** 是否同步 */ + async: string + /** 机构全称 */ + fullName: string + /** 是否虚拟机构 */ + isVirtual: string + /** 机构类型 */ + orgLeveType: string + /** 一级 */ + orgNumLeve1: string + /** 二级 */ + orgNumLeve2: string + /** 三级 */ + orgNumLeve3: string + /** 四级 */ + orgNumLeve4: string + /** 五级 */ + orgNumLeve5: string + /** 六级 */ + orgNumLeve6: string + /** 七级 */ + orgNumLeve7: string + /** 八级 */ + orgNumLeve8: string + /** 九级 */ + orgNumLeve9: string + /** 十级 */ + orgNumLeve10: string + /** 是否同步到工作流 */ + syncWorkflow: string +} + +export type TreeNode = { + /** 机构id */ + id: string + /** 机构name */ + nodeName: string + /** 机构子级 */ + childs?: TreeNode[] +} + +/** 列表 */ +export type ListItem = { + /** 字段名称 */ + label: string + /** 字段值 */ + value: string +} + diff --git a/src/api/param/SysOrganTree/index.ts b/src/api/param/SysOrganTree/index.ts new file mode 100644 index 0000000..9e866ce --- /dev/null +++ b/src/api/param/SysOrganTree/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSysOrganTreeListApi = (data: any) => { + return request.postJson({ url: '/param/spi/param/SysOrganTree/SysOrganTreeQuery', data }); +}; + +/** 批量删除 */ +export const delSysOrganTreeListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + treeId: v, + }; + }); + return request.postJson({ + url: '/param/spi/param/SysOrganTree/SysOrganTreeBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSysOrganTreeApi = (treeId: string | number): Promise => { + return request.postJson({ url: '/param/spi/param/SysOrganTree/SysOrganTreeDelete', data: { treeId } }); +}; + +/** 保存 */ +export const saveSysOrganTreeApi = (data: Partial): Promise => { + return request.postJson({ url: '/param/spi/param/SysOrganTree/SysOrganTreeSave', data }); +}; + +/** 查询单条数据 */ +export const querySysOrganTreeApi = (treeId: string | number): Promise => { + return request.postJson({ url: '/param/spi/param/SysOrganTree/SysOrganTreeQueryOne', data: { treeId } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/param/sui/param/SysOrganTree/SysOrganTreeImportExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/param/sdi/param/SysOrganTree/SysOrganTreeExportXls', params }); +}; diff --git a/src/api/param/SysOrganTree/types.ts b/src/api/param/SysOrganTree/types.ts new file mode 100644 index 0000000..2d16bd3 --- /dev/null +++ b/src/api/param/SysOrganTree/types.ts @@ -0,0 +1,13 @@ +export type TableData = { + /** 编号 */ + id: string + treeId: string + /** 机构树名称 */ + treeName: string + /** 开始日期 */ + startDate: string + /** 结束日期 */ + endDate: string + /** 创建用户 */ + createUser: string +} diff --git a/src/api/report/index.ts b/src/api/report/index.ts new file mode 100644 index 0000000..98ea2f6 --- /dev/null +++ b/src/api/report/index.ts @@ -0,0 +1,228 @@ +import request from '@/config/axios' +import { listToTree } from '@/utils/tree' + +/** 获取报表类型 */ +export const getReportTypeApi1 = () => { + return request.post({ url: '/report/getReportTypeApi' }) +} +export const getReportTypeApi = () => { + // const data = [ + // { + // moduleName: '', + // parentId: 'east', + // parentName: 'EAST5.0', + // pkid: '001', + // typeName: '公共信息类' + // }, + // { + // moduleName: '', + // parentId: 'east111', + // parentName: 'EAST5.0111', + // pkid: '001111', + // typeName: '公共信息类111' + // } + // ] + const data = [ + { + moduleName: null, + parentId: '1104', + parentName: '1104', + pkid: '100', + remarks: '', + rowId: null, + systemCode: null, + typeName: '月报', + typeOrder: 1, + userDataScope: null + }, + { + moduleName: null, + parentId: '1104', + parentName: '1104', + pkid: '200', + remarks: '', + rowId: null, + systemCode: null, + typeName: '季报', + typeOrder: 2, + userDataScope: null + }, + { + moduleName: null, + parentId: '1104', + parentName: '1104', + pkid: '300', + remarks: '', + rowId: null, + systemCode: null, + typeName: '半年报', + typeOrder: 3, + userDataScope: null + }, + { + moduleName: null, + parentId: '1104', + parentName: '1104', + pkid: '400', + remarks: '', + rowId: null, + systemCode: null, + typeName: '年报', + typeOrder: 4, + userDataScope: null + }, + { + moduleName: null, + parentId: '1', + parentName: '报表类型', + pkid: '1104', + remarks: '1', + rowId: null, + systemCode: null, + typeName: '1104', + typeOrder: null, + userDataScope: null + }, + { + moduleName: null, + parentId: '0', + parentName: null, + pkid: '1', + remarks: '基本类型', + rowId: null, + systemCode: null, + typeName: '报表类型', + typeOrder: null, + userDataScope: null + } + ] + return listToTree(data, { + id: 'pkid', + children: 'children', + pid: 'parentId' + }) +} + +/** 获取报表树 */ +export const getReporTreeApi1 = () => { + return request.post({ url: '/report/getReporTreeApi1' }) +} + +export const getReporTreeApi = () => { + const data = [ + { + as: '', + createtime: '', + begindate: '', + text: 'CBRC指标', + updatetime: '', + nodeid: '7', + parentid: '1' + }, + { + as: '20310704', + createtime: null, + begindate: '20110704', + text: '报表状态', + updatetime: null, + nodeid: 'K1', + parentid: '3' + }, + { + as: '20310704', + createtime: null, + begindate: '20110704', + text: '工作流数据集', + updatetime: null, + nodeid: 'K2', + parentid: '3' + }, + { + as: '20310707', + createtime: null, + begindate: '20110707', + text: '报表填报按钮', + updatetime: null, + nodeid: 'K3', + parentid: '3' + }, + { + as: '20310724', + createtime: null, + begindate: '20110724', + text: '系统按钮权限', + updatetime: null, + nodeid: 'K4', + parentid: '3' + }, + { + as: '20310804', + createtime: null, + begindate: '20110804', + text: '汇总状态模型', + updatetime: null, + nodeid: 'K5', + parentid: '3' + }, + { + as: '20310929', + createtime: null, + begindate: '20110929', + text: '省联社报表状态查询', + updatetime: null, + nodeid: 'K6', + parentid: '3' + }, + { + as: '20311111', + createtime: null, + begindate: '20111111', + text: '金数强校验是否通过', + updatetime: null, + nodeid: 'K9', + parentid: '3' + }, + { + as: '20311210', + createtime: null, + begindate: '20111210', + text: '报表校验结果', + updatetime: null, + nodeid: 'K7', + parentid: '3' + }, + { + as: '20311216', + createtime: null, + begindate: '20111216', + text: '数据集发布', + updatetime: null, + nodeid: 'K8', + parentid: '3' + }, + { + as: '20240131', + createtime: null, + begindate: '20110519', + text: '(月)G01资产负债项目统计表', + updatetime: '2023-10-27 10:45:33', + nodeid: 'G0100', + parentid: '7' + }, + { + as: '', + createtime: '', + begindate: '', + text: '指标体系', + updatetime: '', + nodeid: '1', + parentid: null + } + ] + const result = listToTree(data, { + id: 'nodeid', + children: 'children', + pid: 'parentid' + }) + return result +} diff --git a/src/api/report/types.ts b/src/api/report/types.ts new file mode 100644 index 0000000..448d1da --- /dev/null +++ b/src/api/report/types.ts @@ -0,0 +1,4 @@ +export type TableData = { + /** 类型 */ + type?: string +} diff --git a/src/api/request/index.ts b/src/api/request/index.ts new file mode 100644 index 0000000..7014505 --- /dev/null +++ b/src/api/request/index.ts @@ -0,0 +1,32 @@ +import request from '@/config/axios' +import { RequestResponse } from './types' + +export const request1 = () => { + return request.get>({ + url: '/request/1' + }) +} + +export const request2 = () => { + return request.get>({ + url: '/request/2' + }) +} + +export const request3 = () => { + return request.get>({ + url: '/request/3' + }) +} + +export const request4 = () => { + return request.get>({ + url: '/request/4' + }) +} + +export const request5 = () => { + return request.get>({ + url: '/request/5' + }) +} diff --git a/src/api/request/types.ts b/src/api/request/types.ts new file mode 100644 index 0000000..9a2063f --- /dev/null +++ b/src/api/request/types.ts @@ -0,0 +1,3 @@ +export interface RequestResponse { + data: string +} diff --git a/src/api/role/index.ts b/src/api/role/index.ts new file mode 100644 index 0000000..870ffa7 --- /dev/null +++ b/src/api/role/index.ts @@ -0,0 +1,22 @@ +import request from '@/config/axios' +import type { TableData } from './types' + +export const getRoleListApi = (params: any) => { + return request.post({ url: '/role/list', params }) +} + +// export const getRoleListApi = (data: any) => { +// return request.post({ url: '/system/spi/SysRole/list', data }) +// } + +export const delRoleListApi = (ids: string[] | number[]): Promise => { + return request.post({ url: '/role/deletes', data: { ids } }) +} + +export const saveRoleApi = (data: Partial): Promise => { + return request.post({ url: '/role/save', data }) +} + +export const queryRoleApi = (id: string | number): Promise => { + return request.post({ url: '/role/queryOne', data: { id } }) +} diff --git a/src/api/role/types.ts b/src/api/role/types.ts new file mode 100644 index 0000000..5b7caa3 --- /dev/null +++ b/src/api/role/types.ts @@ -0,0 +1,15 @@ +export type TableData = { + /** 角色id */ + ruleCode: string + id: string + /** 角色名称 */ + name: string + /** 机构id */ + organId: string + /** 角色描述 */ + remarks: string + /** 角色类型 */ + roleType: string + /** 角色菜单[] */ + menuIds: string[] | number[] +} diff --git a/src/api/srdb/FieldMaintenance/FieldMaintenance/index.ts b/src/api/srdb/FieldMaintenance/FieldMaintenance/index.ts new file mode 100644 index 0000000..297ab85 --- /dev/null +++ b/src/api/srdb/FieldMaintenance/FieldMaintenance/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getFieldMaintenanceListApi = (data: any) => { + return request.postJson({ url: '/srdb/spi/srdb/FieldMaintenance/FieldMaintenanceQueryPage', data }); +}; + +/** 批量删除 */ +export const delFieldMaintenanceListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v.id, + }; + }); + return request.postJson({ + url: '/srdb/spi/srdb/FieldMaintenance/FieldMaintenanceBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delFieldMaintenanceApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/FieldMaintenance/FieldMaintenanceDelete', data: { id } }); +}; + +/** 保存 */ +export const saveFieldMaintenanceApi = (data: Partial): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/FieldMaintenance/FieldMaintenanceSave', data }); +}; + +/** 查询单条数据 */ +export const queryFieldMaintenanceApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/FieldMaintenance/FieldMaintenanceQueryOne', data: { id } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/srdb/sui/srdb/FieldMaintenance/FieldMaintenanceImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/srdb/sui/srdb/FieldMaintenance/FieldMaintenanceImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/srdb/sdi/srdb/FieldMaintenance/FieldMaintenanceExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/srdb/FieldMaintenance/FieldMaintenance/types.ts b/src/api/srdb/FieldMaintenance/FieldMaintenance/types.ts new file mode 100644 index 0000000..3f99671 --- /dev/null +++ b/src/api/srdb/FieldMaintenance/FieldMaintenance/types.ts @@ -0,0 +1,84 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 自增主键 */ + id?: string + /** 检核表名代码 */ + tableCode?: string + /** 检核表英文名称 */ + tableNameEn?: string + /** 检核表代码中文名称 */ + tableNameCn?: string + /** 数据项代码 */ + fieldCode?: string + /** 数据项英文名称 */ + fieldNameEn?: string + /** 数据项代码中文名称 */ + fieldNameCn?: string + /** 是否主键字段 */ + isPrimery?: string + /** 采集编号 */ + collectingCode?: string + /** 制度编号 */ + regulationId?: string + /** 制度名称 */ + regulationName?: string + /** 制度版本 */ + regulationVersion?: string + /** 数据类型 */ + fieldType?: string + /** 数据长度 */ + fieldLength?: string + /** 元数据编号 */ + metaNo?: string + /** 元数据名称 */ + metaName?: string + /** 关联元数据编号 */ + preMetaList?: string + /** 是否分区字段 */ + isPartition?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 自增主键 */ + id?: string + /** 检核表名代码 */ + tableCode?: string + /** 检核表英文名称 */ + tableNameEn?: string + /** 检核表代码中文名称 */ + tableNameCn?: string + /** 数据项代码 */ + fieldCode?: string + /** 数据项英文名称 */ + fieldNameEn?: string + /** 数据项代码中文名称 */ + fieldNameCn?: string + /** 是否主键字段 */ + isPrimery?: string + /** 采集编号 */ + collectingCode?: string + /** 制度编号 */ + regulationId?: string + /** 制度名称 */ + regulationName?: string + /** 制度版本 */ + regulationVersion?: string + /** 数据类型 */ + fieldType?: string + /** 数据长度 */ + fieldLength?: string + /** 元数据编号 */ + metaNo?: string + /** 元数据名称 */ + metaName?: string + /** 关联元数据编号 */ + preMetaList?: string + /** 是否分区字段 */ + isPartition?: string +} diff --git a/src/api/srdb/FieldVerification/FieldVerification/index.ts b/src/api/srdb/FieldVerification/FieldVerification/index.ts new file mode 100644 index 0000000..9ff408b --- /dev/null +++ b/src/api/srdb/FieldVerification/FieldVerification/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getFieldVerificationListApi = (data: any) => { + return request.postJson({ url: '/srdb/spi/srdb/FieldVerification/FieldVerificationQueryPage', data }); +}; + +/** 批量删除 */ +export const delFieldVerificationListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v.id, + }; + }); + return request.postJson({ + url: '/srdb/spi/srdb/FieldVerification/FieldVerificationBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delFieldVerificationApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/FieldVerification/FieldVerificationDelete', data: { id } }); +}; + +/** 保存 */ +export const saveFieldVerificationApi = (data: Partial): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/FieldVerification/FieldVerificationSave', data }); +}; + +/** 查询单条数据 */ +export const queryFieldVerificationApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/FieldVerification/FieldVerificationQueryOne', data: { id } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/srdb/sui/srdb/FieldVerification/FieldVerificationImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/srdb/sui/srdb/FieldVerification/FieldVerificationImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/srdb/sdi/srdb/FieldVerification/FieldVerificationExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/srdb/FieldVerification/FieldVerification/types.ts b/src/api/srdb/FieldVerification/FieldVerification/types.ts new file mode 100644 index 0000000..d65ce94 --- /dev/null +++ b/src/api/srdb/FieldVerification/FieldVerification/types.ts @@ -0,0 +1,80 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键ID */ + id?: string + /** 工作流ID */ + taskId?: string + /** 数据日期 */ + dataDate?: string + /** 金融许可证号 */ + orgNo?: string + /** 校验对象 */ + checkObj?: string + /** 机构名称 */ + orgName?: string + /** 规则版本 */ + ruleVersion?: string + /** 校验关系代码 */ + ruleNo?: string + /** 校验性质 */ + checkProp?: string + /** 校验总记录数 */ + checkTotalNum?: string + /** 校验通过记录数 */ + checkPassNum?: string + /** 通过率 */ + checkPassPer?: string + /** 校验结果值 */ + checkResult?: string + /** 校验结果值 */ + checkResultVal?: string + /** 校验通过情况枚举 */ + checkPassResult?: string + /** 批次 */ + checkBatch?: string + /** 创建时间 */ + createTime?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键ID */ + id?: string + /** 工作流ID */ + taskId?: string + /** 数据日期 */ + dataDate?: string + /** 金融许可证号 */ + orgNo?: string + /** 校验对象 */ + checkObj?: string + /** 机构名称 */ + orgName?: string + /** 规则版本 */ + ruleVersion?: string + /** 校验关系代码 */ + ruleNo?: string + /** 校验性质 */ + checkProp?: string + /** 校验总记录数 */ + checkTotalNum?: string + /** 校验通过记录数 */ + checkPassNum?: string + /** 通过率 */ + checkPassPer?: string + /** 校验结果值 */ + checkResult?: string + /** 校验结果值 */ + checkResultVal?: string + /** 校验通过情况枚举 */ + checkPassResult?: string + /** 批次 */ + checkBatch?: string + /** 创建时间 */ + createTime?: string +} diff --git a/src/api/srdb/OperationLog/OperationLog/index.ts b/src/api/srdb/OperationLog/OperationLog/index.ts new file mode 100644 index 0000000..47de47d --- /dev/null +++ b/src/api/srdb/OperationLog/OperationLog/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getOperationLogListApi = (data: any) => { + return request.postJson({ url: '/srdb/spi/srdb/OperationLog/OperationLogQueryPage', data }); +}; + +/** 批量删除 */ +export const delOperationLogListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v.id, + }; + }); + return request.postJson({ + url: '/srdb/spi/srdb/OperationLog/OperationLogBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delOperationLogApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/OperationLog/OperationLogDelete', data: { id } }); +}; + +/** 保存 */ +export const saveOperationLogApi = (data: Partial): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/OperationLog/OperationLogSave', data }); +}; + +/** 查询单条数据 */ +export const queryOperationLogApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/OperationLog/OperationLogQueryOne', data: { id } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/srdb/sui/srdb/OperationLog/OperationLogImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/srdb/sui/srdb/OperationLog/OperationLogImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/srdb/sdi/srdb/OperationLog/OperationLogExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/srdb/OperationLog/OperationLog/types.ts b/src/api/srdb/OperationLog/OperationLog/types.ts new file mode 100644 index 0000000..7809b95 --- /dev/null +++ b/src/api/srdb/OperationLog/OperationLog/types.ts @@ -0,0 +1,52 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键ID */ + id?: string + /** 机构金融许可证号 */ + orgNo?: string + /** 机构编号 */ + orgName?: string + /** 日志记录时间 */ + logRecordTime?: string + /** 操作日期 */ + operationDate?: string + /** 操作时间 */ + operationTime?: string + /** 操作账号 */ + userName?: string + /** 操作IP */ + userIp?: string + /** 操作类型 */ + operationType?: string + /** 日志详情 */ + logDetail?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键ID */ + id?: string + /** 机构金融许可证号 */ + orgNo?: string + /** 机构编号 */ + orgName?: string + /** 日志记录时间 */ + logRecordTime?: string + /** 操作日期 */ + operationDate?: string + /** 操作时间 */ + operationTime?: string + /** 操作账号 */ + userName?: string + /** 操作IP */ + userIp?: string + /** 操作类型 */ + operationType?: string + /** 日志详情 */ + logDetail?: string +} diff --git a/src/api/srdb/PendingNotice/PendingNotice/index.ts b/src/api/srdb/PendingNotice/PendingNotice/index.ts new file mode 100644 index 0000000..2ccbdb6 --- /dev/null +++ b/src/api/srdb/PendingNotice/PendingNotice/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getPendingNoticeListApi = (data: any) => { + return request.postJson({ url: '/srdb/spi/srdb/PendingNotice/PendingNoticeQueryPage', data }); +}; + +/** 批量删除 */ +export const delPendingNoticeListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v.id, + }; + }); + return request.postJson({ + url: '/srdb/spi/srdb/PendingNotice/PendingNoticeBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delPendingNoticeApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/PendingNotice/PendingNoticeDelete', data: { id } }); +}; + +/** 保存 */ +export const savePendingNoticeApi = (data: Partial): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/PendingNotice/PendingNoticeSave', data }); +}; + +/** 查询单条数据 */ +export const queryPendingNoticeApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/PendingNotice/PendingNoticeQueryOne', data: { id } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/srdb/sui/srdb/PendingNotice/PendingNoticeImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/srdb/sui/srdb/PendingNotice/PendingNoticeImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/srdb/sdi/srdb/PendingNotice/PendingNoticeExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/srdb/PendingNotice/PendingNotice/types.ts b/src/api/srdb/PendingNotice/PendingNotice/types.ts new file mode 100644 index 0000000..c579e9f --- /dev/null +++ b/src/api/srdb/PendingNotice/PendingNotice/types.ts @@ -0,0 +1,36 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + id?: string + /** 机构编号 */ + orgNo?: string + /** 子机构编号 */ + subOrgNo?: string + /** 待处理通知内容 */ + content?: string + /** 数据库记录创建的时间 */ + createTime?: string + /** 是否处理 */ + processFlag?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + id?: string + /** 机构编号 */ + orgNo?: string + /** 子机构编号 */ + subOrgNo?: string + /** 待处理通知内容 */ + content?: string + /** 数据库记录创建的时间 */ + createTime?: string + /** 是否处理 */ + processFlag?: string +} diff --git a/src/api/srdb/QueryInterfaceDiary/QueryInterfaceDiary/index.ts b/src/api/srdb/QueryInterfaceDiary/QueryInterfaceDiary/index.ts new file mode 100644 index 0000000..ac74403 --- /dev/null +++ b/src/api/srdb/QueryInterfaceDiary/QueryInterfaceDiary/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getQueryInterfaceDiaryListApi = (data: any) => { + return request.postJson({ url: '/srdb/spi/srdb/QueryInterfaceDiary/QueryInterfaceDiaryQueryPage', data }); +}; + +/** 批量删除 */ +export const delQueryInterfaceDiaryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v.id, + }; + }); + return request.postJson({ + url: '/srdb/spi/srdb/QueryInterfaceDiary/QueryInterfaceDiaryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delQueryInterfaceDiaryApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/QueryInterfaceDiary/QueryInterfaceDiaryDelete', data: { id } }); +}; + +/** 保存 */ +export const saveQueryInterfaceDiaryApi = (data: Partial): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/QueryInterfaceDiary/QueryInterfaceDiarySave', data }); +}; + +/** 查询单条数据 */ +export const queryQueryInterfaceDiaryApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/QueryInterfaceDiary/QueryInterfaceDiaryQueryOne', data: { id } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/srdb/sui/srdb/QueryInterfaceDiary/QueryInterfaceDiaryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/srdb/sui/srdb/QueryInterfaceDiary/QueryInterfaceDiaryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/srdb/sdi/srdb/QueryInterfaceDiary/QueryInterfaceDiaryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/srdb/QueryInterfaceDiary/QueryInterfaceDiary/types.ts b/src/api/srdb/QueryInterfaceDiary/QueryInterfaceDiary/types.ts new file mode 100644 index 0000000..13c3011 --- /dev/null +++ b/src/api/srdb/QueryInterfaceDiary/QueryInterfaceDiary/types.ts @@ -0,0 +1,52 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键id */ + id?: string + /** 模块名称 */ + modelName?: string + /** 访问表名 */ + visitTableName?: string + /** 处理状态 */ + handleStatus?: string + /** 请求时间 */ + requestTime?: string + /** 请求报文 */ + reqMessage?: string + /** 响应报文 */ + respMessage?: string + /** 失败原因 */ + msg?: string + /** 耗时 */ + timeConsume?: string + /** 查询类型 */ + logType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键id */ + id?: string + /** 模块名称 */ + modelName?: string + /** 访问表名 */ + visitTableName?: string + /** 处理状态 */ + handleStatus?: string + /** 请求时间 */ + requestTime?: string + /** 请求报文 */ + reqMessage?: string + /** 响应报文 */ + respMessage?: string + /** 失败原因 */ + msg?: string + /** 耗时 */ + timeConsume?: string + /** 查询类型 */ + logType?: string +} diff --git a/src/api/srdb/ReSubmitApplication/ReSubmitApplication/index.ts b/src/api/srdb/ReSubmitApplication/ReSubmitApplication/index.ts new file mode 100644 index 0000000..b6fa5a0 --- /dev/null +++ b/src/api/srdb/ReSubmitApplication/ReSubmitApplication/index.ts @@ -0,0 +1,64 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSrdbRectifyTaskListApi = (data: any) => { + return request.postJson({ url: '/srdb/spi/srdb/SrdbRectifyTask/SrdbRectifyTaskQueryPage', data }); +}; + +/** 批量删除 */ +export const delSrdbRectifyTaskListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v.id, + }; + }); + return request.postJson({ + url: '/srdb/spi/srdb/SrdbRectifyTask/SrdbRectifyTaskBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSrdbRectifyTaskApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/SrdbRectifyTask/SrdbRectifyTaskDelete', data: { id } }); +}; + +/** 保存 */ +export const saveSrdbRectifyTaskApi = (data: Partial): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/SrdbRectifyTask/SrdbRectifyTaskSave', data }); +}; + +/** 查询单条数据 */ +export const querySrdbRectifyTaskApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/SrdbRectifyTask/SrdbRectifyTaskQueryOne', data: { id } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/srdb/sui/srdb/SrdbRectifyTask/SrdbRectifyTaskImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/srdb/sui/srdb/SrdbRectifyTask/SrdbRectifyTaskImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/srdb/sdi/srdb/SrdbRectifyTask/SrdbRectifyTaskExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + +/** 重报申请**/ +export const SrdbRectifyApply = (data:any): Promise => { + return request.postJson({ url: 'srdb/spi/srdb/SrdbRectifyTask/SrdbRectifyApply', data }); +}; \ No newline at end of file diff --git a/src/api/srdb/ReSubmitApplication/ReSubmitApplication/types.ts b/src/api/srdb/ReSubmitApplication/ReSubmitApplication/types.ts new file mode 100644 index 0000000..c257c0c --- /dev/null +++ b/src/api/srdb/ReSubmitApplication/ReSubmitApplication/types.ts @@ -0,0 +1,128 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键ID */ + id?: string + /** 机构金融许可证号 */ + orgNo?: string + /** 子机构编号 */ + subOrgNo?: string + /** 制度表编号 */ + regulationId?: string + /** 制度名称 */ + regulationName?: string + /** 制度版本 */ + regulationVersion?: string + /** 整改编码 */ + orgApplicantNo?: string + /** 数据日期 */ + dataDate?: string + /** 任务编码 */ + workflowId?: string + /** 整改类型 */ + rectifyType?: string + /** 整改截止日期 */ + corrEndDate?: string + /** 表中文 */ + tabName?: string + /** 表英文 */ + tabNameEn?: string + /** 表唯一编号 */ + tabGuid?: string + /** 退回指标数量 */ + metricsCode?: string + /** 报送状态 */ + reportStatus?: string + /** 申请状态 */ + applyStatus?: string + /** 中心拉取通知状态 */ + centerPullStatus?: string + /** 拉取时间 */ + centerPullTime?: string + /** 整改要求文件存放全路径 */ + filePath?: string + /** 整改说明 */ + corrAdvice?: string + /** 申请人联系方式 */ + applicantTelphone?: string + /** 申请人名称 */ + applicant?: string + /** 申请时间 */ + applyTime?: string + /** 监管退回或审批时间 */ + backTime?: string + /** 重报时间 */ + restateReportTime?: string + /** 生成时间 */ + createTime?: string + /** 采集编码 */ + collectingCode?: string + /** 采集编码 */ + metricsName?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键ID */ + id?: string + /** 机构金融许可证号 */ + orgNo?: string + /** 子机构编号 */ + subOrgNo?: string + /** 制度表编号 */ + regulationId?: string + /** 制度名称 */ + regulationName?: string + /** 制度版本 */ + regulationVersion?: string + /** 整改编码 */ + orgApplicantNo?: string + /** 数据日期 */ + dataDate?: string + /** 任务编码 */ + workflowId?: string + /** 整改类型 */ + rectifyType?: string + /** 整改截止日期 */ + corrEndDate?: string + /** 表中文 */ + tabName?: string + /** 表英文 */ + tabNameEn?: string + /** 表唯一编号 */ + tabGuid?: string + /** 退回指标数量 */ + metricsCode?: string + /** 报送状态 */ + reportStatus?: string + /** 申请状态 */ + applyStatus?: string + /** 中心拉取通知状态 */ + centerPullStatus?: string + /** 拉取时间 */ + centerPullTime?: string + /** 整改要求文件存放全路径 */ + filePath?: string + /** 整改说明 */ + corrAdvice?: string + /** 申请人联系方式 */ + applicantTelphone?: string + /** 申请人名称 */ + applicant?: string + /** 申请时间 */ + applyTime?: string + /** 监管退回或审批时间 */ + backTime?: string + /** 重报时间 */ + restateReportTime?: string + /** 生成时间 */ + createTime?: string + /** 采集编码 */ + collectingCode?: string + /** 采集编码 */ + metricsName?: string +} diff --git a/src/api/srdb/RecordVerification/RecordVerification/index.ts b/src/api/srdb/RecordVerification/RecordVerification/index.ts new file mode 100644 index 0000000..f61adf9 --- /dev/null +++ b/src/api/srdb/RecordVerification/RecordVerification/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getRecordVerificationListApi = (data: any) => { + return request.postJson({ url: '/srdb/spi/srdb/RecordVerification/RecordVerificationQueryPage', data }); +}; + +/** 批量删除 */ +export const delRecordVerificationListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v.id, + }; + }); + return request.postJson({ + url: '/srdb/spi/srdb/RecordVerification/RecordVerificationBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delRecordVerificationApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/RecordVerification/RecordVerificationDelete', data: { id } }); +}; + +/** 保存 */ +export const saveRecordVerificationApi = (data: Partial): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/RecordVerification/RecordVerificationSave', data }); +}; + +/** 查询单条数据 */ +export const queryRecordVerificationApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/RecordVerification/RecordVerificationQueryOne', data: { id } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/srdb/sui/srdb/RecordVerification/RecordVerificationImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/srdb/sui/srdb/RecordVerification/RecordVerificationImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/srdb/sdi/srdb/RecordVerification/RecordVerificationExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/srdb/RecordVerification/RecordVerification/types.ts b/src/api/srdb/RecordVerification/RecordVerification/types.ts new file mode 100644 index 0000000..d65ce94 --- /dev/null +++ b/src/api/srdb/RecordVerification/RecordVerification/types.ts @@ -0,0 +1,80 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键ID */ + id?: string + /** 工作流ID */ + taskId?: string + /** 数据日期 */ + dataDate?: string + /** 金融许可证号 */ + orgNo?: string + /** 校验对象 */ + checkObj?: string + /** 机构名称 */ + orgName?: string + /** 规则版本 */ + ruleVersion?: string + /** 校验关系代码 */ + ruleNo?: string + /** 校验性质 */ + checkProp?: string + /** 校验总记录数 */ + checkTotalNum?: string + /** 校验通过记录数 */ + checkPassNum?: string + /** 通过率 */ + checkPassPer?: string + /** 校验结果值 */ + checkResult?: string + /** 校验结果值 */ + checkResultVal?: string + /** 校验通过情况枚举 */ + checkPassResult?: string + /** 批次 */ + checkBatch?: string + /** 创建时间 */ + createTime?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键ID */ + id?: string + /** 工作流ID */ + taskId?: string + /** 数据日期 */ + dataDate?: string + /** 金融许可证号 */ + orgNo?: string + /** 校验对象 */ + checkObj?: string + /** 机构名称 */ + orgName?: string + /** 规则版本 */ + ruleVersion?: string + /** 校验关系代码 */ + ruleNo?: string + /** 校验性质 */ + checkProp?: string + /** 校验总记录数 */ + checkTotalNum?: string + /** 校验通过记录数 */ + checkPassNum?: string + /** 通过率 */ + checkPassPer?: string + /** 校验结果值 */ + checkResult?: string + /** 校验结果值 */ + checkResultVal?: string + /** 校验通过情况枚举 */ + checkPassResult?: string + /** 批次 */ + checkBatch?: string + /** 创建时间 */ + createTime?: string +} diff --git a/src/api/srdb/RegulatoryIndicators/RegulatoryIndicators/index.ts b/src/api/srdb/RegulatoryIndicators/RegulatoryIndicators/index.ts new file mode 100644 index 0000000..af47c37 --- /dev/null +++ b/src/api/srdb/RegulatoryIndicators/RegulatoryIndicators/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getRegulatoryIndicatorsListApi = (data: any) => { + return request.postJson({ url: '/srdb/spi/srdb/RegulatoryIndicators/RegulatoryIndicatorsQueryPage', data }); +}; + +/** 批量删除 */ +export const delRegulatoryIndicatorsListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v.id, + }; + }); + return request.postJson({ + url: '/srdb/spi/srdb/RegulatoryIndicators/RegulatoryIndicatorsBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delRegulatoryIndicatorsApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/RegulatoryIndicators/RegulatoryIndicatorsDelete', data: { id } }); +}; + +/** 保存 */ +export const saveRegulatoryIndicatorsApi = (data: Partial): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/RegulatoryIndicators/RegulatoryIndicatorsSave', data }); +}; + +/** 查询单条数据 */ +export const queryRegulatoryIndicatorsApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/RegulatoryIndicators/RegulatoryIndicatorsQueryOne', data: { id } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/srdb/sui/srdb/RegulatoryIndicators/RegulatoryIndicatorsImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/srdb/sui/srdb/RegulatoryIndicators/RegulatoryIndicatorsImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/srdb/sdi/srdb/RegulatoryIndicators/RegulatoryIndicatorsExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/srdb/RegulatoryIndicators/RegulatoryIndicators/types.ts b/src/api/srdb/RegulatoryIndicators/RegulatoryIndicators/types.ts new file mode 100644 index 0000000..e72b864 --- /dev/null +++ b/src/api/srdb/RegulatoryIndicators/RegulatoryIndicators/types.ts @@ -0,0 +1,40 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + id?: string + /** 文件绝对路径,包含文件名 */ + filePath?: string + /** 机构编号 */ + orgNo?: string + /** 文件压缩密码 */ + filePwd?: string + /** 文件MD5校验码 */ + fileMd5?: string + /** 指标通知下发时间 */ + notifyTime?: string + /** 数据库记录创建的时间 */ + createTime?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + id?: string + /** 文件绝对路径,包含文件名 */ + filePath?: string + /** 机构编号 */ + orgNo?: string + /** 文件压缩密码 */ + filePwd?: string + /** 文件MD5校验码 */ + fileMd5?: string + /** 指标通知下发时间 */ + notifyTime?: string + /** 数据库记录创建的时间 */ + createTime?: string +} diff --git a/src/api/srdb/SrdbKxqRule/index.ts b/src/api/srdb/SrdbKxqRule/index.ts new file mode 100644 index 0000000..42fdaff --- /dev/null +++ b/src/api/srdb/SrdbKxqRule/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSrdbKxqRuleListApi = (data: any) => { + return request.postJson({ url: '/srdb/spi/srdb/SrdbKxqRule/SrdbKxqRuleQueryPage', data }); +}; + +/** 批量删除 */ +export const delSrdbKxqRuleListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + ruleCode: v, + }; + }); + return request.postJson({ + url: '/srdb/spi/srdb/SrdbKxqRule/SrdbKxqRuleBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSrdbKxqRuleApi = (ruleCode: string | number): Promise => { + return request.postJson({ + url: '/srdb/spi/srdb/SrdbKxqRule/SrdbKxqRuleDelete', + data: { ruleCode }, + }); +}; + +/** 保存 */ +export const saveSrdbKxqRuleApi = (data: Partial): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/SrdbKxqRule/SrdbKxqRuleSave', data }); +}; + +/** 查询单条数据 */ +export const querySrdbKxqRuleApi = (ruleCode: string | number): Promise => { + return request.postJson({ + url: '/srdb/spi/srdb/SrdbKxqRule/SrdbKxqRuleQueryOne', + data: { ruleCode }, + }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/srdb/sui/srdb/SrdbKxqRule/SrdbKxqRuleImpFileLoop'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/srdb/sdi/srdb/SrdbKxqRule/SrdbKxqRuleExportXls', params }); +}; diff --git a/src/api/srdb/SrdbKxqRule/types.ts b/src/api/srdb/SrdbKxqRule/types.ts new file mode 100644 index 0000000..0edde6a --- /dev/null +++ b/src/api/srdb/SrdbKxqRule/types.ts @@ -0,0 +1,38 @@ +export type TableData = { + /** 规则编码 */ + ruleCode: string + /** 表编号 */ + reportCode: string + /** 表名 */ + reportName: string + /** 数据项编码 */ + targetCol: string + /** 数据项名称 */ + targetName: string + /** 大类:一致性、规范性、完整性、时效性、准确性 */ + bigtype: string + /** 小类:不为空、值域校验、格式控制、数值合理性、命名规范性、唯一性、缺失率、时序性、相同数据一致性、关联数据一致性、数据比较 */ + subtypes: string + /** 范围: 表内、表间 */ + ranges: string + /** 公式说明 */ + formulaDescription: string + /** 性质:强制性、提示性 */ + nature: string + /** 缺失率阈值(单日) */ + dayThreshold: string + /** 缺失率阈值(滚动1个月平均) */ + rollingThreshold: string + /** 规则SQL */ + ruleSql: string + /** 规则所属机构 */ + organId: string + /** 启停状态:1=启用、0=停用 */ + ruleStatus: string + /** 备用1 */ + sparefield1: string + /** 备用2 */ + sparefield2: string + /** 备用3 */ + sparefield3: string +} diff --git a/src/api/srdb/SrdbRectifyTask/SrdbRectifyTask/index.ts b/src/api/srdb/SrdbRectifyTask/SrdbRectifyTask/index.ts new file mode 100644 index 0000000..b305bcc --- /dev/null +++ b/src/api/srdb/SrdbRectifyTask/SrdbRectifyTask/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSrdbRectifyTaskListApi = (data: any) => { + return request.postJson({ url: '/srdb/spi/srdb/SrdbRectifyTask/SrdbRectifyTaskQueryPage', data }); +}; + +/** 批量删除 */ +export const delSrdbRectifyTaskListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v.id, + }; + }); + return request.postJson({ + url: '/srdb/spi/srdb/SrdbRectifyTask/SrdbRectifyTaskBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSrdbRectifyTaskApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/SrdbRectifyTask/SrdbRectifyTaskDelete', data: { id } }); +}; + +/** 保存 */ +export const saveSrdbRectifyTaskApi = (data: Partial): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/SrdbRectifyTask/SrdbRectifyTaskSave', data }); +}; + +/** 查询单条数据 */ +export const querySrdbRectifyTaskApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/SrdbRectifyTask/SrdbRectifyTaskQueryOne', data: { id } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/srdb/sui/srdb/SrdbRectifyTask/SrdbRectifyTaskImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/srdb/sui/srdb/SrdbRectifyTask/SrdbRectifyTaskImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/srdb/sdi/srdb/SrdbRectifyTask/SrdbRectifyTaskExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/srdb/SrdbRectifyTask/SrdbRectifyTask/types.ts b/src/api/srdb/SrdbRectifyTask/SrdbRectifyTask/types.ts new file mode 100644 index 0000000..c257c0c --- /dev/null +++ b/src/api/srdb/SrdbRectifyTask/SrdbRectifyTask/types.ts @@ -0,0 +1,128 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键ID */ + id?: string + /** 机构金融许可证号 */ + orgNo?: string + /** 子机构编号 */ + subOrgNo?: string + /** 制度表编号 */ + regulationId?: string + /** 制度名称 */ + regulationName?: string + /** 制度版本 */ + regulationVersion?: string + /** 整改编码 */ + orgApplicantNo?: string + /** 数据日期 */ + dataDate?: string + /** 任务编码 */ + workflowId?: string + /** 整改类型 */ + rectifyType?: string + /** 整改截止日期 */ + corrEndDate?: string + /** 表中文 */ + tabName?: string + /** 表英文 */ + tabNameEn?: string + /** 表唯一编号 */ + tabGuid?: string + /** 退回指标数量 */ + metricsCode?: string + /** 报送状态 */ + reportStatus?: string + /** 申请状态 */ + applyStatus?: string + /** 中心拉取通知状态 */ + centerPullStatus?: string + /** 拉取时间 */ + centerPullTime?: string + /** 整改要求文件存放全路径 */ + filePath?: string + /** 整改说明 */ + corrAdvice?: string + /** 申请人联系方式 */ + applicantTelphone?: string + /** 申请人名称 */ + applicant?: string + /** 申请时间 */ + applyTime?: string + /** 监管退回或审批时间 */ + backTime?: string + /** 重报时间 */ + restateReportTime?: string + /** 生成时间 */ + createTime?: string + /** 采集编码 */ + collectingCode?: string + /** 采集编码 */ + metricsName?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键ID */ + id?: string + /** 机构金融许可证号 */ + orgNo?: string + /** 子机构编号 */ + subOrgNo?: string + /** 制度表编号 */ + regulationId?: string + /** 制度名称 */ + regulationName?: string + /** 制度版本 */ + regulationVersion?: string + /** 整改编码 */ + orgApplicantNo?: string + /** 数据日期 */ + dataDate?: string + /** 任务编码 */ + workflowId?: string + /** 整改类型 */ + rectifyType?: string + /** 整改截止日期 */ + corrEndDate?: string + /** 表中文 */ + tabName?: string + /** 表英文 */ + tabNameEn?: string + /** 表唯一编号 */ + tabGuid?: string + /** 退回指标数量 */ + metricsCode?: string + /** 报送状态 */ + reportStatus?: string + /** 申请状态 */ + applyStatus?: string + /** 中心拉取通知状态 */ + centerPullStatus?: string + /** 拉取时间 */ + centerPullTime?: string + /** 整改要求文件存放全路径 */ + filePath?: string + /** 整改说明 */ + corrAdvice?: string + /** 申请人联系方式 */ + applicantTelphone?: string + /** 申请人名称 */ + applicant?: string + /** 申请时间 */ + applyTime?: string + /** 监管退回或审批时间 */ + backTime?: string + /** 重报时间 */ + restateReportTime?: string + /** 生成时间 */ + createTime?: string + /** 采集编码 */ + collectingCode?: string + /** 采集编码 */ + metricsName?: string +} diff --git a/src/api/srdb/SrdbRuleVersion/index.ts b/src/api/srdb/SrdbRuleVersion/index.ts new file mode 100644 index 0000000..ad108ec --- /dev/null +++ b/src/api/srdb/SrdbRuleVersion/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSrdbRuleVersionListApi = (data: any) => { + return request.postJson({ url: '/srdb/spi/srdb/SrdbRuleVersion/SrdbRuleVersionQueryPage', data }); +}; + +/** 批量删除 */ +export const delSrdbRuleVersionListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v.id, + }; + }); + return request.postJson({ + url: '/srdb/spi/srdb/SrdbRuleVersion/SrdbRuleVersionBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSrdbRuleVersionApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/SrdbRuleVersion/SrdbRuleVersionDelete', data: { id } }); +}; + +/** 保存 */ +export const saveSrdbRuleVersionApi = (data: Partial): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/SrdbRuleVersion/SrdbRuleVersionSave', data }); +}; + +/** 查询单条数据 */ +export const querySrdbRuleVersionApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/SrdbRuleVersion/SrdbRuleVersionQueryOne', data: { id } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/srdb/sui/srdb/SrdbRuleVersion/SrdbRuleVersionImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/srdb/sui/srdb/SrdbRuleVersion/SrdbRuleVersionImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/srdb/sdi/srdb/SrdbRuleVersion/SrdbRuleVersionExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/srdb/SrdbRuleVersion/types.ts b/src/api/srdb/SrdbRuleVersion/types.ts new file mode 100644 index 0000000..f780b7a --- /dev/null +++ b/src/api/srdb/SrdbRuleVersion/types.ts @@ -0,0 +1,128 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + id?: string + /** 规则编码 */ + ruleNo?: string + /** 规则类别 */ + ruleType?: string + /** 规则归属 */ + ruleOwner?: string + /** 分类 */ + tabLevel?: string + /** 校验表英文名 */ + tabNameEn?: string + /** 校验表中文名 */ + tabName?: string + /** 表唯一性编码 */ + tabGuid?: string + /** 校验项编码 */ + itemNo?: string + /** 校验项名称 */ + itemName?: string + /** 校验大类 */ + mainCategory?: string + /** 校验小类 */ + subCategory?: string + /** 校验范围 */ + checkRange?: string + /** 校验公式说明 */ + formulaDesc?: string + /** 校验sql脚本 */ + checkScript?: string + /** 校验性质 */ + checkProperty?: string + /** 缺失率阈值 */ + dayThresholdValue?: string + /** 缺失率阈值 */ + monthThresholdValue?: string + /** 关联表信息 */ + linkTable?: string + /** 校验方式 */ + verifyMode?: string + /** 外部表名 */ + outTableName?: string + /** 数据库类型 */ + dbType?: string + /** 规则版本号 */ + versionNo?: string + /** 创建时间 */ + createTime?: string + /** 更新时间 */ + updateTime?: string + /** 创建人id */ + createUserId?: string + /** 创建人名称 */ + createUserName?: string + /** 修改人id */ + updateUserId?: string + /** 修改人名称 */ + updateUserName?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + id?: string + /** 规则编码 */ + ruleNo?: string + /** 规则类别 */ + ruleType?: string + /** 规则归属 */ + ruleOwner?: string + /** 分类 */ + tabLevel?: string + /** 校验表英文名 */ + tabNameEn?: string + /** 校验表中文名 */ + tabName?: string + /** 表唯一性编码 */ + tabGuid?: string + /** 校验项编码 */ + itemNo?: string + /** 校验项名称 */ + itemName?: string + /** 校验大类 */ + mainCategory?: string + /** 校验小类 */ + subCategory?: string + /** 校验范围 */ + checkRange?: string + /** 校验公式说明 */ + formulaDesc?: string + /** 校验sql脚本 */ + checkScript?: string + /** 校验性质 */ + checkProperty?: string + /** 缺失率阈值 */ + dayThresholdValue?: string + /** 缺失率阈值 */ + monthThresholdValue?: string + /** 关联表信息 */ + linkTable?: string + /** 校验方式 */ + verifyMode?: string + /** 外部表名 */ + outTableName?: string + /** 数据库类型 */ + dbType?: string + /** 规则版本号 */ + versionNo?: string + /** 创建时间 */ + createTime?: string + /** 更新时间 */ + updateTime?: string + /** 创建人id */ + createUserId?: string + /** 创建人名称 */ + createUserName?: string + /** 修改人id */ + updateUserId?: string + /** 修改人名称 */ + updateUserName?: string +} diff --git a/src/api/srdb/SystemPackageQuery/SystemPackageQuery/index.ts b/src/api/srdb/SystemPackageQuery/SystemPackageQuery/index.ts new file mode 100644 index 0000000..6626234 --- /dev/null +++ b/src/api/srdb/SystemPackageQuery/SystemPackageQuery/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSystemPackageQueryListApi = (data: any) => { + return request.postJson({ url: '/srdb/spi/srdb/SystemPackageQuery/SystemPackageQueryQueryPage', data }); +}; + +/** 批量删除 */ +export const delSystemPackageQueryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v.id, + }; + }); + return request.postJson({ + url: '/srdb/spi/srdb/SystemPackageQuery/SystemPackageQueryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSystemPackageQueryApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/SystemPackageQuery/SystemPackageQueryDelete', data: { id } }); +}; + +/** 保存 */ +export const saveSystemPackageQueryApi = (data: Partial): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/SystemPackageQuery/SystemPackageQuerySave', data }); +}; + +/** 查询单条数据 */ +export const querySystemPackageQueryApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/SystemPackageQuery/SystemPackageQueryQueryOne', data: { id } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/srdb/sui/srdb/SystemPackageQuery/SystemPackageQueryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/srdb/sui/srdb/SystemPackageQuery/SystemPackageQueryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/srdb/sdi/srdb/SystemPackageQuery/SystemPackageQueryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/srdb/SystemPackageQuery/SystemPackageQuery/types.ts b/src/api/srdb/SystemPackageQuery/SystemPackageQuery/types.ts new file mode 100644 index 0000000..34cde03 --- /dev/null +++ b/src/api/srdb/SystemPackageQuery/SystemPackageQuery/types.ts @@ -0,0 +1,56 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + id?: string + /** 制度编号 */ + regulationId?: string + /** 制度名称 */ + regulationName?: string + /** 制度版本 */ + regulationVersion?: string + /** 制度文件压缩密码 */ + filePwd?: string + /** 采集编号 */ + collectingCode?: string + /** 制度文件绝对路径 */ + filePath?: string + /** 制度包MD5 */ + fileMd5?: string + /** 制度下发时间 */ + deliveryTime?: string + /** 是否启用 */ + enable?: string + /** 数据库记录创建的时间 */ + createTime?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键 */ + id?: string + /** 制度编号 */ + regulationId?: string + /** 制度名称 */ + regulationName?: string + /** 制度版本 */ + regulationVersion?: string + /** 制度文件压缩密码 */ + filePwd?: string + /** 采集编号 */ + collectingCode?: string + /** 制度文件绝对路径 */ + filePath?: string + /** 制度包MD5 */ + fileMd5?: string + /** 制度下发时间 */ + deliveryTime?: string + /** 是否启用 */ + enable?: string + /** 数据库记录创建的时间 */ + createTime?: string +} diff --git a/src/api/srdb/TableMaintenance/TableMaintenance/index.ts b/src/api/srdb/TableMaintenance/TableMaintenance/index.ts new file mode 100644 index 0000000..b9f5a21 --- /dev/null +++ b/src/api/srdb/TableMaintenance/TableMaintenance/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getTableMaintenanceListApi = (data: any) => { + return request.postJson({ url: '/srdb/spi/srdb/TableMaintenance/TableMaintenanceQueryPage', data }); +}; + +/** 批量删除 */ +export const delTableMaintenanceListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v.id, + }; + }); + return request.postJson({ + url: '/srdb/spi/srdb/TableMaintenance/TableMaintenanceBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delTableMaintenanceApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/TableMaintenance/TableMaintenanceDelete', data: { id } }); +}; + +/** 保存 */ +export const saveTableMaintenanceApi = (data: Partial): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/TableMaintenance/TableMaintenanceSave', data }); +}; + +/** 查询单条数据 */ +export const queryTableMaintenanceApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/TableMaintenance/TableMaintenanceQueryOne', data: { id } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/srdb/sui/srdb/TableMaintenance/TableMaintenanceImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/srdb/sui/srdb/TableMaintenance/TableMaintenanceImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/srdb/sdi/srdb/TableMaintenance/TableMaintenanceExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/srdb/TableMaintenance/TableMaintenance/types.ts b/src/api/srdb/TableMaintenance/TableMaintenance/types.ts new file mode 100644 index 0000000..1fc0e5f --- /dev/null +++ b/src/api/srdb/TableMaintenance/TableMaintenance/types.ts @@ -0,0 +1,116 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键ID */ + id?: string + /** 采集编号 */ + collectingCode?: string + /** 制度编号 */ + regulationId?: string + /** 制度名称 */ + regulationName?: string + /** 制度版本 */ + regulationVersion?: string + /** 表编号 */ + tabGuid?: string + /** 表中文名 */ + tabName?: string + /** 表英文名 */ + tabNameEn?: string + /** 一级分类 */ + tabBelonging?: string + /** 二级分类 */ + tabLevel?: string + /** 三级分类 */ + tabType?: string + /** 数据库schema */ + tabSchema?: string + /** 数据库名称 */ + databaseName?: string + /** 数据库类型 */ + databaseType?: string + /** 数据库版本 */ + databaseVer?: string + /** 数据安全等级 */ + safetyLevel?: string + /** 数据来源表GUID列表 */ + preTableList?: string + /** 该表所属管理部门 */ + department?: string + /** 物理化策略 */ + physicsStrategy?: string + /** 数据生命周期 */ + dataLifeCycle?: string + /** 数据表分类 */ + dataType?: string + /** 数据表分类编号 */ + dataTypeNo?: string + /** 备注 */ + remark?: string + /** 启用状态 */ + tabStatus?: string + /** 业务类型 */ + businessType?: string + /** 是否上报文件 */ + isReportFile?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键ID */ + id?: string + /** 采集编号 */ + collectingCode?: string + /** 制度编号 */ + regulationId?: string + /** 制度名称 */ + regulationName?: string + /** 制度版本 */ + regulationVersion?: string + /** 表编号 */ + tabGuid?: string + /** 表中文名 */ + tabName?: string + /** 表英文名 */ + tabNameEn?: string + /** 一级分类 */ + tabBelonging?: string + /** 二级分类 */ + tabLevel?: string + /** 三级分类 */ + tabType?: string + /** 数据库schema */ + tabSchema?: string + /** 数据库名称 */ + databaseName?: string + /** 数据库类型 */ + databaseType?: string + /** 数据库版本 */ + databaseVer?: string + /** 数据安全等级 */ + safetyLevel?: string + /** 数据来源表GUID列表 */ + preTableList?: string + /** 该表所属管理部门 */ + department?: string + /** 物理化策略 */ + physicsStrategy?: string + /** 数据生命周期 */ + dataLifeCycle?: string + /** 数据表分类 */ + dataType?: string + /** 数据表分类编号 */ + dataTypeNo?: string + /** 备注 */ + remark?: string + /** 启用状态 */ + tabStatus?: string + /** 业务类型 */ + businessType?: string + /** 是否上报文件 */ + isReportFile?: string +} diff --git a/src/api/srdb/TaskDiary/TaskDiary/index.ts b/src/api/srdb/TaskDiary/TaskDiary/index.ts new file mode 100644 index 0000000..089544b --- /dev/null +++ b/src/api/srdb/TaskDiary/TaskDiary/index.ts @@ -0,0 +1,60 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getTaskDiaryListApi = (data: any) => { + return request.postJson({ url: '/srdb/spi/srdb/TaskDiary/TaskDiaryQueryPage', data }); +}; + +/** 批量删除 */ +export const delTaskDiaryListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v.id, + }; + }); + return request.postJson({ + url: '/srdb/spi/srdb/TaskDiary/TaskDiaryBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delTaskDiaryApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/TaskDiary/TaskDiaryDelete', data: { id } }); +}; + +/** 保存 */ +export const saveTaskDiaryApi = (data: Partial): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/TaskDiary/TaskDiarySave', data }); +}; + +/** 查询单条数据 */ +export const queryTaskDiaryApi = (id?: string): Promise => { + return request.postJson({ url: '/srdb/spi/srdb/TaskDiary/TaskDiaryQueryOne', data: { id } }); +}; + +/** 同步导入 */ +export const importExcelApiUrl = '/srdb/sui/srdb/TaskDiary/TaskDiaryImportExcel'; + +/** 异步导入 */ +export const importExcelAsyncApiUrl = '/srdb/sui/srdb/TaskDiary/TaskDiaryImportAsyncExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/srdb/sdi/srdb/TaskDiary/TaskDiaryExportXls', params }); +}; + +/** 获取某个字典 */ +export const getCsckCheckType = ({ paramName, systemCode }): Promise => { + return request.postJson({ + url: '/param/spi/param/systemparam', + data: { + paramName: paramName, + systemCode: systemCode, + }, + }); +}; + diff --git a/src/api/srdb/TaskDiary/TaskDiary/types.ts b/src/api/srdb/TaskDiary/TaskDiary/types.ts new file mode 100644 index 0000000..27e8832 --- /dev/null +++ b/src/api/srdb/TaskDiary/TaskDiary/types.ts @@ -0,0 +1,60 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键id */ + id?: string + /** 批次日期(接口) */ + dataDate?: string + /** 数据日期(工作流) */ + workflowDataDate?: string + /** 工作流编码 */ + workflowId?: string + /** 下发时间戳 */ + dispatchTime?: string + /** 请求状态 */ + reqStatus?: string + /** 请求报文 */ + reqMessage?: string + /** 失败原因 */ + msg?: string + /** 创建时间 */ + createTime?: string + /** 更新时间 */ + updateTime?: string + /** 耗时 */ + timeConsume?: string + /** 记录类型 */ + recordType?: string +} + +export interface DictItem { + dictId: string; + dictName: string; +} + +export type FormModel = { + /** 主键id */ + id?: string + /** 批次日期(接口) */ + dataDate?: string + /** 数据日期(工作流) */ + workflowDataDate?: string + /** 工作流编码 */ + workflowId?: string + /** 下发时间戳 */ + dispatchTime?: string + /** 请求状态 */ + reqStatus?: string + /** 请求报文 */ + reqMessage?: string + /** 失败原因 */ + msg?: string + /** 创建时间 */ + createTime?: string + /** 更新时间 */ + updateTime?: string + /** 耗时 */ + timeConsume?: string + /** 记录类型 */ + recordType?: string +} diff --git a/src/api/system/SysJob/index.ts b/src/api/system/SysJob/index.ts new file mode 100644 index 0000000..bfda437 --- /dev/null +++ b/src/api/system/SysJob/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSysJobListApi = (data: any) => { + return request.postJson({ url: '/system/spi/system/SysJob/SysJobQueryPage', data }); +}; + +/** 批量删除 */ +export const delSysJobListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + jId: v, + }; + }); + return request.postJson({ + url: '/system/spi/system/SysJob/SysJobBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSysJobApi = (jId: string | number): Promise => { + return request.postJson({ url: '/system/spi/system/SysJob/SysJobDelete', data: { jId } }); +}; + +/** 保存 */ +export const saveSysJobApi = (data: Partial): Promise => { + return request.postJson({ url: '/system/spi/system/SysJob/SysJobSave', data }); +}; + +/** 查询单条数据 */ +export const querySysJobApi = (jId: string | number): Promise => { + return request.postJson({ url: '/system/spi/system/SysJob/SysJobQueryOne', data: { jId } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/system/sui/system/SysJob/SysJobImpFileLoop'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/system/sdi/system/SysJob/SysJobExportXls', params }); +}; diff --git a/src/api/system/SysJob/types.ts b/src/api/system/SysJob/types.ts new file mode 100644 index 0000000..07001b3 --- /dev/null +++ b/src/api/system/SysJob/types.ts @@ -0,0 +1,30 @@ +export type TableData = { + /** 作业ID */ + jId: string + /** 任务名称 */ + jName: string + /** 任务类型 */ + jType: string + /** 系统 */ + jSystem: string + /** 创建人 */ + createUser: string + /** 创建时间 */ + createTime: string + /** 更新时间 */ + updateTime: string + /** 创建机构 */ + createOrgan: string + /** 下载文件路径 */ + jPath: string + /** 依赖关系 */ + jRely: string + /** 参数json字符串 */ + paramJson: string + /** 相关报表编号 */ + repCode: string + /** 执行器,V2 */ + jJobexec: string + /** 描述 */ + jDescription: string +} diff --git a/src/api/system/SysLoginLog/index.ts b/src/api/system/SysLoginLog/index.ts new file mode 100644 index 0000000..0a97b81 --- /dev/null +++ b/src/api/system/SysLoginLog/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSysLoginLogListApi = (data: any) => { + return request.postJson({ url: '/system/spi/system/SysLoginLog/SysLoginLogQueryPage', data }); +}; + +/** 批量删除 */ +export const delSysLoginLogListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + pkid: v, + }; + }); + return request.postJson({ + url: '/system/spi/system/SysLoginLog/SysLoginLogBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSysLoginLogApi = (pkid: string | number): Promise => { + return request.postJson({ url: '/system/spi/system/SysLoginLog/SysLoginLogDelete', data: { pkid } }); +}; + +/** 保存 */ +export const saveSysLoginLogApi = (data: Partial): Promise => { + return request.postJson({ url: '/system/spi/system/SysLoginLog/SysLoginLogSave', data }); +}; + +/** 查询单条数据 */ +export const querySysLoginLogApi = (pkid: string | number): Promise => { + return request.postJson({ url: '/system/spi/system/SysLoginLog/SysLoginLogQueryOne', data: { pkid } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/system/sui/system/SysLoginLog/SysLoginLogImportExcel'; + +/** 导出 */ +export const exportExcelApi = (data: any) => { + return request.doExport({ url: '/system/sdi/system/SysLoginLog/SysLoginLogExportXls', data }); +}; diff --git a/src/api/system/SysLoginLog/types.ts b/src/api/system/SysLoginLog/types.ts new file mode 100644 index 0000000..138020e --- /dev/null +++ b/src/api/system/SysLoginLog/types.ts @@ -0,0 +1,22 @@ +export type TableData = { + /** 会话id */ + pkid: string + /** 用户id */ + userId: string + /** 用户名称 */ + userName: string + /** 机构 */ + organCode: string + /** 机构名称 */ + organName: string + /** 上级机构 */ + parentOrgan: string + /** 登陆ip */ + loginIp: string + /** 登陆时间 */ + loginTime: string + /** 登陆URL */ + url: string + /** 退出时间 */ + logoutTime: string +} diff --git a/src/api/system/SysMenu/index.ts b/src/api/system/SysMenu/index.ts new file mode 100644 index 0000000..59d2259 --- /dev/null +++ b/src/api/system/SysMenu/index.ts @@ -0,0 +1,45 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSysMenuListApi = (data: any) => { + return request.postJson({ url: '/system/spi/system/SysMenu/SysMenuQueryPage', data }); +}; + +/** 批量删除 */ +export const delSysMenuListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v, + }; + }); + return request.postJson({ + url: '/system/spi/system/SysMenu/SysMenuBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSysMenuApi = (id: string | number): Promise => { + return request.postJson({ url: '/system/spi/system/SysMenu/SysMenuDelete', data: { id } }); +}; + +/** 保存 */ +export const saveSysMenuApi = (data: Partial): Promise => { + return request.postJson({ url: '/system/spi/system/SysMenu/SysMenuSave', data }); +}; + +/** 查询单条数据 */ +export const querySysMenuApi = (id: string | number): Promise => { + return request.postJson({ url: '/system/spi/system/SysMenu/SysMenuQueryOne', data: { id } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/system/sui/system/SysMenu/SysMenuImportExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/system/sdi/system/SysMenu/SysMenuExportXls', params }); +}; diff --git a/src/api/system/SysMenu/types.ts b/src/api/system/SysMenu/types.ts new file mode 100644 index 0000000..eb617e9 --- /dev/null +++ b/src/api/system/SysMenu/types.ts @@ -0,0 +1,38 @@ +export type TableData = { + /** 主键 */ + id: string + /** 菜单名称 */ + name: string + /** 权限类型 */ + common: string + /** 图标 */ + icon: string + /** 排序 */ + sort: string + /** 上级菜单 */ + parentId: string + /** 菜单类型 */ + type: string + /** 菜单连接 */ + url: string + /** 菜单描述 */ + description: string + /** 状态 */ + status: string + /** 创建时间 */ + createDate: string + /** 最近修改时间 */ + updateDate: string + /** 创建人 */ + createBy: string + /** 最近修改人 */ + updateBy: string + /** 逻辑删除标记(0.正常 1.删除) */ + delFlag: string + /** 权限标识 */ + permissionStr: string + /** 所有上级菜单ID */ + parentIds: string + /** 归属系统 */ + systemCode: string +} diff --git a/src/api/system/SysRole/index.ts b/src/api/system/SysRole/index.ts new file mode 100644 index 0000000..da221c3 --- /dev/null +++ b/src/api/system/SysRole/index.ts @@ -0,0 +1,56 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSysRoleListApi = (data: any) => { + return request.postJson({ url: '/system/spi/system/SysRole/SysRoleQueryPage', data }); +}; + +/** 批量删除 */ +export const delSysRoleListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v, + }; + }); + return request.postJson({ + url: '/system/spi/system/SysRole/SysRoleBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSysRoleApi = (id: string | number): Promise => { + return request.postJson({ url: '/system/spi/system/SysRole/SysRoleDelete', data: { id } }); +}; + +/** 保存 */ +export const saveSysRoleApi = (data: Partial): Promise => { + return request.postJson({ url: '/system/spi/system/SysRole/SysRoleSave', data }); +}; + +/** 查询单条数据 */ +export const querySysRoleApi = (id: string | number): Promise => { + return request.postJson({ url: '/system/spi/system/SysRole/SysRoleQueryOne', data: { id } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/system/sui/system/SysRole/SysRoleImportExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/system/sdi/system/SysRole/SysRoleExportXls', params }); +}; + +export const getRoleTreeApi = async (data?: any) => { + const res = await request.postJson({ + url: '/system/spi/system/SysRoleProfession/SysRoleProfessionTree', + data + }); + if (res?.body?.proRuletree?.length > 0) { + return res.body.proRuletree; + } + return []; +}; diff --git a/src/api/system/SysRole/types.ts b/src/api/system/SysRole/types.ts new file mode 100644 index 0000000..c1c60fa --- /dev/null +++ b/src/api/system/SysRole/types.ts @@ -0,0 +1,64 @@ +/* eslint-disable lines-around-comment */ + +export type TableData = { + /** 主键 */ + id: string | number + /** 所属系统 */ + system_code?: string + /** 角色名称 */ + role_name?: string + /** 角色类型 */ + role_type?: string + /** 角色描述 */ + remarks?: string + /** 机构号 */ + organ_id?: string + /** 数据范围 */ + data_scope?: string + /** 创建人 */ + create_by?: string + /** 创建时间 */ + create_date?: string + /** 最近修改人 */ + update_by?: string + /** 最近修改时间 */ + update_date?: string + /** 逻辑删除标记(0.正常,1.删除) */ + del_flag?: string + /** 选择(0.不可选,1.可选) */ + select_flag?: string +} + +export interface DictItem { + dictId: string + dictName: string +} + +export type FormModel = { + /** 主键 */ + id?: string + /** 所属系统 */ + system_code?: string + /** 角色名称 */ + role_name?: string + /** 角色类型 */ + role_type?: string + /** 角色描述 */ + remarks?: string + /** 机构号 */ + organ_id?: string + /** 数据范围 */ + data_scope?: string + /** 创建人 */ + create_by?: string + /** 创建时间 */ + create_date?: string + /** 最近修改人 */ + update_by?: string + /** 最近修改时间 */ + update_date?: string + /** 逻辑删除标记(0.正常,1.删除) */ + del_flag?: string + /** 选择(0.不可选,1.可选) */ + select_flag?: string +} diff --git a/src/api/system/SysUser/index.ts b/src/api/system/SysUser/index.ts new file mode 100644 index 0000000..ed2fd42 --- /dev/null +++ b/src/api/system/SysUser/index.ts @@ -0,0 +1,72 @@ +import request from '@/config/axios'; +import type { TableData } from './types'; + +/** 获取表格数据 */ +export const getSysUserListApi = (data: any) => { + return request.postJson({ url: '/system/spi/system/SysUser/SysUserQueryPage', data }); +}; + +/** 批量删除 */ +export const delSysUserListApi = (list: string[] | number[]): Promise => { + const _list = list.map(v => { + return { + id: v, + }; + }); + return request.postJson({ + url: '/system/spi/system/SysUser/SysUserBatchDelete', + data: { + list: _list, + }, + }); +}; + +/** 删除 */ +export const delSysUserApi = (id: string | number): Promise => { + return request.postJson({ url: '/system/spi/system/SysUser/SysUserDelete', data: { id } }); +}; + +/** 保存 */ +export const saveSysUserApi = (data: Partial): Promise => { + return request.postJson({ url: '/system/spi/system/SysUser/SysUserSave', data }); +}; + +/** 查询单条数据 */ +export const querySysUserApi = (id: string | number): Promise => { + return request.postJson({ url: '/system/spi/system/SysUser/SysUserQueryOne', data: { id } }); +}; + +/** 导入 */ +export const importExcelApiUrl = '/system/sui/system/SysUser/SysUserImportExcel'; + +/** 导出 */ +export const exportExcelApi = (params: any) => { + return request.doExport({ url: '/system/sdi/system/SysUser/SysUserExportXls', params }); +}; + +/** 机构树 */ +export const organTreeApi = (params: any) => { + return request.postJson({ url: '/param/spi/param/systemorgantree', params }); +}; + +/** 重置密码 */ +export const resetPasswordbatch = (params: { list: { id: string }[] }) => { + return request.postJson({ + url: '/system/spi/system/SysUser/SysUserBatchChangePassword', + data: params, + }); +}; + +/** 更改用户状态 */ +export const batchUpdateUser = (params: { list: { ids: string[]; status: '0' | '1' | '2' } }) => { + return request.postJson({ url: '/system/spi/system/SysUser/SysUseBatchUpdate', data: params }); +}; + +/** 获取角色列表接口 */ +export const getRoleListParamsApi = (): Promise => { + return request.postJson({ url: '/system/spi/system/SysRole/SysRoleQuery' }); +}; + +export const updatePasswordApi = (data: Partial): Promise => { + return request.postJson({ url: '/system/spi/system/SysUser/SysUserChangePassword', data }); +}; diff --git a/src/api/system/SysUser/types.ts b/src/api/system/SysUser/types.ts new file mode 100644 index 0000000..2e304f4 --- /dev/null +++ b/src/api/system/SysUser/types.ts @@ -0,0 +1,64 @@ +export type TableData = { + /** 主键 */ + id: string + /** 所属部门 */ + deptId: string + /** 机构编号 */ + organId: string + /** 登录号 */ + username: string + /** 登录密码 */ + password: string + /** 工号 */ + no: string + /** 用户姓名 */ + name: string + /** 邮箱地址 */ + email: string + /** 固定电话 */ + phone: string + /** 移动电话 */ + mobile: string + /** 用户类型 */ + userType: string + /** 登录IP */ + loginIp: string + /** 登录日期 */ + loginDate: string + /** 创建人 */ + createBy: string + /** 创建时间 */ + createDate: string + /** 最近修改人 */ + updateBy: string + /** 最近修改时间 */ + updateDate: string + /** 描述 */ + remarks: string + /** 逻辑删除标记(0.正常,1.删除) */ + delFlag: string + /** 状态 */ + status: string + /** */ + mac: string + /** */ + ip: string + /** */ + systemCode: string + /** 系统主题 */ + sysTheme: string + /** 证件号码 */ + card: string + /** 生日 */ + birthday: string + /** 地址 */ + address: string + /** 性别 */ + sex: string + /** */ + pawUpdateDate: string + /** */ + loginNum: string + /** */ + avatar: string +} diff --git a/src/api/table/index.ts b/src/api/table/index.ts new file mode 100644 index 0000000..3f4fb24 --- /dev/null +++ b/src/api/table/index.ts @@ -0,0 +1,232 @@ +import request from '@/config/axios' +import type { TableData } from './types' + +export const getTableListApi = (params: any) => { + //return request.get({ url: '/datadetail/list', params }) + const data: any = [ + { + reportName: '1001-汇率信息表', + frequency: '月报' + }, + { + reportName: '1002-金融工具信息表', + frequency: '月报' + }, + { + reportName: '1003-自营资金交易信息表', + frequency: '月报' + }, + { + reportName: '1004-自营资金业务余额表', + frequency: '月报' + }, + { + reportName: '1005-即期及衍生品交易信息表', + frequency: '月报' + }, + { + reportName: '101-机构信息表', + frequency: '月报' + }, + { + reportName: '102-员工表', + frequency: '月报' + }, + { + reportName: '103-柜员表', + frequency: '月报' + }, + { + reportName: '104-岗位信息表', + frequency: '月报' + }, + { + reportName: '105-机构关系表', + frequency: '月报' + } + ] + const data1 = [ + { + reportName: '106-股东及关联方信息表', + frequency: '月报' + }, + { + reportName: '201-个人基础信息表', + frequency: '月报' + } + ] + return { + data: { + list: params.pageNum === 1 ? data : data1, + total: 12 + } + } +} + +/** + * 报文配置 + * @param params + * @returns + */ + +export const getTableTempConfigListApi = (params: any) => { + //return request.get({ url: '/datadetail/list', params }) + const data = [ + { + reportCode: 'IN_SAFE_9052', + reportName: '授信明细表', + createTime: '20230910 08:08:04', + updateTime: '20231010 09:08:04', + formatName: '授信明细表', + datasetId: '2', + systemCode: 'portal', + charSet: 'UTF-8', + serviceType: 'com', + format: '<11111111111>' + }, + { + reportCode: 'IN_SAFE_9052', + reportName: '单笔非授信', + createTime: '20230910 08:08:04', + updateTime: '20231010 09:08:04', + formatName: '单笔非授信', + datasetId: '2', + systemCode: 'portal', + charSet: 'UTF-8', + serviceType: 'com', + format: '<11111111111>' + }, + { + reportCode: 'IN_SAFE_9052', + reportName: '用信明细表', + createTime: '20230910 08:08:04', + updateTime: '20231010 09:08:04', + formatName: '用信明细表', + datasetId: '2', + systemCode: 'portal', + charSet: 'UTF-8', + serviceType: 'com', + format: '<11111111111>' + }, + { + reportCode: 'IN_SAFE_9052', + reportName: '关联交易余额表', + createTime: '20230910 08:08:04', + updateTime: '20231010 09:08:04', + formatName: '关联交易余额表', + datasetId: '2', + systemCode: 'portal', + charSet: 'UTF-8', + serviceType: 'com', + format: '<11111111111>' + }, + { + reportCode: 'IN_SAFE_9052', + reportName: '金融产品', + createTime: '20230910 08:08:04', + updateTime: '20231010 09:08:04', + formatName: '金融产品', + datasetId: '2', + systemCode: 'portal', + charSet: 'UTF-8', + serviceType: 'com', + format: '<11111111111>' + }, + { + reportCode: 'IN_SAFE_9052', + reportName: '非授信明细表', + createTime: '20230910 08:08:04', + updateTime: '20231010 09:08:04', + formatName: '非授信明细表', + datasetId: '2', + systemCode: 'portal', + charSet: 'UTF-8', + serviceType: 'com', + format: '<11111111111>' + }, + { + reportCode: 'IN_SAFE_9052', + reportName: '单笔授信表', + createTime: '20230910 08:08:04', + updateTime: '20231010 09:08:04', + formatName: '单笔授信表', + datasetId: '2', + systemCode: 'portal', + charSet: 'UTF-8', + serviceType: 'com', + format: '<11111111111>' + }, + { + reportCode: 'IN_SAFE_9052', + reportName: '关联关系', + createTime: '20230910 08:08:04', + updateTime: '20231010 09:08:04', + formatName: '关联关系', + datasetId: '2', + systemCode: 'portal', + charSet: 'UTF-8', + serviceType: 'com', + format: '<11111111111>' + }, + { + reportCode: 'IN_SAFE_9052', + reportName: '境外交易表', + createTime: '20230910 08:08:04', + updateTime: '20231010 09:08:04', + formatName: '境外交易表', + datasetId: '2', + systemCode: 'portal', + charSet: 'UTF-8', + serviceType: 'com', + format: '' + }, + { + reportCode: 'IN_SAFE_9052', + reportName: '关联方自然人', + createTime: '20230910 08:08:04', + updateTime: '20231010 09:08:04', + formatName: '关联方自然人', + datasetId: '2', + systemCode: 'portal', + charSet: 'UTF-8', + serviceType: 'com', + format: '<11111111111>' + } + ] + const data1 = [ + { + reportCode: 'IN_SAFE_9052', + reportName: '关联方法人', + createTime: '20230910 08:08:04', + updateTime: '20231010 09:08:04', + formatName: '关联方法人', + datasetId: '2', + systemCode: 'portal', + charSet: 'UTF-8', + serviceType: 'com', + format: '<11111111111>' + } + ] + return { + data: { + list: params.pageNum === 1 ? data : data1, + total: 11 + } + } +} + +export const getTreeTableListApi = (params: any) => { + return request.get({ url: '/example/treeList', params }) +} + +export const saveTableApi = (data: Partial): Promise => { + return request.post({ url: '/example/save', data }) +} + +export const getTableDetApi = (id: string): Promise> => { + return request.get({ url: '/example/detail', params: { id } }) +} + +export const delTableListApi = (ids: string[] | number[]): Promise => { + return request.post({ url: '/example/delete', data: { ids } }) +} diff --git a/src/api/table/types.ts b/src/api/table/types.ts new file mode 100644 index 0000000..876c111 --- /dev/null +++ b/src/api/table/types.ts @@ -0,0 +1,9 @@ +export type TableData = { + id: string + author: string + title: string + content: string + importance: number + display_time: string + pageviews: number +} diff --git a/src/api/template/index.ts b/src/api/template/index.ts new file mode 100644 index 0000000..c2bad1f --- /dev/null +++ b/src/api/template/index.ts @@ -0,0 +1,246 @@ +import request from '@/config/axios' +import type { Template } from './types' + +export const getTableListApi = (params: any) => { + //return request.post({ url: '/export/spi/export/format/ExportFormatConfigQueryPage', params }) + const data: any = [ + { + author: 'admin', + reportName: '授信明细表', + dataDate: '20220303', + createTime: '20230904', + startTime: '20230904 09:08:03', + endTime: '20230904 09:08:03', + state: '成功' + }, + { + author: 'admin', + reportName: '单笔非授信', + dataDate: '20220303', + createTime: '20230904', + startTime: '20230904 09:08:03', + endTime: '20230904 09:08:03', + state: '成功' + }, + { + author: 'admin', + reportName: '用信明细表', + dataDate: '20220303', + createTime: '20230904', + startTime: '20230904 09:08:03', + endTime: '20230904 09:08:03', + state: '成功' + }, + { + author: 'admin', + reportName: '关联交易余额表', + dataDate: '20220303', + createTime: '20230904', + startTime: '20230904 09:08:03', + endTime: '20230904 09:08:03', + state: '成功' + }, + { + author: 'admin', + reportName: '金融产品表', + dataDate: '20220303', + createTime: '20230904', + startTime: '20230904 09:08:03', + endTime: '20230904 09:08:03', + state: '成功' + }, + { + author: 'admin', + reportName: '非受信明细', + dataDate: '20220303', + createTime: '20230904', + startTime: '20230904 09:08:03', + endTime: '20230904 09:08:03', + state: '失败' + }, + { + author: 'admin', + reportName: '单笔受限', + dataDate: '20220303', + createTime: '20230904', + startTime: '20230904 09:08:03', + endTime: '20230904 09:08:03', + state: '失败' + }, + { + author: 'admin', + reportName: '关联关系', + dataDate: '20220303', + createTime: '20230904', + startTime: '20230904 09:08:03', + endTime: '20230904 09:08:03', + state: '失败' + }, + { + author: 'admin', + reportName: '关联方自然人', + dataDate: '20220303', + createTime: '20230904', + startTime: '20230904 09:08:03', + endTime: '20230904 09:08:03', + state: '成功' + }, + { + author: 'admin', + reportName: '关联方法人', + dataDate: '20220303', + createTime: '20230904', + startTime: '20230904 09:08:03', + endTime: '20230904 09:08:03', + state: '成功' + } + ] + const data1: any = [ + { + author: 'admin', + reportName: '存量单位贷款信息', + dataDate: '20220303', + createTime: '20230904', + startTime: '20230904 09:08:03', + endTime: '20230904 09:08:03', + state: '成功' + }, + { + author: 'admin', + reportName: '个人客户基础信息', + dataDate: '20220303', + createTime: '20230904', + startTime: '20230904 09:08:03', + endTime: '20230904 09:08:03', + state: '成功' + }, + { + author: 'admin', + reportName: '贷款发生额', + dataDate: '20220303', + createTime: '20230904', + startTime: '20230904 09:08:03', + endTime: '20230904 09:08:03', + state: '成功' + }, + { + author: 'admin', + reportName: '信贷企业基础信息', + dataDate: '20220303', + createTime: '20230904', + startTime: '20230904 09:08:03', + endTime: '20230904 09:08:03', + state: '失败' + } + ] + return { + data: { + list: params.pageNum === 1 ? data : data1, + total: 14 + } + } +} +/** + * + * @param params 模版管理 + * @returns + */ +export const TempSubmitManage = (params: any) => { + //return request.post({ url: '/export/spi/export/format/ExportFormatConfigQueryPage', params }) + const data: any = [ + { + pkid: '123', + formatId: '310', + formatName: '关联关系', + systemCode: 'portal', + format: '<11111111>' + }, + { + pkid: '124', + formatId: '311', + formatName: '单笔授信', + systemCode: 'portal', + format: '<11111111>' + }, + { + pkid: '125', + formatId: '312', + formatName: '授信明细表', + systemCode: 'portal', + format: '<11111111>' + }, + { + pkid: '126', + formatId: '313', + formatName: '单笔非授信', + systemCode: 'portal', + format: 'RESULT_PBSD_LOAF' + }, + { + pkid: '127', + formatId: '314', + formatName: '贷款发生额', + systemCode: 'portal', + format: '' + } + ] + const data1: any = [ + { + pkid: '123', + formatId: '310', + formatName: '贷款发生额', + systemCode: 'portal', + format: '<11111111>' + }, + { + pkid: '123', + formatId: '310', + formatName: '贷款发生额', + systemCode: 'portal', + format: '<11111111>' + }, + { + pkid: '123', + formatId: '310', + reportName: '贷款发生额', + systemCode: 'portal', + format: '<11111111>' + }, + { + pkid: '123', + formatId: '310', + formatName: '贷款发生额', + systemCode: 'portal', + format: '<11111111>' + }, + { + pkid: '123', + formatId: '310', + formatName: '贷款发生额', + systemCode: 'portal', + format: '<11111111>' + } + ] + return { + data: { + list: params.pageNum === 1 ? data : data1, + total: 5 + } + } +} + +export const getTreeTableListApi = (params: any) => { + return request.get({ url: '/example/treeList', params }) +} + +export const saveTableApi = (data: Partial