浏览代码

试验新增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 pkeyIds = getValString(item.pKeyId)
     const { contractId } = baseData.value
     const { contractId } = baseData.value
     if (pkeyIds) {
     if (pkeyIds) {
-        const { id } = baseData.value
+        const { id, type, nodeId } = baseData.value
         const { error, code, data } = await dataApi.getBussDataInfo({
         const { error, code, data } = await dataApi.getBussDataInfo({
             id: id || nodeIdvaluedata.value || newaddId.value,
             id: id || nodeIdvaluedata.value || newaddId.value,
             pkeyId: pkeyIds,
             pkeyId: pkeyIds,
             contractId: contractId,
             contractId: contractId,
+            type,
+            nodeId,
             ...param,
             ...param,
         }, false)
         }, false)
         emit('changesingSaveId', pkeyIds)
         emit('changesingSaveId', pkeyIds)