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
6faa21c5
Commit
6faa21c5
authored
Aug 28, 2023
by
小费同学阿
💬
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
d12c308b
4efc9805
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
84 additions
and
16 deletions
+84
-16
btn.scss
src/assets/styles/btn.scss
+6
-1
index.vue
src/components/BackBtn/index.vue
+58
-0
index.js
src/router/index.js
+3
-3
equipment-management.vue
...-management/equipment-management/equipment-management.vue
+1
-1
medical-record-management.vue
...t/medical-record-management/medical-record-management.vue
+0
-2
registration-detail.vue
...ice-management/registration-queue/registration-detail.vue
+16
-9
No files found.
src/assets/styles/btn.scss
View file @
6faa21c5
...
@@ -368,7 +368,12 @@
...
@@ -368,7 +368,12 @@
}
}
.el-button--success--solid--four
{
.el-button--success--solid--four
{
width
:
83px
!
important
;
width
:
84px
!
important
;
height
:
24px
!
important
;
padding
:
-1px
!
important
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
border-radius
:
6px
6px
6px
6px
;
border-radius
:
6px
6px
6px
6px
;
border
:
1px
solid
rgb
(
95
,
181
,
75
)
!
important
;
border
:
1px
solid
rgb
(
95
,
181
,
75
)
!
important
;
&
.is-disabled
{
&
.is-disabled
{
...
...
src/components/BackBtn/index.vue
0 → 100644
View file @
6faa21c5
<
template
>
<el-button
:loading=
"loading"
:class=
"buttonClass"
:icon=
"buttonIcon"
@
click=
"clickEvent"
>
{{
buttonText
}}
</el-button>
</
template
>
<
script
>
export
default
{
name
:
'Index'
,
props
:
{
buttonClass
:
{
type
:
String
,
default
:
'resetBtn'
},
loading
:
{
type
:
Boolean
,
default
:
false
},
buttonIcon
:
{
type
:
String
,
default
:
'el-icon-back'
},
buttonText
:
{
type
:
String
,
default
:
'返 回'
},
clickAction
:
{
type
:
Object
,
required
:
true
},
isShowConfirm
:
{
type
:
Boolean
,
default
:
false
}
},
methods
:
{
clickEvent
()
{
if
(
this
.
isShowConfirm
)
{
this
.
$confirm
(
this
.
buttonClass
===
'queryBtn'
?
'系统即将发布编辑内容,是否确定'
:
'是否立即返回,返回后系统不再保存已填写内容'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
customClass
:
'box-logout'
,
cancelButtonClass
:
'resetBtn'
,
confirmButtonClass
:
'queryBtn'
,
type
:
'warning'
,
closeOnClickModal
:
false
}).
then
(()
=>
{
this
.
clickAction
()
})
}
else
{
this
.
clickAction
()
}
}
}
}
</
script
>
<
style
scoped
>
</
style
>
src/router/index.js
View file @
6faa21c5
...
@@ -120,10 +120,10 @@ export const constantRoutes = [
...
@@ -120,10 +120,10 @@ export const constantRoutes = [
},
},
{
{
path
:
'equipment-
detail
'
,
path
:
'equipment-
edit
'
,
props
:
true
,
props
:
true
,
component
:
()
=>
import
(
'@/views/equipment-management/equipment-management/equipment-detail'
),
component
:
()
=>
import
(
'@/views/equipment-management/equipment-management/equipment-detail'
),
name
:
'Equipment
Detail
'
,
name
:
'Equipment
Edit
'
,
meta
:
{
title
:
'设备详情'
}
meta
:
{
title
:
'设备详情'
}
},
},
{
{
...
@@ -131,7 +131,7 @@ export const constantRoutes = [
...
@@ -131,7 +131,7 @@ export const constantRoutes = [
props
:
true
,
props
:
true
,
component
:
()
=>
import
(
'@/views/equipment-management/equipment-management/equipment-detail'
),
component
:
()
=>
import
(
'@/views/equipment-management/equipment-management/equipment-detail'
),
name
:
'EquipmentEdit'
,
name
:
'EquipmentEdit'
,
meta
:
{
title
:
'设备
详情
'
}
meta
:
{
title
:
'设备
編輯
'
}
},
},
{
{
path
:
'equipment-add'
,
path
:
'equipment-add'
,
...
...
src/views/equipment-management/equipment-management/equipment-management.vue
View file @
6faa21c5
...
@@ -605,7 +605,7 @@ export default {
...
@@ -605,7 +605,7 @@ export default {
/** 跳转到详情页*/
/** 跳转到详情页*/
detailsDevice
(
id
)
{
detailsDevice
(
id
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'Equipment
Detail
'
,
name
:
'Equipment
Edit
'
,
query
:
{
query
:
{
identify
:
'2'
,
identify
:
'2'
,
id
:
id
id
:
id
...
...
src/views/service-management/medical-record-management/medical-record-management.vue
View file @
6faa21c5
...
@@ -358,7 +358,6 @@
...
@@ -358,7 +358,6 @@
class
=
"el-button--success--solid--four"
class
=
"el-button--success--solid--four"
size
=
"mini"
size
=
"mini"
type
=
"success"
type
=
"success"
style
=
"width: 84px !important; height: 24px;"
plain
plain
:
disabled
=
"parseInt(scope.row.price) > parseInt(currentHospital.currentBalance)"
:
disabled
=
"parseInt(scope.row.price) > parseInt(currentHospital.currentBalance)"
@
click
=
"handleSubscribeDevice(scope.row)"
@
click
=
"handleSubscribeDevice(scope.row)"
...
@@ -369,7 +368,6 @@
...
@@ -369,7 +368,6 @@
size
=
"mini"
size
=
"mini"
type
=
"success"
type
=
"success"
class
=
"el-button--success--solid--four"
class
=
"el-button--success--solid--four"
style
=
"width: 84px !important; height: 24px;"
plain
plain
@
click
=
"handleSubscribeDevice(scope.row)"
@
click
=
"handleSubscribeDevice(scope.row)"
>
立即预约
>
立即预约
...
...
src/views/service-management/registration-queue/registration-detail.vue
View file @
6faa21c5
...
@@ -545,16 +545,21 @@
...
@@ -545,16 +545,21 @@
/>
/>
</div>
</div>
<!--底部返回按钮-->
<!--底部返回按钮-->
<
el-butto
n
<
back-bt
n
v-if=
"$route.params.type === 'enter'"
v-if=
"$route.params.type === 'enter'"
:loading=
"submiting"
:loading=
"submiting"
class=
"queryBtn"
:button-class=
"'queryBtn'"
icon=
"el-icon-check"
:button-icon=
"'el-icon-check'"
@
click=
"submitForm"
:click-action=
"submitForm"
>
提
button-text=
"提 交"
交
:is-show-confirm=
"$route.params.type === 'enter'"
</el-button>
/>
<el-button
class=
"backBth"
icon=
"el-icon-back"
@
click=
"goBack"
>
返 回
</el-button>
<back-btn
button-text=
"返 回"
button-class=
"resetBtn"
:click-action=
"goBack"
:is-show-confirm=
"$route.params.type === 'enter'"
/>
</el-form>
</el-form>
</div>
</div>
</div>
</div>
...
@@ -570,6 +575,7 @@ import scheduleInfo from '@/views/service-management/registration-queue/componen
...
@@ -570,6 +575,7 @@ import scheduleInfo from '@/views/service-management/registration-queue/componen
import
prescribingModle
from
'@/views/service-management/registration-queue/components/prescribing-modle'
import
prescribingModle
from
'@/views/service-management/registration-queue/components/prescribing-modle'
import
{
insertDiagnosis
}
from
'@/api/business/registration'
import
{
insertDiagnosis
}
from
'@/api/business/registration'
import
{
moneyFormat
}
from
'@/utils'
import
{
moneyFormat
}
from
'@/utils'
import
backBtn
from
'@/components/BackBtn'
export
default
{
export
default
{
name
:
'RegistrationDetail'
,
name
:
'RegistrationDetail'
,
...
@@ -577,7 +583,8 @@ export default {
...
@@ -577,7 +583,8 @@ export default {
dicts
:
[
'pet_sex'
,
'vaccine_situation'
,
'exist_state'
,
'sterilization_status'
,
'pet_insure'
,
'cat_breed'
,
'dog_breed'
,
'other_breed'
],
dicts
:
[
'pet_sex'
,
'vaccine_situation'
,
'exist_state'
,
'sterilization_status'
,
'pet_insure'
,
'cat_breed'
,
'dog_breed'
,
'other_breed'
],
components
:
{
components
:
{
scheduleInfo
,
scheduleInfo
,
prescribingModle
prescribingModle
,
backBtn
},
},
data
()
{
data
()
{
return
{
return
{
...
...
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