commit:升级到vue3,更新最近工作流技术栈,支持sa-token
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 |
BIN
OrangeFormsOpen-VUE3/src/assets/img/resume_icon_add.png
Normal file
|
After Width: | Height: | Size: 364 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/right-icon.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/s-home.png
Normal file
|
After Width: | Height: | Size: 334 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/setting.png
Normal file
|
After Width: | Height: | Size: 876 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/sp1.png
Normal file
|
After Width: | Height: | Size: 309 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/spjd.png
Normal file
|
After Width: | Height: | Size: 753 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/spjd2.png
Normal file
|
After Width: | Height: | Size: 542 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/tj.png
Normal file
|
After Width: | Height: | Size: 540 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/tj2.png
Normal file
|
After Width: | Height: | Size: 396 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/vant.png
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
OrangeFormsOpen-VUE3/src/assets/img/wg.png
Normal file
|
After Width: | Height: | Size: 495 B |
BIN
OrangeFormsOpen-VUE3/src/assets/img/wg2.png
Normal file
|
After Width: | Height: | Size: 310 B |
331
OrangeFormsOpen-VUE3/src/assets/online-icon/iconfont.css
Normal file
@@ -0,0 +1,331 @@
|
||||
@font-face {
|
||||
font-family: "online-icon"; /* Project id 3701349 */
|
||||
src: url('iconfont.woff2?t=1706613476403') format('woff2'),
|
||||
url('iconfont.woff?t=1706613476403') format('woff'),
|
||||
url('iconfont.ttf?t=1706613476403') format('truetype');
|
||||
}
|
||||
|
||||
.online-icon {
|
||||
font-family: "online-icon" !important;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
/* Tabs */
|
||||
.icon-tabs2:before {
|
||||
content: "\e6c6";
|
||||
}
|
||||
/* card */
|
||||
.icon-card3:before {
|
||||
content: "\e6c7";
|
||||
}
|
||||
/* 消息 */
|
||||
.icon-message:before {
|
||||
content: "\e6c5";
|
||||
}
|
||||
/* 刷新 */
|
||||
.icon-custom-refresh:before {
|
||||
content: "\e6b3";
|
||||
}
|
||||
/* 行高设置 */
|
||||
.icon-table-row-height:before {
|
||||
content: "\e6bd";
|
||||
}
|
||||
/* 展开 */
|
||||
.icon-expand:before {
|
||||
content: "\e6b9";
|
||||
}
|
||||
/* 收缩 */
|
||||
.icon-unexpand:before {
|
||||
content: "\e6af";
|
||||
}
|
||||
/* 表格容器 */
|
||||
.icon-table-container:before {
|
||||
content: "\e6aa";
|
||||
}
|
||||
/* 关联选择 */
|
||||
.icon-data-select:before {
|
||||
content: "\e6ab";
|
||||
}
|
||||
|
||||
/* 普通进度条 */
|
||||
.icon-progress:before {
|
||||
content: "\e6a6";
|
||||
}
|
||||
/* 环形进度条 */
|
||||
.icon-circle-progress:before {
|
||||
content: "\e6a1";
|
||||
}
|
||||
/* 进度条卡片 */
|
||||
.icon-progress-card:before {
|
||||
content: "\e6a2";
|
||||
}
|
||||
/* 通用列表 */
|
||||
.icon-common-list:before {
|
||||
content: "\e6a3";
|
||||
}
|
||||
/* 通用卡片 */
|
||||
.icon-common-card:before {
|
||||
content: "\e6a5";
|
||||
}
|
||||
/* 漏斗图 */
|
||||
.icon-funnel:before {
|
||||
content: "\e69a";
|
||||
}
|
||||
/* 报表表格 */
|
||||
.icon-dataview:before {
|
||||
content: "\e69b";
|
||||
}
|
||||
/* 雷达图 */
|
||||
.icon-radar:before {
|
||||
content: "\e69c";
|
||||
}
|
||||
/* 轮播图 */
|
||||
.icon-carousel:before {
|
||||
content: "\e69d";
|
||||
}/* 报表富文本展示 */
|
||||
.icon-richtext:before {
|
||||
content: "\e69e";
|
||||
}
|
||||
|
||||
.icon-user:before {
|
||||
content: "\e677";
|
||||
}
|
||||
|
||||
.icon-card:before {
|
||||
content: "\e678";
|
||||
}
|
||||
|
||||
.icon-orange-icon:before {
|
||||
content: "\e679";
|
||||
}
|
||||
|
||||
/* 部门选择 */
|
||||
.icon-dept:before {
|
||||
content: "\e668";
|
||||
}
|
||||
/* 分隔线 */
|
||||
.icon-divider:before {
|
||||
content: "\e66f";
|
||||
}
|
||||
/* 文本显示框 */
|
||||
.icon-text:before {
|
||||
content: "\e670";
|
||||
}
|
||||
/* 表格 */
|
||||
.icon-table:before {
|
||||
content: "\e671";
|
||||
}
|
||||
/* 基础块 */
|
||||
.icon-block:before {
|
||||
content: "\e672";
|
||||
}
|
||||
/* 超链接 */
|
||||
.icon-link:before {
|
||||
content: "\e673";
|
||||
}
|
||||
/* 图片 */
|
||||
.icon-image:before {
|
||||
content: "\e674";
|
||||
}
|
||||
/* 上传组件 */
|
||||
.icon-upload:before {
|
||||
content: "\e675";
|
||||
}
|
||||
/* 富文本 */
|
||||
.icon-richeditor:before {
|
||||
content: "\e676";
|
||||
}
|
||||
/* 更多 */
|
||||
.icon-more:before {
|
||||
content: "\e65f";
|
||||
}
|
||||
/* 复选框 */
|
||||
.icon-checkbox:before {
|
||||
content: "\e66c";
|
||||
}
|
||||
/* 文字输入框 */
|
||||
.icon-input:before {
|
||||
content: "\e66d";
|
||||
}
|
||||
/* 数字输入框 */
|
||||
.icon-input-number:before {
|
||||
content: "\e66e";
|
||||
}
|
||||
/* 属性 */
|
||||
.icon-props:before {
|
||||
content: "\e66b";
|
||||
}
|
||||
/* 数据 */
|
||||
.icon-data:before {
|
||||
content: "\e661";
|
||||
}
|
||||
/* 单选框 */
|
||||
.icon-radio:before {
|
||||
content: "\e64b";
|
||||
}
|
||||
/* 关联 */
|
||||
.icon-relation:before {
|
||||
content: "\e64c";
|
||||
}
|
||||
/* 卡片 */
|
||||
.icon-card2:before {
|
||||
content: "\e64d";
|
||||
}
|
||||
/* PC */
|
||||
.icon-pc:before {
|
||||
content: "\e64e";
|
||||
}
|
||||
/* 复制 */
|
||||
.icon-copy:before {
|
||||
content: "\e64f";
|
||||
}
|
||||
/* 操作 */
|
||||
.icon-operator:before {
|
||||
content: "\e650";
|
||||
}
|
||||
/* 表单设计 */
|
||||
.icon-form-design:before {
|
||||
content: "\e651";
|
||||
}
|
||||
/* 基础信息 */
|
||||
.icon-basic-info:before {
|
||||
content: "\e653";
|
||||
}
|
||||
|
||||
.icon-shouqi-01:before {
|
||||
content: "\e654";
|
||||
}
|
||||
/* PAD */
|
||||
.icon-pad:before {
|
||||
content: "\e655";
|
||||
}
|
||||
/* 组件 */
|
||||
.icon-component:before {
|
||||
content: "\e656";
|
||||
}
|
||||
/* 日期范围选择 */
|
||||
.icon-date-range:before {
|
||||
content: "\e657";
|
||||
}
|
||||
/* close */
|
||||
.icon-close:before {
|
||||
content: "\e658";
|
||||
}
|
||||
/* 日期选择框 */
|
||||
.icon-date:before {
|
||||
content: "\e659";
|
||||
}
|
||||
/* 级联选择框 */
|
||||
.icon-cascader:before {
|
||||
content: "\e65a";
|
||||
}
|
||||
/* 筛选 */
|
||||
.icon-filter:before {
|
||||
content: "\e65b";
|
||||
}
|
||||
/* PHONE */
|
||||
.icon-phone:before {
|
||||
content: "\e65c";
|
||||
}
|
||||
/* 删除 */
|
||||
.icon-delete:before {
|
||||
content: "\e65d";
|
||||
}
|
||||
/* 脚本 */
|
||||
.icon-script:before {
|
||||
content: "\e65e";
|
||||
}
|
||||
|
||||
.icon-shujushi-01:before {
|
||||
content: "\e660";
|
||||
}
|
||||
|
||||
.icon-shujubiaodanshi-01:before {
|
||||
content: "\e662";
|
||||
}
|
||||
|
||||
.icon-zhongzhi-01:before {
|
||||
content: "\e663";
|
||||
}
|
||||
|
||||
.icon-sousuo-01:before {
|
||||
content: "\e664";
|
||||
}
|
||||
/* 下拉选择 */
|
||||
.icon-select:before {
|
||||
content: "\e665";
|
||||
}
|
||||
/* 数字范围选择 */
|
||||
.icon-number-range:before {
|
||||
content: "\e666";
|
||||
}
|
||||
|
||||
.icon-datasource:before {
|
||||
content: "\e667";
|
||||
}
|
||||
/* 开关组件 */
|
||||
.icon-switch:before {
|
||||
content: "\e669";
|
||||
}
|
||||
|
||||
.icon-xiala-01:before {
|
||||
content: "\e66a";
|
||||
}
|
||||
|
||||
/* 折线图 */
|
||||
.icon-linechart:before {
|
||||
content: "\e68f";
|
||||
}
|
||||
|
||||
.icon-scatterchart:before {
|
||||
content: "\e690";
|
||||
}
|
||||
|
||||
.icon-pivottable:before {
|
||||
content: "\e691";
|
||||
}
|
||||
|
||||
.icon-barchart:before {
|
||||
content: "\e692";
|
||||
}
|
||||
|
||||
.icon-piechart:before {
|
||||
content: "\e68e";
|
||||
}
|
||||
|
||||
.icon-tabs:before {
|
||||
content: "\e67a";
|
||||
}
|
||||
|
||||
.icon-align-top:before {
|
||||
content: "\e695";
|
||||
}
|
||||
|
||||
.icon-align-bottom:before {
|
||||
content: "\e696";
|
||||
}
|
||||
|
||||
.icon-align-middle:before {
|
||||
content: "\e697";
|
||||
}
|
||||
|
||||
.icon-align-center:before {
|
||||
content: "\e68d";
|
||||
}
|
||||
|
||||
.icon-align-left:before {
|
||||
content: "\e693";
|
||||
}
|
||||
|
||||
.icon-align-right:before {
|
||||
content: "\e694";
|
||||
}
|
||||
|
||||
.icon-flow-stauts:before {
|
||||
content: "\e69f";
|
||||
}
|
||||
|
||||
.icon-flow-design:before {
|
||||
content: "\e6a0";
|
||||
}
|
||||