Browse Source

流程办理字段名称修改

cz 1 year ago
parent
commit
c3779369ab

+ 1 - 1
src/views/process/processApproval/index.vue

@@ -354,7 +354,7 @@ const handleSubmit = async (_type) => {
               proxy
                 .post("/flowExample/setStartData", {
                   exampleId: route.query.id,
-                  startDate: data,
+                  startData: data,
                 })
                 .then();
             }

+ 3 - 2
src/views/purchaseManage/purchaseManage/handoverSlip/index.vue

@@ -532,14 +532,15 @@ const lookRecords = (row) => {
       contractProductId: row.productId,
     })
     .then((res) => {
-      if (res.length > 0) {
+      if (res && res.length > 0) {
         activities.value = res;
         dialogVisibleTwo.value = true;
-      } else
+      } else {
         return ElMessage({
           message: "暂无跟进记录!",
           type: "info",
         });
+      }
     });
 };
 const handleFollow = (row) => {