diff --git a/client/.env.development b/client/.env.development
index f6c64bf..e00224e 100644
--- a/client/.env.development
+++ b/client/.env.development
@@ -3,8 +3,8 @@ ENV = 'development'
# base api
#VUE_APP_BASE_API = 'http://10.0.11.127:8000/api'
-VUE_APP_BASE_API = 'http://127.0.0.1:2222/api'
-# VUE_APP_BASE_API = 'https://testsearch.ctc.ac.cn/api'
+# VUE_APP_BASE_API = 'http://127.0.0.1:2222/api'
+VUE_APP_BASE_API = 'https://testsearch.ctc.ac.cn/api'
#VUE_APP_BASE_API = 'http://47.95.0.242:9101/api'
diff --git a/client/package.json b/client/package.json
index 5617562..749ca6b 100644
--- a/client/package.json
+++ b/client/package.json
@@ -27,6 +27,7 @@
"path-to-regexp": "2.4.0",
"vod-js-sdk-v6": "^1.4.12",
"vue": "2.6.10",
+ "vue-pdf": "^4.2.0",
"vue-router": "3.0.6",
"vuex": "3.1.0",
"xlsx": "^0.15.5"
diff --git a/client/public/baiwen.pdf b/client/public/baiwen.pdf
new file mode 100644
index 0000000..5363d23
Binary files /dev/null and b/client/public/baiwen.pdf differ
diff --git a/client/src/assets/baiwen.pdf b/client/src/assets/baiwen.pdf
new file mode 100644
index 0000000..5363d23
Binary files /dev/null and b/client/src/assets/baiwen.pdf differ
diff --git a/client/src/assets/pdfLogo.png b/client/src/assets/pdfLogo.png
new file mode 100644
index 0000000..b98602c
Binary files /dev/null and b/client/src/assets/pdfLogo.png differ
diff --git a/client/src/icons/svg/video.svg b/client/src/icons/svg/video.svg
new file mode 100644
index 0000000..71013d7
--- /dev/null
+++ b/client/src/icons/svg/video.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/src/router/index.js b/client/src/router/index.js
index 1b5c7d5..c904e1c 100644
--- a/client/src/router/index.js
+++ b/client/src/router/index.js
@@ -42,6 +42,17 @@ export const constantRoutes = [
meta: { title: '首页', icon: 'dashboard' }
}]
},
+ {
+ path: '/',
+ component: Layout,
+ redirect: '/baiwen',
+ children: [{
+ path: 'baiwen',
+ name: 'baiwen',
+ component: () => import('@/views/PT/baiwen'),
+ meta: { title: '百问百答', icon: 'pdf' }
+ }]
+ },
{
path: '/login',
component: () => import('@/views/login/index'),
@@ -192,7 +203,7 @@ export const asyncRoutes = [
component: Layout,
redirect: '/supervision/task',
name: 'Supervision',
- meta: { title: '日常监督', icon: 'guide', perms: ['supervision'] },
+ meta: { title: '日常监督', icon: 'table', perms: ['supervision'] },
alwaysShow: true,
children: [
{
@@ -228,6 +239,7 @@ export const asyncRoutes = [
},
]
},
+
{
path: '/qualityinspect',
component: Layout,
@@ -284,7 +296,7 @@ export const asyncRoutes = [
component: Layout,
redirect: '/test/',
name: 'TestVideo',
- meta: { title: '视频培训', icon: 'guide', perms: ['video_views'] },
+ meta: { title: '视频培训', icon: 'video', perms: ['video_views'] },
alwaysShow: true,
children: [
{
diff --git a/client/src/views/PT/baiwen.vue b/client/src/views/PT/baiwen.vue
new file mode 100644
index 0000000..8b99696
--- /dev/null
+++ b/client/src/views/PT/baiwen.vue
@@ -0,0 +1,106 @@
+
+
+
+

+
+
+
+
+
+
\ No newline at end of file