diff --git a/.env.production b/.env.production index d857bba..583ccf1 100644 --- a/.env.production +++ b/.env.production @@ -5,7 +5,8 @@ VITE_APP_TITLE = 若依管理系统 VITE_APP_ENV = 'production' # 若依管理系统/生产环境 -VITE_APP_BASE_API = '/prod-api' +# VITE_APP_BASE_API = '/prod-api' +VITE_APP_BASE_API = 'http://120.26.107.74:1618' # 是否在打包时开启压缩,支持 gzip 和 brotli VITE_BUILD_COMPRESS = gzip \ No newline at end of file diff --git a/src/api/dataList/agent.js b/src/api/dataList/agent.js new file mode 100644 index 0000000..e1b86a6 --- /dev/null +++ b/src/api/dataList/agent.js @@ -0,0 +1,42 @@ +import request from '@/utils/request' + +// 经纪人列表 +export function agentList(data) { + return request({ + url: '/admin/v1/manage/agent', + method: 'post', + data, + }) +} +// 经纪人信息添加 +export function agentAdd(data) { + return request({ + url: '/admin/v1/manage/agent/add', + method: 'post', + data, + }) +} +// 经纪人详细信息 +export function agentDetail(data) { + return request({ + url: '/admin/v1/manage/agent/detail', + method: 'post', + data, + }) +} +// 经纪人信息修改 +export function agentEdit(data) { + return request({ + url: '/admin/v1/manage/agent/edit', + method: 'post', + data, + }) +} +// 经纪人审核操作 +export function agentExamine(data) { + return request({ + url: '/admin/v1/manage/agent/examine', + method: 'post', + data, + }) +} diff --git a/src/api/dataList/enterprise.js b/src/api/dataList/enterprise.js new file mode 100644 index 0000000..0de6157 --- /dev/null +++ b/src/api/dataList/enterprise.js @@ -0,0 +1,49 @@ +import request from "@/utils/request"; + +// 公司企业列表 +export function companyList(params) { + return request({ + url: "/business/enterprise/list", + method: "get", + params, + }); +} +// 公司企业信息添加 +export function companyAdd(data) { + return request({ + url: "/business/enterprise", + method: "post", + data, + }); +} +// 公司企业详细信息 +export function companyDetail(id) { + return request({ + url: `/business/enterprise/${id}`, + method: "get", + }); +} +// 公司企业信息修改 +export function companyEdit(data) { + return request({ + url: "/business/enterprise", + method: "put", + data, + }); +} + +export const companyExport = () => { + return request({ + url: "/business/enterprise/export", + method: "get", + }); +}; + +// 公司企业审核操作 +export function companyExamine(data) { + return request({ + url: "/admin/v1/manage/company/examine", + method: "post", + data, + }); +} diff --git a/src/api/dataList/expert.js b/src/api/dataList/expert.js new file mode 100644 index 0000000..68d2b71 --- /dev/null +++ b/src/api/dataList/expert.js @@ -0,0 +1,42 @@ +import request from '@/utils/request' + +// 专家列表 +export function expertList(data) { + return request({ + url: '/admin/v1/manage/expert', + method: 'post', + data, + }) +} +// 专家信息添加 +export function expertAdd(data) { + return request({ + url: '/admin/v1/manage/expert/add', + method: 'post', + data, + }) +} +// 专家详细信息 +export function expertDetail(data) { + return request({ + url: '/admin/v1/manage/expert/detail', + method: 'post', + data, + }) +} +// 专家信息修改 +export function expertEdit(data) { + return request({ + url: '/admin/v1/manage/expert/edit', + method: 'post', + data, + }) +} +// 专家审核操作 +export function expertExamine(data) { + return request({ + url: '/admin/v1/manage/expert/examine', + method: 'post', + data, + }) +} diff --git a/src/api/dataList/laboratory.js b/src/api/dataList/laboratory.js new file mode 100644 index 0000000..eccb4b8 --- /dev/null +++ b/src/api/dataList/laboratory.js @@ -0,0 +1,51 @@ +import request from '@/utils/request' + +// 实验室筛选信息 +export function laboratorySelect(data) { + return request({ + url: '/admin/v1/laboratory/select', + method: 'post', + data, + }) +} + +// 实验室列表 +export function laboratoryList(data) { + return request({ + url: '/admin/v1/manage/laboratory', + method: 'post', + data, + }) +} +// // 实验室信息添加 +// export function laboratoryAdd(data) { +// return request({ +// url: '/admin/v1/manage/laboratory/add', +// method: 'post', +// data, +// }) +// } +// 实验室详细信息 +export function laboratoryDetail(data) { + return request({ + url: '/admin/v1/manage/laboratory/detail', + method: 'post', + data, + }) +} +// 实验室信息修改 +export function laboratoryEdit(data) { + return request({ + url: '/admin/v1/manage/laboratory/edit', + method: 'post', + data, + }) +} +// 实验室审核操作 +export function laboratoryExamine(data) { + return request({ + url: '/admin/v1/manage/laboratory/examine', + method: 'post', + data, + }) +} diff --git a/src/api/dataList/patent.js b/src/api/dataList/patent.js new file mode 100644 index 0000000..008ed72 --- /dev/null +++ b/src/api/dataList/patent.js @@ -0,0 +1,72 @@ +import request from "@/utils/request"; + +// 专利列表 +export function patentList(params) { + return request({ + url: "/business/casPatent/list", + method: "get", + params, + }); +} +// 专利信息添加 +export function patentAdd(data) { + return request({ + url: "/business/casPatent", + method: "post", + data, + }); +} +// 专利信息详情 +export function patentDetail(id) { + return request({ + url: `/business/casPatent/${id}`, + method: "get", + }); +} +// 专利信息修改 +export function patentEdit(data) { + return request({ + url: "/business/casPatent", + method: "put", + data, + }); +} +// 专利信息删除 +export function patentDelete(ids) { + return request({ + url: `/business/casPatent/${ids}`, + method: "delete", + }); +} +// 专利上下架... 不用了 +export function patentShelf(data) { + return request({ + url: "/admin/v1/technology/patent/shelf", + method: "post", + data, + }); +} +// 认领专利列表 +export function expertPatent(data) { + return request({ + url: "/admin/v1/manage/expert/patent", + method: "post", + data, + }); +} +// 认领 +export function expertPatentBind(data) { + return request({ + url: "/admin/v1/manage/expert/patent/bind", + method: "post", + data, + }); +} +// 取消认领 +export function expertPatentUnbind(data) { + return request({ + url: "/admin/v1/manage/expert/patent/unbind", + method: "post", + data, + }); +} diff --git a/src/api/dataList/research.js b/src/api/dataList/research.js new file mode 100644 index 0000000..8888fe2 --- /dev/null +++ b/src/api/dataList/research.js @@ -0,0 +1,50 @@ +import request from '@/utils/request' + +// 科研机构信息 +export function researchList(data) { + return request({ + url: '/admin/v1/manage/research', + method: 'post', + data, + }) +} +// 科研机构筛选信息 +export function researchSelect(data) { + return request({ + url: '/admin/v1/manage/research/select', + method: 'post', + data, + }) +} +// 科研机构信息添加 +export function researchAdd(data) { + return request({ + url: '/admin/v1/manage/research/add', + method: 'post', + data, + }) +} +// 科研机构信息修改 +export function researchEdit(data) { + return request({ + url: '/admin/v1/manage/research/edit', + method: 'post', + data, + }) +} +// 科研机构详细信息 +export function researchDetail(data) { + return request({ + url: '/admin/v1/manage/research/detail', + method: 'post', + data, + }) +} +// 科研机构审核操作 +export function researchExamine(data) { + return request({ + url: '/admin/v1/manage/research/examine', + method: 'post', + data, + }) +} diff --git a/src/utils/parameter.js b/src/utils/parameter.js new file mode 100644 index 0000000..83a8e2f --- /dev/null +++ b/src/utils/parameter.js @@ -0,0 +1,69 @@ +// 归属导航 +export const modeOptions = [ + { + value: 101, + label: "中小企业服务", + }, + { + value: 102, + label: "大型企业服务", + }, + { + value: 103, + label: "政府企业服务", + }, + { + value: 104, + label: "科研院所服务", + }, +]; +// 学历 +export const educationOptions = [ + { key: 1, text: "小学" }, + { key: 2, text: "初中" }, + { key: 3, text: "高中" }, + { key: 4, text: "大专" }, + { key: 5, text: "本科" }, + { key: 6, text: "研究生" }, + { key: 7, text: "博士" }, +]; +// 企业类型 +export const enterpriseOptions = [ + { key: 101, value: "上市企业" }, + { key: 102, value: "优质企业" }, + { key: 103, value: "普通企业" }, +]; +// 成果成熟度 技术 +export const maturityOptions = [ + { key: 1, value: "正在研发" }, + { key: 2, value: "小试阶段" }, + { key: 3, value: "通过小试" }, + { key: 4, value: "中试阶段" }, + { key: 5, value: "通过中试" }, + { key: 6, value: "可规模生产" }, +]; +// 成果领先型 领先标准 +export const leadOptions = [ + { key: 1, value: "国内先进" }, + { key: 2, value: "国内领先" }, + { key: 3, value: "国际先进" }, + { key: 4, value: "国际领先" }, +]; +// 专利类型 +export const patentOptions = [ + { key: "1", value: "发明专利" }, + { key: "2", value: "外观设计" }, + { key: "3", value: "实用新型" }, +]; +// 合作模式 +export const cooperationOptions = [ + { key: 101, value: "技术转让" }, + { key: 102, value: "技术许可" }, + { key: 103, value: "技术入股" }, + { key: 104, value: "合作开发" }, + { key: 105, value: "融资" }, + { key: 106, value: "公司" }, + { key: 107, value: "代理加盟" }, + { key: 108, value: "市场推广" }, + { key: 109, value: "其他" }, +]; diff --git a/src/views/components/AgentForm/index.vue b/src/views/components/AgentForm/index.vue new file mode 100644 index 0000000..4ae94d9 --- /dev/null +++ b/src/views/components/AgentForm/index.vue @@ -0,0 +1,267 @@ + + + 基本信息 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 身份证人像面 + + + + + + 身份证国徽面 + + + + + + 手持身份证人像面 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/components/CityOptions/index.vue b/src/views/components/CityOptions/index.vue new file mode 100644 index 0000000..bf599ef --- /dev/null +++ b/src/views/components/CityOptions/index.vue @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/components/EnterpriseDemandForm/index.vue b/src/views/components/EnterpriseDemandForm/index.vue new file mode 100644 index 0000000..1a87d61 --- /dev/null +++ b/src/views/components/EnterpriseDemandForm/index.vue @@ -0,0 +1,253 @@ + + + 基本信息 + + + + + + + + + + + + + + + + + + + + + + {{ item.name }} + + + + + + + 添加 + + + + + + + + + + + + + + + + + + + + + 万元 + + + + + + 面议 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/components/ExpertForm/index.vue b/src/views/components/ExpertForm/index.vue new file mode 100644 index 0000000..c6fb54e --- /dev/null +++ b/src/views/components/ExpertForm/index.vue @@ -0,0 +1,484 @@ + + + 基本信息 + + + + + + + + + + + + + + + + + + + + + + + + + 查找 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 男 + 女 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/components/FieldOptions/index.vue b/src/views/components/FieldOptions/index.vue new file mode 100644 index 0000000..ab01c92 --- /dev/null +++ b/src/views/components/FieldOptions/index.vue @@ -0,0 +1,224 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + 添加 + + + + + + + {{ item.name }} + > + + + + {{ tag }} + + + + + + + + + + \ No newline at end of file diff --git a/src/views/components/FieldSingle/index.vue b/src/views/components/FieldSingle/index.vue new file mode 100644 index 0000000..327d96a --- /dev/null +++ b/src/views/components/FieldSingle/index.vue @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/components/InputBoxAdd/index.vue b/src/views/components/InputBoxAdd/index.vue new file mode 100644 index 0000000..b19815f --- /dev/null +++ b/src/views/components/InputBoxAdd/index.vue @@ -0,0 +1,102 @@ + + + + + + + + + + + 添加 + + + + + {{ tag }} + + + + + + + + + \ No newline at end of file diff --git a/src/views/components/LaboratoryForm/index.vue b/src/views/components/LaboratoryForm/index.vue new file mode 100644 index 0000000..cfa6b84 --- /dev/null +++ b/src/views/components/LaboratoryForm/index.vue @@ -0,0 +1,259 @@ + + + 基本信息 + + + + + + + + + + + + + + + + + 查找 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/components/ReleaseForm/index.vue b/src/views/components/ReleaseForm/index.vue new file mode 100644 index 0000000..899205b --- /dev/null +++ b/src/views/components/ReleaseForm/index.vue @@ -0,0 +1,265 @@ + + + 基本信息 + + + + + + + + 创新币 + + + + + + + min + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 图片材料上传 + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/components/ResearchForm/index.vue b/src/views/components/ResearchForm/index.vue new file mode 100644 index 0000000..144c149 --- /dev/null +++ b/src/views/components/ResearchForm/index.vue @@ -0,0 +1,221 @@ + + + 基本信息 + + + + + + + + + + + + + + + + + + + + + + + + + 查找 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/components/icons/element-icons.js b/src/views/components/icons/element-icons.js new file mode 100644 index 0000000..9ea4d63 --- /dev/null +++ b/src/views/components/icons/element-icons.js @@ -0,0 +1,3 @@ +const elementIcons = ['platform-eleme', 'eleme', 'delete-solid', 'delete', 's-tools', 'setting', 'user-solid', 'user', 'phone', 'phone-outline', 'more', 'more-outline', 'star-on', 'star-off', 's-goods', 'goods', 'warning', 'warning-outline', 'question', 'info', 'remove', 'circle-plus', 'success', 'error', 'zoom-in', 'zoom-out', 'remove-outline', 'circle-plus-outline', 'circle-check', 'circle-close', 's-help', 'help', 'minus', 'plus', 'check', 'close', 'picture', 'picture-outline', 'picture-outline-round', 'upload', 'upload2', 'download', 'camera-solid', 'camera', 'video-camera-solid', 'video-camera', 'message-solid', 'bell', 's-cooperation', 's-order', 's-platform', 's-fold', 's-unfold', 's-operation', 's-promotion', 's-home', 's-release', 's-ticket', 's-management', 's-open', 's-shop', 's-marketing', 's-flag', 's-comment', 's-finance', 's-claim', 's-custom', 's-opportunity', 's-data', 's-check', 's-grid', 'menu', 'share', 'd-caret', 'caret-left', 'caret-right', 'caret-bottom', 'caret-top', 'bottom-left', 'bottom-right', 'back', 'right', 'bottom', 'top', 'top-left', 'top-right', 'arrow-left', 'arrow-right', 'arrow-down', 'arrow-up', 'd-arrow-left', 'd-arrow-right', 'video-pause', 'video-play', 'refresh', 'refresh-right', 'refresh-left', 'finished', 'sort', 'sort-up', 'sort-down', 'rank', 'loading', 'view', 'c-scale-to-original', 'date', 'edit', 'edit-outline', 'folder', 'folder-opened', 'folder-add', 'folder-remove', 'folder-delete', 'folder-checked', 'tickets', 'document-remove', 'document-delete', 'document-copy', 'document-checked', 'document', 'document-add', 'printer', 'paperclip', 'takeaway-box', 'search', 'monitor', 'attract', 'mobile', 'scissors', 'umbrella', 'headset', 'brush', 'mouse', 'coordinate', 'magic-stick', 'reading', 'data-line', 'data-board', 'pie-chart', 'data-analysis', 'collection-tag', 'film', 'suitcase', 'suitcase-1', 'receiving', 'collection', 'files', 'notebook-1', 'notebook-2', 'toilet-paper', 'office-building', 'school', 'table-lamp', 'house', 'no-smoking', 'smoking', 'shopping-cart-full', 'shopping-cart-1', 'shopping-cart-2', 'shopping-bag-1', 'shopping-bag-2', 'sold-out', 'sell', 'present', 'box', 'bank-card', 'money', 'coin', 'wallet', 'discount', 'price-tag', 'news', 'guide', 'male', 'female', 'thumb', 'cpu', 'link', 'connection', 'open', 'turn-off', 'set-up', 'chat-round', 'chat-line-round', 'chat-square', 'chat-dot-round', 'chat-dot-square', 'chat-line-square', 'message', 'postcard', 'position', 'turn-off-microphone', 'microphone', 'close-notification', 'bangzhu', 'time', 'odometer', 'crop', 'aim', 'switch-button', 'full-screen', 'copy-document', 'mic', 'stopwatch', 'medal-1', 'medal', 'trophy', 'trophy-1', 'first-aid-kit', 'discover', 'place', 'location', 'location-outline', 'location-information', 'add-location', 'delete-location', 'map-location', 'alarm-clock', 'timer', 'watch-1', 'watch', 'lock', 'unlock', 'key', 'service', 'mobile-phone', 'bicycle', 'truck', 'ship', 'basketball', 'football', 'soccer', 'baseball', 'wind-power', 'light-rain', 'lightning', 'heavy-rain', 'sunrise', 'sunrise-1', 'sunset', 'sunny', 'cloudy', 'partly-cloudy', 'cloudy-and-sunny', 'moon', 'moon-night', 'dish', 'dish-1', 'food', 'chicken', 'fork-spoon', 'knife-fork', 'burger', 'tableware', 'sugar', 'dessert', 'ice-cream', 'hot-water', 'water-cup', 'coffee-cup', 'cold-drink', 'goblet', 'goblet-full', 'goblet-square', 'goblet-square-full', 'refrigerator', 'grape', 'watermelon', 'cherry', 'apple', 'pear', 'orange', 'coffee', 'ice-tea', 'ice-drink', 'milk-tea', 'potato-strips', 'lollipop', 'ice-cream-square', 'ice-cream-round'] + +export default elementIcons diff --git a/src/views/components/icons/index.vue b/src/views/components/icons/index.vue new file mode 100644 index 0000000..d3c9a71 --- /dev/null +++ b/src/views/components/icons/index.vue @@ -0,0 +1,87 @@ + + + + + + + + + {{ generateIconCode(item) }} + + + + {{ item }} + + + + + + + + + {{ generateElementIconCode(item) }} + + + + {{ item }} + + + + + + + + + + + diff --git a/src/views/components/icons/svg-icons.js b/src/views/components/icons/svg-icons.js new file mode 100644 index 0000000..724cd8e --- /dev/null +++ b/src/views/components/icons/svg-icons.js @@ -0,0 +1,10 @@ +const req = require.context('../../../assets/icons/svg', false, /\.svg$/) +const requireAll = requireContext => requireContext.keys() + +const re = /\.\/(.*)\.svg/ + +const svgIcons = requireAll(req).map(i => { + return i.match(re)[1] +}) + +export default svgIcons diff --git a/src/views/dataList/enterprise/add.vue b/src/views/dataList/enterprise/add.vue new file mode 100644 index 0000000..6e50534 --- /dev/null +++ b/src/views/dataList/enterprise/add.vue @@ -0,0 +1,102 @@ + + + + 取消 + 提交 + + + + + + diff --git a/src/views/dataList/enterprise/index.vue b/src/views/dataList/enterprise/index.vue new file mode 100644 index 0000000..3be8b51 --- /dev/null +++ b/src/views/dataList/enterprise/index.vue @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 导入 + + + 导出 + + + + + + + + + + + {{ row.industrys[row.industrys.length - 1] }} + + + + + {{ siteList.find((el) => el.id === row.tenantId)?.name || "无" }} + + + + + + + {{ enterpriseOptions.find((e) => row.kind == e.key).value }} + + + + + + {{ row.createdAt }} + + + + + 修改 + + + + + + + + + diff --git a/src/views/dataList/patent/index.vue b/src/views/dataList/patent/index.vue new file mode 100644 index 0000000..7fe16e2 --- /dev/null +++ b/src/views/dataList/patent/index.vue @@ -0,0 +1,556 @@ + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + + + + + + + + + + + + + + + 编辑 + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 图片材料上传 +