Browse Source

人员档案回显

duy 2 năm trước cách đây
mục cha
commit
bccf31805a
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      src/views/tentative/laboratory/user.vue

+ 5 - 0
src/views/tentative/laboratory/user.vue

@@ -266,6 +266,11 @@ const getTableData = async () => {
     tableLoading.value = false
     if (!error && code === 200) {
         tableData.value = getArrValue(data['records'])
+        tableData.value.forEach((item)=>{
+            if( item?.workingTime==-1){
+                item.workingTime=''
+            }
+        })
         searchForm.value.total = data.total || 0
     } else {
         tableData.value = []