From 766d9e2484e642e03f031ba9776dabcc0be22abb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E4=B8=BD=E5=90=9B?= <664953382@qq.com> Date: Mon, 21 Mar 2022 13:39:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=93=E5=AE=B6=E6=88=90=E6=9E=9C=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/admin/expert/activity.js | 10 ++ src/main.js | 3 +- src/utils/parameter.js | 13 ++- src/views/admin/expert/activity/active.vue | 85 +++++---------- .../expert/components/ReleaseForm/index.vue | 101 +++++------------- .../admin/expert/technology/achievement.vue | 6 +- src/views/admin/expert/technology/release.vue | 20 +++- src/views/signin.vue | 1 + 8 files changed, 99 insertions(+), 140 deletions(-) create mode 100644 src/api/admin/expert/activity.js diff --git a/src/api/admin/expert/activity.js b/src/api/admin/expert/activity.js new file mode 100644 index 0000000..dd67a99 --- /dev/null +++ b/src/api/admin/expert/activity.js @@ -0,0 +1,10 @@ +import request from '@/utils/request'; + +// 专家 - 活动列表 +export function activityList(data) { + return request({ + url: '/enterprise/v1/activity/joins', + method:'post', + data + }); +} \ No newline at end of file diff --git a/src/main.js b/src/main.js index 0c46535..dc06290 100644 --- a/src/main.js +++ b/src/main.js @@ -28,7 +28,7 @@ import './permission' // permission control import { useDict } from '@/utils/dict' import { parseTime, resetForm, addDateRange, handleTree, selectDictLabel } from '@/utils/ruoyi' -import { modeOptions, educationOptions, enterpriseOptions ,maturityOptions,leadOptions,patentOptions} from '@/utils/parameter' +import { modeOptions, educationOptions, enterpriseOptions ,maturityOptions,leadOptions,patentOptions,cooperationOptions} from '@/utils/parameter' // 分页组件 import Pagination from '@/components/Pagination' @@ -65,6 +65,7 @@ app.config.globalProperties.enterpriseOptions = enterpriseOptions app.config.globalProperties.maturityOptions = maturityOptions app.config.globalProperties.leadOptions = leadOptions app.config.globalProperties.patentOptions = patentOptions +app.config.globalProperties.cooperationOptions = cooperationOptions app.config.globalProperties.md5 = md5; // 全局组件挂载 diff --git a/src/utils/parameter.js b/src/utils/parameter.js index aa6107f..40ba9ce 100644 --- a/src/utils/parameter.js +++ b/src/utils/parameter.js @@ -55,4 +55,15 @@ export const patentOptions = [ { 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/admin/expert/activity/active.vue b/src/views/admin/expert/activity/active.vue index 984b2f5..2cccdcd 100644 --- a/src/views/admin/expert/activity/active.vue +++ b/src/views/admin/expert/activity/active.vue @@ -6,9 +6,9 @@ v-show="showSearch" :inline="true" > - + - - - - - + + + + + + @@ -38,7 +39,7 @@ @@ -78,8 +81,8 @@ @@ -129,23 +132,7 @@