2 Commits 349844cb26 ... 6cede526b3

Tác giả SHA1 Thông báo Ngày
  qiny 6cede526b3 Merge branch 'master' of http://114.55.67.98:8070/Natural_p1/zjugis_OA 11 tháng trước cách đây
  qiny 00baf47fad fix: 学习经历文件上传 11 tháng trước cách đây

+ 8 - 3
client/src/views/OaSystem/personnelManagement/ygdaPage/SchoolTable.vue

@@ -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)
 }