diff --git a/src/api/dataList/enterprise.js b/src/api/dataList/enterprise.js new file mode 100644 index 0000000..75349c6 --- /dev/null +++ b/src/api/dataList/enterprise.js @@ -0,0 +1,42 @@ +import request from '@/utils/request' + +// 公司企业列表 +export function companyList(data) { + return request({ + url: '/admin/v1/manage/company', + method: 'post', + data, + }) +} +// 公司企业信息添加 +export function companyAdd(data) { + return request({ + url: '/admin/v1/manage/company/add', + method: 'post', + data, + }) +} +// 公司企业详细信息 +export function companyDetail(data) { + return request({ + url: '/admin/v1/manage/company/detail', + method: 'post', + data, + }) +} +// 公司企业信息修改 +export function companyEdit(data) { + return request({ + url: '/admin/v1/manage/company/edit', + method: 'post', + data, + }) +} +// 公司企业审核操作 +export function companyExamine(data) { + return request({ + url: '/admin/v1/manage/company/examine', + method: 'post', + data, + }) +} diff --git a/src/main.js b/src/main.js index 58f4e63..4289e24 100644 --- a/src/main.js +++ b/src/main.js @@ -20,7 +20,7 @@ import './permission' // permission control import { getDicts } from '@/api/system/dict/data' import { getConfigKey } from '@/api/system/config' import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, handleTree } from '@/utils/ruoyi' -import { modeOptions, educationOptions } from '@/utils/parameter' +import { modeOptions, educationOptions, enterpriseOptions } from '@/utils/parameter' // 分页组件 import Pagination from '@/components/Pagination' // 自定义表格工具组件 @@ -55,6 +55,7 @@ Vue.prototype.handleTree = handleTree Vue.prototype.md5 = md5 Vue.prototype.modeOptions = modeOptions Vue.prototype.educationOptions = educationOptions +Vue.prototype.enterpriseOptions = enterpriseOptions // 全局组件挂载 Vue.component('DictTag', DictTag) diff --git a/src/utils/parameter.js b/src/utils/parameter.js index 3ae2d19..bc22466 100644 --- a/src/utils/parameter.js +++ b/src/utils/parameter.js @@ -27,3 +27,9 @@ export const educationOptions = [ { key: 6, text: '研究生' }, { key: 7, text: '博士' }, ] +// 企业类型 +export const enterpriseOptions = [ + { key: 101, value: '上市企业' }, + { key: 102, value: '优质企业' }, + { key: 103, value: '普通企业' }, +] diff --git a/src/views/components/CityOptions/index.vue b/src/views/components/CityOptions/index.vue index 7aaf5f7..bf599ef 100644 --- a/src/views/components/CityOptions/index.vue +++ b/src/views/components/CityOptions/index.vue @@ -1,5 +1,10 @@