소스 검색

人员档案回显

duy 2 년 전
부모
커밋
bccf31805a
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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 = []