فهرست منبع

fix: 修正参数名称和字段映射

yusheng 2 ماه پیش
والد
کامیت
9fcadacb58
2فایلهای تغییر یافته به همراه10 افزوده شده و 6 حذف شده
  1. 9 5
      src/components/addDoc/seal.vue
  2. 1 1
      src/views/bpm/handleTask/components/doc/send/sendDialog.vue

+ 9 - 5
src/components/addDoc/seal.vue

@@ -122,8 +122,8 @@
     created() {
       // 获取公用章列表
       getSealPage({
-        page: 999,
-        limit: 1,
+        size: 999,
+        pageNum: 1,
         status: 1,
         approvalStatus: 2,
         sealHolderId: this.$store.state.user.info.userId
@@ -779,7 +779,9 @@
         }
         // 移除指示器
         if (this._currentMoveImageId) {
-          const indicator = document.getElementById(`move_indicator_${this._currentMoveImageId}`);
+          const indicator = document.getElementById(
+            `move_indicator_${this._currentMoveImageId}`
+          );
           if (indicator && indicator.parentNode) {
             indicator.remove();
           }
@@ -881,8 +883,10 @@
         try {
           const imgData = outputCanvas.toDataURL('image/png');
           // 使用 Canvas 的 CSS 尺寸(显示尺寸),而不是内部像素尺寸
-          const canvasWidth = parseFloat(outputCanvas.style.width) || outputCanvas.width;
-          const canvasHeight = parseFloat(outputCanvas.style.height) || outputCanvas.height;
+          const canvasWidth =
+            parseFloat(outputCanvas.style.width) || outputCanvas.width;
+          const canvasHeight =
+            parseFloat(outputCanvas.style.height) || outputCanvas.height;
 
           // 创建 PDF 实例,横向或纵向根据 Canvas 尺寸决定
           const orientation = canvasWidth > canvasHeight ? 'l' : 'p';

+ 1 - 1
src/views/bpm/handleTask/components/doc/send/sendDialog.vue

@@ -265,7 +265,7 @@
             if (item.imgId) {
               usageRecordAdd({
                 sealId: item.imgId,
-                name: item.name,
+                sealName: item.name,
                 version: item.version,
                 documentCode: fileData.code,
                 documentName: fileData.name,