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
31ea4a43
Commit
31ea4a43
authored
Sep 27, 2023
by
小费同学阿
💬
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
70279625
b449cd9a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
equipment-add.vue
...uipment-management/equipment-management/equipment-add.vue
+1
-1
equipment-detail.vue
...ment-management/equipment-management/equipment-detail.vue
+2
-2
equipment-management.vue
...-management/equipment-management/equipment-management.vue
+5
-3
No files found.
src/views/equipment-management/equipment-management/equipment-add.vue
View file @
31ea4a43
...
...
@@ -6,7 +6,7 @@
<span
class=
"topTitleText"
>
新增
</span>
</div>
<div
style=
"width: 100%"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"
125px
"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"
7.82rem
"
>
<div
class=
"title-paragraph"
>
<span
class=
"title-text"
>
基本信息
</span>
</div>
...
...
src/views/equipment-management/equipment-management/equipment-detail.vue
View file @
31ea4a43
...
...
@@ -6,7 +6,7 @@
<div
class=
"topTitle"
>
<span
class=
"topTitleText"
>
详情
</span>
</div>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"
125px
"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"
7.82rem
"
>
<div
class=
"title-paragraph"
>
<div
class=
"title-text"
>
基本信息
...
...
@@ -341,7 +341,7 @@
<
div
class
=
"topTitle"
>
<
span
class
=
"topTitleText"
>
编辑
<
/span
>
<
/div
>
<
el
-
form
ref
=
"form"
:
model
=
"form"
:
rules
=
"rules"
label
-
width
=
"
125px
"
>
<
el
-
form
ref
=
"form"
:
model
=
"form"
:
rules
=
"rules"
label
-
width
=
"
7.82rem
"
>
<
div
class
=
"title-paragraph"
>
<
div
class
=
"title-text"
>
...
...
src/views/equipment-management/equipment-management/equipment-management.vue
View file @
31ea4a43
...
...
@@ -156,11 +156,11 @@
<span>
{{
scope
.
row
.
phone
||
"-"
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"设备类型"
align=
"left"
prop=
"deviceType"
min-width=
"100"
show-overflow-tooltip
>
<el-table-column
label=
"设备类型"
align=
"left"
prop=
"deviceType"
min-width=
"100"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.deviceType=== null||scope.row.deviceType=== '' "
>
{{
"-"
}}
</span>
<span
v-else
>
<
dict-tag
:options=
"dict.type.device_type"
:value=
"scope.row.deviceType "
/
>
<
span>
{{
selectDictLabel
(
dict
.
type
.
device_type
,
scope
.
row
.
deviceType
)
}}
</span
>
</span>
</
template
>
</el-table-column>
...
...
@@ -278,7 +278,7 @@
import
{
regionData
}
from
'element-china-area-data'
import
{
listDevice
,
delDevice
}
from
'@/api/business/device'
import
{
getInfo
}
from
'@/api/login'
import
{
parseTime
}
from
'@/utils/ruoyi'
import
{
parseTime
,
selectDictLabel
}
from
'@/utils/ruoyi'
import
{
mapGetters
}
from
'vuex'
import
{
listItem
}
from
'@/api/business/item'
import
{
signHospitalMessage
}
from
'@/api/business/hospital'
...
...
@@ -370,6 +370,7 @@ export default {
}
],
dictdata
:
'设备类型超长字符测试啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊'
,
// 预约方式
options
:
[{
value
:
'1'
,
...
...
@@ -509,6 +510,7 @@ export default {
this
.
getUserInfo
()
},
methods
:
{
selectDictLabel
,
// 获取登陆人信息
getUserInfo
()
{
getInfo
().
then
(
res
=>
{
...
...
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