commit
bcafab2ab0
@ -0,0 +1,14 @@
|
||||
# 环境
|
||||
NODE_ENV=development
|
||||
|
||||
# 接口前缀
|
||||
VITE_API_BASE_PATH=base
|
||||
|
||||
# 打包路径
|
||||
VITE_BASE_PATH=/
|
||||
|
||||
# 标题
|
||||
VITE_APP_TITLE=东方国信
|
||||
|
||||
# 是否使用在线图标
|
||||
VITE_USE_ONLINE_ICON=true
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -0,0 +1,8 @@
|
||||
/build/
|
||||
/config/
|
||||
/dist/
|
||||
/*.js
|
||||
/test/unit/coverage/
|
||||
/node_modules/*
|
||||
/dist*
|
||||
/src/main.ts
|
@ -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'
|
||||
}
|
||||
})
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"editor.guides": [],
|
||||
"toolchains": [],
|
||||
"nodejs.typescript.node.options": "",
|
||||
"nodejs.typescript.rebuildOnChanges": false
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
node_modules
|
||||
.DS_Store
|
||||
.vscode
|
||||
dist
|
||||
dist-ssr
|
||||
*.local
|
||||
/dist*
|
||||
*-lock.*
|
||||
pnpm-debug
|
||||
dist-pro
|
||||
dist-dev
|
||||
.idea
|
@ -0,0 +1,10 @@
|
||||
/node_modules/**
|
||||
/dist/
|
||||
/dist*
|
||||
/public/*
|
||||
/docs/*
|
||||
/vite.config.ts
|
||||
/src/types/env.d.ts
|
||||
/docs/**/*
|
||||
/plop/**/*
|
||||
CHANGELOG
|
@ -0,0 +1,6 @@
|
||||
/dist/*
|
||||
/public/*
|
||||
public/*
|
||||
/dist*
|
||||
/src/types/env.d.ts
|
||||
/docs/**/*
|
@ -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.
|
@ -0,0 +1,142 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title><%= title %></title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<style>
|
||||
.app-loading {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
background: #f0f2f5;
|
||||
}
|
||||
|
||||
.app-loading .app-loading-wrap {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
display: flex;
|
||||
-webkit-transform: translate3d(-50%, -50%, 0);
|
||||
transform: translate3d(-50%, -50%, 0);
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.app-loading .app-loading-title {
|
||||
margin-bottom: 30px;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.app-loading .app-loading-logo {
|
||||
width: 100px;
|
||||
margin: 0 auto 15px auto;
|
||||
}
|
||||
|
||||
.app-loading .app-loading-item {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
vertical-align: middle;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.app-loading .app-loading-outter {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 4px solid #2d8cf0;
|
||||
border-bottom: 0;
|
||||
border-left-color: transparent;
|
||||
border-radius: 50%;
|
||||
animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
|
||||
}
|
||||
|
||||
.app-loading .app-loading-inner {
|
||||
position: absolute;
|
||||
top: calc(50% - 20px);
|
||||
left: calc(50% - 20px);
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 4px solid #87bdff;
|
||||
border-right: 0;
|
||||
border-top-color: transparent;
|
||||
border-radius: 50%;
|
||||
animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
|
||||
}
|
||||
|
||||
@-webkit-keyframes loader-outter {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes loader-outter {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes loader-inner {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: rotate(-360deg);
|
||||
transform: rotate(-360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes loader-inner {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: rotate(-360deg);
|
||||
transform: rotate(-360deg);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<div class="app-loading">
|
||||
<div class="app-loading-wrap">
|
||||
<div class="app-loading-title">
|
||||
<img src="/logo.png" class="app-loading-logo" alt="Logo" />
|
||||
<div class="app-loading-title"><%= title %></div>
|
||||
</div>
|
||||
<div class="app-loading-item">
|
||||
<div class="app-loading-outter"></div>
|
||||
<div class="app-loading-inner"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="module" src="/src/main.ts"></script>
|
||||
</body>
|
||||
</html>
|
@ -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)
|
||||
}
|
@ -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[]
|
@ -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[]
|
@ -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[]
|
@ -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[]
|
@ -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[]
|
File diff suppressed because it is too large
Load Diff
@ -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 =
|
||||
'<p>I am testing data, I am testing data.</p><p><img src="https://wpimg.wallstcn.com/4c69009c-0fd4-4153-b112-6cb53d1cf943"></p>'
|
||||
|
||||
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[]
|
@ -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[]
|
@ -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[]
|
@ -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"
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
import { useDesign } from '@/hooks/web/useDesign'
|
||||
|
||||
const { getPrefixCls } = useDesign()
|
||||
|
||||
const prefixCls = getPrefixCls('{{ name }}')
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div :class="`${prefixCls}-{{ name }}`">{{ upperFirstName }}</div>
|
||||
</template>
|
@ -0,0 +1,3 @@
|
||||
import {{ upperFirstName }} from './src/{{ upperFirstName }}.vue'
|
||||
|
||||
export { {{ upperFirstName }} }
|
@ -0,0 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { ContentWrap } from '@/components/ContentWrap'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ContentWrap title="{{ upperFirstName }}"> {{ name }} </ContentWrap>
|
||||
</template>
|
@ -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)
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
module.exports = {
|
||||
plugins: {
|
||||
autoprefixer: {}
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 6.7 KiB |
@ -0,0 +1,142 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title><%= title %></title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<style>
|
||||
.app-loading {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
background: #f0f2f5;
|
||||
}
|
||||
|
||||
.app-loading .app-loading-wrap {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
display: flex;
|
||||
-webkit-transform: translate3d(-50%, -50%, 0);
|
||||
transform: translate3d(-50%, -50%, 0);
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.app-loading .app-loading-title {
|
||||
margin-bottom: 30px;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.app-loading .app-loading-logo {
|
||||
width: 100px;
|
||||
margin: 0 auto 15px auto;
|
||||
}
|
||||
|
||||
.app-loading .app-loading-item {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
vertical-align: middle;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.app-loading .app-loading-outter {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 4px solid #2d8cf0;
|
||||
border-bottom: 0;
|
||||
border-left-color: transparent;
|
||||
border-radius: 50%;
|
||||
animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
|
||||
}
|
||||
|
||||
.app-loading .app-loading-inner {
|
||||
position: absolute;
|
||||
top: calc(50% - 20px);
|
||||
left: calc(50% - 20px);
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 4px solid #87bdff;
|
||||
border-right: 0;
|
||||
border-top-color: transparent;
|
||||
border-radius: 50%;
|
||||
animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
|
||||
}
|
||||
|
||||
@-webkit-keyframes loader-outter {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes loader-outter {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes loader-inner {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: rotate(-360deg);
|
||||
transform: rotate(-360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes loader-inner {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: rotate(-360deg);
|
||||
transform: rotate(-360deg);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<div class="app-loading">
|
||||
<div class="app-loading-wrap">
|
||||
<div class="app-loading-title">
|
||||
<img src="/logo.png" class="app-loading-logo" alt="Logo" />
|
||||
<div class="app-loading-title"><%= title %></div>
|
||||
</div>
|
||||
<div class="app-loading-item">
|
||||
<div class="app-loading-outter"></div>
|
||||
<div class="app-loading-inner"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="module" src="./main.ts"></script>
|
||||
</body>
|
||||
</html>
|
@ -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();
|
@ -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<Element>) => {
|
||||
app.use(router)
|
||||
}
|
||||
|
||||
export default router
|
@ -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<Element>) => {
|
||||
app.use(router);
|
||||
};
|
||||
|
||||
export default router;
|
@ -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',
|
||||
],
|
||||
},
|
||||
};
|
||||
};
|
@ -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
|
@ -0,0 +1,75 @@
|
||||
<script setup lang="ts">
|
||||
import { computed } from 'vue'
|
||||
import { useAppStore } from '@/store/modules/app'
|
||||
import { ConfigGlobal } from '@/components/ConfigGlobal'
|
||||
import { isDark } from '@/utils/is'
|
||||
import { useDesign } from '@/hooks/web/useDesign'
|
||||
import { useStorage } from '@/hooks/web/useStorage'
|
||||
import THEME_COLORS from '@/config/theme';
|
||||
// import { getSystemThemeColor } from '@/utils/syncpagestyle'
|
||||
|
||||
const { getPrefixCls } = useDesign()
|
||||
|
||||
const prefixCls = getPrefixCls('app')
|
||||
|
||||
const appStore = useAppStore()
|
||||
|
||||
const currentSize = computed(() => appStore.getCurrentSize)
|
||||
|
||||
const greyMode = computed(() => appStore.getGreyMode)
|
||||
|
||||
const { getStorage } = useStorage()
|
||||
|
||||
// 根据浏览器当前主题设置系统主题色
|
||||
const setDefaultTheme = () => {
|
||||
if (getStorage('isDark') !== null) {
|
||||
appStore.setIsDark(getStorage('isDark'))
|
||||
return
|
||||
}
|
||||
const isDarkTheme = isDark()
|
||||
appStore.setIsDark(isDarkTheme)
|
||||
}
|
||||
setDefaultTheme()
|
||||
const getSystemThemeColor = ()=>{
|
||||
const themeBody = getStorage('theme');
|
||||
if(themeBody){
|
||||
switch(themeBody){
|
||||
case 'default':appStore.setTheme(THEME_COLORS['blue']);break;
|
||||
case 'grass_green':appStore.setTheme(THEME_COLORS['green']);break;
|
||||
case 'red':appStore.setTheme(THEME_COLORS['red']);break;
|
||||
}
|
||||
}
|
||||
};//设置主题颜色
|
||||
getSystemThemeColor();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ConfigGlobal :size="currentSize">
|
||||
<RouterView :class="greyMode ? `${prefixCls}-grey-mode` : ''" />
|
||||
</ConfigGlobal>
|
||||
</template>
|
||||
|
||||
<style lang="less">
|
||||
@prefix-cls: ~'@{namespace}-app';
|
||||
|
||||
.size {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
padding: 0 !important;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
.size;
|
||||
|
||||
#app {
|
||||
.size;
|
||||
}
|
||||
}
|
||||
|
||||
.@{prefix-cls}-grey-mode {
|
||||
filter: grayscale(100%);
|
||||
}
|
||||
</style>
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/AmlBsiHoliday/spi/AmlBsiHoliday/AmlBsiHoliday/AmlBsiHolidayDelete', data: { calender } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveAmlBsiHolidayApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/AmlBsiHoliday/spi/AmlBsiHoliday/AmlBsiHoliday/AmlBsiHolidaySave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryAmlBsiHolidayApi = (calender?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/AmlRetRgjxAnalysis/spi/AmlRetRgjxAnalysis/AmlRetRgjxAnalysis/AmlRetRgjxAnalysisDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveAmlRetRgjxAnalysisApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/AmlRetRgjxAnalysis/spi/AmlRetRgjxAnalysis/AmlRetRgjxAnalysis/AmlRetRgjxAnalysisSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryAmlRetRgjxAnalysisApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/AmlRetRgjxDealing/spi/AmlRetRgjxDealing/AmlRetRgjxDealing/AmlRetRgjxDealingDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveAmlRetRgjxDealingApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/AmlRetRgjxDealing/spi/AmlRetRgjxDealing/AmlRetRgjxDealing/AmlRetRgjxDealingSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryAmlRetRgjxDealingApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/AmlRuleAutoslay/spi/AmlRuleAutoslay/AmlRuleAutoslay/AmlRuleAutoslayDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveAmlRuleAutoslayApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/AmlRuleAutoslay/spi/AmlRuleAutoslay/AmlRuleAutoslay/AmlRuleAutoslaySave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryAmlRuleAutoslayApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/AmlRuleAutoslayError/spi/AmlRuleAutoslayError/AmlRuleAutoslayError/AmlRuleAutoslayErrorDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveAmlRuleAutoslayErrorApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/AmlRuleAutoslayError/spi/AmlRuleAutoslayError/AmlRuleAutoslayError/AmlRuleAutoslayErrorSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryAmlRuleAutoslayErrorApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/AmlRuleCust/spi/AmlRuleCust/AmlRuleCust/AmlRuleCustDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveAmlRuleCustApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/AmlRuleCust/spi/AmlRuleCust/AmlRuleCust/AmlRuleCustSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryAmlRuleCustApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/AmlSysDataurgeQuery/spi/AmlSysDataurgeQuery/AmlSysDataurgeQuery/AmlSysDataurgeQueryDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveAmlSysDataurgeQueryApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/AmlSysDataurgeQuery/spi/AmlSysDataurgeQuery/AmlSysDataurgeQuery/AmlSysDataurgeQuerySave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryAmlSysDataurgeQueryApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/AttentionMain/spi/AttentionMain/AttentionMain/AttentionMainDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveAttentionMainApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/AttentionMain/spi/AttentionMain/AttentionMain/AttentionMainSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryAttentionMainApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/BlacklistsScreen/spi/BlacklistsScreen/BlacklistsScreen/BlacklistsScreenDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveBlacklistsScreenApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/BlacklistsScreen/spi/BlacklistsScreen/BlacklistsScreen/BlacklistsScreenSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryBlacklistsScreenApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/CompetitorInstitution/spi/CompetitorInstitution/CompetitorInstitution/CompetitorInstitutionDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveCompetitorInstitutionApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/CompetitorInstitution/spi/CompetitorInstitution/CompetitorInstitution/CompetitorInstitutionSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryCompetitorInstitutionApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/CompetitorMaintain/spi/CompetitorMaintain/CompetitorMaintain/CompetitorMaintainDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveCompetitorMaintainApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/CompetitorMaintain/spi/CompetitorMaintain/CompetitorMaintain/CompetitorMaintainSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryCompetitorMaintainApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/CustomerIdentityQuery/spi/CustomerIdentityQuery/CustomerIdentityQuery/CustomerIdentityQueryDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveCustomerIdentityQueryApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/CustomerIdentityQuery/spi/CustomerIdentityQuery/CustomerIdentityQuery/CustomerIdentityQuerySave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryCustomerIdentityQueryApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/CustomerLevelStatus/spi/CustomerLevelStatus/CustomerLevelStatus/CustomerLevelStatusDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveCustomerLevelStatusApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/CustomerLevelStatus/spi/CustomerLevelStatus/CustomerLevelStatus/CustomerLevelStatusSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryCustomerLevelStatusApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/CustomerMaintain/spi/CustomerMaintain/CustomerMaintain/CustomerMaintainDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveCustomerMaintainApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/CustomerMaintain/spi/CustomerMaintain/CustomerMaintain/CustomerMaintainSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryCustomerMaintainApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/CustomerQuery/spi/CustomerQuery/CustomerQuery/CustomerQueryDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveCustomerQueryApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/CustomerQuery/spi/CustomerQuery/CustomerQuery/CustomerQuerySave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryCustomerQueryApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/CustomerRiskLevelChange/spi/CustomerRiskLevelChange/CustomerRiskLevelChange/CustomerRiskLevelChangeDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveCustomerRiskLevelChangeApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/CustomerRiskLevelChange/spi/CustomerRiskLevelChange/CustomerRiskLevelChange/CustomerRiskLevelChangeSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryCustomerRiskLevelChangeApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/CustomerRiskLevelQuery/spi/CustomerRiskLevelQuery/CustomerRiskLevelQuery/CustomerRiskLevelQueryDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveCustomerRiskLevelQueryApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/CustomerRiskLevelQuery/spi/CustomerRiskLevelQuery/CustomerRiskLevelQuery/CustomerRiskLevelQuerySave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryCustomerRiskLevelQueryApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/DataurgeManage/spi/DataurgeManage/DataurgeManage/DataurgeManageDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveDataurgeManageApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/DataurgeManage/spi/DataurgeManage/DataurgeManage/DataurgeManageSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryDataurgeManageApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/DataurgeQuery/spi/DataurgeQuery/DataurgeQuery/DataurgeQueryDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveDataurgeQueryApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/DataurgeQuery/spi/DataurgeQuery/DataurgeQuery/DataurgeQuerySave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryDataurgeQueryApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
const _list = list.map(v => {
|
||||
return {
|
||||
};
|
||||
});
|
||||
return request.postJson({
|
||||
url: '/DejyStatistics/spi/DejyStatistics/DejyStatistics/DejyStatisticsBatchDelete',
|
||||
data: {
|
||||
list: _list,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
/** 删除 */
|
||||
export const delDejyStatisticsApi = (): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/DejyStatistics/spi/DejyStatistics/DejyStatistics/DejyStatisticsDelete', data: { } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveDejyStatisticsApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/DejyStatistics/spi/DejyStatistics/DejyStatistics/DejyStatisticsSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryDejyStatisticsApi = (): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/DeletePaper/spi/DeletePaper/DeletePaper/DeletePaperDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveDeletePaperApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/DeletePaper/spi/DeletePaper/DeletePaper/DeletePaperSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryDeletePaperApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/ErrorTransaction/spi/ErrorTransaction/ErrorTransaction/ErrorTransactionDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveErrorTransactionApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/ErrorTransaction/spi/ErrorTransaction/ErrorTransaction/ErrorTransactionSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryErrorTransactionApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/ExpirationManagement/spi/ExpirationManagement/ExpirationManagement/ExpirationManagementDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveExpirationManagementApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/ExpirationManagement/spi/ExpirationManagement/ExpirationManagement/ExpirationManagementSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryExpirationManagementApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/HzwjAnalysis/spi/HzwjAnalysis/HzwjAnalysis/HzwjAnalysisDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveHzwjAnalysisApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/HzwjAnalysis/spi/HzwjAnalysis/HzwjAnalysis/HzwjAnalysisSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryHzwjAnalysisApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/JGWJMaintain/spi/JGWJMaintain/JgwjMaintain/JgwjMaintainDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveJGWJMaintainApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/JGWJMaintain/spi/JGWJMaintain/JgwjMaintain/JgwjMaintainSave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryJGWJMaintainApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/JGWJQuery/spi/JGWJQuery/JgwjQuery/JgwjQueryDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveJGWJQueryApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/JGWJQuery/spi/JGWJQuery/JgwjQuery/JgwjQuerySave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryJGWJQueryApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
@ -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<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({ url: '/JRCPEvaluateQuery/spi/JRCPEvaluateQuery/JrcpEvaluateQuery/JrcpEvaluateQueryDelete', data: { pkid } });
|
||||
};
|
||||
|
||||
/** 保存 */
|
||||
export const saveJRCPEvaluateQueryApi = (data: Partial<TableData>): Promise<IResponse> => {
|
||||
return request.postJson({ url: '/JRCPEvaluateQuery/spi/JRCPEvaluateQuery/JrcpEvaluateQuery/JrcpEvaluateQuerySave', data });
|
||||
};
|
||||
|
||||
/** 查询单条数据 */
|
||||
export const queryJRCPEvaluateQueryApi = (pkid?: string): Promise<IResponse> => {
|
||||
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<IResponse> => {
|
||||
return request.postJson({
|
||||
url: '/param/spi/param/systemparam',
|
||||
data: {
|
||||
paramName: paramName,
|
||||
systemCode: systemCode,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue