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
196cfeec
Commit
196cfeec
authored
Feb 21, 2023
by
wangshuangqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加dip测试站点
parent
22daa387
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
94 additions
and
69 deletions
+94
-69
src/views/outClinicalpathway.vue
+55
-31
vue.config.js
+39
-38
No files found.
src/views/outClinicalpathway.vue
View file @
196cfeec
...
...
@@ -2,7 +2,7 @@
* @Author: wsq
* @Date: 2022-04-22 15:20:58
* @LastEditors: wsq
* @LastEditTime: 2023-02-1
0 16:10:23
* @LastEditTime: 2023-02-1
5 15:57:48
* @Description:
-->
<
template
>
...
...
@@ -27,19 +27,27 @@
符合临床路径:
<span>
{{
topdata
.
clinical_route_name
}}
</span>
</div>
</div>
<div
class=
"outClinicalpathway_top_left_two"
>
<el-radio-group
v-model=
"radio"
>
<el-radio
:label=
"1"
>
长期医嘱
</el-radio>
<el-radio
:label=
"2"
>
临时医嘱
</el-radio>
</el-radio-group>
</div>
</div>
<!-- 右侧按钮 -->
<div
class=
"outClinicalpathway_top_right"
>
<el-button
style=
"background-color: #0283bb; color: #ffff"
@
click=
"joinorder()"
>
加入医嘱
</el-button
>
<el-button
style=
"background-color: #0283bb; color: #ffff"
@
click=
"variation()"
>
病情变异
</el-button
>
<div
class=
"outClinicalpathway_top_right_btn"
>
<el-button
style=
"background-color: #0283bb; color: #ffff"
@
click=
"joinorder()"
>
加入医嘱
</el-button
>
<el-button
style=
"background-color: #0283bb; color: #ffff"
@
click=
"variation()"
>
病情变异
</el-button
>
</div>
</div>
</div>
<!--病情变异弹框开始 -->
...
...
@@ -142,9 +150,9 @@
default-expand-all
>
<el-table-column
type=
"selection"
width=
"55"
/>
<
el-table-column
label=
"医嘱类型"
width=
"18
0"
>
<
!-- <el-table-column label="医嘱类型" width="12
0">
<template #default="scope">{{ yztype[scope.row.type] }}</template>
</el-table-column>
</el-table-column>
-->
<el-table-column
show-overflow-tooltip
property=
"advice_name"
...
...
@@ -163,25 +171,24 @@
label=
"医院项目名称"
width=
"150"
/>
<el-table-column
prop=
"inventoryNum"
label=
"库存数量"
width=
"120"
>
</el-table-column>
<el-table-column
show-overflow-tooltip
property=
"specifications"
label=
"规格说明"
width=
"1
5
0"
width=
"1
2
0"
/>
<el-table-column
show-overflow-tooltip
property=
"dosage"
label=
"药品剂型"
width=
"80"
/>
<el-table-column
show-overflow-tooltip
property=
"isAntibiotic"
label=
"抗生素否"
width=
"1
1
0"
width=
"1
0
0"
>
<
template
#
default=
"scope"
>
<el-select
...
...
@@ -200,13 +207,12 @@
<span
v-else
>
{{
scope
.
row
.
isAntibiotic
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"medicUseQuantity"
label=
"用量"
width=
"
12
0"
>
<el-table-column
prop=
"medicUseQuantity"
label=
"用量"
width=
"
9
0"
>
<
template
#
default=
"scope"
>
<el-input
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
v-model=
"scope.row.medicUseQuantity"
size=
"mini"
placeholder=
"请输入内容"
></el-input>
<span
v-else
>
{{
scope
.
row
.
medicUseQuantity
}}
</span>
</
template
>
...
...
@@ -215,6 +221,7 @@
show-overflow-tooltip
property=
"medicUseUnit"
label=
"单位"
width=
"50"
/>
<el-table-column
show-overflow-tooltip
...
...
@@ -243,7 +250,7 @@
show-overflow-tooltip
property=
"medicUsePlan"
label=
"频率"
width=
"1
4
0"
width=
"1
0
0"
>
<
template
#
default=
"scope"
>
<el-select
...
...
@@ -263,24 +270,22 @@
</
template
>
</el-table-column>
<el-table-column
prop=
"dropNumber"
label=
"滴数"
width=
"
12
0"
>
<el-table-column
prop=
"dropNumber"
label=
"滴数"
width=
"
9
0"
>
<
template
#
default=
"scope"
>
<el-input
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
v-model=
"scope.row.dropNumber"
size=
"mini"
placeholder=
"请输入内容"
></el-input>
<span
v-else
>
{{
scope
.
row
.
dropNumber
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"medicQuantity"
label=
"用药总量"
width=
"
12
0"
>
<el-table-column
prop=
"medicQuantity"
label=
"用药总量"
width=
"
9
0"
>
<
template
#
default=
"scope"
>
<el-input
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
v-model=
"scope.row.medicQuantity"
size=
"mini"
placeholder=
"请输入内容"
></el-input>
<span
v-else
>
{{
scope
.
row
.
medicQuantity
}}
</span>
</
template
>
...
...
@@ -289,12 +294,13 @@
show-overflow-tooltip
property=
"medicUnit"
label=
"单位"
width=
"50"
/>
<el-table-column
show-overflow-tooltip
property=
"remark"
label=
"嘱托"
width=
"
40
0'"
width=
"
32
0'"
>
<
template
#
default=
"scope"
>
<el-input
...
...
@@ -391,6 +397,7 @@ export default {
tempRowChildren
:
[],
medicUseModeoptions
:
[],
//途径
medicUsePlanoptions
:
[],
//频率
radio
:
1
,
});
//获取途径,频率的下拉数据
const
gemedicUseModeoptions
=
()
=>
{
...
...
@@ -700,7 +707,6 @@ export default {
monthlyPlanTable
,
multipleTable
,
SelectionChange
,
gettopdata
,
getlefttime
,
timeclick
,
...
...
@@ -727,6 +733,14 @@ export default {
@import
"../styles/mixin.scss"
;
@import
"../styles/media/components/outClinicalpathway.scss"
;
//
单选框
::v-deep
.el-radio__input.is-checked
.el-radio__inner
{
background-color
:
#0085ba
!important
;
border-color
:
#1097e0
!important
;
}
::v-deep
.el-radio__input.is-checked
+
.el-radio__label
{
color
:
#0085ba
!important
;
}
//
多选框选中状态背景颜色
::v-deep
.el-checkbox__input.is-checked
.el-checkbox__inner
{
background-color
:
#0085ba
!important
;
...
...
@@ -888,14 +902,25 @@ export default {
}
}
}
&
_two
{
height
:
50%
;
display
:
flex
;
align-items
:
end
;
}
}
&
_right
{
height
:
100%
;
width
:
20%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
&_btn
{
height
:
50%
;
width
:
100%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
}
}
&
_table
{
...
...
@@ -903,7 +928,7 @@ export default {
width
:
100%
;
display
:
flex
;
&_left
{
width
:
1
0
%
;
width
:
1
1
%
;
height
:
100%
;
margin-right
:
5px
;
background-color
:
#ffff
;
...
...
@@ -922,9 +947,8 @@ export default {
}
}
&
_right
{
width
:
8
9
%
;
width
:
8
8
%
;
height
:
100%
;
//
overflow
:
scroll
;
}
}
}
...
...
vue.config.js
View file @
196cfeec
...
...
@@ -2,48 +2,50 @@
* @Author: ninglupeng
* @Date: 2022-06-07 00:31:25
* @LastEditors: wsq
* @LastEditTime: 2023-0
1-09 13:31:21
* @Description:
* @LastEditTime: 2023-0
2-21 11:11:23
* @Description:
*/
const
path
=
require
(
'path'
)
;
const
path
=
require
(
'path'
)
function
resolve
(
dir
)
{
return
path
.
join
(
__dirname
,
dir
)
return
path
.
join
(
__dirname
,
dir
)
}
module
.
exports
=
{
publicPath
:
"./"
,
//导出路径
assetsDir
:
"web"
,
//静态资源文件夹
productionSourceMap
:
false
,
devServer
:
{
//测试环境代理
port
:
8066
,
//测试端口
proxy
:
{
'/api'
:
{
//target: 'http://192.168.18.166:8099/',
target
:
'http://192.168.18.166:8100/'
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/'
:
'/'
}
}
}
publicPath
:
'./'
,
//导出路径
assetsDir
:
'web'
,
//静态资源文件夹
productionSourceMap
:
false
,
devServer
:
{
//测试环境代理
port
:
8066
,
//测试端口
proxy
:
{
'/api'
:
{
//target: 'http://192.168.18.166:8099/',
//target: 'http://192.168.18.166:8100/',//drg测试站点
target
:
'http://192.168.18.166:8033/'
,
//dip测试站点
changeOrigin
:
true
,
pathRewrite
:
{
'^/'
:
'/'
,
},
},
},
configureWebpack
:
{
resolve
:
{
alias
:
{
'@'
:
resolve
(
'src'
)
}
}
},
configureWebpack
:
{
resolve
:
{
alias
:
{
'@'
:
resolve
(
'src'
),
},
},
lintOnSave
:
false
,
//取消eslint
css
:
{
loaderOptions
:
{
// sass: {
// data: `
// @import "@/assets/color.scss";
// @import "@/assets/mixin.scss";
// `
// }
}
}
}
\ No newline at end of file
},
lintOnSave
:
false
,
//取消eslint
css
:
{
loaderOptions
:
{
// sass: {
// data: `
// @import "@/assets/color.scss";
// @import "@/assets/mixin.scss";
// `
// }
},
},
}
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