yusheng 1 lună în urmă
părinte
comite
6d8ebfbeb5

+ 1 - 1
src/components/addDoc/seal.vue

@@ -145,7 +145,7 @@
     mounted() {
       // 组件挂载后自动渲染一次
       this.$nextTick(() => {
-        // this.renderToCanvas();
+        this.renderToCanvas();
       });
 
       // 保存组件实例引用,用于事件处理器

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

@@ -279,7 +279,7 @@
             const fileUrl = uploadRes.data;
             // 更新文档地址
             await fileUpdateAPI({
-              stampStoragePath: fileUrl,
+              stampStoragePath: [fileUrl],
               id: item.id
             });
             // 处理签章使用记录
@@ -324,8 +324,11 @@
       },
       async browseOpen(row, type) {
         if (type == 1) {
-          let data=await getById(row.id)
-          this.$refs.sealManagementRef.open({...data,droppedImages:row.droppedImages});
+          let data = await getById(row.id);
+          this.$refs.sealManagementRef.open({
+            ...data,
+            droppedImages: row.droppedImages
+          });
         } else {
           this.$refs.browseRef.open(await getById(row.id));
         }

+ 1 - 2
src/views/bpm/handleTask/components/doc/submit.vue

@@ -99,8 +99,7 @@
         if (!value) {
           return;
         }
-        alert(value)
-        return
+ 
         this._approveTaskWithVariables(status);
       },
       async _approveTaskWithVariables(status) {