提交 7202263d authored 作者: CRS's avatar CRS

合并分支 'crs' 到 'master'

new 查看合并请求 !28
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
max-height="840" max-height="840"
:data="allData" :data="allData"
stripe stripe
@row-click="read"
style="width: 100%;"> style="width: 100%;">
<el-table-column <el-table-column
prop="name" prop="name"
...@@ -61,13 +62,6 @@ ...@@ -61,13 +62,6 @@
label="联系方式" label="联系方式"
align="center"> align="center">
</el-table-column> </el-table-column>
<el-table-column
label="查看"
align="center">
<template slot-scope="scope">
<span class="change" @click="read(scope.row)"><img src="./img/look.png">查看</span>
</template>
</el-table-column>
</el-table> </el-table>
</div> </div>
<!-- 分页 --> <!-- 分页 -->
...@@ -197,8 +191,8 @@ export default { ...@@ -197,8 +191,8 @@ export default {
this.openModel = false; this.openModel = false;
}, },
// 查看 // 查看
read(val) { read(row) {
this.$router.push({name: 'personPage',params:{'value': val}}); this.$router.push({name: 'personPage',params:{'value': row}});
}, },
// 新增人员 // 新增人员
addperson() { addperson() {
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
</p> </p>
<p class="search"> <p class="search">
<span class="value"> <span class="value">
<span>公司</span> <span>单位</span>
<el-input v-model="allVal.unit" size="medium" :disabled="true"></el-input> <el-input v-model="allVal.unit" size="medium" :disabled="true"></el-input>
</span> </span>
</p> </p>
...@@ -44,7 +44,8 @@ ...@@ -44,7 +44,8 @@
<span>状态:</span> <span>状态:</span>
<img src="./img/click.png" style="width: 21px;height: 21px;" v-if="allVal.status === 1"> <img src="./img/click.png" style="width: 21px;height: 21px;" v-if="allVal.status === 1">
<img src="./img/clickN.png" style="width: 21px;height: 21px;" v-if="allVal.status === 0"> <img src="./img/clickN.png" style="width: 21px;height: 21px;" v-if="allVal.status === 0">
<span class="Sfont">在线</span> <span class="Sfont" v-if="allVal.status === 0">未删除</span>
<span class="Sfont" v-if="allVal.status === 1">已删除</span>
</p> </p>
</el-col> </el-col>
<el-col :span="10"> <el-col :span="10">
......
...@@ -196,9 +196,9 @@ export default { ...@@ -196,9 +196,9 @@ export default {
.firstHome .XCmenu .line{ .firstHome .XCmenu .line{
display: inline-block; display: inline-block;
position: absolute; position: absolute;
top: 5px; top: 15px;
right: 0px; right: 0px;
height: 150px; height: 130px;
width: 1px; width: 1px;
background: #4877e6; background: #4877e6;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论