Commit d86f56cc by lixiaomin

修改列表展示属性

parent 89df243b
......@@ -27,8 +27,8 @@
</template>
</el-table-column>
<el-table-column label="机器型号" align="center" prop="model" />
<el-table-column label="状态" align="center" prop="state" />
<el-table-column label="绑定时间" align="center" prop="desc" />
<el-table-column label="状态" align="center" prop="state_desc" />
<el-table-column label="绑定时间" align="center" prop="bind_time" />
<el-table-column label="组件管理" align="center">
<template slot-scope="scope">
<a @click="handleComponentDialog(scope.row)" style="color: blue">管理组件</a>
......
......@@ -31,7 +31,7 @@
</el-select>
</template>
</el-table-column>
<el-table-column label="组件编码" align="center" prop="serial_no" />
<el-table-column label="组件编码" align="center" prop="co_serial_no" />
<el-table-column label="ROS硬件编码" width="150px">
<template slot-scope="scope">
<p v-show=!scope.row.isShow> {{ scope.row.ros_code }}</p>
......@@ -44,7 +44,7 @@
<el-input v-model="scope.row.desc" clearable v-show="scope.row.isShow"/>
</template>
</el-table-column>
<el-table-column label="组件状态" align="center" prop="state"/>
<el-table-column label="组件状态" align="center" prop="state_desc"/>
<el-table-column label="原料" align="center">
<template slot-scope="scope">
<el-button size="mini" type="text" @click="handleEditDialog(scope.row)" v-show=!scope.row.isShow>编辑组件属性</el-button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment