Commit 9ea7a0d2 by lixiaomin

修改组件列表

parent 3edb7886
<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>
......
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