Explorar o código

获取任务名称id修改

duy %!s(int64=2) %!d(string=hai) anos
pai
achega
a42d5cc230
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 : ''