|
@@ -141,7 +141,7 @@
|
|
|
hc-btn
|
|
|
color="#52B200"
|
|
|
style="color: white;"
|
|
|
- :disabled="tableCheckedKeys.length <= 0 && !nodeDataInfo.primaryKeyId "
|
|
|
+ :disabled="tableCheckedKeys.length <= 0 "
|
|
|
@click="batchOnlineClick"
|
|
|
>
|
|
|
<HcIcon name="survey" />
|
|
@@ -1491,8 +1491,8 @@ const batchOnlineClick = async ()=>{
|
|
|
const { error, code, msg } = await queryApi.updateCheckPdfInfo(
|
|
|
{
|
|
|
classify:contractTypeTabKey.value,
|
|
|
- type:tableCheckedKeys.value.length > 0 ? 2 : 1,
|
|
|
- ids:tableCheckedKeys.value.length > 0 ? ids : nodeDataInfo.value.primaryKeyId,
|
|
|
+ type:2,
|
|
|
+ ids,
|
|
|
},
|
|
|
|
|
|
)
|