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
1928cd92
Commit
1928cd92
authored
Jan 28, 2023
by
wangshuangqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.病情变异弹框添加备注字段
2.下拉框加鼠标悬浮提示
parent
a5592101
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
5 deletions
+54
-5
src/views/outClinicalpathway.vue
+54
-5
No files found.
src/views/outClinicalpathway.vue
View file @
1928cd92
...
@@ -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-
12 13:11:54
* @LastEditTime: 2023-01-
28 15:40:40
* @Description:
* @Description:
-->
-->
<
template
>
<
template
>
...
@@ -67,8 +67,26 @@
...
@@ -67,8 +67,26 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"变异原因:"
>
<el-form-item
label=
"变异原因:"
>
<el-
inpu
t
<el-
selec
t
v-model=
"form.reason"
v-model=
"form.reason"
class=
"m-2"
placeholder=
"请选择"
size=
"mini"
:title=
"getTitle(form.reason)"
>
<el-option
v-for=
"item in reasonoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
:title=
"item.describe"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"备注:"
>
<el-input
v-model=
"form.remarks"
:autosize=
"
{ minRows: 4, maxRows: 10 }"
:autosize=
"
{ minRows: 4, maxRows: 10 }"
type="textarea"
type="textarea"
/>
/>
...
@@ -187,7 +205,7 @@ export default {
...
@@ -187,7 +205,7 @@ export default {
tableData
:
[],
//表格数据
tableData
:
[],
//表格数据
yztype
:
{
yztype
:
{
1
:
"长期医嘱"
,
1
:
"长期医嘱"
,
2
:
"
短期
医嘱"
,
2
:
"
临时
医嘱"
,
},
},
//被点击的index
//被点击的index
timeindex
:
null
,
timeindex
:
null
,
...
@@ -200,12 +218,16 @@ export default {
...
@@ -200,12 +218,16 @@ export default {
//表单
//表单
form
:
{
form
:
{
inhosdays
:
""
,
inhosdays
:
""
,
reason
:
""
,
reason
:
""
,
//变异原因
remarks
:
""
,
//备注
},
},
//路径天数下拉数据
//路径天数下拉数据
options
:
[],
options
:
[],
reasonoptions
:
[],
//变异原因
crid
:
null
,
chickid
:
[],
//选中的id
chickid
:
[],
//选中的id
});
});
//获取患者信息
//获取患者信息
const
gettopdata
=
()
=>
{
const
gettopdata
=
()
=>
{
http
http
...
@@ -215,6 +237,8 @@ export default {
...
@@ -215,6 +237,8 @@ export default {
)
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
state
.
topdata
=
data
;
state
.
topdata
=
data
;
state
.
crid
=
data
.
crid
;
getreasonoptions
();
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
};
};
...
@@ -407,18 +431,33 @@ export default {
...
@@ -407,18 +431,33 @@ export default {
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
};
};
//获取病情变异--变异原因下拉框
const
getreasonoptions
=
()
=>
{
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetStandardByType?crid=
${
state
.
crid
}
`
,
{}
)
.
then
((
data
)
=>
{
state
.
reasonoptions
=
data
;
})
.
catch
((
error
)
=>
{});
};
//病情变异
//病情变异
const
variation
=
()
=>
{
const
variation
=
()
=>
{
state
.
editdialogFormVisible
=
true
;
state
.
editdialogFormVisible
=
true
;
};
};
//确定
//确定
const
fromOKbtn
=
()
=>
{
const
fromOKbtn
=
(
fromRef
)
=>
{
let
prome
=
{
let
prome
=
{
pid
:
route
.
value
.
query
.
pid
,
pid
:
route
.
value
.
query
.
pid
,
reason
:
state
.
form
.
reason
,
reason
:
state
.
form
.
reason
,
inhosdays
:
state
.
form
.
inhosdays
,
inhosdays
:
state
.
form
.
inhosdays
,
remarks
:
state
.
form
.
remarks
,
};
};
http
http
.
post
(
`/ClinicalRoute/ClinicalRoute/SetVariation`
,
prome
)
.
post
(
`/ClinicalRoute/ClinicalRoute/SetVariation`
,
prome
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
...
@@ -431,6 +470,7 @@ export default {
...
@@ -431,6 +470,7 @@ export default {
reason
:
""
,
reason
:
""
,
}),
}),
(
state
.
editdialogFormVisible
=
false
);
(
state
.
editdialogFormVisible
=
false
);
router
.
push
({
router
.
push
({
path
:
"Entrypath"
,
path
:
"Entrypath"
,
query
:
{
query
:
{
...
@@ -448,6 +488,13 @@ export default {
...
@@ -448,6 +488,13 @@ export default {
}),
}),
(
state
.
editdialogFormVisible
=
false
);
(
state
.
editdialogFormVisible
=
false
);
};
};
//下拉框鼠标移上显示提示文字
const
getTitle
=
(
val
)
=>
{
if
(
val
!=
""
)
{
let
a
=
state
.
reasonoptions
.
filter
((
item
)
=>
item
.
describe
==
val
);
return
a
[
0
].
describe
;
}
};
onMounted
(()
=>
{
onMounted
(()
=>
{
gettopdata
();
gettopdata
();
...
@@ -475,6 +522,8 @@ export default {
...
@@ -475,6 +522,8 @@ export default {
fromRef
,
fromRef
,
close
,
close
,
joinorder
,
joinorder
,
getreasonoptions
,
getTitle
,
};
};
},
},
};
};
...
...
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