Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
soss
Overview
Overview
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
hooloo
web
soss
Commits
9ea7a0d2
Commit
9ea7a0d2
authored
Aug 04, 2022
by
lixiaomin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改组件列表
parent
3edb7886
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/views/machine/component.vue
+4
-4
No files found.
src/views/machine/component.vue
View file @
9ea7a0d2
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<el-table
v-loading=
"loading"
:data=
"componentList"
>
<el-table
v-loading=
"loading"
:data=
"componentList"
>
<el-table-column
label=
"组件类型"
align=
"center"
prop=
""
/>
<el-table-column
label=
"组件类型"
align=
"center"
prop=
"
type_desc
"
/>
<el-table-column
label=
"组件名称"
align=
"center"
prop=
"component_name"
/>
<el-table-column
label=
"组件名称"
align=
"center"
prop=
"component_name"
/>
<el-table-column
label=
"适用机型"
align=
"center"
prop=
""
/>
<el-table-column
label=
"适用机型"
align=
"center"
prop=
"
apply_model
"
/>
<el-table-column
label=
"组件编码"
align=
"center"
prop=
"co_serial_no"
/>
<el-table-column
label=
"组件编码"
align=
"center"
prop=
"co_serial_no"
/>
<el-table-column
label=
"绑定机器数"
align=
"center"
prop=
"bind_count"
>
<el-table-column
label=
"绑定机器数"
align=
"center"
prop=
"bind_count"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<a
@
click=
"handleComBindDialog(scope.row)"
style=
"color: blue"
>
{{
scope
.
row
.
bind_count
}}
</a>
<a
@
click=
"handleComBindDialog(scope.row)"
style=
"color: blue"
>
{{
scope
.
row
.
bind_count
}}
</a>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"型号/规格"
align=
"center"
prop=
""
/>
<el-table-column
label=
"型号/规格"
align=
"center"
prop=
"
rule
"
/>
<el-table-column
label=
"备注说明"
align=
"center"
prop=
"desc"
/>
<el-table-column
label=
"备注说明"
align=
"center"
prop=
"desc"
/>
<el-table-column
label=
"组件状态"
align=
"center"
prop=
"state_desc"
/>
<el-table-column
label=
"组件状态"
align=
"center"
prop=
"state_desc"
/>
</el-table>
</el-table>
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<el-dialog
title=
"绑定机器信息"
:visible
.
sync=
"bindDiaLog"
width=
"900px"
append-to-body
>
<el-dialog
title=
"绑定机器信息"
:visible
.
sync=
"bindDiaLog"
width=
"900px"
append-to-body
>
<el-table
v-loading=
"bindLoading"
:data=
"bindList"
>
<el-table
v-loading=
"bindLoading"
:data=
"bindList"
>
<el-table-column
label=
"机器编码"
align=
"center"
prop=
"code"
></el-table-column>
<el-table-column
label=
"机器编码"
align=
"center"
prop=
"code"
></el-table-column>
<el-table-column
label=
"机器型号"
align=
"center"
prop=
""
></el-table-column>
<el-table-column
label=
"机器型号"
align=
"center"
prop=
"
model_name
"
></el-table-column>
<el-table-column
label=
"状态"
align=
"center"
prop=
"state_desc"
></el-table-column>
<el-table-column
label=
"状态"
align=
"center"
prop=
"state_desc"
></el-table-column>
<el-table-column
label=
"绑定时间"
align=
"center"
prop=
"bind_time"
></el-table-column>
<el-table-column
label=
"绑定时间"
align=
"center"
prop=
"bind_time"
></el-table-column>
</el-table>
</el-table>
...
...
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