Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-composition-api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
宁路鹏
vue-composition-api
Commits
b1a083b5
Commit
b1a083b5
authored
Jun 07, 2022
by
wangshuangqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决打包问题
parent
cacbc7a9
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
12 deletions
+25
-12
public/index.html
+13
-5
src/router/index.js
+3
-0
src/views/outHistorygrouping.vue
+7
-7
vue.config.js
+2
-0
No files found.
public/index.html
View file @
b1a083b5
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<!-- <meta base="/his/"> -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<link
rel=
"icon"
href=
"favicon.ico"
>
<link
rel=
"icon"
href=
"favicon.ico"
>
<title><
%=
htmlWebpackPlugin
.
options
.
title
%
></title>
</head>
<title>
<body>
基于病种精准管理系统
</title>
</head>
<body>
<noscript>
<noscript>
<strong>
We're sorry but
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong>
<strong>
We're sorry but
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong>
</noscript>
</noscript>
<div
id=
"app"
></div>
<div
id=
"app"
></div>
<!-- built files will be auto injected -->
<!-- built files will be auto injected -->
</body>
</body>
</html>
</html>
\ No newline at end of file
src/router/index.js
View file @
b1a083b5
...
@@ -15,7 +15,9 @@ import outHistorygrouping from "@/views/outHistorygrouping.vue";
...
@@ -15,7 +15,9 @@ import outHistorygrouping from "@/views/outHistorygrouping.vue";
Vue
.
use
(
Router
);
Vue
.
use
(
Router
);
// const baseUrl = '/his/'
const
router
=
new
Router
({
const
router
=
new
Router
({
// mode: baseUrl,
routes
:
[{
routes
:
[{
path
:
"*"
,
path
:
"*"
,
component
:
(
resolve
)
=>
require
([
"@/components/404.vue"
],
resolve
),
component
:
(
resolve
)
=>
require
([
"@/components/404.vue"
],
resolve
),
...
@@ -40,6 +42,7 @@ const router = new Router({
...
@@ -40,6 +42,7 @@ const router = new Router({
component
:
outHistorygrouping
,
component
:
outHistorygrouping
,
}
}
],
],
// mode: 'history' /*hash*/ /*不显示路由中的#*/
});
});
//路由跳转前判断(登录权限)
//路由跳转前判断(登录权限)
...
...
src/views/outHistorygrouping.vue
View file @
b1a083b5
...
@@ -414,7 +414,7 @@ export default {
...
@@ -414,7 +414,7 @@ export default {
padding-left
:
10px
;
padding-left
:
10px
;
align-items
:
center
;
align-items
:
center
;
background-color
:
#fff
;
background-color
:
#fff
;
color
:
#
ab
afb3
;
color
:
#
737581
afb3
;
font-size
:
14px
;
font-size
:
14px
;
margin-left
:
29px
;
margin-left
:
29px
;
...
@@ -447,7 +447,7 @@ export default {
...
@@ -447,7 +447,7 @@ export default {
padding-left
:
10px
;
padding-left
:
10px
;
align-items
:
center
;
align-items
:
center
;
background-color
:
#fff
;
background-color
:
#fff
;
color
:
#
ab
afb3
;
color
:
#
737581
afb3
;
font-size
:
14px
;
font-size
:
14px
;
margin-left
:
29px
;
margin-left
:
29px
;
...
@@ -480,7 +480,7 @@ export default {
...
@@ -480,7 +480,7 @@ export default {
padding-left
:
10px
;
padding-left
:
10px
;
align-items
:
center
;
align-items
:
center
;
background-color
:
#fff
;
background-color
:
#fff
;
color
:
#
ab
afb3
;
color
:
#
737581
afb3
;
font-size
:
14px
;
font-size
:
14px
;
margin-left
:
29px
;
margin-left
:
29px
;
...
@@ -530,7 +530,7 @@ export default {
...
@@ -530,7 +530,7 @@ export default {
padding-left
:
10px
;
padding-left
:
10px
;
align-items
:
center
;
align-items
:
center
;
background-color
:
#fff
;
background-color
:
#fff
;
color
:
#
ab
afb3
;
color
:
#
737581
afb3
;
font-size
:
14px
;
font-size
:
14px
;
margin-left
:
29px
;
margin-left
:
29px
;
...
@@ -563,7 +563,7 @@ export default {
...
@@ -563,7 +563,7 @@ export default {
padding-left
:
10px
;
padding-left
:
10px
;
align-items
:
center
;
align-items
:
center
;
background-color
:
#fff
;
background-color
:
#fff
;
color
:
#
ab
afb3
;
color
:
#
737581
afb3
;
font-size
:
14px
;
font-size
:
14px
;
margin-left
:
29px
;
margin-left
:
29px
;
...
@@ -596,7 +596,7 @@ export default {
...
@@ -596,7 +596,7 @@ export default {
padding-left
:
10px
;
padding-left
:
10px
;
align-items
:
center
;
align-items
:
center
;
background-color
:
#fff
;
background-color
:
#fff
;
color
:
#
ab
afb3
;
color
:
#
737581
afb3
;
font-size
:
14px
;
font-size
:
14px
;
margin-left
:
29px
;
margin-left
:
29px
;
...
@@ -927,7 +927,7 @@ export default {
...
@@ -927,7 +927,7 @@ export default {
font-size
:
18px
;
font-size
:
18px
;
font-family
:
PingFang
SC
;
font-family
:
PingFang
SC
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#
ab
afb3
;
color
:
#
737581
afb3
;
}
}
}
}
}
}
...
...
vue.config.js
View file @
b1a083b5
...
@@ -12,6 +12,8 @@ function resolve(dir) {
...
@@ -12,6 +12,8 @@ function resolve(dir) {
}
}
module
.
exports
=
{
module
.
exports
=
{
publicPath
:
"./"
,
//导出路径
assetsDir
:
"web"
,
//静态资源文件夹
productionSourceMap
:
false
,
productionSourceMap
:
false
,
devServer
:
{
//测试环境代理
devServer
:
{
//测试环境代理
port
:
8066
,
//测试端口
port
:
8066
,
//测试端口
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment