diff --git a/public/favicon.ico b/public/favicon.ico index e263760..584a79a 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/favicon1.ico b/public/favicon1.ico new file mode 100644 index 0000000..e263760 Binary files /dev/null and b/public/favicon1.ico differ diff --git a/src/assets/logo/logo.png b/src/assets/logo/logo.png index e263760..584a79a 100644 Binary files a/src/assets/logo/logo.png and b/src/assets/logo/logo.png differ diff --git a/src/assets/logo/logo3.png b/src/assets/logo/logo3.png new file mode 100644 index 0000000..e263760 Binary files /dev/null and b/src/assets/logo/logo3.png differ diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 6f50f81..b417459 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -208,6 +208,12 @@ aside { width: 1400px; margin: 0 auto; } +// 1行文本省略号 +.ellipsis{ + overflow:hidden; + white-space:nowrap; + text-overflow:ellipsis; +} // 2行文本省略号 .text_hidden { overflow: hidden; diff --git a/src/assets/styles/ruoyi.scss b/src/assets/styles/ruoyi.scss index cf7c8b7..c41d7b7 100644 --- a/src/assets/styles/ruoyi.scss +++ b/src/assets/styles/ruoyi.scss @@ -99,7 +99,7 @@ /** 表格布局 **/ .pagination-container { - // position: relative; + position: relative; height: 25px; margin-bottom: 10px; margin-top: 15px; diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue index 71b592d..1961b89 100644 --- a/src/components/FileUpload/index.vue +++ b/src/components/FileUpload/index.vue @@ -158,7 +158,7 @@ function handleUploadError(err) { } // 上传成功回调 function handleUploadSuccess(res, file) { - uploadList.value.push({ name: res.fileName, url: res.fileName }); + uploadList.value.push({ name: res.data.filename, url: res.data.filename }); if (uploadList.value.length === number.value) { fileList.value = fileList.value.concat(uploadList.value); uploadList.value = []; @@ -177,7 +177,7 @@ function getFileName(name) { if (name.lastIndexOf("/") > -1) { return name.slice(name.lastIndexOf("/") + 1); } else { - return ""; + return name; } } // 对象转成指定字符串分隔 diff --git a/src/router/index.js b/src/router/index.js index fdb21cf..907354e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -276,54 +276,6 @@ export const constantRoutes = [ ]; export const enterpriseRoutes = [ - { - path: '/technology', - component: Layout, - meta: { title: '技术管理', icon: 'dashboard' }, - alwaysShow:true, - redirect: 'noRedirect', - children: [ - { - path: 'achievement', - component: ParentView, - meta: { title: '成果列表', icon: 'list' }, - alwaysShow:true, - redirect: 'noRedirect', - children:[ - { - path: 'release', - component: () => import('@/views/admin/two/technology/release'), - name: 'release', - meta: { title: '发布成果', icon: 'dashboard' } - } - ] - }, - { - path: 'research', - component: () => import('@/views/admin/two/technology/research'), - name: 'Research', - meta: { title: '科研项目列表', icon: 'dashboard' } - } - ] - }, -] - -export const expertRoutes=[ - { - path: '/account', - component: Layout, - meta: { title: '账号管理', icon: 'dashboard' }, - alwaysShow:true, - redirect: 'noRedirect', - children: [ - { - path: 'bill', - component: () => import('@/views/admin/two/account/bill'), - name: 'Bill', - meta: { title: '账单列表', icon: 'dashboard' } - } - ] - }, // { // path: '/technology', // component: Layout, @@ -340,7 +292,7 @@ export const expertRoutes=[ // children:[ // { // path: 'release', - // component: () => import('@/views/admin/two/technology/release'), + // component: () => import('@/views/admin/expert/technology/release'), // name: 'release', // meta: { title: '发布成果', icon: 'dashboard' } // } @@ -348,7 +300,7 @@ export const expertRoutes=[ // }, // { // path: 'research', - // component: () => import('@/views/admin/two/technology/research'), + // component: () => import('@/views/admin/expert/technology/research'), // name: 'Research', // meta: { title: '科研项目列表', icon: 'dashboard' } // } @@ -356,21 +308,101 @@ export const expertRoutes=[ // }, ] -export const researchRoutes=[ +export const expertRoutes=[ { - path: '/three', + path: '/account', component: Layout, + meta: { title: '账号管理', icon: 'dashboard' }, + alwaysShow:true, + // redirect: 'noRedirect', + redirect: '/account/bill', children: [ + { + path: 'bill', + component: () => import('@/views/admin/expert/account/bill'), + name: 'Bill', + meta: { title: '账单列表', icon: 'dashboard' } + }, + { + path: 'exchange', + component: () => import('@/views/admin/expert/account/exchange'), + name: 'Exchange', + meta: { title: '兑换记录', icon: 'dashboard' } + }, + { + path: 'basicInfo', + component: () => import('@/views/admin/expert/account/basicInfo'), + name: 'basicInfo', + meta: { title: '基本资料', icon: 'dashboard' } + }, + { + path: 'transactionAuth', + component: () => import('@/views/admin/expert/account/transactionAuth'), + name: 'transactionAuth', + meta: { title: '交易认证', icon: 'dashboard' } + }, + { + path: 'profit', + component: () => import('@/views/admin/expert/account/profit'), + name: 'profit', + meta: { title: '收益管理', icon: 'dashboard' } + }, + { + path: 'withdrawal', + component: () => import('@/views/admin/expert/account/withdrawal'), + hidden: true, + name: 'Withdrawal', + meta: { title: '提现记录', icon: 'dashboard' } + }, + ] + }, + { + path: '/technology', + component: Layout, + meta: { title: '技术管理', icon: 'dashboard' }, + alwaysShow:true, + redirect: '/technology/achievement', + children: [ + { + path: 'achievement', + component: () => import('@/views/admin/expert/technology/achievement'), + name: 'Achievement', + meta: { title: '成果列表', icon: 'list' } + }, + { + path: 'release', + component: () => import('@/views/admin/expert/technology/release'), + hidden: true, + name: 'Release', + meta: { title: '发布成果', icon: 'dashboard' } + }, + { + path: 'results', + component: () => import('@/views/admin/expert/technology/results'), + hidden: true, + name: 'Results', + meta: { title: '匹配结果', icon: 'dashboard' } + }, + { + path: 'paper', + component: () => import('@/views/admin/expert/technology/paper'), + name: 'Paper', + meta: { title: '论文列表', icon: 'list' } + }, { path: 'research', - component: () => import('@/views/admin/three/index'), + component: () => import('@/views/admin/expert/technology/research'), name: 'Research', - meta: { title: '菜单3', icon: 'dashboard' } + meta: { title: '科研项目列表', icon: 'dashboard' } } ] }, ] +export const researchRoutes=[ + +] + const router = createRouter({ history: createWebHistory(), diff --git a/src/views/admin/one/index.vue b/src/views/admin/enterprise/index.vue similarity index 100% rename from src/views/admin/one/index.vue rename to src/views/admin/enterprise/index.vue diff --git a/src/views/admin/expert/account/basicInfo.vue b/src/views/admin/expert/account/basicInfo.vue new file mode 100644 index 0000000..3f02b8b --- /dev/null +++ b/src/views/admin/expert/account/basicInfo.vue @@ -0,0 +1,96 @@ + + \ No newline at end of file diff --git a/src/views/admin/expert/account/bill.vue b/src/views/admin/expert/account/bill.vue new file mode 100644 index 0000000..53a199e --- /dev/null +++ b/src/views/admin/expert/account/bill.vue @@ -0,0 +1,355 @@ + + + diff --git a/src/views/admin/expert/account/exchange.vue b/src/views/admin/expert/account/exchange.vue new file mode 100644 index 0000000..b68deb6 --- /dev/null +++ b/src/views/admin/expert/account/exchange.vue @@ -0,0 +1,186 @@ + + + diff --git a/src/views/admin/expert/account/profit.vue b/src/views/admin/expert/account/profit.vue new file mode 100644 index 0000000..d845acb --- /dev/null +++ b/src/views/admin/expert/account/profit.vue @@ -0,0 +1,240 @@ + + + + \ No newline at end of file diff --git a/src/views/admin/expert/account/transactionAuth.vue b/src/views/admin/expert/account/transactionAuth.vue new file mode 100644 index 0000000..16cdaf3 --- /dev/null +++ b/src/views/admin/expert/account/transactionAuth.vue @@ -0,0 +1,70 @@ + + \ No newline at end of file diff --git a/src/views/admin/expert/account/withdrawal.vue b/src/views/admin/expert/account/withdrawal.vue new file mode 100644 index 0000000..6e4d9f9 --- /dev/null +++ b/src/views/admin/expert/account/withdrawal.vue @@ -0,0 +1,197 @@ + + + diff --git a/src/views/admin/two/components/LineChart.vue b/src/views/admin/expert/components/LineChart.vue similarity index 100% rename from src/views/admin/two/components/LineChart.vue rename to src/views/admin/expert/components/LineChart.vue diff --git a/src/views/admin/expert/components/ReleaseForm/index.vue b/src/views/admin/expert/components/ReleaseForm/index.vue new file mode 100644 index 0000000..1b1d588 --- /dev/null +++ b/src/views/admin/expert/components/ReleaseForm/index.vue @@ -0,0 +1,310 @@ + + + \ No newline at end of file diff --git a/src/views/admin/two/index.vue b/src/views/admin/expert/index.vue similarity index 100% rename from src/views/admin/two/index.vue rename to src/views/admin/expert/index.vue diff --git a/src/views/admin/expert/technology/achievement.vue b/src/views/admin/expert/technology/achievement.vue new file mode 100644 index 0000000..c2247f1 --- /dev/null +++ b/src/views/admin/expert/technology/achievement.vue @@ -0,0 +1,234 @@ + + + diff --git a/src/views/admin/expert/technology/paper.vue b/src/views/admin/expert/technology/paper.vue new file mode 100644 index 0000000..cbd4c8c --- /dev/null +++ b/src/views/admin/expert/technology/paper.vue @@ -0,0 +1,433 @@ + + + diff --git a/src/views/admin/expert/technology/release.vue b/src/views/admin/expert/technology/release.vue new file mode 100644 index 0000000..64ef3d7 --- /dev/null +++ b/src/views/admin/expert/technology/release.vue @@ -0,0 +1,35 @@ + + \ No newline at end of file diff --git a/src/views/admin/two/technology/research.vue b/src/views/admin/expert/technology/research.vue similarity index 100% rename from src/views/admin/two/technology/research.vue rename to src/views/admin/expert/technology/research.vue diff --git a/src/views/admin/expert/technology/results.vue b/src/views/admin/expert/technology/results.vue new file mode 100644 index 0000000..86c462c --- /dev/null +++ b/src/views/admin/expert/technology/results.vue @@ -0,0 +1,193 @@ + + + + diff --git a/src/views/admin/index.vue b/src/views/admin/index.vue index 4876054..517762c 100644 --- a/src/views/admin/index.vue +++ b/src/views/admin/index.vue @@ -2,23 +2,23 @@