lifei #15

Merged
caoliancun merged 2 commits from lifei into master 2 years ago
  1. 2
      src/views/login/index.vue
  2. 16
      src/views/site/oilSiteOilsPrice/OilSiteOilsPriceList.vue

@ -14,6 +14,8 @@
<el-input
v-model="loginForm.username"
placeholder="请输入用户名"
oninput="if(value.length>11)value=value.slice(0,11)" type="Number" onkeyup="this.value = this.value.replace(/[^\d]/g,'');"
>
<img
slot="prefix"

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

Loading…
Cancel
Save