Explorar o código

直接上报id修改

duy %!s(int64=2) %!d(string=hai) anos
pai
achega
bd5d11ef81
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/tentative/detect/test-form.vue

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

@@ -1156,7 +1156,7 @@ const reportModalClick = async () => {
         if (taskCheck) {
             //初始弹出弹窗,防呆
             // reportIds.value = info['primaryKeyId'] dataId
-             reportIds.value = dataId
+             reportIds.value = dataId.length>0?dataId:nodeIdvalue.value
             reportAddition.value = {
                 classify: authBtnTabKey.value,
                 contractIdRelation: info['contractIdRelation'],