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
6c0e2f6f
Commit
6c0e2f6f
authored
Jan 09, 2023
by
wangshuangqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加进入路径路由
配置进入路径页面 对接展示 跳转接口 完成进入路径页面
parent
82926640
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
98 deletions
+21
-98
src/router/index.js
+10
-2
src/views/Entrypath.vue
+0
-0
src/views/outClinicalpathway.vue
+9
-94
vue.config.js
+2
-2
No files found.
src/router/index.js
View file @
6c0e2f6f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: ninglupeng
* @Author: ninglupeng
* @Date: 2022-06-07 00:31:25
* @Date: 2022-06-07 00:31:25
* @LastEditors: wsq
* @LastEditors: wsq
* @LastEditTime: 202
2-12-13 16:38:12
* @LastEditTime: 202
3-01-09 13:55:06
* @Description:
* @Description:
*/
*/
import
Vue
from
"vue"
;
import
Vue
from
"vue"
;
...
@@ -12,7 +12,8 @@ import { getItem, clear } from "@/utils/auth";
...
@@ -12,7 +12,8 @@ import { getItem, clear } from "@/utils/auth";
import
outseeQualityControl
from
"@/views/outseeQualityControl.vue"
;
import
outseeQualityControl
from
"@/views/outseeQualityControl.vue"
;
import
outpatientDetails
from
"@/views/outpatientDetails.vue"
;
import
outpatientDetails
from
"@/views/outpatientDetails.vue"
;
import
outHistorygrouping
from
"@/views/outHistorygrouping.vue"
;
import
outHistorygrouping
from
"@/views/outHistorygrouping.vue"
;
import
outClinicalpathway
from
"@/views/outClinicalpathway.vue"
import
outClinicalpathway
from
"@/views/outClinicalpathway.vue"
;
import
Entrypath
from
'@/views/Entrypath.vue'
;
Vue
.
use
(
Router
);
Vue
.
use
(
Router
);
// const baseUrl = '/his/'
// const baseUrl = '/his/'
...
@@ -41,6 +42,13 @@ const router = new Router({
...
@@ -41,6 +42,13 @@ const router = new Router({
name
:
"outHistorygrouping"
,
name
:
"outHistorygrouping"
,
component
:
outHistorygrouping
,
component
:
outHistorygrouping
,
},
},
//进入路径
{
path
:
'/Entrypath'
,
name
:
'Entrypath'
,
component
:
Entrypath
},
//临床路径外放页面
//临床路径外放页面
{
{
path
:
"/outClinicalpathway"
,
path
:
"/outClinicalpathway"
,
...
...
src/views/Entrypath.vue
0 → 100644
View file @
6c0e2f6f
This diff is collapsed.
Click to expand it.
src/views/outClinicalpathway.vue
View file @
6c0e2f6f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: wsq
* @Author: wsq
* @Date: 2022-04-22 15:20:58
* @Date: 2022-04-22 15:20:58
* @LastEditors: wsq
* @LastEditors: wsq
* @LastEditTime: 2023-01-09 1
3:14:30
* @LastEditTime: 2023-01-09 1
6:24:06
* @Description:
* @Description:
-->
-->
<
template
>
<
template
>
...
@@ -27,64 +27,7 @@
...
@@ -27,64 +27,7 @@
入院时间:
<span>
{{
topdata
.
inHosTime
}}
</span>
入院时间:
<span>
{{
topdata
.
inHosTime
}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"outClinicalpathway_top_left_two"
>
<div
class=
"outClinicalpathway_top_left_two_inp1"
>
<span
style=
"width: 20%"
>
治疗方式:
</span>
<span
style=
"width: 80%"
><el-select
v-model=
"treatmentinpt"
class=
"m-2"
placeholder=
"请选择治疗方式"
size=
"mini"
style=
"width: 70%"
>
<el-option
v-for=
"item in treatmentoptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select
></span>
</div>
<div
class=
"outClinicalpathway_top_left_two_inp2"
>
<span
style=
"width: 20%"
>
医嘱类型:
</span>
<span
style=
"width: 80%"
>
<el-select
style=
"width: 70%"
v-model=
"orderinpt"
class=
"m-2"
placeholder=
"请选择医嘱类型"
size=
"mini"
>
<el-option
v-for=
"item in orderoptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</span>
</div>
<div
class=
"outClinicalpathway_top_left_two_inp3"
>
<span
style=
"width: 20%"
>
符合临床路径:
</span>
<span
style=
"width: 80%"
>
<el-select
v-model=
"pathinpt"
class=
"m-2"
placeholder=
"请选择符合临床路径"
size=
"mini"
style=
"width: 80%"
>
<el-option
v-for=
"item in pathroptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</span>
</div>
</div>
</div>
</div>
<!-- 右侧按钮 -->
<!-- 右侧按钮 -->
<div
class=
"outClinicalpathway_top_right"
>
<div
class=
"outClinicalpathway_top_right"
>
...
@@ -155,14 +98,7 @@ export default {
...
@@ -155,14 +98,7 @@ export default {
setup
()
{
setup
()
{
//表格自适应高度
//表格自适应高度
const
route
=
useRoute
();
const
route
=
useRoute
();
//表格颜色
const
tableRowClassName
=
({
row
})
=>
{
if
(
row
.
rowIndex
%
2
==
0
)
{
return
"isverifyStyle"
;
}
else
{
return
""
;
}
};
const
monthlyPlanTable
=
ref
();
const
monthlyPlanTable
=
ref
();
const
multipleTableRef
=
ref
();
const
multipleTableRef
=
ref
();
let
state
=
reactive
({
let
state
=
reactive
({
...
@@ -217,12 +153,7 @@ export default {
...
@@ -217,12 +153,7 @@ export default {
address
:
"No. 189, Grove St, Los Angeles"
,
address
:
"No. 189, Grove St, Los Angeles"
,
},
},
],
],
treatmentinpt
:
""
,
//治疗方式输入框
treatmentoptions
:
[],
//治疗方式下拉值
orderinpt
:
""
,
//医嘱类型输入框
orderoptions
:
[],
//医嘱类型下拉值
pathinpt
:
""
,
//临床路径
pathroptions
:
[],
//临床路径下拉值
//时间线
//时间线
activities
:
[
activities
:
[
{
{
...
@@ -264,7 +195,7 @@ export default {
...
@@ -264,7 +195,7 @@ export default {
.
post
(
`/ClinicalRoute/ClinicalRoute/GetPatientInfo?pid=
${
route
.
value
.
query
.
pid
}
`
,
{})
.
post
(
`/ClinicalRoute/ClinicalRoute/GetPatientInfo?pid=
${
route
.
value
.
query
.
pid
}
`
,
{})
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
state
.
topdata
=
data
;
state
.
topdata
=
data
;
console
.
log
(
'data'
,
data
);
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
};
};
...
@@ -287,7 +218,7 @@ export default {
...
@@ -287,7 +218,7 @@ export default {
return
{
return
{
...
toRefs
(
state
),
...
toRefs
(
state
),
tableRowClassName
,
decimal
,
decimal
,
...
@@ -330,7 +261,7 @@ export default {
...
@@ -330,7 +261,7 @@ export default {
position
:
relative
;
position
:
relative
;
&_top
{
&_top
{
width
:
100%
;
width
:
100%
;
height
:
20
%
;
height
:
15
%
;
margin-bottom
:
5px
;
margin-bottom
:
5px
;
background-color
:
#ffff
;
background-color
:
#ffff
;
padding
:
10px
;
padding
:
10px
;
...
@@ -444,23 +375,7 @@ export default {
...
@@ -444,23 +375,7 @@ export default {
}
}
}
}
}
}
&
_two
{
width
:
100%
;
height
:
30%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
color
:
#444444
;
&_inp1
{
width
:
30%
;
}
&
_inp2
{
width
:
30%
;
}
&
_inp3
{
width
:
40%
;
}
}
}
}
&
_right
{
&
_right
{
height
:
100%
;
height
:
100%
;
...
@@ -471,7 +386,7 @@ export default {
...
@@ -471,7 +386,7 @@ export default {
}
}
}
}
&
_table
{
&
_table
{
height
:
76
%
;
height
:
81
%
;
width
:
100%
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
&_left
{
&_left
{
...
...
vue.config.js
View file @
6c0e2f6f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: ninglupeng
* @Author: ninglupeng
* @Date: 2022-06-07 00:31:25
* @Date: 2022-06-07 00:31:25
* @LastEditors: wsq
* @LastEditors: wsq
* @LastEditTime: 2023-01-09 1
0:19:55
* @LastEditTime: 2023-01-09 1
3:31:21
* @Description:
* @Description:
*/
*/
const
path
=
require
(
'path'
);
const
path
=
require
(
'path'
);
...
@@ -20,7 +20,7 @@ module.exports = {
...
@@ -20,7 +20,7 @@ module.exports = {
proxy
:
{
proxy
:
{
'/api'
:
{
'/api'
:
{
//target: 'http://192.168.18.166:8099/',
//target: 'http://192.168.18.166:8099/',
target
:
'http://192.168.18.166:8100
'
,
target
:
'http://192.168.18.166:8100/
'
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
'^/'
:
'/'
'^/'
:
'/'
...
...
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