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
a987cf7c
Commit
a987cf7c
authored
Aug 07, 2023
by
陈明豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检查管理-平台权限
parent
a7c18430
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
13 deletions
+54
-13
check-detail.vue
...ice-management/medical-record-management/check-detail.vue
+8
-2
check-item.vue
...rvice-management/medical-record-management/check-item.vue
+46
-11
No files found.
src/views/service-management/medical-record-management/check-detail.vue
View file @
a987cf7c
...
@@ -229,7 +229,7 @@
...
@@ -229,7 +229,7 @@
<div
style=
"height: 20px;border-left: 5px solid #5FB54B;"
/>
<div
style=
"height: 20px;border-left: 5px solid #5FB54B;"
/>
<div
style=
"padding-left: 10px;font-size: 16px;font-weight: bold;"
>
预约信息
</div>
<div
style=
"padding-left: 10px;font-size: 16px;font-weight: bold;"
>
预约信息
</div>
<div
style=
"margin-left: auto;padding-right: 50px;"
>
<div
style=
"margin-left: auto;padding-right: 50px;"
>
<el-button
v-show=
"checkDetail.deviceId === null"
class=
"fourWordsBtn"
@
click=
"bookNow"
>
立即预约
</el-button>
<el-button
v-show=
"checkDetail.deviceId === null
&& !isPlatRole
"
class=
"fourWordsBtn"
@
click=
"bookNow"
>
立即预约
</el-button>
</div>
</div>
</div>
</div>
<!-- 预约信息 -->
<!-- 预约信息 -->
...
@@ -379,6 +379,7 @@ export default {
...
@@ -379,6 +379,7 @@ export default {
dicts
:
[
'pet_sex'
,
'sterilization_status'
,
'vaccine_situation'
,
'check_type'
],
dicts
:
[
'pet_sex'
,
'sterilization_status'
,
'vaccine_situation'
,
'check_type'
],
data
()
{
data
()
{
return
{
return
{
isPlatRole
:
false
,
checkDetail
:
{},
checkDetail
:
{},
schedule
:
1
,
schedule
:
1
,
videoReportVisible
:
false
,
videoReportVisible
:
false
,
...
@@ -420,6 +421,9 @@ export default {
...
@@ -420,6 +421,9 @@ export default {
},
},
created
()
{
created
()
{
console
.
log
(
'点击详情后的ID'
,
localStorage
.
getItem
(
'checkId'
))
console
.
log
(
'点击详情后的ID'
,
localStorage
.
getItem
(
'checkId'
))
if
(
this
.
$store
.
state
.
user
.
userType
===
'00'
)
{
this
.
isPlatRole
=
true
}
this
.
getCheckDetail
()
this
.
getCheckDetail
()
},
},
methods
:
{
methods
:
{
...
@@ -468,7 +472,9 @@ export default {
...
@@ -468,7 +472,9 @@ export default {
return
return
}
}
this
.
checkDetail
.
shadowReport
=
this
.
videoReport
this
.
checkDetail
.
shadowReport
=
this
.
videoReport
this
.
checkDetail
.
reportTime
=
parseTime
(
new
Date
())
this
.
checkDetail
.
reportTime
=
parseTime
(
new
Date
(),
'{y}-{m}-{d} {h}:{i}:{s}'
)
this
.
checkDetail
.
payTime
=
parseTime
(
this
.
checkDetail
.
payTime
,
'{y}-{m}-{d}'
)
this
.
checkDetail
.
createTime
=
parseTime
(
this
.
checkDetail
.
createTime
,
'{y}/{m}/{d} {h}:{i}:{s}'
)
this
.
checkDetail
.
checkSchedule
=
'3'
this
.
checkDetail
.
checkSchedule
=
'3'
console
.
log
(
'点击上传报告后'
,
this
.
checkDetail
)
console
.
log
(
'点击上传报告后'
,
this
.
checkDetail
)
// 更新检查表
// 更新检查表
...
...
src/views/service-management/medical-record-management/check-item.vue
View file @
a987cf7c
...
@@ -235,7 +235,29 @@ export default {
...
@@ -235,7 +235,29 @@ export default {
}
}
},
},
created
()
{
created
()
{
if
(
this
.
$store
.
state
.
user
.
userType
!==
'00'
)
{
this
.
getList
()
this
.
getList
()
}
else
{
listItem
({
itemType
:
'2'
}).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
console
.
log
(
'aaa'
,
response
)
if
(
response
.
rows
.
length
>
0
)
{
this
.
form
.
settingList
=
response
.
rows
}
else
{
this
.
form
.
settingList
=
[{
name
:
''
,
type
:
'0'
,
price
:
''
,
supportInsure
:
''
,
sort
:
''
,
status
:
'1'
,
content
:
''
,
itemType
:
'0'
}]
}
}
})
}
},
},
methods
:
{
methods
:
{
/** 获取数据 */
/** 获取数据 */
...
@@ -347,6 +369,7 @@ export default {
...
@@ -347,6 +369,7 @@ export default {
},
},
// 新增项目
// 新增项目
handleAddItem
()
{
handleAddItem
()
{
if
(
this
.
$store
.
state
.
user
.
userType
!==
'00'
)
{
this
.
form
.
settingList
.
push
({
this
.
form
.
settingList
.
push
({
name
:
''
,
name
:
''
,
type
:
'0'
,
type
:
'0'
,
...
@@ -357,6 +380,18 @@ export default {
...
@@ -357,6 +380,18 @@ export default {
content
:
''
,
content
:
''
,
itemType
:
'0'
itemType
:
'0'
})
})
}
else
{
this
.
form
.
settingList
.
push
({
name
:
''
,
type
:
'0'
,
price
:
''
,
supportInsure
:
''
,
sort
:
''
,
status
:
'1'
,
content
:
''
,
itemType
:
'2'
})
}
},
},
// 提交
// 提交
handleSubmit
()
{
handleSubmit
()
{
...
...
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