Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-business-web
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘怀志
pet-business-web
Commits
29104fc3
Commit
29104fc3
authored
Aug 22, 2023
by
陈明豪
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
2fcfd931
4c3db1e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
6 deletions
+41
-6
check-detail.vue
...ice-management/medical-record-management/check-detail.vue
+14
-2
medical-record-management.vue
...t/medical-record-management/medical-record-management.vue
+26
-3
treatment-detail.vue
...vice-management/treatment-management/treatment-detail.vue
+1
-1
No files found.
src/views/service-management/medical-record-management/check-detail.vue
View file @
29104fc3
...
@@ -274,6 +274,7 @@
...
@@ -274,6 +274,7 @@
v-show=
"checkDetail.deviceId === null && !isPlatRole"
v-show=
"checkDetail.deviceId === null && !isPlatRole"
v-hasPermi=
"['business:check:subscribe']"
v-hasPermi=
"['business:check:subscribe']"
class=
"fourWordsBtn"
class=
"fourWordsBtn"
:disabled=
"currentUser.userType === '2' && currentUser.name !== checkDetail.doctorName"
@
click=
"bookNow"
@
click=
"bookNow"
>
立即预约
</el-button>
>
立即预约
</el-button>
</div>
</div>
...
@@ -454,7 +455,7 @@
...
@@ -454,7 +455,7 @@
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
class=
"resetBtn"
@
click=
"cancel"
>
取消
</el-button>
<el-button
class=
"resetBtn"
@
click=
"cancel"
>
取消
</el-button>
<el-button
class=
"queryBtn"
@
click=
"centerDialogVisible"
>
确
认
</el-button>
<el-button
class=
"queryBtn"
@
click=
"centerDialogVisible"
>
确
定
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -526,7 +527,12 @@ export default {
...
@@ -526,7 +527,12 @@ export default {
reportTime
:
null
// 报告上传时间
reportTime
:
null
// 报告上传时间
},
},
// 空数据(用于挂账)
// 空数据(用于挂账)
emptyData
:
null
emptyData
:
null
,
// 当前登陆用户信息
currentUser
:
{
userType
:
''
,
name
:
''
}
}
}
},
},
created
()
{
created
()
{
...
@@ -535,9 +541,15 @@ export default {
...
@@ -535,9 +541,15 @@ export default {
this
.
isPlatRole
=
true
this
.
isPlatRole
=
true
}
}
this
.
getCheckDetail
()
this
.
getCheckDetail
()
this
.
getCurrentUser
()
},
},
methods
:
{
methods
:
{
parseTime
,
parseTime
,
// 获取当前登陆用户
getCurrentUser
()
{
this
.
currentUser
.
userType
=
this
.
$store
.
state
.
user
.
userType
this
.
currentUser
.
name
=
this
.
$store
.
state
.
user
.
name
},
getCheckDetail
()
{
getCheckDetail
()
{
const
id
=
this
.
$route
.
query
.
checkId
const
id
=
this
.
$route
.
query
.
checkId
getManage
(
id
).
then
(
response
=>
{
getManage
(
id
).
then
(
response
=>
{
...
...
src/views/service-management/medical-record-management/medical-record-management.vue
View file @
29104fc3
...
@@ -235,14 +235,26 @@
...
@@ -235,14 +235,26 @@
>
详情
>
详情
<
/el-button
>
<
/el-button
>
<
el
-
button
<
el
-
button
v
-
if
=
"!isPlatRole"
v
-
if
=
"!isPlatRole
&& scope.row.deviceId !== null
"
v
-
hasPermi
=
"['business:check:subscribe']"
v
-
hasPermi
=
"['business:check:subscribe']"
style
=
"width: 80px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(255, 157, 78);color: #FF9D4E;background: rgba(255,157,78,0.08);"
style
=
"width: 80px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(255, 157, 78);color: #FF9D4E;background: rgba(255,157,78,0.08);"
size
=
"mini"
size
=
"mini"
type
=
"success"
type
=
"success"
icon
=
"el-icon-check"
icon
=
"el-icon-check"
plain
plain
:
disabled
=
"scope.row.deviceId !== null"
disabled
@
click
=
"handleSubscribe(scope.row)"
>
立即预约
<
/el-button
>
<
el
-
button
v
-
else
v
-
hasPermi
=
"['business:check:subscribe']"
style
=
"width: 80px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(255, 157, 78);color: #FF9D4E;background: rgba(255,157,78,0.08);"
size
=
"mini"
type
=
"success"
icon
=
"el-icon-check"
plain
:
disabled
=
"currentUser.userType === '2' && currentUser.name !== scope.row.doctorName"
@
click
=
"handleSubscribe(scope.row)"
@
click
=
"handleSubscribe(scope.row)"
>
立即预约
>
立即预约
<
/el-button
>
<
/el-button
>
...
@@ -504,7 +516,12 @@ export default {
...
@@ -504,7 +516,12 @@ export default {
currentCheckType
:
null
,
currentCheckType
:
null
,
updateRow
:
{
}
,
updateRow
:
{
}
,
// 当前医院信息
// 当前医院信息
currentHospital
:
null
currentHospital
:
null
,
// 当前登陆用户信息
currentUser
:
{
userType
:
''
,
name
:
''
}
}
}
}
,
}
,
created
()
{
created
()
{
...
@@ -512,6 +529,7 @@ export default {
...
@@ -512,6 +529,7 @@ export default {
console
.
log
(
'非平台权限'
)
console
.
log
(
'非平台权限'
)
this
.
getList
()
this
.
getList
()
this
.
getHospitalMessage
()
this
.
getHospitalMessage
()
this
.
getCurrentUser
()
}
else
{
}
else
{
console
.
log
(
'平台权限'
)
console
.
log
(
'平台权限'
)
this
.
getItemForPlat
()
this
.
getItemForPlat
()
...
@@ -523,6 +541,11 @@ export default {
...
@@ -523,6 +541,11 @@ export default {
methods
:
{
methods
:
{
moneyFormat
,
moneyFormat
,
parseTime
,
parseTime
,
// 获取当前登陆用户
getCurrentUser
()
{
this
.
currentUser
.
userType
=
this
.
$store
.
state
.
user
.
userType
this
.
currentUser
.
name
=
this
.
$store
.
state
.
user
.
name
}
,
/** 获取当前医院信息 */
/** 获取当前医院信息 */
getHospitalMessage
()
{
getHospitalMessage
()
{
signHospitalMessage
().
then
(
response
=>
{
signHospitalMessage
().
then
(
response
=>
{
...
...
src/views/service-management/treatment-management/treatment-detail.vue
View file @
29104fc3
...
@@ -622,7 +622,7 @@
...
@@ -622,7 +622,7 @@
<
/div
>
<
/div
>
<
span
slot
=
"footer"
class
=
"dialog-footer"
>
<
span
slot
=
"footer"
class
=
"dialog-footer"
>
<
el
-
button
class
=
"resetBtn"
@
click
=
"cancelVideo"
>
取消
<
/el-button
>
<
el
-
button
class
=
"resetBtn"
@
click
=
"cancelVideo"
>
取消
<
/el-button
>
<
el
-
button
class
=
"queryBtn"
@
click
=
"centerDialogVisible"
>
确
认
<
/el-button
>
<
el
-
button
class
=
"queryBtn"
@
click
=
"centerDialogVisible"
>
确
定
<
/el-button
>
<
/span
>
<
/span
>
<
/el-dialog
>
<
/el-dialog
>
<
/div
>
<
/div
>
...
...
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