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

修改附件地址

parent bc2999b5
......@@ -44,13 +44,7 @@
type: "text",
label: "姓名",
fuzzy: true
},
{
name: "order",
type: "text",
label: "排序,值越大越靠前",
fuzzy: true
},
}
],
columns: [
{type: "selection", width: 60},
......@@ -62,14 +56,24 @@
{label: "职务", prop: "userPost"},
{label: "电话", prop: "phone"},
{label: "手机", prop: "mobile"},
{label: "照片", prop: "photoPath"},
{label: "排序,值越大越靠前", prop: "order",formatter: this.formatter},
{
label: "照片",
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: "操作",
......@@ -85,4 +89,4 @@
};
}
};
</script>
\ No newline at end of file
</script>
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