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
a5faa2c6
Commit
a5faa2c6
authored
Aug 31, 2023
by
盖献康
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
30929789
eba0e270
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
25 deletions
+30
-25
index.vue
src/components/Editor/index.vue
+2
-2
index.vue
src/components/ImageUpload/index.vue
+5
-1
equipment-detail.vue
...ment-management/equipment-management/equipment-detail.vue
+12
-7
use-details.vue
...views/equipment-management/use-management/use-details.vue
+6
-6
medical-edit.vue
src/views/medical-record-management/medical-edit.vue
+4
-8
prescribing-modle.vue
...ement/registration-queue/components/prescribing-modle.vue
+1
-1
No files found.
src/components/Editor/index.vue
View file @
a5faa2c6
...
...
@@ -165,9 +165,9 @@ export default {
handleBeforeUpload
(
file
)
{
console
.
log
(
'fileSize'
,
file
)
console
.
log
(
'图片file---,'
,
file
.
name
)
const
nameTest
=
/^
[^
%;
]
*$/
const
nameTest
=
/^
[^
;
/
?:@&=+$,
]
*$/
if
(
!
nameTest
.
test
(
file
.
name
))
{
this
.
$modal
.
msgError
(
'
不能含有%;
等特殊字符'
)
this
.
$modal
.
msgError
(
'
上传文件不能含有;/?:@&=+$,
等特殊字符'
)
return
false
}
// 校检文件大小
...
...
src/components/ImageUpload/index.vue
View file @
a5faa2c6
...
...
@@ -116,7 +116,7 @@ export default {
// 大小限制(MB)
fileSize
:
{
type
:
Number
,
default
:
3
default
:
4
},
// 文件类型, 例如['png', 'jpg', 'jpeg']
fileType
:
{
...
...
@@ -330,6 +330,10 @@ export default {
// 上传失败
handleUploadError
()
{
this
.
$modal
.
msgError
(
'上传图片失败,请重试'
)
this
.
cropperVisible
=
false
this
.
fileList
=
[]
this
.
uploadList
=
[]
this
.
number
=
0
// this.$modal.closeLoading()
},
// 上传结束处理
...
...
src/views/equipment-management/equipment-management/equipment-detail.vue
View file @
a5faa2c6
...
...
@@ -290,10 +290,14 @@
>
使用信息
</div>
</div>
<el-table
:data=
"useList"
:header-cell-style=
"
{ background:'#F4F4F4'}"
>
<el-table
:data=
"useList"
:header-cell-style=
"
{ background:'#F4F4F4'}">
<el-table-column
label=
"检查项目"
align=
"center"
prop=
"checkItemsName"
show-overflow-tooltip
/>
<el-table-column
label=
"宠物昵称"
align=
"center"
prop=
"petNickname"
show-overflow-tooltip
/>
<el-table-column
label=
"宠主姓名"
align=
"center"
prop=
"nickname"
show-overflow-tooltip
/>
<el-table-column
label=
"宠主姓名"
align=
"center"
prop=
"nickname"
show-overflow-tooltip
>
<template
slot-scope=
" scope "
>
{{
scope
.
row
.
nickname
||
"-"
}}
</
template
>
</el-table-column>
<el-table-column
label=
"宠主手机号"
align=
"center"
prop=
"phonenumber"
/>
<el-table-column
label=
"检查日期"
align=
"center"
prop=
"checkStartTime"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
...
...
@@ -313,7 +317,7 @@
<
el
-
table
-
column
label
=
"检查状态"
align
=
"center"
prop
=
"payType"
show
-
overflow
-
tooltip
>
<
template
slot
-
scope
=
"scope"
>
<
span
v
-
show
=
"scope.row.checkSchedule === '0' || scope.row.checkSchedule === '1'"
>-<
/span
>
<
span
v
-
show
=
"scope.row.checkSchedule === '2'"
style
=
"color: #
DB4747
;"
>
待检查
<
/span
>
<
span
v
-
show
=
"scope.row.checkSchedule === '2'"
style
=
"color: #
FF9D4E
;"
>
待检查
<
/span
>
<
span
v
-
show
=
"scope.row.checkSchedule === '3'"
style
=
"color: #5FB54B;"
>
已检查
<
/span
>
<
/template
>
<
/el-table-column
>
...
...
@@ -595,7 +599,7 @@
<
/div
>
<
/el-col
>
<
/el-row
>
<!--
8
-->
<!--
8
-->
<
el
-
row
>
<
el
-
col
>
<
el
-
form
-
item
label
=
"支持服务地区"
prop
=
"serviceArea"
>
...
...
@@ -615,7 +619,7 @@
<
/el-form-item
>
<
/el-col
>
<
/el-row
>
<!--
9
-->
<!--
9
-->
<
el
-
row
>
<
el
-
col
>
<
el
-
form
-
item
label
=
"支持检查项目"
prop
=
"checkType"
>
...
...
@@ -648,7 +652,7 @@
:
click
-
action
=
"cancel"
:
is
-
show
-
confirm
=
"true"
/>
<!--
<
el
-
button
class
=
"resetBtn"
size
=
"mini"
icon
=
"el-icon-back"
@
click
=
"cancel"
>
返回
<
/el-button>--
>
<!--
<
el
-
button
class
=
"resetBtn"
size
=
"mini"
icon
=
"el-icon-back"
@
click
=
"cancel"
>
返回
<
/el-button>--
>
<
/el-col
>
<
/el-row
>
<
/el-card
>
...
...
@@ -865,7 +869,7 @@ export default {
this
.
identify
=
this
.
$route
.
query
.
identify
this
.
form
.
isPrivate
=
this
.
$route
.
query
.
isPrivate
// console.time('start option')
Promise
.
all
([
this
.
get
UserInfo
(),
this
.
get
AreaData
(),
this
.
getuseList
(),
this
.
getItemByType
()])
Promise
.
all
([
this
.
getAreaData
(),
this
.
getuseList
(),
this
.
getItemByType
()])
.
then
(
_
=>
{
// console.timeLog('start option')
// console.time('detail')
...
...
@@ -1137,6 +1141,7 @@ export default {
return
getDevice
(
this
.
id
).
then
(({
data
}
)
=>
{
data
.
selectedOptions
=
data
.
addressCode
.
split
(
','
).
map
(
Number
)
data
.
serviceArea
=
data
.
serviceArea
.
split
(
';'
)
this
.
getUserInfo
()
if
(
data
.
checkType
!=
null
&&
data
.
checkType
!==
''
)
{
data
.
checkType
=
data
.
checkType
.
split
(
','
).
map
(
Number
)
}
...
...
src/views/equipment-management/use-management/use-details.vue
View file @
a5faa2c6
...
...
@@ -137,7 +137,7 @@
<el-col
:span=
"24"
>
<el-form-item
label=
"支持服务地区"
prop=
"serviceArea"
>
<el-input
v-model=
"
form.
serviceAreaText"
v-model=
"serviceAreaText"
type=
"textarea"
:row=
"4"
placeholder=
"-"
...
...
@@ -370,13 +370,13 @@ export default {
pms
:
''
,
pme
:
''
},
serviceAreaText
:
[],
// 详情表单
form
:
{
selectedOptions
:
[],
deviceName
:
''
,
// appointmentMethod: '',
serviceArea
:
[],
serviceAreaText
:
[],
checkTypeText
:
[],
head
:
''
,
phone
:
''
,
...
...
@@ -392,8 +392,8 @@ export default {
this
.
getUseDetail
()
this
.
getCheckList
()
this
.
getUserLogin
()
this
.
getAreaData
()
this
.
getUserInfo
()
this
.
getAreaData
()
},
methods
:
{
removeEmptyChildren
(
array
)
{
...
...
@@ -457,11 +457,10 @@ export default {
labelList
.
push
(
'-'
)
}
}
this
.
form
.
serviceAreaText
=
labelList
this
.
serviceAreaText
=
labelList
console
.
log
(
labelList
)
console
.
log
(
'111111111111'
,
labelList
)
console
.
log
(
' ----------------引人注目----------------------------his.form.serviceAreaText'
,
this
.
form
.
serviceAreaText
)
console
.
log
(
' ----------------引人注目----------------------------his.form.serviceAreaText'
,
this
.
serviceAreaText
)
}
})
},
...
...
@@ -537,6 +536,7 @@ export default {
}
if
(
res
.
data
.
serviceArea
!==
''
&&
res
.
data
.
serviceArea
!==
null
)
{
this
.
form
.
serviceArea
=
res
.
data
.
serviceArea
.
split
(
';'
)
// this.serviceAreaS = this.form.serviceArea.split(';')
// this.serviceArea = []
// for (let i = 0; i
<
this
.
serviceAreaS
.
length
;
i
++
)
{
...
...
src/views/medical-record-management/medical-edit.vue
View file @
a5faa2c6
...
...
@@ -630,13 +630,12 @@ color: #333333;"
</el-button>
<el-button
v-if=
"isEdit && scope.row.paymentStatus === '0' && !scope.row.inputShow"
icon=
"el-icon-edit"
plain
size=
"mini"
style=
"width: 50px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(52,144,206);"
type=
"primary"
@
click=
"handleUpdate(scope.$index,'stockDispenseOutboundList')"
>
编辑
>
<svg-icon
icon-class=
"liebiao_icon_bianji"
style=
"font-size: 11px;vertical-align: top;"
/>
编辑
</el-button>
<el-button
v-if=
"isEdit && (scope.row.paymentStatus === '0'|| scope.row.isAdd ) && scope.row.inputShow"
...
...
@@ -830,13 +829,12 @@ color: #333333;"
</el-button>
<el-button
v-if=
"isEdit && scope.row.payType === '0' && !scope.row.inputShow"
icon=
"el-icon-edit"
plain
size=
"mini"
style=
"width: 50px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(52,144,206);"
type=
"primary"
@
click=
"handleUpdate(scope.$index,'checkManageBos')"
>
编辑
>
<svg-icon
icon-class=
"liebiao_icon_bianji"
style=
"font-size: 11px;vertical-align: top;"
/>
编辑
</el-button>
<el-button
v-if=
"isEdit && (scope.row.payType === '0'|| scope.row.isAdd ) && scope.row.inputShow"
...
...
@@ -1013,13 +1011,12 @@ color: #333333;"
</el-button>
<el-button
v-if=
"isEdit && scope.row.payType === '0' && !scope.row.inputShow"
icon=
"el-icon-edit"
plain
size=
"mini"
style=
"width: 50px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(52,144,206);"
type=
"primary"
@
click=
"handleUpdate(scope.$index,'treatManageBo')"
>
编辑
>
<svg-icon
icon-class=
"liebiao_icon_bianji"
style=
"font-size: 11px;vertical-align: top;"
/>
编辑
</el-button>
<el-button
v-if=
"isEdit && (scope.row.payType === '0'|| scope.row.isAdd ) && scope.row.inputShow"
...
...
@@ -1169,13 +1166,12 @@ color: #333333;"
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isEdit && !petInHospitalStatus && !petInHospitalUpdateShow && ( scope.row.status === '0' || scope.row.status === '1' )"
icon=
"el-icon-edit"
plain
size=
"mini"
style=
"width: 50px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(52,144,206);"
type=
"primary"
@
click=
"updatePetInHospitalShow(scope.row)"
>
编辑
>
<svg-icon
icon-class=
"liebiao_icon_bianji"
style=
"font-size: 11px;vertical-align: top;"
/>
编辑
</el-button>
<el-button
v-if=
"isEdit && !petInHospitalStatus && petInHospitalUpdateShow"
...
...
src/views/service-management/registration-queue/components/prescribing-modle.vue
View file @
a5faa2c6
...
...
@@ -406,7 +406,7 @@ export default {
isBatheOption
:
[
{
value
:
'0'
,
label
:
'
是
'
label
:
'
能
'
},
{
value
:
'1'
,
...
...
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