commit:升级到vue3,更新最近工作流技术栈,支持sa-token
24
OrangeFormsOpen-VUE3/.editorconfig
Normal file
@@ -0,0 +1,24 @@
|
||||
# editorconfig.org
|
||||
#项目里读editorcongig文件时,读到此文件即可,不用继续往上搜索
|
||||
root = true
|
||||
|
||||
# 规范指定:全部文件
|
||||
[*]
|
||||
# 文档的字符编码:使用UTF-8 - Unicode 字符编码;
|
||||
# 常见的字符编码有两种:1.UTF-8 - Unicode 字符编码;2.ISO-8859-1 - 拉丁字母表的字符编码。
|
||||
charset = utf-8
|
||||
#tab类型:空格(不使用制表符)
|
||||
indent_style = space
|
||||
#tab键长度是两个空格
|
||||
indent_size = 2
|
||||
#跟系统有关。win用cr lf,linux/unix用lf,mac用cr。
|
||||
end_of_line = lf
|
||||
#保存文件时,在最后一行后加上一行空行
|
||||
insert_final_newline = true
|
||||
#去掉每行代码最后多余的空格
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.md]
|
||||
insert_final_newline = false
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
2
OrangeFormsOpen-VUE3/.env.development
Normal file
@@ -0,0 +1,2 @@
|
||||
VITE_SERVER_HOST='http://localhost:8082/'
|
||||
VITE_PROJECT_NAME='橙单演示工程'
|
||||
2
OrangeFormsOpen-VUE3/.env.production
Normal file
@@ -0,0 +1,2 @@
|
||||
VITE_SERVER_HOST='http://localhost:8082/'
|
||||
VITE_PROJECT_NAME='橙单项目'
|
||||
7
OrangeFormsOpen-VUE3/.eslintignore
Normal file
@@ -0,0 +1,7 @@
|
||||
node_modules
|
||||
dist/
|
||||
test
|
||||
src/vite-env.d.ts
|
||||
/src/pages/workflow/package/*
|
||||
/src/components/Verifition/*
|
||||
/src/components/SpreadSheet/*
|
||||
68
OrangeFormsOpen-VUE3/.eslintrc-auto-import.json
Normal file
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"globals": {
|
||||
"Component": true,
|
||||
"ComponentPublicInstance": true,
|
||||
"ComputedRef": true,
|
||||
"EffectScope": true,
|
||||
"ExtractDefaultPropTypes": true,
|
||||
"ExtractPropTypes": true,
|
||||
"ExtractPublicPropTypes": true,
|
||||
"InjectionKey": true,
|
||||
"PropType": true,
|
||||
"Ref": true,
|
||||
"VNode": true,
|
||||
"WritableComputedRef": true,
|
||||
"computed": true,
|
||||
"createApp": true,
|
||||
"customRef": true,
|
||||
"defineAsyncComponent": true,
|
||||
"defineComponent": true,
|
||||
"effectScope": true,
|
||||
"getCurrentInstance": true,
|
||||
"getCurrentScope": true,
|
||||
"h": true,
|
||||
"inject": true,
|
||||
"isProxy": true,
|
||||
"isReactive": true,
|
||||
"isReadonly": true,
|
||||
"isRef": true,
|
||||
"markRaw": true,
|
||||
"nextTick": true,
|
||||
"onActivated": true,
|
||||
"onBeforeMount": true,
|
||||
"onBeforeUnmount": true,
|
||||
"onBeforeUpdate": true,
|
||||
"onDeactivated": true,
|
||||
"onErrorCaptured": true,
|
||||
"onMounted": true,
|
||||
"onRenderTracked": true,
|
||||
"onRenderTriggered": true,
|
||||
"onScopeDispose": true,
|
||||
"onServerPrefetch": true,
|
||||
"onUnmounted": true,
|
||||
"onUpdated": true,
|
||||
"provide": true,
|
||||
"reactive": true,
|
||||
"readonly": true,
|
||||
"ref": true,
|
||||
"resolveComponent": true,
|
||||
"shallowReactive": true,
|
||||
"shallowReadonly": true,
|
||||
"shallowRef": true,
|
||||
"toRaw": true,
|
||||
"toRef": true,
|
||||
"toRefs": true,
|
||||
"toValue": true,
|
||||
"triggerRef": true,
|
||||
"unref": true,
|
||||
"useAttrs": true,
|
||||
"useCssModule": true,
|
||||
"useCssVars": true,
|
||||
"useSlots": true,
|
||||
"watch": true,
|
||||
"watchEffect": true,
|
||||
"watchPostEffect": true,
|
||||
"watchSyncEffect": true,
|
||||
"showDialog": true
|
||||
}
|
||||
}
|
||||
67
OrangeFormsOpen-VUE3/.eslintrc.cjs
Normal file
@@ -0,0 +1,67 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
browser: true,
|
||||
es2021: true,
|
||||
node: true,
|
||||
},
|
||||
extends: [
|
||||
'./.eslintrc-auto-import.json',
|
||||
'eslint:recommended',
|
||||
'plugin:vue/vue3-essential',
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
'plugin:import/typescript',
|
||||
'plugin:import/recommended',
|
||||
'plugin:prettier/recommended',
|
||||
],
|
||||
settings: {
|
||||
node: {
|
||||
extensions: ['.ts', '.tsx'],
|
||||
moduleDirectory: ['node_modules', 'src'],
|
||||
},
|
||||
'import/resolver': {
|
||||
typescript: {},
|
||||
},
|
||||
},
|
||||
overrides: [
|
||||
//这里是添加的代码
|
||||
{
|
||||
files: [
|
||||
'src/pages/**/*.vue',
|
||||
'src/pages/**/**/*.vue',
|
||||
'src/components/**/*.vue',
|
||||
'src/components/**/**/index.vue',
|
||||
], // 匹配views和二级目录中的index.vue
|
||||
rules: {
|
||||
'vue/multi-word-component-names': 'off',
|
||||
}, //给上面匹配的文件指定规则
|
||||
},
|
||||
],
|
||||
parser: 'vue-eslint-parser',
|
||||
parserOptions: {
|
||||
parser: '@typescript-eslint/parser',
|
||||
ecmaVersion: 'latest',
|
||||
sourceType: 'module',
|
||||
},
|
||||
rules: {
|
||||
'prettier/prettier': 'error',
|
||||
'linebreak-style': ['error', 'unix'],
|
||||
'vue/comment-directive': 'off',
|
||||
'vue/multi-word-component-names': 'off',
|
||||
'@typescript-eslint/no-unused-vars': 'off',
|
||||
'import/extensions': [
|
||||
'error',
|
||||
'ignorePackages',
|
||||
{
|
||||
ts: 'never',
|
||||
tsx: 'never',
|
||||
},
|
||||
],
|
||||
'import/order': [
|
||||
'error',
|
||||
{
|
||||
groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'object'],
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
4
OrangeFormsOpen-VUE3/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
node_modules
|
||||
dist
|
||||
.stylelintcache
|
||||
.DS_Store
|
||||
20
OrangeFormsOpen-VUE3/.prettierrc.cjs
Normal file
@@ -0,0 +1,20 @@
|
||||
module.exports = {
|
||||
printWidth: 100, // 每行代码长度(默认80)
|
||||
tabWidth: 2, // 每个tab相当于多少个空格(默认2)
|
||||
useTabs: false, // 是否使用tab进行缩进(默认false)
|
||||
singleQuote: true, // 使用单引号(默认false)
|
||||
semi: true, // 声明结尾使用分号(默认true)
|
||||
trailingComma: 'all', // 多行使用拖尾逗号(默认none)
|
||||
bracketSpacing: true, // 对象字面量的大括号间使用空格(默认true)
|
||||
jsxBracketSameLine: false, // 多行JSX中的>放置在最后一行的结尾,而不是另起一行(默认false)
|
||||
arrowParens: 'avoid', // 只有一个参数的箭头函数的参数是否带圆括号(默认avoid)
|
||||
jsxBracketSameLine: false,
|
||||
"overrides": [
|
||||
{
|
||||
"files": "*.html",
|
||||
"options": {
|
||||
"parser": "html"
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
10
OrangeFormsOpen-VUE3/.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": "explicit",
|
||||
"source.fixAll.stylelint": "explicit"
|
||||
},
|
||||
"eslint.validate": ["javascript", "vue", "html", "typescript"],
|
||||
"css.validate": false,
|
||||
"scss.validate": false,
|
||||
"stylelint.validate": ["css", "postcss", "scss", "vue", "sass"]
|
||||
}
|
||||
25
OrangeFormsOpen-VUE3/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# 探索前端前沿技术,并创建相关的模板
|
||||
|
||||
## 主要内容
|
||||
|
||||
### 主要工具包
|
||||
|
||||
* vite4 vue3 pinia vue-router axios ts element-plus vant
|
||||
|
||||
### 主要规范工化工具
|
||||
|
||||
* eslint规范及配置
|
||||
* prettier规范及配置
|
||||
* stylelint规范及配置
|
||||
|
||||
### 推荐的约束
|
||||
|
||||
* 推荐使用vscode编辑器 安装eslint插件 prettier插件 Volar插件
|
||||
* 推荐使用node 18.16.1 版本
|
||||
|
||||
### 使用方式
|
||||
|
||||
* 克隆项目到本地
|
||||
* 进入项目根目录 执行 npm install 安装依赖
|
||||
* 启动项目 npm run dev
|
||||
* 访问 <http://localhost:8085>
|
||||
141
OrangeFormsOpen-VUE3/components.d.ts
vendored
Normal file
@@ -0,0 +1,141 @@
|
||||
/* eslint-disable */
|
||||
/* prettier-ignore */
|
||||
// @ts-nocheck
|
||||
// Generated by unplugin-vue-components
|
||||
// Read more: https://github.com/vuejs/core/pull/3399
|
||||
export {}
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
AdvanceQuery: typeof import('./src/components/AdvanceQuery/index.vue')['default']
|
||||
BarChart: typeof import('./src/components/Charts/barChart.vue')['default']
|
||||
Base: typeof import('./src/components/Charts/base.vue')['default']
|
||||
BreadCrumb: typeof import('./src/components/layout/components/BreadCrumb.vue')['default']
|
||||
CarouselChart: typeof import('./src/components/Charts/carouselChart.vue')['default']
|
||||
CommonList: typeof import('./src/components/Charts/commonList.vue')['default']
|
||||
DataCard: typeof import('./src/components/Charts/dataCard.vue')['default']
|
||||
DataProgressCard: typeof import('./src/components/Charts/dataProgressCard.vue')['default']
|
||||
DataViewTable: typeof import('./src/components/Charts/dataViewTable.vue')['default']
|
||||
DateRange: typeof import('./src/components/DateRange/index.vue')['default']
|
||||
DeptSelect: typeof import('./src/components/DeptSelect/index.vue')['default']
|
||||
DeptSelectDlg: typeof import('./src/components/DeptSelect/DeptSelectDlg.vue')['default']
|
||||
ElAlert: typeof import('element-plus/es')['ElAlert']
|
||||
ElAside: typeof import('element-plus/es')['ElAside']
|
||||
ElBadge: typeof import('element-plus/es')['ElBadge']
|
||||
ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb']
|
||||
ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
|
||||
ElButton: typeof import('element-plus/es')['ElButton']
|
||||
ElButtonGroup: typeof import('element-plus/es')['ElButtonGroup']
|
||||
ElCard: typeof import('element-plus/es')['ElCard']
|
||||
ElCarousel: typeof import('element-plus/es')['ElCarousel']
|
||||
ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem']
|
||||
ElCascader: typeof import('element-plus/es')['ElCascader']
|
||||
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
|
||||
ElCol: typeof import('element-plus/es')['ElCol']
|
||||
ElCollapse: typeof import('element-plus/es')['ElCollapse']
|
||||
ElCollapseItem: typeof import('element-plus/es')['ElCollapseItem']
|
||||
ElColorPicker: typeof import('element-plus/es')['ElColorPicker']
|
||||
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
|
||||
ElContainer: typeof import('element-plus/es')['ElContainer']
|
||||
ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
|
||||
ElDialog: typeof import('element-plus/es')['ElDialog']
|
||||
ElDivider: typeof import('element-plus/es')['ElDivider']
|
||||
ElDrawer: typeof import('element-plus/es')['ElDrawer']
|
||||
ElDropdown: typeof import('element-plus/es')['ElDropdown']
|
||||
ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
|
||||
ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']
|
||||
ElEmpty: typeof import('element-plus/es')['ElEmpty']
|
||||
ElFooter: typeof import('element-plus/es')['ElFooter']
|
||||
ElForm: typeof import('element-plus/es')['ElForm']
|
||||
ElFormItem: typeof import('element-plus/es')['ElFormItem']
|
||||
ElHeader: typeof import('element-plus/es')['ElHeader']
|
||||
ElIcon: typeof import('element-plus/es')['ElIcon']
|
||||
ElIconArrowDown: typeof import('@element-plus/icons-vue')['ArrowDown']
|
||||
ElIconArrowLeft: typeof import('@element-plus/icons-vue')['ArrowLeft']
|
||||
ElIconArrowRight: typeof import('@element-plus/icons-vue')['ArrowRight']
|
||||
ElIconCaretBottom: typeof import('@element-plus/icons-vue')['CaretBottom']
|
||||
ElIconClose: typeof import('@element-plus/icons-vue')['Close']
|
||||
ElImage: typeof import('element-plus/es')['ElImage']
|
||||
ElInput: typeof import('element-plus/es')['ElInput']
|
||||
ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
|
||||
ElLink: typeof import('element-plus/es')['ElLink']
|
||||
ElMain: typeof import('element-plus/es')['ElMain']
|
||||
ElMenu: typeof import('element-plus/es')['ElMenu']
|
||||
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
|
||||
ElOption: typeof import('element-plus/es')['ElOption']
|
||||
ElPagination: typeof import('element-plus/es')['ElPagination']
|
||||
ElPopover: typeof import('element-plus/es')['ElPopover']
|
||||
ElProgress: typeof import('element-plus/es')['ElProgress']
|
||||
ElRadio: typeof import('element-plus/es')['ElRadio']
|
||||
ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
|
||||
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
|
||||
ElRow: typeof import('element-plus/es')['ElRow']
|
||||
ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
|
||||
ElSelect: typeof import('element-plus/es')['ElSelect']
|
||||
ElSlider: typeof import('element-plus/es')['ElSlider']
|
||||
ElSubMenu: typeof import('element-plus/es')['ElSubMenu']
|
||||
ElSwitch: typeof import('element-plus/es')['ElSwitch']
|
||||
ElTable: typeof import('element-plus/es')['ElTable']
|
||||
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
|
||||
ElTabPane: typeof import('element-plus/es')['ElTabPane']
|
||||
ElTabs: typeof import('element-plus/es')['ElTabs']
|
||||
ElTag: typeof import('element-plus/es')['ElTag']
|
||||
ElTooltip: typeof import('element-plus/es')['ElTooltip']
|
||||
ElTree: typeof import('element-plus/es')['ElTree']
|
||||
ElUpload: typeof import('element-plus/es')['ElUpload']
|
||||
FilterBox: typeof import('./src/components/FilterBox/index.vue')['default']
|
||||
FunnelChart: typeof import('./src/components/Charts/funnelChart.vue')['default']
|
||||
FunnelChartV3: typeof import('./src/components/Charts/funnelChartV3.vue')['default']
|
||||
GaugeChart: typeof import('./src/components/Charts/gaugeChart.vue')['default']
|
||||
Icons: typeof import('./src/components/icons/index.vue')['default']
|
||||
IconSelect: typeof import('./src/components/IconSelect/index.vue')['default']
|
||||
InputNumberRange: typeof import('./src/components/InputNumberRange/index.vue')['default']
|
||||
Layout: typeof import('./src/components/Dialog/layout.vue')['default']
|
||||
LineChart: typeof import('./src/components/Charts/lineChart.vue')['default']
|
||||
MultiColumn: typeof import('./src/components/layout/components/multi-column.vue')['default']
|
||||
MultiColumnMenu: typeof import('./src/components/layout/components/multi-column-menu.vue')['default']
|
||||
MultiItemBox: typeof import('./src/components/MultiItemBox/index.vue')['default']
|
||||
MultiItemList: typeof import('./src/components/MultiItemList/index.vue')['default']
|
||||
PageCloseButton: typeof import('./src/components/PageCloseButton/index.vue')['default']
|
||||
PieChart: typeof import('./src/components/Charts/pieChart.vue')['default']
|
||||
PivotTable: typeof import('./src/components/Charts/pivotTable.vue')['default']
|
||||
PivotTableColumn: typeof import('./src/components/Charts/pivotTableColumn.vue')['default']
|
||||
Progress: typeof import('./src/components/Progress/index.vue')['default']
|
||||
ProgressBar: typeof import('./src/components/Charts/progressBar.vue')['default']
|
||||
ProgressCircle: typeof import('./src/components/Charts/progressCircle.vue')['default']
|
||||
RadarChart: typeof import('./src/components/Charts/radarChart.vue')['default']
|
||||
RadarChartV3: typeof import('./src/components/Charts/radarChartV3.vue')['default']
|
||||
RichEditor: typeof import('./src/components/RichEditor/index.vue')['default']
|
||||
RichText: typeof import('./src/components/Charts/richText.vue')['default']
|
||||
RightAddBtn: typeof import('./src/components/Btns/RightAddBtn.vue')['default']
|
||||
RouterLink: typeof import('vue-router')['RouterLink']
|
||||
RouterView: typeof import('vue-router')['RouterView']
|
||||
ScatterChart: typeof import('./src/components/Charts/scatterChart.vue')['default']
|
||||
ScriptEditor: typeof import('./src/components/ScriptEditor/index.vue')['default']
|
||||
Sidebar: typeof import('./src/components/layout/components/Sidebar.vue')['default']
|
||||
StepBar: typeof import('./src/components/StepBar/index.vue')['default']
|
||||
StepItem: typeof import('./src/components/StepBar/stepItem.vue')['default']
|
||||
SubMenu: typeof import('./src/components/layout/components/SubMenu.vue')['default']
|
||||
TableBox: typeof import('./src/components/TableBox/index.vue')['default']
|
||||
TableProgressColumn: typeof import('./src/components/TableProgressColumn/index.vue')['default']
|
||||
TagItem: typeof import('./src/components/layout/components/TagItem.vue')['default']
|
||||
TagPanel: typeof import('./src/components/layout/components/TagPanel.vue')['default']
|
||||
ThirdParty: typeof import('./src/components/thirdParty/index.vue')['default']
|
||||
UserSelect: typeof import('./src/components/UserSelect/index.vue')['default']
|
||||
UserSelectDlg: typeof import('./src/components/UserSelect/UserSelectDlg.vue')['default']
|
||||
VanButton: typeof import('vant/es')['Button']
|
||||
VanCellGroup: typeof import('vant/es')['CellGroup']
|
||||
VanCheckbox: typeof import('vant/es')['Checkbox']
|
||||
VanCheckboxGroup: typeof import('vant/es')['CheckboxGroup']
|
||||
VanForm: typeof import('vant/es')['Form']
|
||||
VanRadio: typeof import('vant/es')['Radio']
|
||||
VanRadioGroup: typeof import('vant/es')['RadioGroup']
|
||||
VanRate: typeof import('vant/es')['Rate']
|
||||
VanSearch: typeof import('vant/es')['Search']
|
||||
VanSidebar: typeof import('vant/es')['Sidebar']
|
||||
VanSidebarItem: typeof import('vant/es')['SidebarItem']
|
||||
VanStepper: typeof import('vant/es')['Stepper']
|
||||
VanSwitch: typeof import('vant/es')['Switch']
|
||||
VanUploader: typeof import('vant/es')['Uploader']
|
||||
}
|
||||
}
|
||||
13
OrangeFormsOpen-VUE3/index.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>加载中</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.ts"></script>
|
||||
</body>
|
||||
</html>
|
||||
12498
OrangeFormsOpen-VUE3/package-lock.json
generated
Normal file
71
OrangeFormsOpen-VUE3/package.json
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"name": "vite",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vue-tsc && vite build",
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint --fix \"src/**/*.{ts,vue}\" && prettier --write \"src/**/*.{ts,vue}\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@highlightjs/vue-plugin": "^2.1.0",
|
||||
"@layui/layui-vue": "^2.11.5",
|
||||
"@wangeditor/editor": "^5.1.23",
|
||||
"@wangeditor/editor-for-vue": "^5.1.12",
|
||||
"ace-builds": "^1.32.2",
|
||||
"axios": "^1.5.1",
|
||||
"bpmn-js-token-simulation": "^0.10.0",
|
||||
"crypto-js": "^4.2.0",
|
||||
"dayjs": "^1.11.10",
|
||||
"echarts": "^5.5.0",
|
||||
"ejs": "^3.1.9",
|
||||
"highlight.js": "^11.9.0",
|
||||
"jsencrypt": "^3.3.2",
|
||||
"json-bigint": "^1.0.0",
|
||||
"clipboard": "^2.0.11",
|
||||
"pinia": "^2.1.6",
|
||||
"pinia-plugin-persist": "^1.0.0",
|
||||
"vant": "^4.7.3",
|
||||
"vue": "^3.3.8",
|
||||
"element-plus": "^2.7.3",
|
||||
"vue-draggable-plus": "^0.3.1",
|
||||
"vue-json-viewer": "^3.0.4",
|
||||
"vue-router": "^4.2.5",
|
||||
"vxe-table": "^4.5.13",
|
||||
"xe-utils": "^3.5.14",
|
||||
"xml-js": "^1.6.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/ejs": "^3.1.5",
|
||||
"@types/json-bigint": "^1.0.4",
|
||||
"@types/node": "^18.11.17",
|
||||
"@typescript-eslint/eslint-plugin": "^5.46.1",
|
||||
"@typescript-eslint/parser": "^5.46.1",
|
||||
"@vant/auto-import-resolver": "^1.0.2",
|
||||
"@vitejs/plugin-vue": "^4.0.0",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"bpmn-js": "^7.4.0",
|
||||
"bpmn-js-properties-panel": "^0.37.2",
|
||||
"eslint": "^8.30.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-import-resolver-typescript": "^3.6.1",
|
||||
"eslint-plugin-import": "^2.29.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-vue": "^9.8.0",
|
||||
"postcss": "^8.4.20",
|
||||
"postcss-html": "^1.5.0",
|
||||
"postcss-preset-env": "^7.8.3",
|
||||
"postcss-scss": "^4.0.6",
|
||||
"prettier": "2.8.1",
|
||||
"sass": "^1.57.1",
|
||||
"typescript": "^4.9.3",
|
||||
"unplugin-auto-import": "^0.16.7",
|
||||
"unplugin-vue-components": "^0.25.2",
|
||||
"vite": "^4.0.0",
|
||||
"vite-plugin-eslint": "^1.8.1",
|
||||
"vue-eslint-parser": "^9.1.0",
|
||||
"vue-tsc": "^1.0.11"
|
||||
}
|
||||
}
|
||||
BIN
OrangeFormsOpen-VUE3/public/favicon.ico
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
26
OrangeFormsOpen-VUE3/src/App.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
<script setup lang="ts">
|
||||
import { useRoute } from 'vue-router';
|
||||
import zhCn from 'element-plus/dist/locale/zh-cn.mjs';
|
||||
import { useWindowResize } from '@/common/hooks/useWindowResize';
|
||||
|
||||
const route = useRoute();
|
||||
|
||||
watch(
|
||||
() => route.name,
|
||||
() => {
|
||||
//console.log('路由发生了变化', route.name, route.fullPath, route.path, route);
|
||||
document.title = import.meta.env.VITE_PROJECT_NAME;
|
||||
if (route.meta && route.meta.title) {
|
||||
document.title += ' - ' + route.meta.title;
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
useWindowResize();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<el-config-provider :locale="zhCn">
|
||||
<router-view></router-view>
|
||||
</el-config-provider>
|
||||
</template>
|
||||
43
OrangeFormsOpen-VUE3/src/api/BaseController.ts
Normal file
@@ -0,0 +1,43 @@
|
||||
import { AxiosRequestConfig } from 'axios';
|
||||
import { commonRequest, download, downloadBlob, upload } from '@/common/http/request';
|
||||
import { RequestOption, RequestMethods } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
|
||||
export class BaseController {
|
||||
static async get<D>(
|
||||
url: string,
|
||||
params: ANY_OBJECT,
|
||||
options?: RequestOption,
|
||||
axiosOption?: AxiosRequestConfig,
|
||||
) {
|
||||
return await commonRequest<D>(url, params, 'get', options, axiosOption);
|
||||
}
|
||||
static async post<D>(
|
||||
url: string,
|
||||
params: ANY_OBJECT,
|
||||
options?: RequestOption,
|
||||
axiosOption?: AxiosRequestConfig,
|
||||
) {
|
||||
return await commonRequest<D>(url, params, 'post', options, axiosOption);
|
||||
}
|
||||
static download(
|
||||
url: string,
|
||||
params: ANY_OBJECT,
|
||||
filename: string,
|
||||
method?: RequestMethods,
|
||||
options?: RequestOption,
|
||||
) {
|
||||
return download(url, params, filename, method, options);
|
||||
}
|
||||
static downloadBlob(
|
||||
url: string,
|
||||
params: ANY_OBJECT,
|
||||
method: RequestMethods = 'post',
|
||||
options?: RequestOption,
|
||||
) {
|
||||
return downloadBlob(url, params, method, options);
|
||||
}
|
||||
static upload(url: string, params: ANY_OBJECT, options?: RequestOption) {
|
||||
return upload(url, params, options);
|
||||
}
|
||||
}
|
||||
2
OrangeFormsOpen-VUE3/src/api/config.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// 服务前缀 admin or tenantadmin
|
||||
export const API_CONTEXT = 'admin';
|
||||
31
OrangeFormsOpen-VUE3/src/api/flow/FlowCategoryController.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { TableData } from '@/common/types/table';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class FlowCategoryController extends BaseController {
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/flow/flowCategory/list',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static view(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(API_CONTEXT + '/flow/flowCategory/view', params, httpOptions);
|
||||
}
|
||||
|
||||
static add(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowCategory/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static update(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowCategory/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static delete(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowCategory/delete', params, httpOptions);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
import { DictData, DictionaryBase } from '@/common/staticDict/types';
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class FlowDictionaryController extends BaseController {
|
||||
static dictFlowCategory(
|
||||
params: ANY_OBJECT,
|
||||
httpOptions?: RequestOption,
|
||||
): Promise<DictionaryBase> {
|
||||
return new Promise((resolve, reject) => {
|
||||
this.get<DictData[]>(API_CONTEXT + '/flow/flowCategory/listDict', params, httpOptions)
|
||||
.then(res => {
|
||||
const dictData = new DictionaryBase('', res.data);
|
||||
resolve(dictData);
|
||||
})
|
||||
.catch(err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
71
OrangeFormsOpen-VUE3/src/api/flow/FlowEntryController.ts
Normal file
@@ -0,0 +1,71 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { TableData } from '@/common/types/table';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class FlowEntryController extends BaseController {
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/flow/flowEntry/list',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static view(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(API_CONTEXT + '/flow/flowEntry/view', params, httpOptions);
|
||||
}
|
||||
|
||||
static add(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowEntry/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static update(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowEntry/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static delete(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowEntry/delete', params, httpOptions);
|
||||
}
|
||||
|
||||
static publish(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowEntry/publish', params, httpOptions);
|
||||
}
|
||||
|
||||
static listFlowEntryPublish(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/flow/flowEntry/listFlowEntryPublish',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static updateMainVersion(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowEntry/updateMainVersion', params, httpOptions);
|
||||
}
|
||||
|
||||
static suspendFlowEntryPublish(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowEntry/suspendFlowEntryPublish', params, httpOptions);
|
||||
}
|
||||
|
||||
static activateFlowEntryPublish(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowEntry/activateFlowEntryPublish', params, httpOptions);
|
||||
}
|
||||
|
||||
static viewDict(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(API_CONTEXT + '/flow/flowEntry/viewDict', params, httpOptions);
|
||||
}
|
||||
|
||||
static listDict(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/flow/flowEntry/listDict',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static listAll(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>('/admin/flow/flowEntry/listAll', params, httpOptions);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { TableData } from '@/common/types/table';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class FlowEntryVariableController extends BaseController {
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/flow/flowEntryVariable/list',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static add(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowEntryVariable/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static update(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowEntryVariable/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static delete(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowEntryVariable/delete', params, httpOptions);
|
||||
}
|
||||
|
||||
static view(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(API_CONTEXT + '/flow/flowEntryVariable/view', params, httpOptions);
|
||||
}
|
||||
}
|
||||
277
OrangeFormsOpen-VUE3/src/api/flow/FlowOperationController.ts
Normal file
@@ -0,0 +1,277 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { TableData } from '@/common/types/table';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class FlowOperationController extends BaseController {
|
||||
// 保存草稿
|
||||
static startAndSaveDraft(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
let url = API_CONTEXT + '/flow/flowOnlineOperation/startAndSaveDraft';
|
||||
if (httpOptions && httpOptions.processDefinitionKey) {
|
||||
url += '/' + httpOptions.processDefinitionKey;
|
||||
}
|
||||
return this.post<ANY_OBJECT>(url, params, httpOptions);
|
||||
}
|
||||
// 获取在线表单工作流草稿数据
|
||||
static viewOnlineDraftData(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
const url = API_CONTEXT + '/flow/flowOnlineOperation/viewDraftData';
|
||||
return this.get<ANY_OBJECT>(url, params, httpOptions);
|
||||
}
|
||||
// 启动流程实例并且提交表单信息
|
||||
static startAndTakeUserTask(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
let url = API_CONTEXT + '/flow/flowOnlineOperation/startAndTakeUserTask';
|
||||
if (httpOptions && httpOptions.processDefinitionKey) {
|
||||
url += '/' + httpOptions.processDefinitionKey;
|
||||
} else {
|
||||
// 从流程设计里启动
|
||||
url = API_CONTEXT + '/flow/flowOnlineOperation/startPreview';
|
||||
}
|
||||
return this.post(url, params, httpOptions);
|
||||
}
|
||||
// 获得流程以及工单信息
|
||||
static listWorkOrder(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
let url = API_CONTEXT + '/flow/flowOnlineOperation/listWorkOrder';
|
||||
if (httpOptions && httpOptions.processDefinitionKey) {
|
||||
url += '/' + httpOptions.processDefinitionKey;
|
||||
}
|
||||
return this.post<TableData<ANY_OBJECT>>(url, params, httpOptions);
|
||||
}
|
||||
// 提交用户任务数据
|
||||
static submitUserTask(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowOnlineOperation/submitUserTask', params, httpOptions);
|
||||
}
|
||||
// 获取历史流程数据
|
||||
static viewHistoricProcessInstance(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(
|
||||
API_CONTEXT + '/flow/flowOnlineOperation/viewHistoricProcessInstance',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 获取用户任务数据
|
||||
static viewUserTask(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(
|
||||
API_CONTEXT + '/flow/flowOnlineOperation/viewUserTask',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 获取在线表单工作流以及工作流下表单列表
|
||||
static listFlowEntryForm(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT[]>(
|
||||
API_CONTEXT + '/flow/flowOnlineOperation/listFlowEntryForm',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 获得草稿信息
|
||||
static viewDraftData(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
const url = API_CONTEXT + '/flow/flowOperation/viewDraftData';
|
||||
return this.get<ANY_OBJECT>(url, params, httpOptions);
|
||||
}
|
||||
// 撤销工单
|
||||
static cancelWorkOrder(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowOperation/cancelWorkOrder', params, httpOptions);
|
||||
}
|
||||
// 多实例加签
|
||||
static submitConsign(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowOperation/submitConsign', params, httpOptions);
|
||||
}
|
||||
// 已办任务列表
|
||||
static listHistoricTask(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/flow/flowOperation/listHistoricTask',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 获取已办任务信息
|
||||
static viewHistoricTaskInfo(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(
|
||||
API_CONTEXT + '/flow/flowOperation/viewHistoricTaskInfo',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 仅启动流程实例
|
||||
static startOnly(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowOperation/startOnly', params, httpOptions);
|
||||
}
|
||||
// 获得流程定义初始化用户任务信息
|
||||
static viewInitialTaskInfo(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(
|
||||
API_CONTEXT + '/flow/flowOperation/viewInitialTaskInfo',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 获取待办任务信息
|
||||
static viewRuntimeTaskInfo(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(
|
||||
API_CONTEXT + '/flow/flowOperation/viewRuntimeTaskInfo',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 获取流程实例审批历史
|
||||
static listFlowTaskComment(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT[]>(
|
||||
API_CONTEXT + '/flow/flowOperation/listFlowTaskComment',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 获取历史任务信息
|
||||
static viewInitialHistoricTaskInfo(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(
|
||||
API_CONTEXT + '/flow/flowOperation/viewInitialHistoricTaskInfo',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 获取所有待办任务
|
||||
static listRuntimeTask(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/flow/flowOperation/listRuntimeTask',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 获得流程实例审批路径
|
||||
static viewHighlightFlowData(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(
|
||||
API_CONTEXT + '/flow/flowOperation/viewHighlightFlowData',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 获得流程实例的配置XML
|
||||
static viewProcessBpmn(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<string>(
|
||||
API_CONTEXT + '/flow/flowOperation/viewProcessBpmn',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 获得所有历史流程实例
|
||||
static listAllHistoricProcessInstance(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/flow/flowOperation/listAllHistoricProcessInstance',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 获得当前用户历史流程实例
|
||||
static listHistoricProcessInstance(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/flow/flowOperation/listHistoricProcessInstance',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 终止流程
|
||||
static stopProcessInstance(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowOperation/stopProcessInstance', params, httpOptions);
|
||||
}
|
||||
// 删除流程实例
|
||||
static deleteProcessInstance(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(
|
||||
API_CONTEXT + '/flow/flowOperation/deleteProcessInstance',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 催办
|
||||
static remindRuntimeTask(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowOperation/remindRuntimeTask', params, httpOptions);
|
||||
}
|
||||
// 催办消息列表
|
||||
static listRemindingTask(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/flow/flowMessage/listRemindingTask',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 驳回
|
||||
static rejectRuntimeTask(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowOperation/rejectRuntimeTask', params, httpOptions);
|
||||
}
|
||||
// 驳回到起点
|
||||
static rejectToStartUserTask(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(
|
||||
API_CONTEXT + '/flow/flowOperation/rejectToStartUserTask',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 撤销
|
||||
static revokeHistoricTask(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/flow/flowOperation/revokeHistoricTask', params, httpOptions);
|
||||
}
|
||||
// 抄送消息列表
|
||||
static listCopyMessage(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/flow/flowMessage/listCopyMessage',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 消息个数
|
||||
static getMessageCount(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(
|
||||
API_CONTEXT + '/flow/flowMessage/getMessageCount',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 在线表单流程抄送消息数据
|
||||
static viewOnlineCopyBusinessData(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(
|
||||
API_CONTEXT + '/flow/flowOnlineOperation/viewCopyBusinessData',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 静态表单流程抄送消息数据
|
||||
static viewCopyBusinessData(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(
|
||||
API_CONTEXT + '/flow/flowOperation/viewCopyBusinessData',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 获取指定任务处理人列表
|
||||
static viewTaskUserInfo(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT[]>(
|
||||
API_CONTEXT + '/flow/flowOperation/viewTaskUserInfo',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 获取驳回历史任务列表
|
||||
static listRejectCandidateUserTask(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/flow/flowOperation/listRejectCandidateUserTask',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 获取多实例任务中会签人员列表
|
||||
static listMultiSignAssignees(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/flow/flowOperation/listMultiSignAssignees',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 获取所有任务列表
|
||||
static listAllUserTask(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT[]>(
|
||||
API_CONTEXT + '/flow/flowOperation/listAllUserTask',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
}
|
||||
11
OrangeFormsOpen-VUE3/src/api/flow/index.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import FlowOperationController from './FlowOperationController';
|
||||
import FlowDictionaryController from './FlowDictionaryController';
|
||||
import FlowEntryController from './FlowEntryController';
|
||||
import FlowEntryVariableController from './FlowEntryVariableController';
|
||||
|
||||
export {
|
||||
FlowOperationController,
|
||||
FlowEntryController,
|
||||
FlowDictionaryController,
|
||||
FlowEntryVariableController,
|
||||
};
|
||||
@@ -0,0 +1,84 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { TableData } from '@/common/types/table';
|
||||
import { ColumnInfo } from '@/types/online/column';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class OnlineColumnController extends BaseController {
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ColumnInfo>>(
|
||||
API_CONTEXT + '/online/onlineColumn/list',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static view(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ColumnInfo>(API_CONTEXT + '/online/onlineColumn/view', params, httpOptions);
|
||||
}
|
||||
|
||||
// static export(sender, params, fileName) {
|
||||
// return sender.download(API_CONTEXT + '/online/onlineColumn/export', params, fileName);
|
||||
// }
|
||||
|
||||
static add(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineColumn/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static update(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineColumn/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static refreshColumn(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineColumn/refresh', params, httpOptions);
|
||||
}
|
||||
|
||||
static delete(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineColumn/delete', params, httpOptions);
|
||||
}
|
||||
|
||||
static listOnlineColumnRule(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/online/onlineColumn/listOnlineColumnRule',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static listNotInOnlineColumnRule(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/online/onlineColumn/listNotInOnlineColumnRule',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static addOnlineColumnRule(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineColumn/addOnlineColumnRule', params, httpOptions);
|
||||
}
|
||||
|
||||
static deleteOnlineColumnRule(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(
|
||||
API_CONTEXT + '/online/onlineColumn/deleteOnlineColumnRule',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static updateOnlineColumnRule(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(
|
||||
API_CONTEXT + '/online/onlineColumn/updateOnlineColumnRule',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static viewOnlineColumnRule(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<ANY_OBJECT>(
|
||||
API_CONTEXT + '/online/onlineColumn/viewOnlineColumnRule',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { TableData } from '@/common/types/table';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class OnlineDatasourceController extends BaseController {
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/online/onlineDatasource/list',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static view(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(API_CONTEXT + '/online/onlineDatasource/view', params, httpOptions);
|
||||
}
|
||||
|
||||
// static export(sender, params, fileName) {
|
||||
// return sender.download(API_CONTEXT + '/online/onlineDatasource/export', params, fileName);
|
||||
// }
|
||||
|
||||
static add(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineDatasource/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static update(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineDatasource/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static delete(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineDatasource/delete', params, httpOptions);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { TableData } from '@/common/types/table';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class OnlineDatasourceRelationController extends BaseController {
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/online/onlineDatasourceRelation/list',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static view(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(
|
||||
API_CONTEXT + '/online/onlineDatasourceRelation/view',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
// static export(sender, params, fileName) {
|
||||
// return sender.download(API_CONTEXT + '/online/onlineDatasourceRelation/export', params, fileName);
|
||||
// }
|
||||
|
||||
static add(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineDatasourceRelation/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static update(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineDatasourceRelation/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static delete(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineDatasourceRelation/delete', params, httpOptions);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { TableData } from '@/common/types/table';
|
||||
import { DBLink } from '@/types/online/dblink';
|
||||
import { TableInfo } from '@/types/online/table';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class OnlineDblinkController extends BaseController {
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<DBLink>>(
|
||||
API_CONTEXT + '/online/onlineDblink/list',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static listDblinkTables(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<TableInfo[]>(
|
||||
API_CONTEXT + '/online/onlineDblink/listDblinkTables',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static listDblinkTableColumns(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT[]>(
|
||||
API_CONTEXT + '/online/onlineDblink/listDblinkTableColumns',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static view(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<DBLink>(API_CONTEXT + '/online/onlineDblink/view', params, httpOptions);
|
||||
}
|
||||
|
||||
static add(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineDblink/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static update(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineDblink/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static delete(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineDblink/delete', params, httpOptions);
|
||||
}
|
||||
|
||||
static testConnection(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get(API_CONTEXT + '/online/onlineDblink/testConnection', params, httpOptions);
|
||||
}
|
||||
}
|
||||
40
OrangeFormsOpen-VUE3/src/api/online/OnlineDictController.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { TableData } from '@/common/types/table';
|
||||
import { Dict } from '@/types/online/dict';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class OnlineDictController extends BaseController {
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<Dict>>(API_CONTEXT + '/online/onlineDict/list', params, httpOptions);
|
||||
}
|
||||
|
||||
static view(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<Dict>(API_CONTEXT + '/online/onlineDict/view', params, httpOptions);
|
||||
}
|
||||
|
||||
// static export(sender, params, fileName) {
|
||||
// return sender.download(API_CONTEXT + '/online/onlineDict/export', params, fileName);
|
||||
// }
|
||||
|
||||
static add(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineDict/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static update(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineDict/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static delete(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineDict/delete', params, httpOptions);
|
||||
}
|
||||
|
||||
static listAllGlobalDict(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<Dict>>(
|
||||
API_CONTEXT + '/online/onlineDict/listAllGlobalDict',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
}
|
||||
43
OrangeFormsOpen-VUE3/src/api/online/OnlineFormController.ts
Normal file
@@ -0,0 +1,43 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { TableData } from '@/common/types/table';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class OnlineFormController extends BaseController {
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/online/onlineForm/list',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static view(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(API_CONTEXT + '/online/onlineForm/view', params, httpOptions);
|
||||
}
|
||||
|
||||
static render(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(API_CONTEXT + '/online/onlineForm/render', params, httpOptions);
|
||||
}
|
||||
|
||||
// static export(sender, params, fileName) {
|
||||
// return sender.download(API_CONTEXT + '/online/onlineForm/export', params, fileName);
|
||||
// }
|
||||
|
||||
static add(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineForm/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static update(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineForm/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static delete(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineForm/delete', params, httpOptions);
|
||||
}
|
||||
|
||||
static clone(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineForm/clone', params, httpOptions);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { TableData } from '@/common/types/table';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class OnlineOperationController extends BaseController {
|
||||
static listDict(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<ANY_OBJECT[]>(
|
||||
API_CONTEXT + '/online/onlineOperation/listDict',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static listByDatasourceId(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/online/onlineOperation/listByDatasourceId',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static listByOneToManyRelationId(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/online/onlineOperation/listByOneToManyRelationId',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static addDatasource(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineOperation/addDatasource', params, httpOptions);
|
||||
}
|
||||
|
||||
static addOneToManyRelation(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(
|
||||
API_CONTEXT + '/online/onlineOperation/addOneToManyRelation',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static updateDatasource(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineOperation/updateDatasource', params, httpOptions);
|
||||
}
|
||||
|
||||
static updateOneToManyRelation(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(
|
||||
API_CONTEXT + '/online/onlineOperation/updateOneToManyRelation',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static viewByDatasourceId(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(
|
||||
API_CONTEXT + '/online/onlineOperation/viewByDatasourceId',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static viewByOneToManyRelationId(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(
|
||||
API_CONTEXT + '/online/onlineOperation/viewByOneToManyRelationId',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static deleteDatasource(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineOperation/deleteDatasource', params, httpOptions);
|
||||
}
|
||||
|
||||
static deleteOneToManyRelation(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(
|
||||
API_CONTEXT + '/online/onlineOperation/deleteOneToManyRelation',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static getColumnRuleCode(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get(API_CONTEXT + '/online/onlineOperation/getColumnRuleCode', params, httpOptions);
|
||||
}
|
||||
|
||||
static getPrintTemplate(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<ANY_OBJECT>(API_CONTEXT + '/report/reportPrint/listAll', params, httpOptions);
|
||||
}
|
||||
}
|
||||
100
OrangeFormsOpen-VUE3/src/api/online/OnlinePageController.ts
Normal file
@@ -0,0 +1,100 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { TableData } from '@/common/types/table';
|
||||
import { FormPage } from '@/types/online/page';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class OnlinePageController extends BaseController {
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<FormPage>>(
|
||||
API_CONTEXT + '/online/onlinePage/list',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static listAllPageAndForm(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<ANY_OBJECT>(
|
||||
API_CONTEXT + '/online/onlinePage/listAllPageAndForm',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static view(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<FormPage>(API_CONTEXT + '/online/onlinePage/view', params, httpOptions);
|
||||
}
|
||||
|
||||
// static export(sender, params, fileName) {
|
||||
// return sender.download(API_CONTEXT + '/online/onlinePage/export', params, fileName);
|
||||
// }
|
||||
|
||||
static add(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<string>(API_CONTEXT + '/online/onlinePage/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static update(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<string>(API_CONTEXT + '/online/onlinePage/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static updatePublished(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlinePage/updatePublished', params, httpOptions);
|
||||
}
|
||||
|
||||
static delete(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlinePage/delete', params, httpOptions);
|
||||
}
|
||||
|
||||
static updateStatus(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlinePage/updateStatus', params, httpOptions);
|
||||
}
|
||||
|
||||
static listOnlinePageDatasource(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/online/onlinePage/listOnlinePageDatasource',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static listNotInOnlinePageDatasource(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(
|
||||
API_CONTEXT + '/online/onlinePage/listNotInOnlinePageDatasource',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static addOnlinePageDatasource(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(
|
||||
API_CONTEXT + '/online/onlinePage/addOnlinePageDatasource',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static deleteOnlinePageDatasource(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(
|
||||
API_CONTEXT + '/online/onlinePage/deleteOnlinePageDatasource',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static updateOnlinePageDatasource(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(
|
||||
API_CONTEXT + '/online/onlinePage/updateOnlinePageDatasource',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static viewOnlinePageDatasource(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get(
|
||||
API_CONTEXT + '/online/onlinePage/viewOnlinePageDatasource',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
}
|
||||
35
OrangeFormsOpen-VUE3/src/api/online/OnlineRuleController.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { TableData } from '@/common/types/table';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class OnlineRuleController extends BaseController {
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/online/onlineRule/list',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static view(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get(API_CONTEXT + '/online/onlineRule/view', params, httpOptions);
|
||||
}
|
||||
|
||||
// static export(sender, params, fileName) {
|
||||
// return sender.download(API_CONTEXT + '/online/onlineRule/export', params, fileName);
|
||||
// }
|
||||
|
||||
static add(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineRule/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static update(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineRule/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static delete(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineRule/delete', params, httpOptions);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { TableData } from '@/common/types/table';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class OnlineVirtualColumnController extends BaseController {
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/online/onlineVirtualColumn/list',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static view(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(
|
||||
API_CONTEXT + '/online/onlineVirtualColumn/view',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static add(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineVirtualColumn/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static update(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineVirtualColumn/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static delete(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/online/onlineVirtualColumn/delete', params, httpOptions);
|
||||
}
|
||||
}
|
||||
23
OrangeFormsOpen-VUE3/src/api/online/index.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import OnlineDblinkController from './OnlineDblinkController';
|
||||
import OnlineDictController from './OnlineDictController';
|
||||
import OnlinePageController from './OnlinePageController';
|
||||
import OnlineDatasourceRelationController from './OnlineDatasourceRelationController';
|
||||
import OnlineDatasourceController from './OnlineDatasourceController';
|
||||
import OnlineColumnController from './OnlineColumnController';
|
||||
import OnlineRuleController from './OnlineRuleController';
|
||||
import OnlineVirtualColumnController from './OnlineVirtualColumnController';
|
||||
import OnlineOperationController from './OnlineOperationController';
|
||||
import OnlineFormController from './OnlineFormController';
|
||||
|
||||
export {
|
||||
OnlineDblinkController,
|
||||
OnlineDictController,
|
||||
OnlinePageController,
|
||||
OnlineDatasourceRelationController,
|
||||
OnlineDatasourceController,
|
||||
OnlineColumnController,
|
||||
OnlineRuleController,
|
||||
OnlineVirtualColumnController,
|
||||
OnlineOperationController,
|
||||
OnlineFormController,
|
||||
};
|
||||
217
OrangeFormsOpen-VUE3/src/api/system/DictionaryController.ts
Normal file
@@ -0,0 +1,217 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { DictData, DictionaryBase } from '@/common/staticDict/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class DictionaryController extends BaseController {
|
||||
static dictSysRole(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return new Promise<DictionaryBase>((resolve, reject) => {
|
||||
this.get<DictData[]>(API_CONTEXT + '/upms/sysRole/listDict', params, httpOptions)
|
||||
.then(res => {
|
||||
const dictData = new DictionaryBase('角色字典', res.data);
|
||||
resolve(dictData);
|
||||
})
|
||||
.catch(err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
// 全局编码字典
|
||||
static dictGlobalDict(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return new Promise<DictionaryBase>((resolve, reject) => {
|
||||
this.get<DictData[]>(API_CONTEXT + '/upms/globalDict/listDict', params, httpOptions)
|
||||
.then(res => {
|
||||
const dictData = new DictionaryBase(
|
||||
'编码字典',
|
||||
(res.data || []).map(item => {
|
||||
return {
|
||||
...item,
|
||||
// 设置已禁用编码字典数据项
|
||||
disabled: item.status === 1,
|
||||
};
|
||||
}),
|
||||
);
|
||||
resolve(dictData);
|
||||
})
|
||||
.catch(err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
static dictGlobalDictByIds(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return new Promise<DictionaryBase>((resolve, reject) => {
|
||||
this.get<DictData[]>(API_CONTEXT + '/upms/globalDict/listDictByIds', params, httpOptions)
|
||||
.then(res => {
|
||||
const dictData = new DictionaryBase('编码字典', res.data);
|
||||
resolve(dictData);
|
||||
})
|
||||
.catch(err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
static dictSysDept(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return new Promise<DictionaryBase>((resolve, reject) => {
|
||||
this.get<DictData[]>(API_CONTEXT + '/upms/sysDept/listDict', params, httpOptions)
|
||||
.then(res => {
|
||||
const dictData = new DictionaryBase('部门字典', res.data);
|
||||
resolve(dictData);
|
||||
})
|
||||
.catch(err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
static dictSysDeptByParentId(
|
||||
params: ANY_OBJECT,
|
||||
httpOptions?: RequestOption,
|
||||
): Promise<DictionaryBase> {
|
||||
return new Promise<DictionaryBase>((resolve, reject) => {
|
||||
this.get<DictData[]>(API_CONTEXT + '/upms/sysDept/listDictByParentId', params, httpOptions)
|
||||
.then(res => {
|
||||
const dictData = new DictionaryBase('部门字典', res.data);
|
||||
resolve(dictData);
|
||||
})
|
||||
.catch(err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
static dictSysMenu(params: ANY_OBJECT, httpOptions?: RequestOption): Promise<DictionaryBase> {
|
||||
return new Promise<DictionaryBase>((resolve, reject) => {
|
||||
this.get<DictData[]>(API_CONTEXT + '/upms/sysMenu/listMenuDict', params, httpOptions)
|
||||
.then(res => {
|
||||
const dictData = new DictionaryBase('菜单字典', res.data);
|
||||
resolve(dictData);
|
||||
})
|
||||
.catch(err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
static dictDeptPost(params: ANY_OBJECT, httpOptions?: RequestOption): Promise<ANY_OBJECT[]> {
|
||||
return new Promise((resolve, reject) => {
|
||||
this.get<ANY_OBJECT[]>(
|
||||
API_CONTEXT + '/upms/sysDept/listSysDeptPostWithRelation',
|
||||
params,
|
||||
httpOptions,
|
||||
)
|
||||
.then(res => {
|
||||
resolve(res.data);
|
||||
})
|
||||
.catch(err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
static dictSysPost(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return new Promise<DictionaryBase>((resolve, reject) => {
|
||||
this.get<DictData[]>(API_CONTEXT + '/upms/sysPost/listDict', params, httpOptions)
|
||||
.then(res => {
|
||||
const dictData = new DictionaryBase('岗位字典', res.data);
|
||||
resolve(dictData);
|
||||
})
|
||||
.catch(err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
static dictReportDblink(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return new Promise<DictionaryBase>((resolve, reject) => {
|
||||
this.get<DictData[]>(API_CONTEXT + '/report/reportDblink/listDict', params, httpOptions)
|
||||
.then(res => {
|
||||
const dictData = new DictionaryBase('数据库链接', res.data);
|
||||
resolve(dictData);
|
||||
})
|
||||
.catch(err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
static dictReportDict(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return new Promise<DictionaryBase>((resolve, reject) => {
|
||||
this.get<DictData[]>(API_CONTEXT + '/report/reportDict/listDict', params, httpOptions)
|
||||
.then(res => {
|
||||
const dictData = new DictionaryBase('报表字典', res.data);
|
||||
resolve(dictData);
|
||||
})
|
||||
.catch(err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
static dictAreaCode(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return new Promise<DictionaryBase>((resolve, reject) => {
|
||||
this.get<DictData[]>(API_CONTEXT + '/app/areaCode/listDict', params, httpOptions)
|
||||
.then(res => {
|
||||
const dictData = new DictionaryBase('行政区划', res.data);
|
||||
resolve(dictData);
|
||||
})
|
||||
.catch(err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
static dictAreaCodeByParentId(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return new Promise<DictionaryBase>((resolve, reject) => {
|
||||
this.get<DictData[]>(API_CONTEXT + '/app/areaCode/listDictByParentId', params, httpOptions)
|
||||
.then(res => {
|
||||
const dictData = new DictionaryBase('行政区划', res.data);
|
||||
resolve(dictData);
|
||||
})
|
||||
.catch(err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// 业务相关的接口
|
||||
static dictKnowledge(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return new Promise<DictionaryBase>((resolve, reject) => {
|
||||
this.get<DictData[]>('/admin/app/knowledge/listDict', params, httpOptions)
|
||||
.then(res => {
|
||||
const dictData = new DictionaryBase('知识点字典', res.data);
|
||||
resolve(dictData);
|
||||
})
|
||||
.catch(err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
static dictStudent(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return new Promise<DictionaryBase>((resolve, reject) => {
|
||||
this.get<DictData[]>(API_CONTEXT + '/app/student/listDict', params, httpOptions)
|
||||
.then(res => {
|
||||
const dictData = new DictionaryBase('学生字典', res.data);
|
||||
dictData.setList(res.data);
|
||||
resolve(dictData);
|
||||
})
|
||||
.catch(err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
static dictTeacher(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return new Promise<DictionaryBase>((resolve, reject) => {
|
||||
this.get<DictData[]>('/admin/app/teacher/listDict', params, httpOptions)
|
||||
.then(res => {
|
||||
const dictData = new DictionaryBase('老师字典', res.data);
|
||||
resolve(dictData);
|
||||
})
|
||||
.catch(err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
14
OrangeFormsOpen-VUE3/src/api/system/LoginController.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { loginParam, LoginUserInfo } from '@/types/upms/login';
|
||||
import { UserInfo } from '@/types/upms/user';
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class LoginController extends BaseController {
|
||||
static login(params: loginParam) {
|
||||
return this.post<UserInfo>(API_CONTEXT + '/upms/login/doLogin', params);
|
||||
}
|
||||
|
||||
static logout() {
|
||||
return this.post(API_CONTEXT + '/upms/login/doLogout', {});
|
||||
}
|
||||
}
|
||||
21
OrangeFormsOpen-VUE3/src/api/system/LoginUserController.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { OnlineUser } from '@/types/upms/user';
|
||||
import { TableData } from '@/common/types/table';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class LoginUserController extends BaseController {
|
||||
// 在线用户查询
|
||||
static listSysLoginUser(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<OnlineUser>>(
|
||||
API_CONTEXT + '/upms/loginUser/list',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
// 强退
|
||||
static deleteSysLoginUser(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/loginUser/delete', params, httpOptions);
|
||||
}
|
||||
}
|
||||
47
OrangeFormsOpen-VUE3/src/api/system/MenuController.ts
Normal file
@@ -0,0 +1,47 @@
|
||||
import { MenuItem } from '@/types/upms/menu';
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class SystemMenuController extends BaseController {
|
||||
static getMenuPermList(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<MenuItem[]>(API_CONTEXT + '/upms/sysMenu/list', params, httpOptions);
|
||||
}
|
||||
|
||||
static addMenu(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysMenu/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static updateMenu(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysMenu/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static deleteMenu(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysMenu/delete', params, httpOptions);
|
||||
}
|
||||
|
||||
static viewMenu(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<MenuItem>(API_CONTEXT + '/upms/sysMenu/view', params, httpOptions);
|
||||
}
|
||||
|
||||
static listMenuPermCode(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT[]>(API_CONTEXT + '/upms/sysMenu/listMenuPerm', params, httpOptions);
|
||||
}
|
||||
|
||||
static listSysPermByMenuIdWithDetail(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT[]>(
|
||||
API_CONTEXT + '/upms/sysMenu/listSysPermWithDetail',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static listSysUserByMenuIdWithDetail(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT[]>(
|
||||
API_CONTEXT + '/upms/sysMenu/listSysUserWithDetail',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
}
|
||||
42
OrangeFormsOpen-VUE3/src/api/system/MobileEntryController.ts
Normal file
@@ -0,0 +1,42 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption, TableData } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class MobileEntryController extends BaseController {
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/mobile/mobileEntry/list',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static view(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<ANY_OBJECT>(API_CONTEXT + '/mobile/mobileEntry/view', params, httpOptions);
|
||||
}
|
||||
|
||||
// static export(sender, params, fileName) {
|
||||
// return sender.download(API_CONTEXT + '/mobile/mobileEntry/export', params, fileName);
|
||||
// }
|
||||
|
||||
static add(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/mobile/mobileEntry/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static update(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/mobile/mobileEntry/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static delete(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/mobile/mobileEntry/delete', params, httpOptions);
|
||||
}
|
||||
|
||||
static uploadImage(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/mobile/mobileEntry/uploadImage', params, httpOptions);
|
||||
}
|
||||
|
||||
static downloadImage(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/mobile/mobileEntry/downloadImage', params, httpOptions);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { TableData } from '@/common/types/table';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class OperationLogController extends BaseController {
|
||||
static listSysOperationLog(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/upms/sysOperationLog/list',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
}
|
||||
13
OrangeFormsOpen-VUE3/src/api/system/PermCodeController.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption, TableData } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { PermCode } from '@/types/upms/permcode';
|
||||
import { Role } from '@/types/upms/role';
|
||||
import { User } from '@/types/upms/user';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class PermCodeController extends BaseController {
|
||||
static getPermCodeList(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<PermCode[]>(API_CONTEXT + '/upms/login/getAllPermCodes', params, httpOptions);
|
||||
}
|
||||
}
|
||||
86
OrangeFormsOpen-VUE3/src/api/system/PermController.ts
Normal file
@@ -0,0 +1,86 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption, TableData } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { MenuItem } from '@/types/upms/menu';
|
||||
import { Perm, PermModule } from '@/types/upms/perm';
|
||||
import { Role } from '@/types/upms/role';
|
||||
import { User } from '@/types/upms/user';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class PermController extends BaseController {
|
||||
static getPermList(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<Perm>>(API_CONTEXT + '/upms/sysPerm/list', params, httpOptions);
|
||||
}
|
||||
|
||||
static viewPerm(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get(API_CONTEXT + '/upms/sysPerm/view', params, httpOptions);
|
||||
}
|
||||
|
||||
static addPerm(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysPerm/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static updatePerm(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysPerm/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static deletePerm(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysPerm/delete', params, httpOptions);
|
||||
}
|
||||
|
||||
static getAllPermList(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<ANY_OBJECT[]>(
|
||||
API_CONTEXT + '/upms/sysPermModule/listAll',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static getPermGroupList(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<PermModule[]>(API_CONTEXT + '/upms/sysPermModule/list', params, httpOptions);
|
||||
}
|
||||
|
||||
static addPermGroup(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysPermModule/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static updatePermGroup(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysPermModule/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static deletePermGroup(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysPermModule/delete', params, httpOptions);
|
||||
}
|
||||
|
||||
static listSysUserByPermIdWithDetail(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<User[]>(
|
||||
API_CONTEXT + '/upms/sysPerm/listSysUserWithDetail',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static listSysRoleByPermIdWithDetail(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<Role[]>(
|
||||
API_CONTEXT + '/upms/sysPerm/listSysRoleWithDetail',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static listSysMenuByPermIdWithDetail(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<MenuItem[]>(
|
||||
API_CONTEXT + '/upms/sysPerm/listSysMenuWithDetail',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static listSysPermByRoleIdWithDetail(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<TableData<Perm>>(
|
||||
API_CONTEXT + '/upms/sysRole/listSysPermWithDetail',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { TableData } from '@/common/types/table';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class SysCommonBizController extends BaseController {
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<ANY_OBJECT>>(
|
||||
API_CONTEXT + '/commonext/bizwidget/list',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
static viewByIds(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<ANY_OBJECT[]>(API_CONTEXT + '/commonext/bizwidget/view', params, httpOptions);
|
||||
}
|
||||
}
|
||||
80
OrangeFormsOpen-VUE3/src/api/system/SysDataPermController.ts
Normal file
@@ -0,0 +1,80 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption, TableData } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { PermData } from '@/types/upms/permdata';
|
||||
import { User } from '@/types/upms/user';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class SysDataPermController extends BaseController {
|
||||
/**
|
||||
* @param params {dataPermId, dataPermName, deptIdListString}
|
||||
*/
|
||||
static add(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysDataPerm/add', params, httpOptions);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params {dataPermId, dataPermName, deptIdListString}
|
||||
*/
|
||||
static update(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysDataPerm/update', params, httpOptions);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params {dataPermId}
|
||||
*/
|
||||
static delete(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysDataPerm/delete', params, httpOptions);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params {dataPermName}
|
||||
*/
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<PermData>>(
|
||||
API_CONTEXT + '/upms/sysDataPerm/list',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params {dataPermId}
|
||||
*/
|
||||
static view(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<PermData>(API_CONTEXT + '/upms/sysDataPerm/view', params, httpOptions);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params {dataPermId, searchString}
|
||||
*/
|
||||
static listDataPermUser(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<User>>(
|
||||
API_CONTEXT + '/upms/sysDataPerm/listDataPermUser',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params {dataPermId, userIdListString}
|
||||
*/
|
||||
static addDataPermUser(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysDataPerm/addDataPermUser', params, httpOptions);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params {dataPermId, userId}
|
||||
*/
|
||||
static deleteDataPermUser(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysDataPerm/deleteDataPermUser', params, httpOptions);
|
||||
}
|
||||
|
||||
static listNotInDataPermUser(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<User>>(
|
||||
API_CONTEXT + '/upms/sysDataPerm/listNotInDataPermUser',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
}
|
||||
63
OrangeFormsOpen-VUE3/src/api/system/SysDeptController.ts
Normal file
@@ -0,0 +1,63 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption, TableData } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { SysDept, SysDeptPost } from '@/types/upms/department';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class SysDeptController extends BaseController {
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<SysDept>>(API_CONTEXT + '/upms/sysDept/list', params, httpOptions);
|
||||
}
|
||||
|
||||
static view(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<SysDept>(API_CONTEXT + '/upms/sysDept/view', params, httpOptions);
|
||||
}
|
||||
|
||||
static export(params: ANY_OBJECT, fileName: string) {
|
||||
return this.download(API_CONTEXT + '/upms/sysDept/export', params, fileName);
|
||||
}
|
||||
|
||||
static add(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysDept/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static update(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysDept/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static delete(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysDept/delete', params, httpOptions);
|
||||
}
|
||||
|
||||
static listNotInSysDeptPost(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<SysDeptPost>>(
|
||||
API_CONTEXT + '/upms/sysDept/listNotInSysDeptPost',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static listSysDeptPost(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<SysDeptPost>>(
|
||||
API_CONTEXT + '/upms/sysDept/listSysDeptPost',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static addSysDeptPost(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysDept/addSysDeptPost', params, httpOptions);
|
||||
}
|
||||
|
||||
static updateSysDeptPost(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysDept/updateSysDeptPost', params, httpOptions);
|
||||
}
|
||||
|
||||
static deleteSysDeptPost(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysDept/deleteSysDeptPost', params, httpOptions);
|
||||
}
|
||||
|
||||
static viewSysDeptPost(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get(API_CONTEXT + '/upms/sysDept/viewSysDeptPost', params, httpOptions);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
import { post, get } from '@/common/http/request';
|
||||
import { RequestOption, TableData } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { DictCode, DictCodeItem } from '@/types/upms/dict';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
type listAllItemType = {
|
||||
cachedResultList: DictCodeItem[];
|
||||
fullResultList: DictCodeItem[];
|
||||
};
|
||||
|
||||
export default class SysGlobalDictController {
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return post<TableData<DictCode>>(API_CONTEXT + '/upms/globalDict/list', params, httpOptions);
|
||||
}
|
||||
|
||||
static listAll(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
console.log(this);
|
||||
return get<listAllItemType>(API_CONTEXT + '/upms/globalDict/listAll', params, httpOptions);
|
||||
}
|
||||
|
||||
static add(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return post<ANY_OBJECT>(API_CONTEXT + '/upms/globalDict/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static update(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return post<ANY_OBJECT>(API_CONTEXT + '/upms/globalDict/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static delete(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return post(API_CONTEXT + '/upms/globalDict/delete', params, httpOptions);
|
||||
}
|
||||
|
||||
static addItem(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return post(API_CONTEXT + '/upms/globalDict/addItem', params, httpOptions);
|
||||
}
|
||||
|
||||
static updateItem(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return post(API_CONTEXT + '/upms/globalDict/updateItem', params, httpOptions);
|
||||
}
|
||||
|
||||
static updateItemStatus(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return post(API_CONTEXT + '/upms/globalDict/updateItemStatus', params, httpOptions);
|
||||
}
|
||||
|
||||
static deleteItem(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return post(API_CONTEXT + '/upms/globalDict/deleteItem', params, httpOptions);
|
||||
}
|
||||
|
||||
static reloadCachedData(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return get(API_CONTEXT + '/upms/globalDict/reloadCachedData', params, httpOptions);
|
||||
}
|
||||
}
|
||||
27
OrangeFormsOpen-VUE3/src/api/system/SysPostController.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption, TableData } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { Post } from '@/types/upms/post';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class SysPostController extends BaseController {
|
||||
static list(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<Post>>(API_CONTEXT + '/upms/sysPost/list', params, httpOptions);
|
||||
}
|
||||
|
||||
static view(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<Post>(API_CONTEXT + '/upms/sysPost/view', params, httpOptions);
|
||||
}
|
||||
|
||||
static add(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysPost/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static update(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysPost/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static delete(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysPost/delete', params, httpOptions);
|
||||
}
|
||||
}
|
||||
61
OrangeFormsOpen-VUE3/src/api/system/SystemRoleController.ts
Normal file
@@ -0,0 +1,61 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption, TableData } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { Role } from '@/types/upms/role';
|
||||
import { User } from '@/types/upms/user';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class SystemRoleController extends BaseController {
|
||||
static getRoleList(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<Role>>(API_CONTEXT + '/upms/sysRole/list', params, httpOptions);
|
||||
}
|
||||
|
||||
static getRole(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<Role>(API_CONTEXT + '/upms/sysRole/view', params, httpOptions);
|
||||
}
|
||||
|
||||
static deleteRole(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysRole/delete', params, httpOptions);
|
||||
}
|
||||
|
||||
static addRole(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysRole/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static updateRole(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysRole/update', params, httpOptions);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params {roleId, searchString}
|
||||
*/
|
||||
static listRoleUser(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<User>>(
|
||||
API_CONTEXT + '/upms/sysRole/listUserRole',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static listNotInUserRole(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<User>>(
|
||||
API_CONTEXT + '/upms/sysRole/listNotInUserRole',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params {roleId, userIdListString}
|
||||
*/
|
||||
static addRoleUser(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysRole/addUserRole', params, httpOptions);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params {roleId, userId}
|
||||
*/
|
||||
static deleteRoleUser(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysRole/deleteUserRole', params, httpOptions);
|
||||
}
|
||||
}
|
||||
62
OrangeFormsOpen-VUE3/src/api/system/UserController.ts
Normal file
@@ -0,0 +1,62 @@
|
||||
import { BaseController } from '@/api/BaseController';
|
||||
import { RequestOption, TableData } from '@/common/http/types';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { MenuItem } from '@/types/upms/menu';
|
||||
import { Perm } from '@/types/upms/perm';
|
||||
import { PermCode } from '@/types/upms/permcode';
|
||||
import { User, UserInfo } from '@/types/upms/user';
|
||||
import { API_CONTEXT } from '../config';
|
||||
|
||||
export default class SystemUserController extends BaseController {
|
||||
static getUserList(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<TableData<User>>(API_CONTEXT + '/upms/sysUser/list', params, httpOptions);
|
||||
}
|
||||
|
||||
static addUser(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysUser/add', params, httpOptions);
|
||||
}
|
||||
|
||||
static updateUser(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysUser/update', params, httpOptions);
|
||||
}
|
||||
|
||||
static deleteUser(params: User, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysUser/delete', params, httpOptions);
|
||||
}
|
||||
|
||||
static viewMenu(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post<UserInfo>(API_CONTEXT + '/upms/sysMenu/view', params, httpOptions);
|
||||
}
|
||||
|
||||
static getUser(params: User, httpOptions?: RequestOption) {
|
||||
return this.get(API_CONTEXT + '/upms/sysUser/view', params, httpOptions);
|
||||
}
|
||||
|
||||
static resetUserPassword(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.post(API_CONTEXT + '/upms/sysUser/resetPassword', params, httpOptions);
|
||||
}
|
||||
|
||||
static listSysPermWithDetail(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<TableData<Perm>>(
|
||||
API_CONTEXT + '/upms/sysUser/listSysPermWithDetail',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static listSysPermCodeWithDetail(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<TableData<PermCode>>(
|
||||
API_CONTEXT + '/upms/sysUser/listSysPermCodeWithDetail',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
|
||||
static listSysMenuWithDetail(params: ANY_OBJECT, httpOptions?: RequestOption) {
|
||||
return this.get<TableData<MenuItem>>(
|
||||
API_CONTEXT + '/upms/sysUser/listSysMenuWithDetail',
|
||||
params,
|
||||
httpOptions,
|
||||
);
|
||||
}
|
||||
}
|
||||
31
OrangeFormsOpen-VUE3/src/api/system/index.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
import DictionaryController from './DictionaryController';
|
||||
import LoginUserController from './LoginUserController';
|
||||
import SystemMenuController from './MenuController';
|
||||
import PermController from './PermController';
|
||||
import PermCodeController from './PermCodeController';
|
||||
import SysDataPermController from './SysDataPermController';
|
||||
import SysDeptController from './SysDeptController';
|
||||
import SystemRoleController from './SystemRoleController';
|
||||
import SystemUserController from './UserController';
|
||||
import SysPostController from './SysPostController';
|
||||
import MobileEntryController from './MobileEntryController';
|
||||
import SysGlobalDictController from './SysGlobalDictController';
|
||||
import OperationLogController from './OperationLogController';
|
||||
import SysCommonBizController from './SysCommonBizController';
|
||||
|
||||
export {
|
||||
SystemMenuController,
|
||||
PermController,
|
||||
PermCodeController,
|
||||
SystemUserController,
|
||||
DictionaryController,
|
||||
SysDeptController,
|
||||
SysDataPermController,
|
||||
SystemRoleController,
|
||||
LoginUserController,
|
||||
SysPostController,
|
||||
MobileEntryController,
|
||||
SysGlobalDictController,
|
||||
OperationLogController,
|
||||
SysCommonBizController,
|
||||
};
|
||||
BIN
OrangeFormsOpen-VUE3/src/assets/img/add.png
Normal file
|
After Width: | Height: | Size: 237 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/advance-add-active.png
Normal file
|
After Width: | Height: | Size: 209 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/advance-add.png
Normal file
|
After Width: | Height: | Size: 217 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/advance-del-active.png
Normal file
|
After Width: | Height: | Size: 279 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/advance-del.png
Normal file
|
After Width: | Height: | Size: 308 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/advance-edit-active.png
Normal file
|
After Width: | Height: | Size: 292 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/advance-edit.png
Normal file
|
After Width: | Height: | Size: 314 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/back.png
Normal file
|
After Width: | Height: | Size: 347 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/back2.png
Normal file
|
After Width: | Height: | Size: 309 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/collapse.png
Normal file
|
After Width: | Height: | Size: 264 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/datasource-active.png
Normal file
|
After Width: | Height: | Size: 539 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/datasource.png
Normal file
|
After Width: | Height: | Size: 640 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/default-header.jpg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/default.jpg
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/demo-h5-qrcode.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/density.png
Normal file
|
After Width: | Height: | Size: 455 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/document-active.png
Normal file
|
After Width: | Height: | Size: 643 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/document.png
Normal file
|
After Width: | Height: | Size: 751 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/down.png
Normal file
|
After Width: | Height: | Size: 477 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/empty.png
Normal file
|
After Width: | Height: | Size: 8.0 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/eye_close.png
Normal file
|
After Width: | Height: | Size: 771 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/eye_open.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/filter.png
Normal file
|
After Width: | Height: | Size: 479 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/import.png
Normal file
|
After Width: | Height: | Size: 531 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/login.png
Normal file
|
After Width: | Height: | Size: 712 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/login_bg.jpg
Normal file
|
After Width: | Height: | Size: 482 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/login_bg.png
Normal file
|
After Width: | Height: | Size: 443 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/login_bg2.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/login_icon.png
Normal file
|
After Width: | Height: | Size: 184 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/login_icon2.png
Normal file
|
After Width: | Height: | Size: 297 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/login_logo.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/login_logo2.png
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/login_password.png
Normal file
|
After Width: | Height: | Size: 531 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/login_title.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/login_username.png
Normal file
|
After Width: | Height: | Size: 665 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/logo.jpg
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/logo.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/logo_white.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/more.png
Normal file
|
After Width: | Height: | Size: 415 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/orange-group1.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/orange-group2.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/orange-group3.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/orange-group4.png
Normal file
|
After Width: | Height: | Size: 9.7 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/orange.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/preview.png
Normal file
|
After Width: | Height: | Size: 880 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/reduce.png
Normal file
|
After Width: | Height: | Size: 402 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/refresh.png
Normal file
|
After Width: | Height: | Size: 559 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/refresh2.png
Normal file
|
After Width: | Height: | Size: 398 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/remind.png
Normal file
|
After Width: | Height: | Size: 558 B |