Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
Project
Project
Details
Activity
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
王浩
zh-baseversion-project
Commits
78a38583
Commit
78a38583
authored
Jul 26, 2024
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 台账管理-安全装置台账 调整成企业和政府都可以录,企业看自己,政府看所有,及导出调整。
parent
b32ad212
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
119 additions
and
0 deletions
+119
-0
DetailInfo.vue
...rsion-web/src/views/standingBook/equipment/DetailInfo.vue
+119
-0
No files found.
zh-baseversion-web/src/views/standingBook/equipment/DetailInfo.vue
0 → 100644
View file @
78a38583
<
template
>
<el-dialog
title=
"详情"
:visible
.
sync=
"detailOpen"
width=
"1000px"
append-to-body
destroy-on-close
:close-on-click-modal=
"false"
>
<el-form
label-width=
"170px"
>
<el-row
class=
"el-row-table"
>
<el-col
:span=
"11"
>
<el-form-item
label=
"用户名称:"
>
<span
v-if=
"detailInfo.userName"
>
{{
detailInfo
.
userName
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"用户编号:"
>
<span
v-if=
"detailInfo.userNo"
>
{{
detailInfo
.
userNo
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"身份证号:"
>
<span
v-if=
"detailInfo.idCard"
>
{{
detailInfo
.
idCard
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"联系电话:"
>
<span
v-if=
"detailInfo.linkMobile"
>
{{
detailInfo
.
linkMobile
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"23"
>
<el-form-item
label=
"详细地址:"
>
<span
v-if=
"detailInfo.userAddress"
>
{{
detailInfo
.
userAddress
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"品牌名称:"
>
<span
v-if=
"detailInfo.brandName"
>
{{
detailInfo
.
brandName
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"安装时间:"
>
<span
v-if=
"detailInfo.installTime"
>
{{
detailInfo
.
installTime
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"装置类型:"
>
<span
v-if=
"detailInfo.equipments"
>
{{
detailInfo
.
equipments
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"用户类型:"
>
<span
v-if=
"detailInfo.userType"
>
{{
detailInfo
.
userType
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"备注信息:"
>
<span
v-if=
"detailInfo.remarks"
>
{{
detailInfo
.
remarks
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"所属企业"
>
<span
v-if=
"detailInfo.enterpriseName"
>
{{
detailInfo
.
enterpriseName
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-dialog>
</
template
>
<
script
>
import
{
getEquipment
}
from
"@/api/standingBook/equipment"
;
import
{
selectTEnterprise
}
from
"@/api/regulation/supervise"
;
export
default
{
name
:
"detail-info"
,
data
(){
return
{
detailInfo
:
{},
enterpriseName
:
""
,
detailOpen
:
false
,
}
},
created
()
{
},
methods
:{
getDetailInfo
(
id
){
getEquipment
(
id
).
then
(
response
=>
{
this
.
detailInfo
=
response
.
data
;
this
.
detailOpen
=
true
;
});
}
}
}
</
script
>
<
style
scoped
>
</
style
>
\ No newline at end of file
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