ソースを参照

primaryKeyId取值修改

duy 2 年 前
コミット
d9c9549240
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/views/tentative/detect/test-form.vue

+ 1 - 1
src/views/tentative/detect/test-form.vue

@@ -1165,7 +1165,7 @@ const reportModalClick = async () => {
             //请求文件题名
             const {data} = await wbsApi.queryDocumentTitle({
                 // primaryKeyId: info['primaryKeyId'],
-                 primaryKeyId:dataId,
+                 primaryKeyId:dataId.length>0?dataId:nodeIdvalue.value,
                 classify: authBtnTabKey.value
             })
             reportTaskName.value = isString(data)? data : ''