Commit 07cb303d authored by 赵啸非's avatar 赵啸非

修改附件地址

parent bc2999b5
...@@ -44,13 +44,7 @@ ...@@ -44,13 +44,7 @@
type: "text", type: "text",
label: "姓名", label: "姓名",
fuzzy: true fuzzy: true
}, }
{
name: "order",
type: "text",
label: "排序,值越大越靠前",
fuzzy: true
},
], ],
columns: [ columns: [
{type: "selection", width: 60}, {type: "selection", width: 60},
...@@ -62,14 +56,24 @@ ...@@ -62,14 +56,24 @@
{label: "职务", prop: "userPost"}, {label: "职务", prop: "userPost"},
{label: "电话", prop: "phone"},
{label: "手机", prop: "mobile"}, {label: "手机", prop: "mobile"},
{label: "照片", prop: "photoPath"}, {
label: "照片",
{label: "排序,值越大越靠前", prop: "order",formatter: this.formatter}, prop: "photoPath",
formatter: (row) => {
return row.photoPath != "" ? (
<el-image
style="width: 70px; height: 70px"
src={row.photoPath}
preview-src-list={[row.photoPath]}
></el-image>
) : (
"--"
);
},
},
{label: "创建时间", prop: "createTime", formatter: this.formatterDate}, {label: "创建时间", prop: "createTime", formatter: this.formatterDate},
{ {
label: "操作", label: "操作",
......
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