Bläddra i källkod

首件、日志填报获取流程参数修改

duy 1 år sedan
förälder
incheckning
b92375617c
1 ändrade filer med 4 tillägg och 4 borttagningar
  1. 4 4
      src/global/components/hc-report-modal/index.vue

+ 4 - 4
src/global/components/hc-report-modal/index.vue

@@ -233,11 +233,11 @@ const processDefaultData = [{ id: 0, fixedFlowName: '自定义流程', disabled:
 const getProcessDatasApi = () => {
     if (isShow.value) {
         const type = isTypes.value
-        if (type === 'first' || type === 'wbs') {
+        if (type === 'wbs') {
             queryFixedFlowApi(type, typeDatas.value)
         } else if (type === 'query') {
             getProcessData(type, typeDatas.value)
-        } else if (type === 'log') {
+        } else if (type === 'log' || type === 'first' ) {
             queryFixedFlowApi3(type, typeDatas.value)
         }
     }
@@ -307,9 +307,9 @@ const queryFixedFlowApi = async (type, datas) => {
 const queryFixedFlowApi3 = async (type, datas) => {
     let flowJson = {}
     if (type === 'first') {
-        flowJson['firstId'] = datas
+        // flowJson['firstId'] = datas
     } else if (type === 'log') {
-        flowJson['theLogPrimaryKeyId'] = datas
+        // flowJson['theLogPrimaryKeyId'] = datas
     } else if (type === 'wbs') {
         flowJson['privatePKeyId'] = datas
     }