瀏覽代碼

获取任务名称id修改

duy 2 年之前
父節點
當前提交
a42d5cc230
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/tentative/detect/test.vue

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

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