This commit is contained in:
guochunsi
2025-12-31 17:40:01 +08:00
parent 6d94e91b70
commit 74c06bb8a0
713 changed files with 115034 additions and 46 deletions

8
.env
View File

@@ -57,3 +57,11 @@ VITE_ENABLE_ANTI_DEBUG=false
# 绕过反爬参数值 url?ddtk=参数值 # 绕过反爬参数值 url?ddtk=参数值
VITE_ANTI_DEBUG_KEY=pig VITE_ANTI_DEBUG_KEY=pig
# 不展示租户选择
VITE_TENANT_ENABLE = false
# 设置默认租户id
VITE_TENANT_ID = 1

1517
docs/hooks使用指南.md Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,516 @@
# useTable 与 search-form 组件兼容使用说明
## 概述
`useTable` Hook **完全兼容**自定义 `<search-form>` 组件。只需要将搜索表单的数据对象作为 `queryForm` 传入即可。
## 兼容原理
1. **`search-form` 组件**:只是一个表单包装器,接收 `model` prop 绑定到内部的 `el-form`
2. **`useTable` Hook**:接收 `queryForm` 对象,会自动将其合并到 API 请求参数中
3. **两者配合**:将 `search-form``model` 对象作为 `useTable``queryForm` 传入即可
## 改造示例
### 当前代码(手动管理)
```vue
<template>
<!-- 搜索表单 -->
<search-form
v-show="showSearch"
:model="search"
ref="searchFormRef"
@keyup-enter="handleFilter(search)"
>
<!-- 表单项 -->
</search-form>
<!-- 表格 -->
<el-table :data="tableData" v-loading="tableLoading">
<!-- 表格列 -->
</el-table>
<!-- 分页 -->
<pagination
:current="page.currentPage"
:size="page.pageSize"
:total="page.total"
@currentChange="currentChange"
@sizeChange="handleSizeChange"
/>
</template>
<script setup lang="ts">
const search = reactive({
deptCode: '',
realName: '',
teacherNo: '',
// ... 其他字段
})
const tableData = ref([])
const tableLoading = ref(false)
const page = reactive({
currentPage: 1,
pageSize: 10,
total: 0
})
const params = ref<any>({})
// 手动实现数据加载
const getList = (page: any) => {
tableLoading.value = true
fetchList(Object.assign({
current: page.currentPage,
size: page.pageSize
}, params.value)).then((response: any) => {
tableData.value = response.data.record.records
page.total = response.data.record.total
tableLoading.value = false
})
}
// 手动实现分页
const currentChange = (val: number) => {
page.currentPage = val
getList(page)
}
const handleSizeChange = (val: number) => {
page.pageSize = val
page.currentPage = 1
getList(page)
}
// 查询
const handleFilter = (param: any) => {
params.value = { ...param }
page.currentPage = 1
getList(page)
}
onMounted(() => {
getList(page)
})
</script>
```
### 改造后代码(使用 useTable
```vue
<template>
<!-- 搜索表单 - 保持不变 -->
<search-form
v-show="showSearch"
:model="search"
ref="searchFormRef"
@keyup-enter="handleFilter(search)"
>
<!-- 表单项 -->
</search-form>
<!-- 表格 - 使用 state.dataList state.loading -->
<el-table
:data="state.dataList"
v-loading="state.loading"
:cell-style="tableStyle.cellStyle"
:header-cell-style="tableStyle.headerCellStyle"
>
<!-- 表格列 -->
</el-table>
<!-- 分页 - 使用 state.pagination -->
<pagination
:current="state.pagination.current"
:size="state.pagination.size"
:total="state.pagination.total"
@currentChange="currentChangeHandle"
@sizeChange="sizeChangeHandle"
/>
</template>
<script setup lang="ts">
import { BasicTableProps, useTable } from '/@/hooks/table'
import { fetchList } from '/@/api/professional/teacherbase'
// 搜索表单数据 - 保持不变
const search = reactive({
deptCode: '',
realName: '',
teacherNo: '',
// ... 其他字段
})
// 额外参数(如 flag 等)
const params = ref<any>({})
// 配置 useTable
const state: BasicTableProps = reactive<BasicTableProps>({
// 将 search 对象作为 queryForm
queryForm: search,
// 自定义 pageList 方法,合并额外参数
pageList: async (queryParams: any) => {
// 合并 search 和 params 中的额外参数
return await fetchList({
...queryParams,
...params.value
})
},
// 数据属性映射(根据后端返回结构调整)
props: {
item: 'record.records', // 数据列表路径
totalCount: 'record.total' // 总数字段路径
},
// 数据加载完成后的回调
onLoaded: async (state) => {
// 数据转换逻辑
state.dataList = convertDictData(state.dataList)
// 其他处理逻辑(如 auditAll
// ...
}
})
// 使用 useTable Hook
const {
getDataList,
currentChangeHandle,
sizeChangeHandle,
tableStyle,
state
} = useTable(state)
// 查询方法 - 简化
const handleFilter = (param: any) => {
// 更新额外参数
params.value = { ...param }
// 调用 getDataList 刷新数据(会自动跳转到第一页)
getDataList()
}
// 重置查询
const resetQuery = () => {
searchFormRef.value?.formRef?.resetFields()
// 重置 search 对象
Object.keys(search).forEach(key => {
search[key] = ''
})
params.value = {}
getDataList()
}
// 其他需要刷新表格的地方
const handelQuickSeach = (val: any) => {
params.value.flag = val
getDataList() // 使用 getDataList 替代 getList(page)
}
const updateInoutFlag = (row: any, val: any) => {
const updateParams = {"teacherNo": row.teacherNo, "inoutFlag": val}
messageBox.confirm('确认操作?').then(() => {
updateInout(updateParams).then((res: any) => {
message.success("修改成功")
getDataList(false) // 刷新但保持当前页
})
})
}
// 数据转换函数(保持不变)
const convertDictData = (records: any[]) => {
// ... 转换逻辑
return records
}
</script>
```
## 关键改造点
### 1. 导入 useTable
```typescript
import { BasicTableProps, useTable } from '/@/hooks/table'
```
### 2. 配置 state
```typescript
const state: BasicTableProps = reactive<BasicTableProps>({
queryForm: search, // 将 search 对象作为 queryForm
pageList: fetchList, // 或自定义方法
props: {
item: 'record.records',
totalCount: 'record.total'
}
})
```
### 3. 处理额外参数
如果查询时需要额外的参数(如 `params.value.flag`),有两种方式:
#### 方式一:自定义 pageList 方法(推荐)
```typescript
const params = ref<any>({})
const state: BasicTableProps = reactive<BasicTableProps>({
queryForm: search,
pageList: async (queryParams: any) => {
// 合并额外参数
return await fetchList({
...queryParams,
...params.value // 合并额外参数
})
}
})
```
#### 方式二:在 onLoaded 中处理
```typescript
const state: BasicTableProps = reactive<BasicTableProps>({
queryForm: search,
pageList: fetchList,
onLoaded: async (state) => {
// 可以在这里处理数据转换等逻辑
}
})
```
### 4. 替换数据引用
| 原代码 | 改造后 |
|--------|--------|
| `tableData` | `state.dataList` |
| `tableLoading` | `state.loading` |
| `page.currentPage` | `state.pagination.current` |
| `page.pageSize` | `state.pagination.size` |
| `page.total` | `state.pagination.total` |
### 5. 替换方法调用
| 原代码 | 改造后 |
|--------|--------|
| `getList(page)` | `getDataList()``getDataList(false)` |
| `currentChange(val)` | `currentChangeHandle(val)` |
| `handleSizeChange(val)` | `sizeChangeHandle(val)` |
### 6. 处理数据转换
如果需要在数据加载后进行转换,使用 `onLoaded` 回调:
```typescript
const state: BasicTableProps = reactive<BasicTableProps>({
queryForm: search,
pageList: fetchList,
onLoaded: async (state) => {
// 字典数据转换
state.dataList = convertDictData(state.dataList)
// 处理 auditAll 等逻辑
// 注意:需要在 API 响应中获取,或通过其他方式处理
}
})
```
## 完整改造示例(针对当前页面)
```typescript
// 1. 导入 useTable
import { BasicTableProps, useTable } from '/@/hooks/table'
// 2. 搜索表单数据(保持不变)
const search = reactive({
deptCode: '',
secDeptCode: '',
tied: '',
realName: '',
teacherNo: '',
retireDate: '',
pfTitleId: '',
stationDutyLevelId: '',
politicsStatus: '',
teacherCate: '',
inoutFlag: ''
})
// 3. 额外参数(用于 flag 等)
const params = ref<any>({})
// 4. 配置 useTable
const state: BasicTableProps = reactive<BasicTableProps>({
queryForm: search, // 将 search 作为 queryForm
// 自定义 pageList合并额外参数
pageList: async (queryParams: any) => {
// 合并 search 和 params
const mergedParams = {
...queryParams,
...params.value,
tied: search.tied // 如果需要特殊处理
}
return await fetchList(mergedParams)
},
// 数据属性映射
props: {
item: 'record.records',
totalCount: 'record.total'
},
// 数据加载完成回调
onLoaded: async (state) => {
// 字典数据转换
state.dataList = convertDictData(state.dataList)
// 注意auditAll 需要从 API 响应中获取
// 如果 API 返回在 response.data.auditAll需要特殊处理
}
})
// 5. 使用 useTable
const {
getDataList,
currentChangeHandle,
sizeChangeHandle,
tableStyle,
state
} = useTable(state)
// 6. 查询方法(简化)
const handleFilter = (param: any) => {
params.value = { ...param }
getDataList() // 自动跳转到第一页
}
// 7. 重置查询
const resetQuery = () => {
searchFormRef.value?.formRef?.resetFields()
Object.keys(search).forEach(key => {
search[key] = ''
})
params.value = {}
getDataList()
}
// 8. 快速查询
const handelQuickSeach = (val: any) => {
params.value.flag = val
getDataList()
}
// 9. 其他需要刷新的地方
const updateInoutFlag = (row: any, val: any) => {
const updateParams = {"teacherNo": row.teacherNo, "inoutFlag": val}
messageBox.confirm('确认操作?').then(() => {
updateInout(updateParams).then((res: any) => {
message.success("修改成功")
getDataList(false) // 保持当前页
})
})
}
```
## 注意事项
### 1. API 响应结构
如果 API 返回结构是 `response.data.record.records`,需要配置 `props`
```typescript
props: {
item: 'record.records',
totalCount: 'record.total'
}
```
### 2. 额外参数处理
如果查询时需要额外的参数(不在 `search` 对象中),使用自定义 `pageList` 方法合并:
```typescript
pageList: async (queryParams: any) => {
return await fetchList({
...queryParams,
...params.value, // 额外参数
// 或其他特殊参数
})
}
```
### 3. 数据转换
如果需要在数据加载后进行转换,使用 `onLoaded` 回调:
```typescript
onLoaded: async (state) => {
state.dataList = convertDictData(state.dataList)
}
```
### 4. 特殊响应字段
如果 API 响应中有特殊字段(如 `auditAll`),需要在 `onLoaded` 中处理,或者自定义 `pageList` 方法:
```typescript
pageList: async (queryParams: any) => {
const response = await fetchList({
...queryParams,
...params.value
})
// 处理特殊字段
if (response.data.auditAll == '0') {
auditAll.value = false
} else {
auditAll.value = true
}
return response
}
```
### 5. 初始化数据加载
`useTable` 默认会在 `onMounted` 时自动加载数据。如果不需要自动加载,设置:
```typescript
const state: BasicTableProps = reactive<BasicTableProps>({
queryForm: search,
pageList: fetchList,
createdIsNeed: false // 禁用自动加载
})
// 手动调用
onMounted(() => {
init()
loadSearchDictData()
getDataList() // 手动加载
})
```
## 优势总结
使用 `useTable` 后:
1.**代码量减少**:不需要手动管理 `tableData``tableLoading``page`
2.**自动状态管理**loading、分页、数据自动管理
3.**统一方法**`getDataList()` 统一刷新数据
4.**兼容性好**:完全兼容自定义 `search-form` 组件
5.**灵活扩展**:支持自定义 `pageList``onLoaded` 等回调
## 总结
**`useTable` 完全兼容自定义 `<search-form>` 组件**,只需要:
1.`search` 对象作为 `queryForm` 传入
2. 使用 `state.dataList``state.loading``state.pagination` 替代手动管理的状态
3. 使用 `getDataList()` 替代 `getList(page)`
4. 使用 `currentChangeHandle``sizeChangeHandle` 替代手动分页方法
如果有额外参数或特殊处理,使用自定义 `pageList` 方法或 `onLoaded` 回调即可。

309
docs/按钮样式规范.md Normal file
View File

@@ -0,0 +1,309 @@
# 按钮样式设计规范
本文档定义了项目中按钮组件的样式规范包括实心按钮和Plain按钮的使用规则确保整个应用的按钮样式统一、协调、美观。
## 一、按钮类型分类
### 1. 实心按钮Solid- 用于最重要的操作
**使用场景:**
- 新增、创建操作
- 保存、提交操作
- 确认、确定操作
- 删除等危险操作(需要突出警示)
**视觉特点:**
- 实心填充,高对比度
- 突出显示,吸引用户注意力
- 通常位于操作区域的主要位置
**代码示例:**
```vue
<!-- 主要操作新增 -->
<el-button type="primary" icon="Plus" @click="handleAdd"> </el-button>
<!-- 危险操作删除 -->
<el-button type="danger" icon="Delete" @click="handleDelete"> </el-button>
```
### 2. Plain按钮边框样式- 用于次要操作
**使用场景:**
- 查询、搜索操作
- 导出、导入操作
- 设置、配置操作
- 辅助功能操作
**视觉特点:**
- 边框+透明背景
- 不抢夺视觉焦点
- 保持页面协调统一
- 适合批量操作按钮
**代码示例:**
```vue
<!-- 查询操作 -->
<el-button type="primary" plain icon="Search" @click="handleSearch">查询</el-button>
<!-- 导出操作 -->
<el-button type="primary" plain icon="Download" @click="handleExport">导出</el-button>
<!-- 导入操作 -->
<el-button type="primary" plain icon="Upload" @click="handleImport">导入</el-button>
```
### 3. 默认按钮 - 用于中性操作
**使用场景:**
- 设置、配置操作
- 状态切换操作
- 中性功能操作
**视觉特点:**
- 灰色系,低调不突出
- 适合不重要的操作
**代码示例:**
```vue
<!-- 设置操作 -->
<el-button icon="Setting" @click="handleSetting">状态锁定</el-button>
```
## 二、配色方案
> **设计原则:** 在保持项目默认样式的基础上,通过颜色区分不同操作类型,提升视觉层次和识别度。
### 主要操作按钮
- **类型:** `type="primary"` 实心
- **颜色:** 蓝色实心填充
- **用途:** 新增、保存、提交等主要操作
- **示例:** 新增按钮
### 查询操作按钮
- **类型:** `type="primary" plain`
- **颜色:** 蓝色边框 + 透明背景
- **用途:** 查询、搜索、筛选等操作
- **示例:** 一体化查询、搜索按钮
- **说明:** 与主要操作保持同一色系,体现关联性
### 导出操作按钮
- **类型:** `type="warning" plain`
- **颜色:** 橙色边框 + 透明背景
- **用途:** 数据导出、下载等操作
- **示例:** 导出WORD、自定义导出
- **说明:** 橙色表示数据输出,与导入形成对比
### 导入操作按钮
- **类型:** `type="primary" plain`
- **颜色:** 蓝色边框 + 透明背景
- **用途:** 数据导入、上传等操作
- **示例:** 导入信息
- **说明:** 保持项目默认样式,与查询操作保持一致
### 设置操作按钮
- **类型:** 默认样式无type属性
- **颜色:** 灰色系
- **用途:** 设置、配置、状态锁定等中性操作
- **示例:** 状态锁定按钮
### 危险操作按钮
- **类型:** `type="danger"` 实心 或 `type="danger" plain`
- **颜色:** 红色
- **用途:** 删除、清空等危险操作
- **示例:** 删除按钮
## 三、按钮图标规范
所有按钮应配合相应的图标使用,提升用户体验和视觉识别度。
### 常用图标映射
| 操作类型 | 图标名称 | 说明 |
|---------|---------|------|
| 新增/添加 | `FolderAdd` | 文件夹加号图标(项目默认) |
| 查询/搜索 | `Search` | 搜索图标 |
| 导出/下载 | `Download` | 下载图标 |
| 导入/上传 | `Upload` | 上传图标(项目默认) |
| 编辑/修改 | `Edit` | 编辑图标 |
| 删除 | `Delete` | 删除图标 |
| 查看/详情 | `View` | 查看图标 |
| 设置/配置 | `Setting` | 设置图标 |
| 锁定/解锁 | `Lock` | 锁定图标 |
| 刷新/重置 | `Refresh` | 刷新图标 |
| 用户相关 | `User` | 用户图标 |
### 图标使用示例
```vue
<el-button type="primary" icon="FolderAdd" @click="handleAdd"> </el-button>
<el-button type="primary" plain icon="Search" @click="handleSearch">查询</el-button>
<el-button type="warning" plain icon="Download" @click="handleExport">导出</el-button>
<el-button type="primary" plain icon="Upload" @click="handleImport">导入</el-button>
```
## 四、按钮尺寸规范
### 默认尺寸default
- 用于页面主要操作区域的按钮
- 高度32pxElement Plus默认
### 小尺寸small
- 用于表格操作列、对话框底部等空间受限的场景
- 高度24px
- 使用 `size="small"` 属性
```vue
<!-- 表格操作列 -->
<el-button type="primary" link size="small" @click="handleEdit">编辑</el-button>
```
### 链接按钮link
- 用于表格操作列,节省空间
- 使用 `link` 属性
```vue
<el-button type="primary" link size="small" @click="handleView">查看</el-button>
```
## 五、按钮布局规范
### 按钮间距
- 按钮之间使用 `class="ml10"` 保持10px的左边距
- 确保按钮组视觉统一
```vue
<el-button type="primary" icon="FolderAdd"> </el-button>
<el-button type="primary" plain icon="Search" class="ml10">查询</el-button>
<el-button type="warning" plain icon="Download" class="ml10">导出</el-button>
<el-button type="primary" plain icon="Upload" class="ml10">导入</el-button>
```
### 按钮分组
- 相关功能的按钮应放在一起
- 主要操作按钮放在最前面
- 次要操作按钮放在后面
## 六、完整示例
### 页面操作按钮组示例
```vue
<el-row>
<div class="mb15" style="width: 100%;">
<!-- 主要操作新增 -->
<el-button
type="primary"
icon="FolderAdd"
@click="handleAdd"
v-if="permissions.add">
</el-button>
<!-- 查询操作使用 primary plain 样式 -->
<el-button
type="primary"
plain
icon="Search"
class="ml10"
@click="handleSearch">查询
</el-button>
<!-- 导出操作使用 warning plain 样式橙色边框 -->
<el-button
type="warning"
plain
icon="Download"
class="ml10"
@click="handleExport">导出
</el-button>
<!-- 导入操作使用 primary plain 样式蓝色边框保持项目默认样式 -->
<el-button
type="primary"
plain
icon="Upload"
class="ml10"
@click="handleImport">导入
</el-button>
<!-- 设置操作使用默认样式 -->
<el-button
icon="Setting"
class="ml10"
@click="handleSetting">设置
</el-button>
</div>
</el-row>
```
### 表格操作列示例
```vue
<el-table-column label="操作" width="200" align="center" fixed="right">
<template #default="scope">
<el-button
type="primary"
link
size="small"
@click="handleEdit(scope.row)">编辑
</el-button>
<el-button
type="danger"
link
size="small"
@click="handleDelete(scope.row)">删除
</el-button>
</template>
</el-table-column>
```
## 七、最佳实践
1. **一致性原则**
- 相同功能的按钮在整个应用中应使用相同的样式
- 保持图标和颜色的统一性
2. **层次分明**
- 主要操作使用实心按钮,突出显示
- 次要操作使用Plain按钮保持协调
3. **语义化**
- 按钮的颜色和样式应与其功能语义相匹配
- 危险操作使用红色,数据操作使用绿色等
4. **用户体验**
- 重要操作按钮应放在显眼位置
- 按钮文字应简洁明了
- 配合图标提升识别度
5. **响应式考虑**
- 在移动端或小屏幕设备上,考虑使用更紧凑的布局
- 使用 `size="small"` 适应空间限制
## 八、注意事项
1. **避免过度使用实心按钮**
- 一个页面中实心按钮不应过多通常1-2个主要操作即可
- 过多的实心按钮会分散用户注意力
2. **Plain按钮的优势**
- Plain按钮视觉更柔和适合批量操作
- 不会抢夺主要操作的视觉焦点
3. **图标选择**
- 图标应与操作功能语义匹配
- 使用Element Plus内置图标保持一致性
4. **权限控制**
- 按钮应根据用户权限显示/隐藏
- 使用 `v-if` 控制按钮的显示
## 九、更新记录
- **2024-XX-XX**: 创建按钮样式规范文档
- 规范版本v1.0
---
**维护者:** 前端开发团队
**最后更新:** 2024年

View File

@@ -15,11 +15,12 @@
"@axolo/json-editor-vue": "^0.3.2", "@axolo/json-editor-vue": "^0.3.2",
"@chenfengyuan/vue-qrcode": "^2.0.0", "@chenfengyuan/vue-qrcode": "^2.0.0",
"@element-plus/icons-vue": "^2.0.10", "@element-plus/icons-vue": "^2.0.10",
"@jackrolling/jsonflow3": "2.3.0",
"@tinymce/tinymce-vue": "^4.0.5",
"@form-create/element-ui": "3.2.20", "@form-create/element-ui": "3.2.20",
"@fortawesome/fontawesome-free": "^7.1.0",
"@jackrolling/jsonflow3": "2.3.0",
"@microsoft/fetch-event-source": "^2.0.1", "@microsoft/fetch-event-source": "^2.0.1",
"@popperjs/core": "2.11.8", "@popperjs/core": "2.11.8",
"@tinymce/tinymce-vue": "^4.0.5",
"@vue-office/docx": "1.6.3", "@vue-office/docx": "1.6.3",
"@vueuse/core": "^10.4.1", "@vueuse/core": "^10.4.1",
"@wangeditor/editor": "5.1.23", "@wangeditor/editor": "5.1.23",
@@ -49,16 +50,16 @@
"mitt": "^3.0.0", "mitt": "^3.0.0",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"pinia": "2.0.32", "pinia": "2.0.32",
"print-js": "^1.6.0",
"postcss": "8.4.40", "postcss": "8.4.40",
"print-js": "^1.6.0",
"qrcode": "1.5.1", "qrcode": "1.5.1",
"qs": "^6.11.0", "qs": "^6.11.0",
"screenfull": "^6.0.2", "screenfull": "^6.0.2",
"sm-crypto": "^0.3.12", "sm-crypto": "^0.3.12",
"sortablejs": "^1.15.0", "sortablejs": "^1.15.0",
"splitpanes": "^3.1.5", "splitpanes": "^3.1.5",
"tinymce": "^5.10.2",
"tailwindcss": "3.4.17", "tailwindcss": "3.4.17",
"tinymce": "^5.10.2",
"v-calendar": "3.1.2", "v-calendar": "3.1.2",
"vue": "3.4.15", "vue": "3.4.15",
"vue-audio-record": "0.0.7", "vue-audio-record": "0.0.7",

View File

@@ -7,6 +7,17 @@ export const getDicts = (type: String) => {
}); });
}; };
/**
* 获取字典类型值
* @param type
*/
export function getTypeValue(type: string | number) {
return request({
url: `/admin/dict/item/type/${type}`,
method: 'get',
});
}
export function fetchList(query: any) { export function fetchList(query: any) {
return request({ return request({
url: '/admin/dict/list', url: '/admin/dict/list',

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/appbanner/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/appbanner',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/appbanner/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/appbanner/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/appbanner',
method: 'put',
data: obj,
});
};

236
src/api/basic/basicclass.ts Normal file
View File

@@ -0,0 +1,236 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/basicclass/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/basicclass',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/basicclass/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/basicclass/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/basicclass',
method: 'put',
data: obj,
});
};
/**
* 批量更新规则
* @param obj
*/
export const putObjs = (obj: any) => {
return request({
url: '/basic/basicclass/batchUpdataRuleById',
method: 'post',
data: obj,
});
};
/**
* 根据信息查询所有班级
* @param query
*/
export const queryAllClassByInfo = (query: string | number) => {
return request({
url: `/basic/basicclass/queryAllClassByInfo/${query}`,
method: 'get',
});
};
/**
* 根据专业查询班级年级
* @param query
*/
export const queryClassGradeByMajor = (query: string | number) => {
return request({
url: `/basic/basicclass/queryClassGradeByMajor/${query}`,
method: 'get',
});
};
/**
* 根据班级编号获取班级信息
* @param obj
*/
export const getClassByClassNo = (obj: string | number) => {
return request({
url: `/basic/basicclass/queryClassInfoByCode/${obj}`,
method: 'get',
});
};
/**
* 获取专业名称列表
*/
export const getMajorNameList = () => {
return request({
url: '/basic/major/getMajorNameList',
method: 'get',
});
};
/**
* 获取二级学院列表
*/
export const getDeptList = () => {
return request({
url: '/basic/basicdept/getDeptList?secondFlag=1',
method: 'get',
});
};
/**
* 获取二级部门列表
*/
export const getDeptListByLevel2 = () => {
return request({
url: '/basic/basicdept/getDeptList?deptLevel=2',
method: 'get',
});
};
/**
* 查询所有年级列表
*/
export const queryAllGradeList = () => {
return request({
url: '/basic/basicclass/queryAllGradeList',
method: 'get',
});
};
/**
* 获取年级列表
*/
export const getGradeList = () => {
return request({
url: '/basic/basicclass/getGradeList',
method: 'get',
});
};
/**
* 根据部门代码查询班级
* @param id
*/
export const queryClassByDeptCode = (id: string | number) => {
return request({
url: `/basic/basicclass/queryClassByDeptCode/${id}`,
method: 'get',
});
};
/**
* 根据查询条件查询班级名称和编号
* @param query
*/
export const queryClassNameAndNoByQuery = (query: string | number) => {
return request({
url: `/basic/basicclass/queryClassNameAndNoByQuery/${query}`,
method: 'get',
});
};
/**
* 获取列表
*/
export const list = () => {
return request({
url: '/basic/basicclass/list',
method: 'get',
});
};
/**
* 查班级列表 - 班主任角色查自己班级
*/
export const getClassListByRole = () => {
return request({
url: '/basic/basicclass/listByRole',
method: 'get',
});
};
/**
* 查询所有非离校班级
*/
export const queryNoLeavelClass = () => {
return request({
url: '/basic/basicclass/queryNoLeavelClass',
method: 'get',
});
};
/**
* 获取班级流失情况
* @param query
*/
export const getClassLose = (query?: any) => {
return request({
url: '/basic/basicclass/getClassLose',
method: 'get',
params: query,
});
};

212
src/api/basic/basicdept.ts Normal file
View File

@@ -0,0 +1,212 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取树形列表
* @param query
*/
export const fetchTree = (query?: any) => {
return request({
url: '/basic/basicdept/tree',
method: 'get',
params: query,
});
};
/**
* 获取二级树形列表
* @param query
*/
export const fetchSecondTree = (query?: any) => {
return request({
url: '/basic/basicdept/secondTree',
method: 'get',
params: query,
});
};
/**
* 获取开放部门树形列表
* @param query
*/
export const fetchOpenDeptTree = (query?: any) => {
return request({
url: '/basic/basicdept/openDeptTree',
method: 'get',
params: query,
});
};
/**
* 获取级联选择器树形列表
* @param query
*/
export const treeForCascader = (query?: any) => {
return request({
url: '/basic/basicdept/treeForCascader',
method: 'get',
params: query,
});
};
/**
* 获取培训树形列表
* @param query
*/
export const treeForTrain = (query?: any) => {
return request({
url: '/basic/basicdept/treeForTrain',
method: 'get',
params: query,
});
};
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/basicdept/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/basicdept',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/basicdept/${id}`,
method: 'get',
});
};
/**
* 根据部门代码获取部门信息
* @param code
*/
export const getDeptByCode = (code: string | number) => {
return request({
url: `/basic/basicdept/deptcode/${code}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/basicdept/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/basicdept',
method: 'put',
data: obj,
});
};
/**
* 根据部门代码获取培训部门
* @param obj
*/
export const getTrainDeptByDeptCode = (obj: string | number) => {
return request({
url: `/basic/basicdept/getTrainDeptByDeptCode/${obj}`,
method: 'get',
});
};
/**
* 获取教务开课部门
*/
export const getTeachDept = () => {
return request({
url: '/basic/basicdept/getDeptList?teachFlag=1',
method: 'get',
});
};
/**
* 获取培训部门
*/
export const getTrainDept = () => {
return request({
url: '/basic/basicdept/getDeptList?trainFlag=1',
method: 'get',
});
};
/**
* 获取合同起草部门 - 二级部门
*/
export const getDeptListByLevelTwo = () => {
return request({
url: '/basic/basicdept/getDeptListByLevelTwo',
method: 'get',
});
};
/**
* 人事人员调动 - 二级联动查询子级部门列表
* @param deptCode
*/
export const getDeptListByParent = (deptCode: string | number) => {
return request({
url: `/basic/basicdept/getDeptListByParent/${deptCode}`,
method: 'get',
});
};
/**
* 获取带教师的部门列表
* @param query
*/
export const getDeptWithTeacher = (query?: any) => {
return request({
url: '/basic/basicdept/getDeptWithTeacher',
method: 'get',
params: query,
});
};

View File

@@ -0,0 +1,112 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/basicholiday/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/basicholiday',
method: 'post',
data: obj,
});
};
/**
* 制作假期
* @param obj
*/
export const makeHoliday = (obj: any) => {
return request({
url: '/basic/basicholiday/makeHoliday',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/basicholiday/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/basicholiday/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/basicholiday',
method: 'put',
data: obj,
});
};
/**
* 获取工作日
* @param schoolYear
*/
export const getWorkDay = (schoolYear: string | number) => {
return request({
url: `/basic/basicholiday/getWorkDay/${schoolYear}`,
method: 'get',
});
};
/**
* 获取假期日期列表
* @param query
*/
export const getHolidayDayList = (query?: any) => {
return request({
url: '/basic/basicholiday/getHolidayDayList',
method: 'get',
params: query,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/basicidcardposition/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/basicidcardposition',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/basicidcardposition/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/basicidcardposition/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/basicidcardposition',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,97 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/basicnation/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/basicnation',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/basicnation/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/basicnation/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/basicnation',
method: 'put',
data: obj,
});
};
/**
* 获取民族列表
*/
export const getNationalList = () => {
return request({
url: '/basic/basicnation/getNationalList',
method: 'get',
});
};
/**
* 获取民族字典
*/
export const getNationalDict = () => {
return request({
url: '/basic/basicnation/getNationalDict',
method: 'get',
});
};

View File

@@ -0,0 +1,97 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/basicpoliticsstatusbase/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/basicpoliticsstatusbase',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/basicpoliticsstatusbase/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/basicpoliticsstatusbase/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/basicpoliticsstatusbase',
method: 'put',
data: obj,
});
};
/**
* 获取政治面貌列表
*/
export const getPoliticsStatusList = () => {
return request({
url: '/basic/basicpoliticsstatusbase/getPoliticsStatusList',
method: 'get',
});
};
/**
* 获取政治面貌字典
*/
export const getPoliticsStatusDict = () => {
return request({
url: '/basic/basicpoliticsstatusbase/getPoliticsStatusDict',
method: 'get',
});
};

View File

@@ -0,0 +1,465 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/basicstudent/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/basicstudent',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/basicstudent/${id}`,
method: 'get',
});
};
/**
* 根据学号获取信息
* @param stuNo
*/
export const getInfo = (stuNo: string | number) => {
return request({
url: `/basic/basicstudent/getInfoByStuNo/${stuNo}`,
method: 'get',
});
};
/**
* 获取学生信息
* @param query
*/
export const getStuInfo = (query: any) => {
return request({
url: '/basic/basicstudent/getStuInfo',
method: 'post',
data: query,
});
};
/**
* 获取学生医生日志
* @param query
*/
export const getStuDocterLog = (query?: any) => {
return request({
url: '/stuwork/stuvisitlog/getStuDocterLog',
method: 'get',
params: query,
});
};
/**
* 根据ID获取学生医生信息
* @param query
*/
export const getStuDocterById = (query?: any) => {
return request({
url: '/stuwork/stuvisitlog',
method: 'get',
params: query,
});
};
/**
* 添加学生医生信息
* @param obj
*/
export const addStuDocter = (obj: any) => {
return request({
url: '/stuwork/stuvisitlog',
method: 'post',
data: obj,
});
};
/**
* 删除学生医生信息
* @param query
*/
export const delStuDocter = (query: any) => {
return request({
url: '/stuwork/stuvisitlog/removeById',
method: 'post',
data: query,
});
};
/**
* 添加处理
* @param query
*/
export const addHand = (query: any) => {
return request({
url: '/stuwork/stuvisitlog/addHand',
method: 'post',
data: query,
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/basicstudent/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/basicstudent',
method: 'put',
data: obj,
});
};
/**
* 保存学生
* @param obj
*/
export const saveStu = (obj: any) => {
return request({
url: '/basic/basicstudent/saveStu',
method: 'post',
data: obj,
});
};
/**
* 编辑是否负责人
* @param obj
*/
export const editIsleader = (obj: any) => {
return request({
url: '/basic/basicstudent/editIsleader',
method: 'put',
data: obj,
});
};
/**
* 修改学生信息(idCard,bankCard,phone) - 免学费申请时
* @param obj
*/
export const updateStuInfo = (obj: any) => {
return request({
url: '/basic/basicstudent/updateStuInfo',
method: 'put',
data: obj,
});
};
/**
* 根据班级代码获取学生
* @param classCode
*/
export const getSttudentByClassCode = (classCode: string | number) => {
return request({
url: `/basic/basicstudent/initStuScoreData/${classCode}`,
method: 'get',
});
};
/**
* 根据班级查询学生列表
* @param query
*/
export const queryStudentListByClass = (query?: any) => {
return request({
url: '/basic/basicstudent/queryStudentListByClass',
method: 'get',
params: query,
});
};
/**
* 查询成绩列表
* @param query
*/
export const queryScoreList = (query?: any) => {
return request({
url: '/basic/basicstudent/queryScoreData',
method: 'post',
params: query,
});
};
/**
* 根据班级代码查询学生数量
* @param query
*/
export const queryStuNumByClassCode = (query?: any) => {
return request({
url: '/basic/basicstudent/queryStuNumByClassCode',
method: 'get',
params: query,
});
};
/**
* 打印前准备
* @param stuNo
*/
export const prePrint = (stuNo: string | number) => {
return request({
url: `/basic/basicstudent/prePrint/${stuNo}`,
method: 'get',
});
};
/**
* 更换随机二维码
* @param stuNo
* @param qrStr
*/
export const changeQrStr = (stuNo: string | number, qrStr: string) => {
return request({
url: `/basic/basicstudent/changeQrStr/${stuNo}/${qrStr}`,
method: 'get',
});
};
/**
* 获取学生状态
*/
export const getStuStatus = () => {
return request({
url: '/admin/dict/item/type/student_status',
method: 'get',
});
};
/**
* 重置密码
* @param data
*/
export const resetPassWord = (data: any) => {
return request({
url: '/basic/basicstudent/resetPassWord',
method: 'post',
data: data,
});
};
/**
* 根据学号查询在校学生
* @param data
*/
export const queryStudentByStuNo = (data?: any) => {
return request({
url: '/basic/basicstudent/queryStudentByStuNo',
method: 'get',
params: data,
});
};
/**
* 根据学号后6位查询在校学生
* @param data
*/
export const queryStudentByLastStuNo = (data?: any) => {
return request({
url: '/basic/basicstudent/queryStudentByLastStuNo',
method: 'get',
params: data,
});
};
/**
* 根据学号查询学生
* @param data
*/
export const queryAllStudentByStuNo = (data?: any) => {
return request({
url: '/basic/basicstudent/queryAllStudentByStuNo',
method: 'get',
params: data,
});
};
/**
* 根据班级代码查询所有学生
* @param classCode
*/
export const queryAllStudentByClassCode = (classCode: string | number) => {
return request({
url: `/basic/basicstudent/queryAllStudentByClassCode/${classCode}`,
method: 'get',
});
};
/**
* 导出头像
* @param data
*/
export const getDownPic = (data?: any) => {
return request({
url: '/basic/basicstudent/getDownPic',
method: 'get',
responseType: 'blob',
headers: { 'Content-Type': 'application/json; application/octet-stream' },
params: data,
});
};
/**
* 更新进出状态
* @param data
*/
export const updateInout = (data: any) => {
return request({
url: '/basic/basicstudent/updateInout',
method: 'post',
data: data,
});
};
/**
* 批量打印前准备
* @param data
*/
export const preBatchPrint = (data: any) => {
return request({
url: '/basic/basicstudent/preBatchPrint',
method: 'post',
data: data,
});
};
/**
* 查询学生信息(成绩答辩用)
* @param query
*/
export const queryStuInfoForScoreDefend = (query?: any) => {
return request({
url: '/basic/basicstudent/queryStuInfoForScoreDefend',
method: 'get',
params: query,
});
};
/**
* 更新学生简单信息
* @param data
*/
export const updateStuSimpleInfo = (data: any) => {
return request({
url: '/basic/basicstudent/updateStuSimpleInfo',
method: 'post',
data: data,
});
};
/**
* 查询专业学生信息
* @param data
*/
export const queryMajorStuInfo = (data: any) => {
return request({
url: '/basic/basicstudent/queryMajorStuInfo',
method: 'post',
data: data,
});
};
/**
* 导出学生信息卡
* @param data
*/
export const exportStuInfoCard = (data: any) => {
return request({
url: '/basic/file/exportStuInfoCard',
method: 'post',
data: data,
});
};
/**
* 搜索
* @param query
*/
export const search = (query: string | number) => {
return request({
url: `/basic/basicstudent/search/${query}`,
method: 'get',
});
};
/**
* 根据编号查询学生基础信息
* @param obj
*/
export const queryStuBaseByNo = (obj: string | number) => {
return request({
url: `/basic/basicstudent/queryStuBaseByNo/${obj}`,
method: 'get',
});
};
/**
* 获取头像列表
*/
export const avatarList = () => {
return request({
url: '/basic/basicstudent/avatar/list',
method: 'get',
});
};
/**
* 批量更新头像审核状态
* @param data
*/
export const batchUpdateAvatarAudit = (data: any) => {
return request({
url: '/basic/basicstudent/avatar/batchUpdate',
method: 'post',
data: data,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/basicstudentadulteducation/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/basicstudentadulteducation',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/basicstudentadulteducation/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/basicstudentadulteducation/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/basicstudentadulteducation',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/basicstudenteducation/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/basicstudenteducation',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/basicstudenteducation/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/basicstudenteducation/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/basicstudenteducation',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/basicstudenteducationdetail/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/basicstudenteducationdetail',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/basicstudenteducationdetail/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/basicstudenteducationdetail/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/basicstudenteducationdetail',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/basicstudenthome/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/basicstudenthome',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/basicstudenthome/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/basicstudenthome/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/basicstudenthome',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,135 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/basicstudentinfo/queryDataByPage',
method: 'get',
params: query,
});
};
/**
* 查询学籍数据(分页)
* @param query
*/
export const queryXJDataByPage = (query?: any) => {
return request({
url: '/basic/basicstudentinfo/queryXJDataByPage',
method: 'get',
params: query,
});
};
/**
* 获取详情列表
* @param query
*/
export const getDetail = (query?: any) => {
return request({
url: '/basic/basicstudentinfo/page',
method: 'get',
params: query,
});
};
/**
* 获取家庭详情列表
* @param query
*/
export const getHomeDetailList = (query: string | number) => {
return request({
url: `/basic/studenthomedetail/getHomeDetailList/${query}`,
method: 'get',
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/basicstudentinfo',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/basicstudentinfo/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/basicstudentinfo/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/basicstudentinfo',
method: 'put',
data: obj,
});
};
/**
* 编辑学生毕业登记
* @param obj
*/
export const editStuGraduation = (obj: any) => {
return request({
url: '/stuwork/stugraduationregistration',
method: 'post',
data: obj,
});
};
/**
* 根据学号获取学生毕业信息
* @param id
*/
export const getStuGraduationByStuNo = (id: string | number) => {
return request({
url: `/stuwork/stugraduationregistration/getStuGraduationByStuNo/${id}`,
method: 'get',
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/basicstudentmajorclass/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/basicstudentmajorclass',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/basicstudentmajorclass/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/basicstudentmajorclass/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/basicstudentmajorclass',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/basicstudentsocialdetail/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/basicstudentsocialdetail',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/basicstudentsocialdetail/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/basicstudentsocialdetail/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/basicstudentsocialdetail',
method: 'put',
data: obj,
});
};

139
src/api/basic/basicyear.ts Normal file
View File

@@ -0,0 +1,139 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/basicyear/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/basicyear',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/basicyear/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/basicyear/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/basicyear',
method: 'put',
data: obj,
});
};
/**
* 根据学年查询班级和课程
* @param obj
*/
export const queryClassAndCourseBySchoolYear = (obj: any) => {
return request({
url: '/basic/basicyear/queryClassAndCourseBySchoolYear',
method: 'post',
data: obj,
});
};
/**
* 查询所有学年
*/
export const queryAllSchoolYear = () => {
return request({
url: '/basic/basicyear/queryAllSchoolYear',
method: 'get',
});
};
/**
* 获取所有年份和学期
*/
export const getAllYearAndTerm = () => {
return request({
url: '/basic/basicholiday/getAllYearAndTerm',
method: 'get',
});
};
/**
* 获取当前学年
*/
export const getNowSchoolYear = () => {
return request({
url: '/basic/basicyear/getNowSchoolYear',
method: 'get',
});
};
/**
* 获取教学学年
*/
export const getTeachSchoolYear = () => {
return request({
url: '/basic/basicyear/getTeachSchoolYear',
method: 'get',
});
};
/**
* 获取当前学年日期
*/
export const getNowYearDate = () => {
return request({
url: '/basic/basicyear/getNowYearDate',
method: 'get',
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/classinfo/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/classinfo',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/classinfo/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/classinfo/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/classinfo',
method: 'put',
data: obj,
});
};

108
src/api/basic/major.ts Normal file
View File

@@ -0,0 +1,108 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/major/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/major',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/major/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/major/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/major',
method: 'put',
data: obj,
});
};
/**
* 获取专业代码列表
* @param obj
*/
export const majorCodeList = (obj: string | number) => {
return request({
url: `/basic/major/majorCodeList/${obj}`,
method: 'get',
});
};
/**
* 获取专业名称列表
*/
export const getMajorNameList = () => {
return request({
url: '/basic/major/getMajorNameList',
method: 'get',
});
};
/**
* 获取计划专业
*/
export const planMajor = () => {
return request({
url: '/basic/major/planMajor',
method: 'get',
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/schoolnews/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/schoolnews',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/schoolnews/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/schoolnews/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/schoolnews',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,100 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/basic/studenthomedetail/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/basic/studenthomedetail',
method: 'post',
data: obj,
});
};
/**
* 新增家庭详情
* @param obj
*/
export const addHomeDetailObj = (obj: any) => {
return request({
url: '/basic/studenthomedetail',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/basic/studenthomedetail/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/basic/studenthomedetail/${id}`,
method: 'delete',
});
};
/**
* 删除家庭详情
* @param id
*/
export const delHomeDetailObj = (id: string | number) => {
return request({
url: `/basic/studenthomedetail/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/basic/studenthomedetail',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,50 @@
import request from '/@/utils/request';
/**
* 查询聘用教师
* @param query
*/
export const queryEmployTeacher = (query?: any) => {
return request({
url: '/professional/outercompanyemployee/queryEmployTeacher',
method: 'get',
params: query,
});
};
/**
* 新增聘用教师
* @param obj
*/
export const addEmployTeacher = (obj: any) => {
return request({
url: '/professional/outercompanyemployee/addEmployTeacher',
method: 'post',
data: obj,
});
};
/**
* 删除聘用教师
* @param obj
*/
export const delEmployTeacher = (obj: any) => {
return request({
url: '/professional/outercompanyemployee/delEmployTeacher',
method: 'post',
data: obj,
});
};
/**
* 编辑聘用教师
* @param obj
*/
export const editEmployTeacher = (obj: any) => {
return request({
url: '/professional/outercompanyemployee/editEmployTeacher',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,89 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/outercompany/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/outercompany',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/outercompany/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/outercompany/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/outercompany',
method: 'put',
data: obj,
});
};
/**
* 获取列表(不分页)
* @param query
*/
export const getList = (query?: any) => {
return request({
url: '/professional/outercompany/getList',
method: 'get',
params: query,
});
};

View File

@@ -0,0 +1,125 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/outercompanyemployee/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/outercompanyemployee',
method: 'post',
data: obj,
});
};
/**
* 保存第二步
* @param obj
*/
export const saveSecond = (obj: any) => {
return request({
url: '/professional/outercompanyemployee/saveSecond',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/outercompanyemployee/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/outercompanyemployee/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/outercompanyemployee',
method: 'put',
data: obj,
});
};
/**
* 批量删除
* @param obj
*/
export const batchDel = (obj: any) => {
return request({
url: '/professional/outercompanyemployee/batchDel',
method: 'post',
data: obj,
});
};
/**
* 重置密码
* @param data
*/
export const resetPassWord = (data: any) => {
return request({
url: '/professional/outercompanyemployee/resetPassWord',
method: 'post',
data: data,
});
};
/**
* 远程模糊检索
* @param params
*/
export const remoteInfo = (params?: any) => {
return request({
url: '/professional/outercompanyemployee/remoteInfo',
method: 'get',
params: params,
});
};

View File

@@ -0,0 +1,89 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/phaseintentioncompany/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompany',
method: 'post',
data: obj,
});
};
/**
* 重置密码
* @param obj
*/
export const czPsd = (obj: any) => {
return request({
url: '/professional/phaseintentioncompany/czPsd',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompany/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompany/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompany',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/phaseintentioncompanyagreement/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanyagreement',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanyagreement/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanyagreement/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanyagreement',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/phaseintentioncompanybuild/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanybuild',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanybuild/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanybuild/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanybuild',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/phaseintentioncompanycarrierbuild/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanycarrierbuild',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanycarrierbuild/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanycarrierbuild/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanycarrierbuild',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/phaseintentioncompanyinspect/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanyinspect',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanyinspect/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanyinspect/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanyinspect',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/phaseintentioncompanyorder/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanyorder',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanyorder/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanyorder/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanyorder',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/phaseintentioncompanyparticipate/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanyparticipate',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanyparticipate/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanyparticipate/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanyparticipate',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/phaseintentioncompanypost/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanypost',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanypost/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanypost/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanypost',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/phaseintentioncompanypractice/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanypractice',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanypractice/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanypractice/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanypractice',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/phaseintentioncompanyschoolhz/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanyschoolhz',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanyschoolhz/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanyschoolhz/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanyschoolhz',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/phaseintentioncompanytech/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanytech',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanytech/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanytech/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanytech',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/phaseintentioncompanytone/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanytone',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanytone/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/phaseintentioncompanytone/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/phaseintentioncompanytone',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,101 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalawardcourseware/page',
method: 'get',
params: query,
});
};
/**
* 静态页面
* @param query
*/
export const staticPage = (query?: any) => {
return request({
url: '/professional/professionalawardcourseware/staticPage',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalawardcourseware',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalawardcourseware/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalawardcourseware/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalawardcourseware',
method: 'put',
data: obj,
});
};
/**
* 更新状态
* @param obj
*/
export const updateStatus = (obj: any) => {
return request({
url: '/professional/professionalawardcourseware/updateStatus',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,101 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalpatent/page',
method: 'get',
params: query,
});
};
/**
* 静态页面
* @param query
*/
export const staticPage = (query?: any) => {
return request({
url: '/professional/professionalpatent/staticPage',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalpatent',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalpatent/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalpatent/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalpatent',
method: 'put',
data: obj,
});
};
/**
* 更新状态
* @param obj
*/
export const updateStatus = (obj: any) => {
return request({
url: '/professional/professionalpatent/updateStatus',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,100 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalpoliticsstatus/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalpoliticsstatus',
method: 'post',
data: obj,
});
};
/**
* 新增政治面貌
* @param obj
*/
export const addPoliticssStatus = (obj: any) => {
return request({
url: '/professional/professionalpoliticsstatus',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalpoliticsstatus/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalpoliticsstatus/${id}`,
method: 'delete',
});
};
/**
* 删除政治面貌
* @param id
*/
export const dePoObj = (id: string | number) => {
return request({
url: `/professional/professionalpoliticsstatus/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalpoliticsstatus',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalsalaries/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalsalaries',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalsalaries/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalsalaries/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalsalaries',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,100 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalsocial/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalsocial',
method: 'post',
data: obj,
});
};
/**
* 新增社交对象
* @param obj
*/
export const addSocialObj = (obj: any) => {
return request({
url: '/professional/professionalsocial',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalsocial/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalsocial/${id}`,
method: 'delete',
});
};
/**
* 删除社交对象
* @param id
*/
export const delSocialObj = (id: string | number) => {
return request({
url: `/professional/professionalsocial/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalsocial',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalstationlevel/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalstationlevel',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalstationlevel/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalstationlevel/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalstationlevel',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,87 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalstationlevelconfig/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalstationlevelconfig',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalstationlevelconfig/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalstationlevelconfig/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalstationlevelconfig',
method: 'put',
data: obj,
});
};
/**
* 获取岗位级别列表
*/
export const getStationLevelList = () => {
return request({
url: '/professional/professionalstationlevelconfig/getStationLevelList',
method: 'get',
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalstationrelation/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalstationrelation',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalstationrelation/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalstationrelation/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalstationrelation',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,110 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalstatuslock/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalstatuslock',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalstatuslock/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalstatuslock/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalstatuslock',
method: 'put',
data: obj,
});
};
/**
* 获取所有列表
*/
export const getAllList = () => {
return request({
url: '/professional/professionalstatuslock/getAllStatusList',
method: 'get',
});
};
/**
* 更新状态
* @param obj
*/
export const updateStatus = (obj: any) => {
return request({
url: '/professional/professionalstatuslock/updateStatus',
method: 'post',
data: obj,
});
};
/**
* 检查锁定状态
* @param statusCode
*/
export const checkLocked = (statusCode: string | number) => {
return request({
url: `/professional/professionalstatuslock/checkLocked/${statusCode}`,
method: 'get',
});
};

View File

@@ -0,0 +1,101 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalteacherlesson/page',
method: 'get',
params: query,
});
};
/**
* 静态页面
* @param query
*/
export const staticPage = (query?: any) => {
return request({
url: '/professional/professionalteacherlesson/staticPage',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalteacherlesson',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalteacherlesson/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalteacherlesson/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalteacherlesson',
method: 'put',
data: obj,
});
};
/**
* 更新状态
* @param obj
*/
export const updateStatus = (obj: any) => {
return request({
url: '/professional/professionalteacherlesson/updateStatus',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,101 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalteacherpaper/page',
method: 'get',
params: query,
});
};
/**
* 统计页面
* @param query
*/
export const staticsPage = (query?: any) => {
return request({
url: '/professional/professionalteacherpaper/staticsPage',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalteacherpaper',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalteacherpaper/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalteacherpaper/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalteacherpaper',
method: 'put',
data: obj,
});
};
/**
* 更新状态
* @param obj
*/
export const updateStatus = (obj: any) => {
return request({
url: '/professional/professionalteacherpaper/updateStatus',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalteacherresume/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalteacherresume',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalteacherresume/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalteacherresume/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalteacherresume',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,113 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalteachingmaterial/page',
method: 'get',
params: query,
});
};
/**
* 统计页面
* @param query
*/
export const staticsPage = (query?: any) => {
return request({
url: '/professional/professionalteachingmaterial/staticsPage',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalteachingmaterial',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalteachingmaterial/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalteachingmaterial/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalteachingmaterial',
method: 'put',
data: obj,
});
};
/**
* 更新状态
* @param obj
*/
export const updateStatus = (obj: any) => {
return request({
url: '/professional/professionalteachingmaterial/updateStatus',
method: 'post',
data: obj,
});
};
/**
* 检查标题
* @param obj
*/
export const checkTitle = (obj: any) => {
return request({
url: '/professional/professionalteachingmaterial/checkTitle',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionaltitleconfig/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionaltitleconfig',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionaltitleconfig/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionaltitleconfig/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionaltitleconfig',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,89 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionaltopiclist/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionaltopiclist',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionaltopiclist/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionaltopiclist/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionaltopiclist',
method: 'put',
data: obj,
});
};
/**
* 更新状态
* @param obj
*/
export const updateStatus = (obj: any) => {
return request({
url: '/professional/professionaltopiclist/updateStatus',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalpartychange/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalpartychange',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalpartychange/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalpartychange/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalpartychange',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,133 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query 查询参数
*/
export function fetchList(query?: any) {
return request({
url: '/professional/professionalqualificationrelation/page',
method: 'get',
params: query,
});
}
/**
* 添加对象
* @param obj 对象数据
*/
export function addObj(obj?: any) {
return request({
url: '/professional/professionalqualificationrelation',
method: 'post',
data: obj,
});
}
/**
* 添加职业资格关系
* @param obj 对象数据
*/
export function addQuaRelation(obj?: any) {
return request({
url: '/professional/professionalqualificationrelation',
method: 'post',
data: obj,
});
}
/**
* 获取对象
* @param id 对象ID
*/
export function getObj(id: string | number) {
return request({
url: '/professional/professionalqualificationrelation/' + id,
method: 'get',
});
}
/**
* 删除对象
* @param id 对象ID
*/
export function delObj(id: string | number) {
return request({
url: '/professional/professionalqualificationrelation/' + id,
method: 'delete',
});
}
/**
* 删除职业资格对象
* @param id 对象ID
*/
export function delQuaObj(id: string | number) {
return request({
url: '/professional/professionalqualificationrelation/' + id,
method: 'delete',
});
}
/**
* 更新对象
* @param obj 对象数据
*/
export function putObj(obj?: any) {
return request({
url: '/professional/professionalqualificationrelation',
method: 'put',
data: obj,
});
}
/**
* 获取图表选项
*/
export function getChartOption() {
return request({
url: '/professional/professionalqualificationrelation/getChartOption',
method: 'get',
});
}
/**
* 获取职业资格统计信息
*/
export function quaCountInfo() {
return request({
url: '/professional/professionalqualificationrelation/countInfo',
method: 'get',
});
}
/**
* 导出Excel
* @param data 查询参数
*/
export function exportExcel(data: any) {
return request({
url: '/professional/professionalqualificationrelation/exportExcel',
method: 'post',
data: data,
responseType: 'blob',
});
}

View File

@@ -0,0 +1,133 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalteacheracademicrelation/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalteacheracademicrelation',
method: 'post',
data: obj,
});
};
/**
* 新增学术关系
* @param obj
*/
export const addAcadeRelation = (obj: any) => {
return request({
url: '/professional/professionalteacheracademicrelation',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalteacheracademicrelation/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalteacheracademicrelation/${id}`,
method: 'delete',
});
};
/**
* 删除教育对象
* @param id
*/
export const delEduObj = (id: string | number) => {
return request({
url: `/professional/professionalteacheracademicrelation/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalteacheracademicrelation',
method: 'put',
data: obj,
});
};
/**
* 获取图表配置
*/
export const getChartOption = () => {
return request({
url: '/professional/professionalteacheracademicrelation/getChartOption',
method: 'get',
});
};
/**
* 获取统计信息
*/
export const countInfo = () => {
return request({
url: '/professional/professionalteacheracademicrelation/countInfo',
method: 'get',
});
};
/**
* 导出Excel
* @param data 查询参数
*/
export const exportExcel = (data: any) => {
return request({
url: '/professional/professionalteacheracademicrelation/exportExcel',
method: 'post',
data: data,
responseType: 'blob',
});
};

View File

@@ -0,0 +1,100 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalteachercertificaterelation/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalteachercertificaterelation',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalteachercertificaterelation/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalteachercertificaterelation/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalteachercertificaterelation',
method: 'put',
data: obj,
});
};
/**
* 获取证书统计信息
*/
export const cerCountInfo = () => {
return request({
url: '/professional/professionalteachercertificaterelation/countInfo',
method: 'get',
});
};
/**
* 导出Excel
* @param data 查询参数
*/
export const exportExcel = (data: any) => {
return request({
url: '/professional/professionalteachercertificaterelation/exportExcel',
method: 'post',
data: data,
responseType: 'blob',
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalteacherhonor/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalteacherhonor',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalteacherhonor/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalteacherhonor/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalteacherhonor',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalteacherstationchange/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalteacherstationchange',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalteacherstationchange/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalteacherstationchange/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalteacherstationchange',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,133 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionaltitlerelation/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionaltitlerelation',
method: 'post',
data: obj,
});
};
/**
* 新增职称关系对象
* @param obj
*/
export const addTitleRelationObj = (obj: any) => {
return request({
url: '/professional/professionaltitlerelation',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionaltitlerelation/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionaltitlerelation/${id}`,
method: 'delete',
});
};
/**
* 删除职称对象
* @param id
*/
export const delTitleObj = (id: string | number) => {
return request({
url: `/professional/professionaltitlerelation/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionaltitlerelation',
method: 'put',
data: obj,
});
};
/**
* 获取图表配置
*/
export const getChartOption = () => {
return request({
url: '/professional/professionaltitlerelation/getChartOption',
method: 'get',
});
};
/**
* 获取职称统计信息
*/
export const titleCountInfo = () => {
return request({
url: '/professional/professionaltitlerelation/countInfo',
method: 'get',
});
};
/**
* 导出Excel
* @param data 查询参数
*/
export const exportRelation = (data: any) => {
return request({
url: '/professional/professionaltitlerelation/exportRelation',
method: 'post',
data: data,
responseType: 'blob',
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalyearbounds/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalyearbounds',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalyearbounds/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalyearbounds/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalyearbounds',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,93 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/academicqualificationsconfig/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/academicqualificationsconfig/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/academicqualificationsconfig/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/academicqualificationsconfig/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/academicqualificationsconfig/edit',
method: 'post',
data: obj,
});
};
/**
* 获取资格列表
*/
export const getQualificationList = () => {
return request({
url: '/professional/academicqualificationsconfig/getQualificationList',
method: 'get',
});
};

View File

@@ -0,0 +1,93 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalacademicdegreeconfig/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalacademicdegreeconfig/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalacademicdegreeconfig/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalacademicdegreeconfig/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalacademicdegreeconfig/edit',
method: 'post',
data: obj,
});
};
/**
* 获取学位列表
*/
export const getDegreeList = () => {
return request({
url: '/professional/professionalacademicdegreeconfig/getDegreeList',
method: 'get',
});
};

View File

@@ -0,0 +1,93 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalacademiceducationtypeconfig/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalacademiceducationtypeconfig/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalacademiceducationtypeconfig/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalacademiceducationtypeconfig/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalacademiceducationtypeconfig/edit',
method: 'post',
data: obj,
});
};
/**
* 获取所有教育类型列表(用于下拉选择)
*/
export const getAllTypeList = () => {
return request({
url: '/professional/professionalacademiceducationtypeconfig/getAllTypeList',
method: 'get',
});
};

View File

@@ -0,0 +1,93 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalatstation/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalatstation/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalatstation/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalatstation/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalatstation/edit',
method: 'post',
data: obj,
});
};
/**
* 获取在站列表
*/
export const getAtStationList = () => {
return request({
url: '/professional/professionalatstation/getAtStationList',
method: 'get',
});
};

View File

@@ -0,0 +1,93 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalemploymentnature/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalemploymentnature/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalemploymentnature/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalemploymentnature/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalemploymentnature/edit',
method: 'post',
data: obj,
});
};
/**
* 获取就业性质列表
*/
export const getEmploymentNatureList = () => {
return request({
url: '/professional/professionalemploymentnature/getEmploymentNatureList',
method: 'get',
});
};

View File

@@ -0,0 +1,93 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalmajorstation/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalmajorstation/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalmajorstation/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalmajorstation/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalmajorstation/edit',
method: 'post',
data: obj,
});
};
/**
* 获取主要岗位列表
*/
export const getMajorStationList = () => {
return request({
url: '/professional/professionalmajorstation/getMajorStationList',
method: 'get',
});
};

View File

@@ -0,0 +1,93 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalpaperconfig/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalpaperconfig/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalpaperconfig/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalpaperconfig/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalpaperconfig/edit',
method: 'post',
data: obj,
});
};
/**
* 获取论文配置列表
*/
export const getPaperConfigList = () => {
return request({
url: '/professional/professionalpaperconfig/getPaperConfigList',
method: 'get',
});
};

View File

@@ -0,0 +1,83 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalpartybranch/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalpartybranch/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalpartybranch/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalpartybranch/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalpartybranch/edit',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,93 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalqualificationconfig/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalqualificationconfig/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalqualificationconfig/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalqualificationconfig/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalqualificationconfig/edit',
method: 'post',
data: obj,
});
};
/**
* 获取级别列表
*/
export const getLevelList = () => {
return request({
url: '/professional/professionalqualificationconfig/getLevelList',
method: 'get',
});
};

View File

@@ -0,0 +1,93 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalstationdutylevel/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalstationdutylevel/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalstationdutylevel/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalstationdutylevel/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalstationdutylevel/edit',
method: 'post',
data: obj,
});
};
/**
* 获取岗位职级列表
*/
export const getStationDutyLevelList = () => {
return request({
url: '/professional/professionalstationdutylevel/getStationDutyLevelList',
method: 'get',
});
};

View File

@@ -0,0 +1,93 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalstationtype/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalstationtype/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalstationtype/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalstationtype/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalstationtype/edit',
method: 'post',
data: obj,
});
};
/**
* 获取岗位类型列表
*/
export const getStationTypeList = () => {
return request({
url: '/professional/professionalstationtype/getStationTypeList',
method: 'get',
});
};

View File

@@ -0,0 +1,93 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalteachercertificateconf/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalteachercertificateconf/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalteachercertificateconf/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalteachercertificateconf/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalteachercertificateconf/edit',
method: 'post',
data: obj,
});
};
/**
* 获取教师资格证列表(用于下拉选择)
*/
export const getTeacherCertificateList = () => {
return request({
url: '/professional/professionalteachercertificateconf/getTeacherCertificateList',
method: 'get',
});
};

View File

@@ -0,0 +1,93 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalteachertype/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalteachertype/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalteachertype/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalteachertype/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalteachertype/edit',
method: 'post',
data: obj,
});
};
/**
* 获取教师类型列表
*/
export const getTeacherTypeList = () => {
return request({
url: '/professional/professionalteachertype/getTeacherTypeList',
method: 'get',
});
};

View File

@@ -0,0 +1,83 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalteachingmaterialconfig/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalteachingmaterialconfig/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalteachingmaterialconfig/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalteachingmaterialconfig/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalteachingmaterialconfig/edit',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,93 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionaltitlelevelconfig/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionaltitlelevelconfig/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionaltitlelevelconfig/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionaltitlelevelconfig/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionaltitlelevelconfig/edit',
method: 'post',
data: obj,
});
};
/**
* 获取职称列表
*/
export const getProfessionalTitleList = () => {
return request({
url: '/professional/professionaltitlelevelconfig/getProfessionalTitleList',
method: 'get',
});
};

View File

@@ -0,0 +1,83 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionaltopiclevelconfig/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionaltopiclevelconfig/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionaltopiclevelconfig/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionaltopiclevelconfig/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionaltopiclevelconfig/edit',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,83 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionaltopicsourceconfig/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionaltopicsourceconfig/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionaltopicsourceconfig/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionaltopicsourceconfig/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionaltopicsourceconfig/edit',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,93 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/professionalworktype/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/professionalworktype/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/professionalworktype/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/professionalworktype/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/professionalworktype/edit',
method: 'post',
data: obj,
});
};
/**
* 获取工作类型列表
*/
export const getWorkTypeList = () => {
return request({
url: '/professional/professionalworktype/getWorkTypeList',
method: 'get',
});
};

View File

@@ -0,0 +1,83 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/typeofworkconfig/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/typeofworkconfig/add',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/typeofworkconfig/getById`,
method: 'get',
params: {
id: id
}
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/typeofworkconfig/deleteById`,
method: 'post',
data: {
id: id
}
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/typeofworkconfig/edit',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/salaryexportrecord/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/salaryexportrecord',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/salaryexportrecord/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/salaryexportrecord/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/salaryexportrecord',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/scienceachievement/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/scienceachievement',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/scienceachievement/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/scienceachievement/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/scienceachievement',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,100 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/sciencechangehistory/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/sciencechangehistory',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/sciencechangehistory/${id}`,
method: 'get',
});
};
/**
* 查询历史数据
* @param id
*/
export const queryHistoryData = (id: string | number) => {
return request({
url: `/professional/sciencechangehistory/queryHistoryData/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/sciencechangehistory/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/sciencechangehistory',
method: 'put',
data: obj,
});
};
/**
* 上传材料
* @param obj
*/
export const uploadMaterial = (obj: any) => {
return request({
url: '/professional/sciencechangehistory/uploadMaterial',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,54 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/scienceEndCheck',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/scienceEndCheck/${id}`,
method: 'get',
});
};
/**
* 提交中期检查
* @param obj
*/
export const subMidCheck = (obj: any) => {
return request({
url: '/professional/scienceEndCheck/subMidCheck',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,54 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/sciencemidcheck',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/sciencemidcheck/${id}`,
method: 'get',
});
};
/**
* 提交中期检查
* @param obj
*/
export const subMidCheck = (obj: any) => {
return request({
url: '/professional/sciencemidcheck/subMidCheck',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,209 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/sciencereport/page',
method: 'get',
params: query,
});
};
/**
* 静态页面
* @param query
*/
export const staticPage = (query?: any) => {
return request({
url: '/professional/sciencereport/staticPage',
method: 'get',
params: query,
});
};
/**
* 导出数据
* @param query
*/
export const exportData = (query?: any) => {
return request({
url: '/professional/sciencereport/exportData',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/sciencereport',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/sciencereport/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/sciencereport/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/sciencereport',
method: 'put',
data: obj,
});
};
/**
* 提交其他结束材料
* @param obj
*/
export const subOtherEndMaterial = (obj: any) => {
return request({
url: '/professional/sciencereport/subOtherEndMaterial',
method: 'post',
data: obj,
});
};
/**
* 统计报告
* @param obj
*/
export const staticsReport = (obj: any) => {
return request({
url: '/professional/professionalStatics/statics',
method: 'post',
data: obj,
});
};
/**
* 审查报告
* @param obj
*/
export const examReport = (obj: any) => {
return request({
url: '/professional/sciencereport/examReport',
method: 'post',
data: obj,
});
};
/**
* 审查变更
* @param obj
*/
export const examChange = (obj: any) => {
return request({
url: '/professional/sciencereport/examChange',
method: 'post',
data: obj,
});
};
/**
* 上传材料
* @param obj
*/
export const uploadMaterial = (obj: any) => {
return request({
url: '/professional/sciencereport/uploadMaterial',
method: 'post',
data: obj,
});
};
/**
* 提交变更
* @param obj
*/
export const subChange = (obj: any) => {
return request({
url: '/professional/sciencereport/subChange',
method: 'post',
data: obj,
});
};
/**
* 二次确认
* @param obj
*/
export const secConfirm = (obj: any) => {
return request({
url: '/professional/sciencereport/secConfirm',
method: 'post',
data: obj,
});
};
/**
* 其他选项
* @param obj
*/
export const otherOption = (obj: any) => {
return request({
url: '/professional/sciencereport/otherOption',
method: 'post',
data: obj,
});
};
/**
* 编辑报告用户
* @param obj
*/
export const editReportUser = (obj: any) => {
return request({
url: '/professional/sciencereport/editReportUser',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/sciencereportmember/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/sciencereportmember',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/sciencereportmember/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/sciencereportmember/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/sciencereportmember',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/supervisevotebatch/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/supervisevotebatch',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/supervisevotebatch/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/supervisevotebatch/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/supervisevotebatch',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/supervisevotebatchpwd/list',
method: 'get',
params: query,
});
};
/**
* 生成
* @param obj
*/
export const gen = (obj: any) => {
return request({
url: '/professional/supervisevotebatchpwd/gen',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,54 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/supervisevotemember/list',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/supervisevotemember',
method: 'post',
data: obj,
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/supervisevotemember/${id}`,
method: 'delete',
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/supervisevotememberresult/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/supervisevotememberresult',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/supervisevotememberresult/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/supervisevotememberresult/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/supervisevotememberresult',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/teacherawardtax/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/teacherawardtax',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/teacherawardtax/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/teacherawardtax/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/teacherawardtax',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,338 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/teacherbase/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/teacherbase',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/teacherbase/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/teacherbase/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/teacherbase',
method: 'put',
data: obj,
});
};
/**
* 添加信息
* @param obj
*/
export const addInformation = (obj: any) => {
return request({
url: '/professional/teacherbase/addInformation',
method: 'post',
data: obj,
});
};
/**
* 获取部门教师
* @param obj
*/
export const getDeptTeacher = (obj: string | number) => {
return request({
url: `/professional/teacherbase/getDeptTeacher/${obj}`,
method: 'get',
});
};
/**
* 获取所有信息列表
*/
export const getAllInfoAboutList = () => {
return request({
url: '/professional/teacherbase/getAllInfoAboutList',
method: 'get',
});
};
/**
* 更新其他信息
* @param obj
*/
export const updateOtherInfo = (obj: any) => {
return request({
url: '/professional/teacherbase/updateOtherInfo',
method: 'post',
data: obj,
});
};
/**
* 导出无图片用户
*/
export const exportNoImgUser = () => {
return request({
url: '/professional/teacherbase/exportNoImgUser',
method: 'get',
});
};
/**
* 根据编号查询教师基础信息
* @param obj
*/
export const queryTeacherBaseByNo = (obj: string | number) => {
return request({
url: `/professional/teacherbase/queryTeacherBaseByNo/${obj}`,
method: 'get',
});
};
/**
* 查询教师信息EMS
* @param obj
*/
export const queryTeacherInfoForEms = (obj: string | number) => {
return request({
url: `/professional/teacherbase/queryTeacherInfoForEms/${obj}`,
method: 'get',
});
};
/**
* 根据编号查询教师基础信息(资产)
* @param obj
*/
export const queryTeacherBaseByNoByAssets = (obj: string | number) => {
return request({
url: `/professional/teacherbase/queryTeacherBaseByNoByAssets/${obj}`,
method: 'get',
});
};
/**
* 获取教师信息EMS搜索
* @param query
*/
export const getTeacherInfoForEmsSearch = (query?: any) => {
return request({
url: '/professional/teacherbase/getTeacherInfoForEmsSearch',
method: 'get',
params: query,
});
};
/**
* 获取缺失的教师信息
* @param query
*/
export const getMissTeacherInfo = (query?: any) => {
return request({
url: '/professional/teacherbase/getMissTeacherInfo',
method: 'get',
params: query,
});
};
/**
* 重置密码
* @param data
*/
export const resetPassWord = (data: any) => {
return request({
url: '/professional/teacherbase/resetPassWord',
method: 'post',
data: data,
});
};
/**
* 获取我的教师编号
*/
export const getMyTeacherNo = () => {
return request({
url: '/professional/teacherbase/getMyTeacherNo',
method: 'get',
});
};
/**
* 修改进出状态
* @param data
*/
export const updateInout = (data: any) => {
return request({
url: '/professional/teacherbase/updateInout',
method: 'post',
data: data,
});
};
/**
* 导出教师信息
* @param data
*/
export const exportTeacherInfo = (data: any) => {
return request({
url: '/professional/teacherbase/exportTeacherInfo',
method: 'post',
data: data,
});
};
/**
* 获取教师基础列表
* @param query
*/
export const getTeacherBaseList = (query?: any) => {
return request({
url: '/professional/teacherbase/TeacherBaseList',
method: 'get',
params: query,
});
};
/**
* 带权限的教师列表
* @param query
*/
export const teacherListWithPermission = (query?: any) => {
return request({
url: '/professional/teacherbase/teacherListWithPermission',
method: 'get',
params: query,
});
};
/**
* 按权限获取教师列表
* @param query
*/
export const teacherListByPermission = (query?: any) => {
return request({
url: '/professional/teacherbase/teacherListByPermission',
method: 'get',
params: query,
});
};
/**
* 获取教师信息(通用)
* @param query
*/
export const getTeacherInfoCommon = (query?: any) => {
return request({
url: '/professional/teacherbase/getTeacherInfoCommon',
method: 'get',
params: query,
});
};
/**
* 查询所有教师
*/
export const queryAllTeacher = () => {
return request({
url: '/professional/teacherbase/queryAllTeacher',
method: 'get',
});
};
/**
* 根据招聘查询所有教师
*/
export const queryAllTeacherByRecruit = () => {
return request({
url: '/professional/teacherbase/queryAllTeacherByRecruit',
method: 'get',
});
};
/**
* 查询教师岗位信息
* @param data
*/
export const queryTeacherStationInfo = (data: any) => {
return request({
url: '/professional/teacherbase/queryTeacherStationInfo',
method: 'post',
data: data,
});
};
/**
* 查询我的部门代码
* @param data
*/
export const queryMyDeptCode = (data: any) => {
return request({
url: '/professional/teacherbase/queryMyDeptCode',
method: 'post',
data: data,
});
};
/**
* 搜索
* @param data
*/
export const search = (data: string | number) => {
return request({
url: `/professional/teacherbase/search/${data}`,
method: 'get',
});
};

View File

@@ -0,0 +1,183 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/teacherpayslip/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/teacherpayslip',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/teacherpayslip/${id}`,
method: 'get',
});
};
/**
* 查询用户信息
* @param obj
*/
export const queryUserInfo = (obj: any) => {
return request({
url: '/professional/teacherpayslip/queryUserInfo',
method: 'post',
data: obj,
});
};
/**
* 设置可搜索
* @param obj
*/
export const setCanSearch = (obj: any) => {
return request({
url: '/professional/teacherpayslip/setCanSearch',
method: 'post',
data: obj,
});
};
/**
* 清空培训池
* @param obj
*/
export const clearTrainPool = (obj: any) => {
return request({
url: '/professional/teacherpayslip/clearTrainPool',
method: 'post',
data: obj,
});
};
/**
* 更新单个薪资
* @param obj
*/
export const updateSingleSalary = (obj: any) => {
return request({
url: '/professional/teacherpayslip/updateSingleSalary',
method: 'post',
data: obj,
});
};
/**
* 批量删除
* @param obj
*/
export const delBatch = (obj: any) => {
return request({
url: '/professional/teacherpayslip/delBatch',
method: 'post',
data: obj,
});
};
/**
* 计算薪资金额
* @param obj
*/
export const countSalaryMoney = (obj: any) => {
return request({
url: '/professional/teacherpayslip/countSalaryMoney',
method: 'post',
data: obj,
});
};
/**
* 导出培训池
* @param obj
*/
export const exportTrainPool = (obj: any) => {
return request({
url: '/professional/teacherpayslip/exportTrainPool',
method: 'post',
data: obj,
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/teacherpayslip/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/teacherpayslip',
method: 'put',
data: obj,
});
};
/**
* 重新生成数据
*/
export const remakeData = () => {
return request({
url: '/professional/teacherpayslip/remakeData',
method: 'get',
});
};
/**
* 查询扩展薪资信息
* @param obj
*/
export const queryExtendSalaryInfo = (obj: any) => {
return request({
url: '/professional/teacherpayslip/queryExtendSalaryInfo',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,193 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/teachersalary/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/teachersalary',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/teachersalary/${id}`,
method: 'get',
});
};
/**
* 查询用户信息
* @param obj
*/
export const queryUserInfo = (obj: any) => {
return request({
url: '/professional/teachersalary/queryUserInfo',
method: 'post',
data: obj,
});
};
/**
* 设置可搜索
* @param obj
*/
export const setCanSearch = (obj: any) => {
return request({
url: '/professional/teachersalary/setCanSearch',
method: 'post',
data: obj,
});
};
/**
* 清空培训池
* @param obj
*/
export const clearTrainPool = (obj: any) => {
return request({
url: '/professional/teachersalary/clearTrainPool',
method: 'post',
data: obj,
});
};
/**
* 更新单个薪资
* @param obj
*/
export const updateSingleSalary = (obj: any) => {
return request({
url: '/professional/teachersalary/updateSingleSalary',
method: 'post',
data: obj,
});
};
/**
* 批量删除
* @param obj
*/
export const delBatch = (obj: any) => {
return request({
url: '/professional/teachersalary/delBatch',
method: 'post',
data: obj,
});
};
/**
* 计算薪资金额
* @param obj
*/
export const countSalaryMoney = (obj: any) => {
return request({
url: '/professional/teachersalary/countSalaryMoney',
method: 'post',
data: obj,
});
};
/**
* 导出培训池
* @param obj
*/
export const exportTrainPool = (obj: any) => {
return request({
url: '/professional/teachersalary/exportTrainPool',
method: 'post',
data: obj,
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/teachersalary/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/teachersalary',
method: 'put',
data: obj,
});
};
/**
* 重新生成数据
*/
export const remakeData = () => {
return request({
url: '/professional/teachersalary/remakeData',
method: 'get',
});
};
/**
* 检查权限
*/
export const checkAuth = () => {
return request({
url: '/professional/teachersalary/checkAuth',
method: 'get',
});
};
/**
* 查询扩展薪资信息
* @param obj
*/
export const queryExtendSalaryInfo = (obj: any) => {
return request({
url: '/professional/teachersalary/queryExtendSalaryInfo',
method: 'post',
data: obj,
});
};

View File

@@ -0,0 +1,77 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/teachersalarytax/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/teachersalarytax',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/teachersalarytax/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/teachersalarytax/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/teachersalarytax',
method: 'put',
data: obj,
});
};

View File

@@ -0,0 +1,147 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取列表
* @param query
*/
export const fetchList = (query?: any) => {
return request({
url: '/professional/teachertravel/page',
method: 'get',
params: query,
});
};
/**
* 新增
* @param obj
*/
export const addObj = (obj: any) => {
return request({
url: '/professional/teachertravel',
method: 'post',
data: obj,
});
};
/**
* 销假申请 - 修改返程数据
* @param obj
*/
export const updateTravelReturn = (obj: any) => {
return request({
url: '/professional/teachertravel/updateTravelReturn',
method: 'post',
data: obj,
});
};
/**
* 获取详情
* @param id
*/
export const getObj = (id: string | number) => {
return request({
url: `/professional/teachertravel/${id}`,
method: 'get',
});
};
/**
* 删除
* @param id
*/
export const delObj = (id: string | number) => {
return request({
url: `/professional/teachertravel/${id}`,
method: 'delete',
});
};
/**
* 更新
* @param obj
*/
export const putObj = (obj: any) => {
return request({
url: '/professional/teachertravel',
method: 'put',
data: obj,
});
};
/**
* 外出审批
* @param obj
*/
export const applyData = (obj: any) => {
return request({
url: '/professional/teachertravel/applyData',
method: 'post',
data: obj,
});
};
/**
* 销假审批
* @param obj
*/
export const applyTravelReturnData = (obj: any) => {
return request({
url: '/professional/teachertravel/applyTravelReturnData',
method: 'post',
data: obj,
});
};
/**
* 获取角色
*/
export const getRole = () => {
return request({
url: '/professional/teachertravel/getRole',
method: 'get',
});
};
/**
* 获取逾期
* @param query
*/
export const getOverDue = (query?: any) => {
return request({
url: '/professional/teachertravel/getOverDue',
method: 'get',
params: query,
});
};
/**
* 重新选择核酸类型
* @param obj
*/
export const rechooseNucleType = (obj: any) => {
return request({
url: '/professional/teachertravel/rechooseNucleType',
method: 'post',
data: obj,
});
};

Some files were not shown because too many files have changed in this diff Show More