Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JINRUN-PERPOSITION
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
xinzhedeai
JINRUN-PERPOSITION
Commits
51d6b595
Commit
51d6b595
authored
Nov 29, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:定位卡 修改完成
parent
1c75bc1c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
24 deletions
+25
-24
card.vue
src/views/device/card.vue
+25
-24
No files found.
src/views/device/card.vue
View file @
51d6b595
...
...
@@ -8,7 +8,7 @@
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
label=
"卡号"
prop=
"cardId"
>
<el-form-item
label=
"
定位
卡号"
prop=
"cardId"
>
<el-input
v-model=
"queryParams.cardId"
placeholder=
"请输入卡号"
...
...
@@ -57,18 +57,29 @@
:data=
"cardList"
@
selection-change=
"handleSelectionChange"
>
<
el-table-column
type=
"selection"
width=
"55"
align=
"center"
/
>
<
!--
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
--
>
<el-table-column
label=
"定位卡号"
align=
"center"
prop=
"cardId"
/>
<!--
<el-table-column
label=
"电量%"
align=
"center"
prop=
"cardPower"
/>
-->
<el-table-column
label=
"设备状态"
align=
"center"
prop=
"cardStatus"
/>
<el-table-column
label=
"绑定状态"
align=
"center"
prop=
"useStatus"
>
<el-table-column
label=
"设备状态"
align=
"center"
width=
"85"
prop=
"cardStatus"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
cardStatus
==
0
?
"
离线
"
:
"
在线
"
}}
</
template
>
</el-table-column>
<el-table-column
label=
"绑定状态"
align=
"center"
width=
"85"
prop=
"useStatus"
>
<
template
slot-scope=
"scope"
>
<el-tag
:type=
"scope.row.useStatus === 'Y' ? 'success' : 'danger'"
>
{{
scope
.
row
.
useStatus
===
"
Y
"
?
"
绑定
"
:
"
未绑定
"
}}
</el-tag>
</
template
>
</el-table-column>
<el-table-column
label=
"姓名"
align=
"center"
prop=
"realName"
/>
<el-table-column
label=
"姓名"
align=
"center"
width=
"85"
prop=
"realName"
/>
<el-table-column
label=
"身份证号"
align=
"center"
prop=
"idNumber"
/>
<el-table-column
label=
"备注"
align=
"center"
prop=
"remark"
/>
<el-table-column
...
...
@@ -77,20 +88,6 @@
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-link"
@
click=
"handleBindCard(scope.row)"
>
定位卡绑定
</el-button
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-unlock"
@
click=
"handleUnbindCard(scope.row)"
>
定位卡解绑
</el-button
>
<el-button
size=
"small"
type=
"primary"
...
...
@@ -121,7 +118,11 @@
<el-dialog
:title=
"title"
:visible.sync=
"open"
width=
"500px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form-item
label=
"定位卡号"
prop=
"cardId"
>
<el-input
v-model=
"form.cardId"
placeholder=
"请输入定位卡号"
/>
<el-input
v-model=
"form.cardId"
placeholder=
"请输入定位卡号"
:disabled=
"form.id"
/>
</el-form-item>
<el-form-item
label=
"备注"
prop=
"remark"
>
<el-input
v-model=
"form.remark"
placeholder=
"请输入备注"
/>
...
...
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