lex-xin vor 3 Jahren
Ursprung
Commit
e9a2291f47

+ 10 - 0
src/api/process/work-order.js

@@ -45,6 +45,16 @@ export function handleWorkOrder(data) {
   })
 }
 
+// 
+export function asyncPlayLog(data) {
+  return request({
+      url: 'api-web/oa/syncPayLog',
+      method: 'post',
+      requestType: 'form',
+      data
+  })
+}
+
 // 结束工单
 export function unityWorkOrder(params) {
   return request({

+ 4 - 1
src/views/process/list/handle.vue

@@ -192,6 +192,7 @@ import {
   processStructure,
   handleWorkOrder,
   activeOrder,
+  asyncPlayLog,
   queryAllOrgan
 } from '@/api/process/work-order'
 
@@ -360,9 +361,11 @@ export default {
               work_order_id: parseInt(this.$route.query.workOrderId),
               remarks: this.dataList.remarks,
               tpls: this.tpls
-            }).then(response => {
+            }).then(async (response) => {
               if (response.code === 200) {
               // this.$router.push({ name: 'upcoming' })
+
+              await asyncPlayLog({ workOrderId: parseInt(this.$route.query.workOrderId) })
               // window.location.reload()
                 this.getProcessNodeList()
               }

Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
web/index.html


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
web/static/web/css/chunk-b28c78fa.41a2e54f.css


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
web/static/web/js/app.49ec1a32.js


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
web/static/web/js/chunk-1cc2a003.65486d37.js


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
web/static/web/js/chunk-b28c78fa.8781a2f8.js


Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.