From 1d5ae2bad8528d6abf6b0dd14ed009d6b832aa4c Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 22 八月 2025 17:47:01 +0800
Subject: [PATCH] fix: 签约

---
 src/views/AgreementManage/AgreementManageList.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/AgreementManage/AgreementManageList.vue b/src/views/AgreementManage/AgreementManageList.vue
index 4ad2f3b..0c77c82 100644
--- a/src/views/AgreementManage/AgreementManageList.vue
+++ b/src/views/AgreementManage/AgreementManageList.vue
@@ -46,7 +46,7 @@
       >
         <template #code="{ row }">
           <el-button
-            v-if="row.status === EnumContractTemplateStatus.Completed"
+            v-if="row.status === EnumContractTemplateStatus.Completed && !!row.code"
             link
             type="primary"
             @click="handlePreviewQrcode(row)"
@@ -57,7 +57,7 @@
       </ProTableV2>
     </AppContainer>
     <TemplateAddDialog v-bind="dialogProps"></TemplateAddDialog>
-    <QrcodeDialog v-bind="dialogQrcodeProps"></QrcodeDialog>
+    <QrcodeDialog v-bind="dialogQrcodeProps" :useQrcode="false"></QrcodeDialog>
   </LoadingLayout>
 </template>
 
@@ -254,7 +254,7 @@
 function handlePreviewQrcode(row: API.GetEnterpriseContractTemplatesQueryResultItem) {
   handleEdit({
     // qrcodeUrl: setOSSLink(row.file),
-    qrcodeUrl: 'https://www.baidu.com',
+    qrcodeUrl: setOSSLink(row.wxmpQrCode),
   });
 }
 </script>

--
Gitblit v1.9.1