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
e31aa91c
Commit
e31aa91c
authored
Aug 05, 2024
by
唐玉峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
2633b547
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
5 deletions
+58
-5
src/views/outClinicalpathway.vue
+55
-2
src/views/outpatientDetailsnew.vue
+2
-2
src/views/test copy.vue
+0
-0
vue.config.js
+1
-1
No files found.
src/views/outClinicalpathway.vue
View file @
e31aa91c
...
@@ -330,7 +330,26 @@
...
@@ -330,7 +330,26 @@
<span
v-else
>
{{
scope
.
row
.
remark
}}
</span>
<span
v-else
>
{{
scope
.
row
.
remark
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
show-overflow-tooltip
property=
"specimen_id"
label=
"标本"
width=
"130"
>
<
template
#
default=
"scope"
>
<template
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
>
<el-form-item
:prop=
"`tableList.$
{scope.row.customIndex}.specimen_id`" :rules="[{ required: false, message: '请选择' }]">
<template
#
label
>
<span></span></
template
>
<el-select
size=
"mini"
filterable
remote
:filter-method=
"remoteMethodspecimen"
v-model=
"scope.row.specimen_id"
:disabled=
"!scope.row.isAdd"
>
<el-option
v-for=
"item in specimenList"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
</el-option>
</el-select>
</el-form-item>
</template>
<span
v-else
>
{{ scope.row.specimen_id }}
</span>
</template>
</el-table-column>
<el-table-column
prop=
"description"
label=
"诊断"
width=
"150"
>
<el-table-column
prop=
"description"
label=
"诊断"
width=
"150"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-form-item
<el-form-item
...
@@ -530,6 +549,8 @@ export default {
...
@@ -530,6 +549,8 @@ export default {
medicUsePlanoptions
:
[],
//频率
medicUsePlanoptions
:
[],
//频率
medicUsePlanoptionsList
:
[],
medicUsePlanoptionsList
:
[],
medicalPurposeoptions
:
[],
//用药目的
medicalPurposeoptions
:
[],
//用药目的
specimenList
:
[],
specimenListoptions
:
[],
radio
:
1
,
radio
:
1
,
newtable1
:
[],
newtable1
:
[],
newtable2
:
[],
newtable2
:
[],
...
@@ -545,6 +566,7 @@ export default {
...
@@ -545,6 +566,7 @@ export default {
gridData
:
[],
gridData
:
[],
query
:
""
,
query
:
""
,
query1
:
""
,
query1
:
""
,
query2
:
""
,
currentRow
:
null
,
currentRow
:
null
,
deptName
:
""
,
deptName
:
""
,
deptNames
:
[],
deptNames
:
[],
...
@@ -558,6 +580,7 @@ export default {
...
@@ -558,6 +580,7 @@ export default {
this
.
gemedicUseModeoptions
();
this
.
gemedicUseModeoptions
();
this
.
gemedicUsePlanoptions
();
this
.
gemedicUsePlanoptions
();
this
.
getmedicalPurposeoptions
();
this
.
getmedicalPurposeoptions
();
this
.
getspecimenList
();
},
},
watch
:
{
watch
:
{
query
()
{
query
()
{
...
@@ -582,6 +605,17 @@ export default {
...
@@ -582,6 +605,17 @@ export default {
this
.
medicUsePlanoptions
=
this
.
medicUsePlanoptionsList
;
this
.
medicUsePlanoptions
=
this
.
medicUsePlanoptionsList
;
}
}
},
},
query2
()
{
if
(
this
.
query2
!==
""
)
{
this
.
specimenList
=
this
.
specimenListoptions
.
filter
((
item
)
=>
{
return
(
item
.
describe
.
toLowerCase
().
indexOf
(
this
.
query2
.
toLowerCase
())
>
-
1
||
item
.
pinyin
.
toLowerCase
().
indexOf
(
this
.
query2
.
toLowerCase
())
>
-
1
);
});
}
else
{
this
.
specimenList
=
this
.
specimenListoptions
;
}
},
},
},
methods
:
{
methods
:
{
setIndex
(
data
)
{
setIndex
(
data
)
{
...
@@ -694,6 +728,7 @@ export default {
...
@@ -694,6 +728,7 @@ export default {
orderType
:
r
.
orderType
,
orderType
:
r
.
orderType
,
medicalPurpose
:
r
.
medicalPurpose
,
medicalPurpose
:
r
.
medicalPurpose
,
price
:
null
,
price
:
null
,
specimen_id
:
null
,
type
:
r
.
type
,
type
:
r
.
type
,
sort
:
cout
+
1
,
sort
:
cout
+
1
,
isedit
:
false
,
isedit
:
false
,
...
@@ -784,7 +819,7 @@ export default {
...
@@ -784,7 +819,7 @@ export default {
item
.
medicUseUnit
=
row
.
medicUseUnit
;
item
.
medicUseUnit
=
row
.
medicUseUnit
;
// item.medicUseMode = row.medicUseMode;
// item.medicUseMode = row.medicUseMode;
// item.medicUsePlan = row.medicUsePlan;
// item.medicUsePlan = row.medicUsePlan;
// item.dropNumber = row.dropNumber
;
item
.
specimen_id
=
row
.
specimen_id
;
item
.
medicUnit
=
row
.
medicUnit
;
item
.
medicUnit
=
row
.
medicUnit
;
item
.
remark
=
row
.
remark
;
item
.
remark
=
row
.
remark
;
item
.
symptom
=
row
.
symptom
;
item
.
symptom
=
row
.
symptom
;
...
@@ -931,6 +966,16 @@ export default {
...
@@ -931,6 +966,16 @@ export default {
this
.
medicUseModeoptions
=
this
.
medicUseModeoptionsLise
;
this
.
medicUseModeoptions
=
this
.
medicUseModeoptionsLise
;
}
}
},
},
remoteMethodspecimen
(
query
)
{
this
.
query2
=
query
;
if
(
query
!==
""
)
{
this
.
specimenList
=
this
.
specimenList
.
filter
((
item
)
=>
{
return
item
.
describe
.
toLowerCase
().
indexOf
(
query
.
toLowerCase
())
>
-
1
||
item
.
pinyin
.
toLowerCase
().
indexOf
(
query
.
toLowerCase
())
>
-
1
;
});
}
else
{
this
.
specimenList
=
this
.
specimenListoptions
;
}
},
//获取频率,频率的下拉数据
//获取频率,频率的下拉数据
gemedicUsePlanoptions
()
{
gemedicUsePlanoptions
()
{
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetStaCRParametersByType?type=2`
,
{})
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetStaCRParametersByType?type=2`
,
{})
...
@@ -948,6 +993,14 @@ export default {
...
@@ -948,6 +993,14 @@ export default {
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
},
},
getspecimenList
()
{
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetStaCRParametersByType?type=6`
,
{})
.
then
((
data
)
=>
{
this
.
specimenList
=
data
;
this
.
specimenListoptions
=
data
;
})
.
catch
((
error
)
=>
{});
},
//获取患者信息
//获取患者信息
gettopdata
()
{
gettopdata
()
{
...
...
src/views/outpatientDetailsnew.vue
View file @
e31aa91c
...
@@ -144,7 +144,7 @@
...
@@ -144,7 +144,7 @@
{{
scope
.
row
.
proportion
!=
undefined
?
decimal
(
scope
.
row
.
proportion
)
+
"%"
:
""
}}
{{
scope
.
row
.
proportion
!=
undefined
?
decimal
(
scope
.
row
.
proportion
)
+
"%"
:
""
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"coreTotalFee"
label=
"预计DIP设定费用(参考)"
header-align=
"center"
align=
"right"
>
<
!-- <
el-table-column prop="coreTotalFee" label="预计DIP设定费用(参考)" header-align="center" align="right">
<template slot-scope="scope">
<template slot-scope="scope">
{{ decimal(scope.row.coreTotalFee) }}
{{ decimal(scope.row.coreTotalFee) }}
</template>
</template>
...
@@ -153,7 +153,7 @@
...
@@ -153,7 +153,7 @@
<template slot-scope="scope">
<template slot-scope="scope">
{{ scope.row.coreProportion != undefined ? decimal(scope.row.coreProportion) + "%" : "" }}
{{ scope.row.coreProportion != undefined ? decimal(scope.row.coreProportion) + "%" : "" }}
</template>
</template>
</el-table-column>
</el-table-column>
-->
</el-table>
</el-table>
</div>
</div>
<!-- 中间有数据样式 表格-->
<!-- 中间有数据样式 表格-->
...
...
src/views/test copy.vue
View file @
e31aa91c
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
e31aa91c
...
@@ -20,7 +20,7 @@ module.exports = {
...
@@ -20,7 +20,7 @@ module.exports = {
port
:
8066
,
//测试端口
port
:
8066
,
//测试端口
proxy
:
{
proxy
:
{
"/api"
:
{
"/api"
:
{
target
:
"http://192.168.18.166:8
03
3/"
,
//dip测试站点
target
:
"http://192.168.18.166:8
17
3/"
,
//dip测试站点
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