Ver código fonte

Merge remote-tracking branch 'origin/master'

ljy121 1 ano atrás
pai
commit
91955df726
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      client_h5/src/pages/leave/index.vue

+ 1 - 0
client_h5/src/pages/leave/index.vue

@@ -241,6 +241,7 @@ const jsonToFormData = (json: any): FormData | null => {
 const initFormData= async () => {
   const result = await reqest.get(`/business/Leave/mobileAdd?flowInstanceId=${flowInstanceId}`)
   formData.value = result.data
+  formData.value.leaveTypeText = getDictLabel(DICT_TYPE.WF_LEAVE_TYPE,result.data.leaveType)
 }
 
 /** 细节数据保存 */