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
bc81a2b8
Commit
bc81a2b8
authored
Aug 30, 2023
by
陈明豪
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
07acbc94
ec1b0b2c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
60 additions
and
32 deletions
+60
-32
entry-contract.vue
...ews/document-management/entry-contract/entry-contract.vue
+15
-13
equipment-add.vue
...uipment-management/equipment-management/equipment-add.vue
+16
-3
equipment-detail.vue
...ment-management/equipment-management/equipment-detail.vue
+29
-16
No files found.
src/views/document-management/entry-contract/entry-contract.vue
View file @
bc81a2b8
...
...
@@ -149,7 +149,7 @@ export default {
this
.
getCurrentHospital
()
setTimeout
(()
=>
{
this
.
getContract
()
}
,
5
00
)
}
,
3
00
)
}
,
methods
:
{
// 合同文件查看对话框关闭
...
...
@@ -171,6 +171,7 @@ export default {
}
,
getContract
()
{
this
.
getEntryContract
()
setTimeout
(()
=>
{
console
.
log
(
'xxxx'
,
this
.
currentHospitalId
)
this
.
queryParams
.
hospitalId
=
this
.
currentHospitalId
listHistory
(
this
.
queryParams
).
then
(
res
=>
{
...
...
@@ -183,6 +184,7 @@ export default {
console
.
log
(
'入驻合同'
,
this
.
entryContract
)
this
.
loading
=
false
}
)
}
,
300
)
}
,
getCurrentHospital
()
{
listGetUserInfo
().
then
(
res
=>
{
...
...
src/views/equipment-management/equipment-management/equipment-add.vue
View file @
bc81a2b8
...
...
@@ -303,7 +303,13 @@
<el-button
:loading=
"submitShow"
class=
"queryBtn"
size=
"mini"
icon=
"el-icon-check"
@
click=
"submitForm"
>
提交
</el-button>
<el-button
class=
"resetBtn"
size=
"mini"
icon=
"el-icon-back"
@
click=
"cancel"
>
返 回
</el-button>
<back-btn
button-text=
"返 回"
button-class=
"resetBtn"
:click-action=
"cancel"
:is-show-confirm=
"true"
/>
<!--
<el-button
class=
"resetBtn"
size=
"mini"
icon=
"el-icon-back"
@
click=
"cancel"
>
返 回
</el-button>
-->
</el-col>
</el-row>
...
...
@@ -321,9 +327,12 @@ import { isEmpty } from '@/utils/ruoyi'
import
{
deepClone
}
from
'@/utils'
import
{
listItemByType
}
from
'@/api/business/item'
import
{
signHospitalMessage
}
from
'@/api/business/hospital'
import
backBtn
from
'@/components/BackBtn/index.vue'
import
{
mapGetters
}
from
'vuex'
export
default
{
name
:
'EquipmentAdd'
,
components
:
{
backBtn
},
dicts
:
[
'device_status'
,
'device_type'
,
'exam_type'
,
'check_type'
,
'service_area'
],
data
()
{
...
...
@@ -488,9 +497,9 @@ export default {
pme
:
null
}
}
,
}
// 登陆人类型
userType
:
''
//
userType: ''
}
},
watch
:
{
...
...
@@ -507,10 +516,14 @@ export default {
deep
:
true
}
},
computed
:
{
...
mapGetters
([
'userType'
])
},
created
()
{
this
.
getUserInfo
()
this
.
getAreaData
()
this
.
getHospital
()
// console.log("这位我从vue拿到的",this.userType)
},
methods
:
{
// 获取登陆人信息
...
...
src/views/equipment-management/equipment-management/equipment-detail.vue
View file @
bc81a2b8
...
...
@@ -17,7 +17,7 @@
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"设备名称"
>
<el-input
v-model=
"form.deviceName"
placeholder=
"
请输入设备名称
"
class=
"inputWidth"
disabled
/>
<el-input
v-model=
"form.deviceName"
placeholder=
"
-
"
class=
"inputWidth"
disabled
/>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -27,7 +27,7 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
v-if=
"isShow"
label=
"平台自有设备"
>
<el-select
v-model=
"form.isPrivate"
disabled
class=
"inputWidth"
placeholder=
"
请选择平台自有设备
"
>
<el-select
v-model=
"form.isPrivate"
disabled
class=
"inputWidth"
placeholder=
"
-
"
>
<el-option
v-for=
"(item, index) in optionsp"
:key=
"index"
...
...
@@ -38,7 +38,7 @@
</el-form-item>
<el-form-item
v-if=
"hpshow"
label=
"医院自有设备"
>
<el-select
v-model=
"form.isPrivate"
disabled
class=
"inputWidth"
placeholder=
"
请选择医院自有设备
"
>
<el-select
v-model=
"form.isPrivate"
disabled
class=
"inputWidth"
placeholder=
"
-
"
>
<el-option
v-for=
"(item ,index) in optionsh"
:key=
"index"
...
...
@@ -80,7 +80,7 @@
<el-col
:span=
"16"
>
<el-form-item
label=
"服务地点"
>
<InputTips
:text=
"form.addressText"
width=
"18.75rem"
/>
<InputTips
:text=
"form.addressText"
width=
"18.75rem"
placeholder=
"-"
/>
</el-form-item>
<el-form-item
prop=
"address"
>
<el-input
...
...
@@ -290,7 +290,7 @@
>
使用信息
</div>
</div>
<el-table
:data=
"useList"
:header-cell-style=
"
{ background:'#F4F4F4'}"
border
>
<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
/>
...
...
@@ -595,7 +595,7 @@
<
/div
>
<
/el-col
>
<
/el-row
>
8
<!--
8
-->
<
el
-
row
>
<
el
-
col
>
<
el
-
form
-
item
label
=
"支持服务地区"
prop
=
"serviceArea"
>
...
...
@@ -615,7 +615,7 @@
<
/el-form-item
>
<
/el-col
>
<
/el-row
>
9
<!--
9
-->
<
el
-
row
>
<
el
-
col
>
<
el
-
form
-
item
label
=
"支持检查项目"
prop
=
"checkType"
>
...
...
@@ -642,7 +642,13 @@
<
el
-
col
style
=
"display: flex;justify-content: left; margin-left: 20px; margin-top: 20px"
>
<
el
-
button
class
=
"queryBtn"
type
=
"primary"
size
=
"mini"
icon
=
"el-icon-check"
@
click
=
"submitForm"
>
提交
<
/el-button
>
<
el
-
button
class
=
"resetBtn"
size
=
"mini"
icon
=
"el-icon-back"
@
click
=
"cancel"
>
返回
<
/el-button
>
<
back
-
btn
button
-
text
=
"返 回"
button
-
class
=
"resetBtn"
:
click
-
action
=
"cancel"
:
is
-
show
-
confirm
=
"true"
/>
<!--
<
el
-
button
class
=
"resetBtn"
size
=
"mini"
icon
=
"el-icon-back"
@
click
=
"cancel"
>
返回
<
/el-button>--
>
<
/el-col
>
<
/el-row
>
<
/el-card
>
...
...
@@ -663,10 +669,11 @@ import { listItemByType } from '@/api/business/item'
import
{
mapGetters
}
from
'vuex'
import
{
signHospitalMessage
}
from
'@/api/business/hospital'
import
InputTips
from
'@/components/InputTips/InputTips.vue'
import
backBtn
from
'@/components/BackBtn/index.vue'
export
default
{
name
:
'EquipmentDetail'
,
components
:
{
InputTips
}
,
components
:
{
backBtn
,
InputTips
}
,
dicts
:
[
'device_status'
,
'device_type'
,
'exam_type'
,
'check_type'
,
'service_area'
],
data
()
{
return
{
...
...
@@ -853,19 +860,15 @@ export default {
hpshow
:
''
}
}
,
mounted
:
function
()
{
this
.
$route
.
meta
.
title
=
'2222'
}
,
created
()
{
this
.
$route
.
meta
.
title
=
'2222'
this
.
id
=
this
.
$route
.
query
.
id
this
.
identify
=
this
.
$route
.
query
.
identify
this
.
form
.
isPrivate
=
this
.
$route
.
query
.
isPrivate
console
.
time
(
'start option'
)
//
console.time('start option')
Promise
.
all
([
this
.
getUserInfo
(),
this
.
getAreaData
(),
this
.
getuseList
(),
this
.
getItemByType
()])
.
then
(
_
=>
{
console
.
timeLog
(
'start option'
)
console
.
time
(
'detail'
)
//
console.timeLog('start option')
//
console.time('detail')
this
.
handleUpdate
()
}
)
}
,
...
...
@@ -1143,6 +1146,16 @@ export default {
data
.
createTimeShow
=
this
.
replace
(
data
.
createTime
)
// 回显检查项目
data
.
checkType
=
data
.
checkType
.
filter
(
item
=>
{
let
flag
=
false
this
.
checkItemOptions
.
forEach
(
row
=>
{
if
(
row
.
id
===
item
)
{
flag
=
true
}
}
)
return
flag
}
)
data
.
checkTypeText
=
this
.
checkItemOptions
.
filter
(({
id
}
)
=>
data
.
checkType
.
includes
(
id
))
.
map
(({
name
}
)
=>
name
)
.
join
(
','
)
...
...
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