diff --git a/.env.development b/.env.development index 2744ed2..92d720b 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 若依管理系统 +VITE_APP_TITLE = 中科云 # 开发环境配置 VITE_APP_ENV = 'development' diff --git a/.env.production b/.env.production index d857bba..5c5c60d 100644 --- a/.env.production +++ b/.env.production @@ -1,11 +1,11 @@ # 页面标题 -VITE_APP_TITLE = 若依管理系统 +VITE_APP_TITLE = 中科云 # 生产环境配置 VITE_APP_ENV = 'production' # 若依管理系统/生产环境 -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/.env.staging b/.env.staging index fa7c357..f911064 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 若依管理系统 +VITE_APP_TITLE = 中科云 # 生产环境配置 VITE_APP_ENV = 'staging' diff --git a/index.html b/index.html index 179579b..9969e4c 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - 若依管理系统 + 中科云 \ No newline at end of file + diff --git a/src/components/VideoUpload/index.vue b/src/components/VideoUpload/index.vue index a3a6535..c9f6c56 100644 --- a/src/components/VideoUpload/index.vue +++ b/src/components/VideoUpload/index.vue @@ -315,7 +315,7 @@ export default { font-size: 18px !important; color: rgb(243, 143, 130); } -.el-input >>> .el-textarea__inner { +.el-input > .el-textarea__inner { font-size: 18px !important; } .video { @@ -326,7 +326,7 @@ export default { min-width: 200px; max-width: 100%; } -.progressModule >>> .el-progress__text { +.progressModule > .el-progress__text { color: #1296db; font-size: 15px !important; } diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index 962600e..bd79c96 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -1,31 +1,66 @@ @@ -78,4 +113,4 @@ const sideTheme = computed(() => settingsStore.sideTheme); } } } - \ No newline at end of file + diff --git a/src/main.js b/src/main.js index 28725e7..816b4c4 100644 --- a/src/main.js +++ b/src/main.js @@ -42,6 +42,8 @@ import TreeSelect from '@/components/TreeSelect' // 字典标签组件 import DictTag from '@/components/DictTag' +import WangEditor from '@/components/WangEditor' + const app = createApp(App) // 全局方法挂载 @@ -62,6 +64,7 @@ app.component('FileUpload', FileUpload) app.component('ImageUpload', ImageUpload) app.component('ImagePreview', ImagePreview) app.component('RightToolbar', RightToolbar) +app.component('WangEditor', WangEditor) app.use(router) app.use(store) diff --git a/src/permission.js b/src/permission.js index 5bd43b9..f6f2b8d 100644 --- a/src/permission.js +++ b/src/permission.js @@ -33,7 +33,7 @@ router.beforeEach((to, from, next) => { usePermissionStore() .generateRoutes(useUserStore().roleId) .then((accessRoutes) => { - console.log(accessRoutes); + // console.log(accessRoutes); // 根据roles权限生成可访问的路由表 accessRoutes.forEach((route) => { if (!isHttp(route.path)) { diff --git a/src/router/index.js b/src/router/index.js index 9cb7870..c7f5f29 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -94,12 +94,12 @@ export const constantRoutes = [ name: "enterprise", meta: { title: "企业入驻" }, }, - // { - // path:'expert', - // component: () => import('@/views/identity/expert'), - // name: 'expert', - // meta: { title: '专家入驻'} - // }, + { + path: 'expert', + component: () => import('@/views/identity/expert'), + name: 'expert', + meta: { title: '专家入驻' } + }, // { // path:'research', // component: () => import('@/views/identity/research'), @@ -184,12 +184,12 @@ export const enterpriseRoutes = [ name: "Bill", meta: { title: "账单列表", icon: "list" }, }, - { - path: "record", - component: () => import("@/views/admin/enterprise/account/record"), - name: "Record", - meta: { title: "创新币兑换记录", icon: "list" }, - }, + // { + // path: "record", + // component: () => import("@/views/admin/enterprise/account/record"), + // name: "Record", + // meta: { title: "创新币兑换记录", icon: "list" }, + // }, ], }, { @@ -243,10 +243,10 @@ export const enterpriseRoutes = [ meta: { title: "服务需求", icon: "list" }, }, { - path: "release", - component: () => import("@/views/admin/enterprise/demand/release"), + path: "releaseService", + component: () => import("@/views/admin/enterprise/demand/releaseService"), hidden: true, - name: "release", + name: "releaseService", meta: { title: "发布服务需求", icon: "list" }, }, { @@ -256,10 +256,10 @@ export const enterpriseRoutes = [ meta: { title: "技术需求", icon: "list" }, }, { - path: "released", - component: () => import("@/views/admin/enterprise/demand/released"), + path: "releaseTechnology", + component: () => import("@/views/admin/enterprise/demand/releaseTechnology"), hidden: true, - name: "released", + name: "releaseTechnology", meta: { title: "发布技术需求", icon: "list" }, }, { diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js index 6dca211..9d137cb 100644 --- a/src/store/modules/permission.js +++ b/src/store/modules/permission.js @@ -1,11 +1,11 @@ import auth from "@/plugins/auth"; -import router, { constantRoutes, dynamicRoutes } from "@/router"; +import router, { constantRoutes, dynamicRoutes, enterpriseRoutes, expertRoutes } from "@/router"; import { getRouters } from "@/api/menu"; import Layout from "@/layout/index"; import ParentView from "@/components/ParentView"; import InnerLink from "@/layout/components/InnerLink"; -import { enterpriseRoutes } from "@/router"; -import { expertRoutes } from "../../router"; +// import { enterpriseRoutes, expertRoutes } from "@/router"; +// import { expertRoutes } from "../../router"; // 匹配views里面所有的.vue文件 const modules = import.meta.glob("./../../views/**/*.vue"); @@ -22,7 +22,7 @@ const usePermissionStore = defineStore("permission", { setRoutes(routes) { this.addRoutes = routes; this.routes = constantRoutes.concat(routes); - console.log(routes); + // console.log(routes); }, setDefaultRoutes(routes) { this.defaultRoutes = constantRoutes.concat(routes); @@ -40,6 +40,7 @@ const usePermissionStore = defineStore("permission", { routesList = enterpriseRoutes; } else if (roles == 2) { routesList = expertRoutes; + // routesList = []; } // console.log(routesList); // const sdata = JSON.parse(JSON.stringify(routesList)); diff --git a/src/utils/parameter.js b/src/utils/parameter.js index b251992..33b00b0 100644 --- a/src/utils/parameter.js +++ b/src/utils/parameter.js @@ -35,19 +35,19 @@ export const enterpriseOptions = [ ] // 成果成熟度 技术 export const maturityOptions = [ - { key: 1, value: '正在研发' }, - { key: 2, value: '小试阶段' }, - { key: 3, value: '通过小试' }, - { key: 4, value: '中试阶段' }, - { key: 5, value: '通过中试' }, - { key: 6, value: '可规模生产' }, + { 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: '国际领先' }, + { key: "1", value: '国内先进' }, + { key: "2", value: '国内领先' }, + { key: "3", value: '国际先进' }, + { key: "4", value: '国际领先' }, ] // 专利类型 export const patentOptions = [ @@ -57,13 +57,13 @@ export const patentOptions = [ ] // 合作模式 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: '其他' }, + { 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/admin/enterprise/account/basicInfo.vue b/src/views/admin/enterprise/account/basicInfo.vue index adeb1f6..b6cbca4 100644 --- a/src/views/admin/enterprise/account/basicInfo.vue +++ b/src/views/admin/enterprise/account/basicInfo.vue @@ -3,28 +3,37 @@

基本资料

- + - + - + - + - + - 提交 + 提交

企业资料

@@ -32,7 +41,7 @@ v-model="enterpriseInfoForm" :isAdd="false" :labelWidth="labelWidth" - ref="enterpriseInfoFormRef" + ref="enterpriseFormRef" />
提交 @@ -40,36 +49,40 @@
- diff --git a/src/views/admin/enterprise/account/bill.vue b/src/views/admin/enterprise/account/bill.vue new file mode 100644 index 0000000..cc340bc --- /dev/null +++ b/src/views/admin/enterprise/account/bill.vue @@ -0,0 +1 @@ + diff --git a/src/views/admin/enterprise/account/record.vue b/src/views/admin/enterprise/account/record.vue new file mode 100644 index 0000000..cc340bc --- /dev/null +++ b/src/views/admin/enterprise/account/record.vue @@ -0,0 +1 @@ + diff --git a/src/views/admin/enterprise/activity/active.vue b/src/views/admin/enterprise/activity/active.vue new file mode 100644 index 0000000..8a4904c --- /dev/null +++ b/src/views/admin/enterprise/activity/active.vue @@ -0,0 +1,129 @@ + + + diff --git a/src/views/admin/enterprise/demand/releaseService.vue b/src/views/admin/enterprise/demand/releaseService.vue new file mode 100644 index 0000000..d718202 --- /dev/null +++ b/src/views/admin/enterprise/demand/releaseService.vue @@ -0,0 +1,202 @@ + + diff --git a/src/views/admin/enterprise/demand/releaseTechnology.vue b/src/views/admin/enterprise/demand/releaseTechnology.vue new file mode 100644 index 0000000..3104779 --- /dev/null +++ b/src/views/admin/enterprise/demand/releaseTechnology.vue @@ -0,0 +1,296 @@ + + diff --git a/src/views/admin/enterprise/demand/results.vue b/src/views/admin/enterprise/demand/results.vue new file mode 100644 index 0000000..cc340bc --- /dev/null +++ b/src/views/admin/enterprise/demand/results.vue @@ -0,0 +1 @@ + diff --git a/src/views/admin/enterprise/demand/serviceDemind.vue b/src/views/admin/enterprise/demand/serviceDemand.vue similarity index 79% rename from src/views/admin/enterprise/demand/serviceDemind.vue rename to src/views/admin/enterprise/demand/serviceDemand.vue index 3b8cc6f..1dac9bd 100644 --- a/src/views/admin/enterprise/demand/serviceDemind.vue +++ b/src/views/admin/enterprise/demand/serviceDemand.vue @@ -2,8 +2,8 @@
- - 发布需求 + + 发布需求 待受理 @@ -22,20 +22,20 @@ 已结束 - - - + + + - - + + - - diff --git a/src/views/website/home/comp/index2.vue b/src/views/website/home/comp/index2.vue new file mode 100644 index 0000000..4e8c35c --- /dev/null +++ b/src/views/website/home/comp/index2.vue @@ -0,0 +1,297 @@ + + + + + \ No newline at end of file diff --git a/src/views/website/home/comp/index3.vue b/src/views/website/home/comp/index3.vue new file mode 100644 index 0000000..d3bfefa --- /dev/null +++ b/src/views/website/home/comp/index3.vue @@ -0,0 +1,548 @@ + + + + + \ No newline at end of file diff --git a/src/views/website/home/comp/index4.vue b/src/views/website/home/comp/index4.vue new file mode 100644 index 0000000..112dc0d --- /dev/null +++ b/src/views/website/home/comp/index4.vue @@ -0,0 +1,546 @@ + + + + + \ No newline at end of file diff --git a/src/views/website/home/comp/index5.vue b/src/views/website/home/comp/index5.vue new file mode 100644 index 0000000..4969738 --- /dev/null +++ b/src/views/website/home/comp/index5.vue @@ -0,0 +1,548 @@ + + + + + \ No newline at end of file diff --git a/src/views/website/home/comp/index6.vue b/src/views/website/home/comp/index6.vue new file mode 100644 index 0000000..d7529c7 --- /dev/null +++ b/src/views/website/home/comp/index6.vue @@ -0,0 +1,546 @@ + + + + + \ No newline at end of file diff --git a/src/views/website/home/comp/index7.vue b/src/views/website/home/comp/index7.vue new file mode 100644 index 0000000..5cecb5b --- /dev/null +++ b/src/views/website/home/comp/index7.vue @@ -0,0 +1,548 @@ + + + + + \ No newline at end of file diff --git a/src/views/website/home/comp/index8.vue b/src/views/website/home/comp/index8.vue new file mode 100644 index 0000000..3f67bba --- /dev/null +++ b/src/views/website/home/comp/index8.vue @@ -0,0 +1,133 @@ + + + + + diff --git a/src/views/website/home/index.vue b/src/views/website/home/index.vue index 94c1c21..2788456 100644 --- a/src/views/website/home/index.vue +++ b/src/views/website/home/index.vue @@ -1,10 +1,268 @@ - + + + diff --git a/src/views/website/login/index.vue b/src/views/website/login/index.vue index 37fb2ce..5b3013a 100644 --- a/src/views/website/login/index.vue +++ b/src/views/website/login/index.vue @@ -92,7 +92,7 @@ :model="registerForm" status-icon :rules="isCheckRules" - ref="isCheck" + ref="isCheckRef" >
@@ -127,19 +127,21 @@