|
@@ -45,10 +45,11 @@
|
|
|
<span v-else>{{ scope.row.xl }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="filePath" label="附件地址">
|
|
|
+ <el-table-column prop="filePath" label="附件">
|
|
|
<template #default="scope">
|
|
|
- <el-input v-model="scope.row.filePath" v-if="scope.row.isEdit" />
|
|
|
- <span v-else>{{ scope.row.filePath }}</span>
|
|
|
+ <!-- <el-input v-model="scope.row.filePath" v-if="scope.row.isEdit" /> -->
|
|
|
+ <!-- <span v-else>{{ scope.row.filePath }}</span> -->
|
|
|
+ <UploadImg :modelValue="scope.row.filePath" height="55px" />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column fixed="right" label="操作" width="140">
|
|
@@ -91,6 +92,9 @@
|
|
|
/**
|
|
|
* @description 学习经历
|
|
|
*/
|
|
|
+
|
|
|
+import { UploadImg } from '@/components/UploadFile'
|
|
|
+
|
|
|
interface ITable {
|
|
|
id?: string
|
|
|
userId?: string
|
|
@@ -143,6 +147,7 @@ const onSaveItem = (index: number) => {
|
|
|
delete item.isEdit
|
|
|
return item
|
|
|
})
|
|
|
+ // console.log('changeData', changeData)
|
|
|
$emit('onSave', changeData)
|
|
|
}
|
|
|
|