Explorar o código

人员档案回显

duy %!s(int64=2) %!d(string=hai) anos
pai
achega
bccf31805a
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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 = []