Explorar o código

H5请假页面只读修改

chenjun hai 1 ano
pai
achega
4e79c3767c
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      client_h5/src/pages/leave/index.vue

+ 3 - 2
client_h5/src/pages/leave/index.vue

@@ -189,11 +189,12 @@ const showPicker = ref(false);
 const columns = getDictOptions(DICT_TYPE.WF_LEAVE_TYPE, {
   label: 'text'
 })
-const { activityInstanceId, participant,flowInstanceId,read } = route.query as {
+const { activityInstanceId, participant,flowInstanceId,read,_o } = route.query as {
   activityInstanceId: string;
   participant: string;
   flowInstanceId: string;
   read: string;
+  _o: string;
 };
 const activityData: FlowDTO = {
   activityInstanceId,
@@ -325,7 +326,7 @@ const endTimeChange = (value:string) =>{
 /** 初始化 */
 onMounted(() => {
   initFormData()
-  if(read==='1'){
+  if(read==='1' || _o==='v'){
     formRead.value=true
   }
 })