调度油价管理详情页面列表页面显示姓名加id

pull/15/head
李飞 2 years ago
parent bcdbc13b24
commit 378d660823
  1. 16
      src/views/site/oilSiteOilsPrice/OilSiteOilsPriceList.vue

@ -188,11 +188,11 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="address" label="创建人"> <el-table-column prop="address" label="创建人/id">
<template slot-scope="scope"> <template slot-scope="scope">
<div> <div>
<div>{{ scope.row.createUserName }}</div> <div>创建人: {{ scope.row.createUserName?scope.row.createUserName:'暂无数据' }}</div>
<div> {{ scope.row.createUser?'暂无数据':scope.row.createUser}}</div> <div>创建人ID {{ scope.row.createUser?scope.row.createUser:'暂无数据'}}</div>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
@ -594,12 +594,16 @@ export default {
return ( return (
<div> <div>
<div> <div>
<span>更新人</span> <span>创建人:</span>
<span>{row.createUserName === undefined ? ':'+'暂无数据' :row.createUserName}</span> <span>{row.createUserName === undefined ? '暂无数据' :row.createUserName}</span>
</div> </div>
<div> {/* <div>
<span>更新时间</span> <span>更新时间</span>
<span>{row.updateTime}</span> <span>{row.updateTime}</span>
</div> */}
<div>
<span>ID</span>
<span> {row.createUser?row.createUser:'暂无数据'}</span>
</div> </div>
</div> </div>
); );

Loading…
Cancel
Save