소스 검색

试验新增type和nodeId参数

ZaiZai 1 년 전
부모
커밋
465c635584
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      public/version.json
  2. 3 1
      src/views/tentative/detect/components/ListItem.vue

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20240925112000"
+  "value": "20240925114553"
 }

+ 3 - 1
src/views/tentative/detect/components/ListItem.vue

@@ -671,11 +671,13 @@ const getBussDataInfo = async (item, index, param = {}) => {
     const pkeyIds = getValString(item.pKeyId)
     const { contractId } = baseData.value
     if (pkeyIds) {
-        const { id } = baseData.value
+        const { id, type, nodeId } = baseData.value
         const { error, code, data } = await dataApi.getBussDataInfo({
             id: id || nodeIdvaluedata.value || newaddId.value,
             pkeyId: pkeyIds,
             contractId: contractId,
+            type,
+            nodeId,
             ...param,
         }, false)
         emit('changesingSaveId', pkeyIds)