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
12ca67b1
Commit
12ca67b1
authored
Aug 24, 2023
by
陈明豪
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
3fc15a4e
e6f03fc2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
14 deletions
+20
-14
medical-edit.vue
src/views/medical-record-management/medical-edit.vue
+15
-6
choose-pet.vue
...e-management/registration-queue/components/choose-pet.vue
+5
-8
No files found.
src/views/medical-record-management/medical-edit.vue
View file @
12ca67b1
...
@@ -626,10 +626,11 @@ color: #333333;"
...
@@ -626,10 +626,11 @@ color: #333333;"
v-if=
"isEdit && scope.row.paymentStatus === '0' && !scope.row.inputShow"
v-if=
"isEdit && scope.row.paymentStatus === '0' && !scope.row.inputShow"
icon=
"el-icon-document"
icon=
"el-icon-document"
plain
plain
id=
"remove-medication"
size=
"mini"
size=
"mini"
style=
"width: 50px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(155,0,65);"
style=
"width: 50px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(155,0,65);"
type=
"danger"
type=
"danger"
@
click=
"handleDelRow(scope.row, 'stockDispenseOutboundList')"
@
click=
"handleDelRow(scope.row, 'stockDispenseOutboundList'
, 'remove-medication'
)"
>
删除
>
删除
</el-button>
</el-button>
</
template
>
</
template
>
...
@@ -816,12 +817,13 @@ color: #333333;"
...
@@ -816,12 +817,13 @@ color: #333333;"
</el-button>
</el-button>
<el-button
<el-button
v-if=
"isEdit && scope.row.payType === '0' && !scope.row.inputShow"
v-if=
"isEdit && scope.row.payType === '0' && !scope.row.inputShow"
id=
"remove-check"
icon=
"el-icon-document"
icon=
"el-icon-document"
plain
plain
size=
"mini"
size=
"mini"
style=
"width: 50px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(155,0,65);"
style=
"width: 50px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(155,0,65);"
type=
"danger"
type=
"danger"
@
click=
"handleDelRow(scope.row, 'checkManageBos')"
@
click=
"handleDelRow(scope.row, 'checkManageBos'
, 'remove-check'
)"
>
删除
>
删除
</el-button>
</el-button>
</
template
>
</
template
>
...
@@ -964,11 +966,12 @@ color: #333333;"
...
@@ -964,11 +966,12 @@ color: #333333;"
<el-button
<el-button
v-if=
"isEdit && scope.row.payType === '0' && !scope.row.inputShow"
v-if=
"isEdit && scope.row.payType === '0' && !scope.row.inputShow"
icon=
"el-icon-document"
icon=
"el-icon-document"
id=
"remove-therapy"
plain
plain
size=
"mini"
size=
"mini"
style=
"width: 50px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(155,0,65);"
style=
"width: 50px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(155,0,65);"
type=
"danger"
type=
"danger"
@
click=
"handleDelRow(scope.row, 'treatManageBo')"
@
click=
"handleDelRow(scope.row, 'treatManageBo'
, 'remove-therapy'
)"
>
删除
>
删除
</el-button>
</el-button>
</
template
>
</
template
>
...
@@ -1110,10 +1113,11 @@ color: #333333;"
...
@@ -1110,10 +1113,11 @@ color: #333333;"
v-if=
"isEdit && !petInHospitalStatus && !petInHospitalUpdateShow && (scope.row.status === '1' || scope.row.status === '2')"
v-if=
"isEdit && !petInHospitalStatus && !petInHospitalUpdateShow && (scope.row.status === '1' || scope.row.status === '2')"
icon=
"el-icon-document"
icon=
"el-icon-document"
plain
plain
id=
"remove-hospitalized"
size=
"mini"
size=
"mini"
class=
"el-button--error--solid"
class=
"el-button--error--solid"
type=
"danger"
type=
"danger"
@
click=
"delPetInHospital(scope.row)"
@
click=
"delPetInHospital(scope.row
, 'remove-hospitalized'
)"
>
删除
>
删除
</el-button>
</el-button>
</
template
>
</
template
>
...
@@ -1874,7 +1878,7 @@ export default {
...
@@ -1874,7 +1878,7 @@ export default {
}
}
},
},
/** 删除行*/
/** 删除行*/
handleDelRow
(
rowData
,
tableName
)
{
handleDelRow
(
rowData
,
tableName
,
removeButtonId
)
{
// 删除信息行
// 删除信息行
this
.
$confirm
(
'是否确认删除此条数据,删除后不可恢复'
,
'删除'
,
{
this
.
$confirm
(
'是否确认删除此条数据,删除后不可恢复'
,
'删除'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
...
@@ -1912,6 +1916,8 @@ export default {
...
@@ -1912,6 +1916,8 @@ export default {
})
})
}
}
}).
catch
(()
=>
{
}).
catch
(()
=>
{
/* 最后给特定的id进行设置 */
document
.
getElementById
(
removeButtonId
).
blur
()
})
})
},
},
/** 新增行*/
/** 新增行*/
...
@@ -2177,7 +2183,7 @@ export default {
...
@@ -2177,7 +2183,7 @@ export default {
})
})
},
},
/** 删除病历住院信息 */
/** 删除病历住院信息 */
delPetInHospital
(
row
)
{
delPetInHospital
(
row
,
removeButtonId
)
{
this
.
$confirm
(
'是否确认删除此条数据,删除后不可恢复'
,
'删除'
,
{
this
.
$confirm
(
'是否确认删除此条数据,删除后不可恢复'
,
'删除'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
...
@@ -2192,6 +2198,9 @@ export default {
...
@@ -2192,6 +2198,9 @@ export default {
this
.
getInHospitalList
(
this
.
$route
.
params
.
id
)
this
.
getInHospitalList
(
this
.
$route
.
params
.
id
)
}
}
})
})
}).
catch
(()
=>
{
/* 最后给特定的id进行设置 */
document
.
getElementById
(
removeButtonId
).
blur
()
})
})
},
},
/** 获取费用明细 */
/** 获取费用明细 */
...
...
src/views/service-management/registration-queue/components/choose-pet.vue
View file @
12ca67b1
...
@@ -57,8 +57,8 @@
...
@@ -57,8 +57,8 @@
row-key="id"
row-key="id"
@selection-change="handleSelectionChange"
@selection-change="handleSelectionChange"
>
>
<el-table-column
align=
"center"
min-width=
"30"
reserve-selection
type=
"selection"
/>
<el-table-column
align=
"center"
min-width=
"30"
reserve-selection
type=
"selection"
/>
<el-table-column
label=
"序号"
min-width=
"80"
show-overflow-tooltip
type=
"index"
/>
<el-table-column
label=
"序号"
min-width=
"80"
show-overflow-tooltip
type=
"index"
/>
<el-table-column
label=
"宠主姓名"
min-width=
"80"
prop=
"ownerName"
show-overflow-tooltip
>
<el-table-column
label=
"宠主姓名"
min-width=
"80"
prop=
"ownerName"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
ownerName
||
'-'
}}
</span>
<span>
{{
scope
.
row
.
ownerName
||
'-'
}}
</span>
...
@@ -102,9 +102,7 @@
...
@@ -102,9 +102,7 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"宠物性别"
min-width=
"60"
prop=
"petSex"
show-overflow-tooltip
>
<el-table-column
label=
"宠物性别"
min-width=
"60"
prop=
"petSex"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<i
v-if=
"scope.row.petSex === '1'"
class=
"el-icon-male"
/>
<dict-tag
:options=
"dict.type.pet_sex"
:value=
"scope.row.petSex"
/>
<i
v-else-if=
"scope.row.petSex === '2'"
class=
"el-icon-female"
/>
<div
v-else
>
待定
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -338,10 +336,9 @@ export default {
...
@@ -338,10 +336,9 @@ export default {
}
}
}
}
}
}
::v-deep
th
{
::v-deep
th
{
.cell
{
.cell
{
.el-checkbox
{
.el-checkbox
{
display
:
none
;
display
:
none
;
}
}
}
}
...
...
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