From 52e18000ace434b2acdebce5e118c45c337a3fe7 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期二, 28 五月 2024 13:31:54 +0800
Subject: [PATCH] 合并冲突

---
 vue.config.js                           |    4 ++--
 src/views/plan/customerorder/index.vue  |    2 +-
 src/views/accounting/jmreport/index.vue |   20 +++++++++++++++++++-
 src/api/quality/attachment.js           |    4 ++--
 4 files changed, 24 insertions(+), 6 deletions(-)

diff --git a/src/api/quality/attachment.js b/src/api/quality/attachment.js
index 04e27b2..09b7b7f 100644
--- a/src/api/quality/attachment.js
+++ b/src/api/quality/attachment.js
@@ -17,8 +17,8 @@
 
   export function downloadProcessConfigFile(data) {
     return request({
-      url: '/mes/attachment/processConfig/'+data.bucket+'/'+data.fileName,
-      method: 'post',
+      url: '/mes/attachment/processConfig/'+data.fileName+'/'+data.bucket,
+      method: 'get',
       responseType: 'blob'
     }).then((response) => {
       // 澶勭悊杩斿洖鐨勬枃浠舵祦
diff --git a/src/views/accounting/jmreport/index.vue b/src/views/accounting/jmreport/index.vue
index bcc7044..b2b0d10 100644
--- a/src/views/accounting/jmreport/index.vue
+++ b/src/views/accounting/jmreport/index.vue
@@ -60,6 +60,7 @@
                         isTrue: true,
                         isSearch: true,
                         searchInfoType: 'date',
+                        formatter: this.formatDutyDate,
                     },
                     {
                         minWidth: '100',
@@ -91,6 +92,14 @@
                         minWidth: '100',
                         prop: 'staffName',
                         label: '鐢熶骇浜哄憳',
+                        isTrue: true,
+                        isSearch: true,
+                        searchInfoType: 'text',
+                    },
+                    {
+                        minWidth: '100',
+                        prop: 'operation',
+                        label: '宸ュ簭',
                         isTrue: true,
                         isSearch: true,
                         searchInfoType: 'text',
@@ -145,7 +154,16 @@
                 this.workShopList = []
             }
             })
-        }
+        },
+        formatDutyDate(row, column, cellValue) {
+            if (cellValue) {
+                const dutyDateList = /\d{4}-\d{1,2}-\d{1,2}/g.exec(cellValue)
+                if (dutyDateList && dutyDateList.length > 0) {
+                    return dutyDateList[0]
+                }
+            }
+            return ''
+        },
     }
 }
 </script>
diff --git a/src/views/plan/customerorder/index.vue b/src/views/plan/customerorder/index.vue
index 6636ad2..87bf7f7 100644
--- a/src/views/plan/customerorder/index.vue
+++ b/src/views/plan/customerorder/index.vue
@@ -603,7 +603,7 @@
             sort: true,
             isTrue: true,
             isSearch: true,
-            searchInfoType: 'date',
+            searchInfoType: 'datetimerange',
             formatter: this.formatDutyDate,
           },
           {
diff --git a/vue.config.js b/vue.config.js
index 6296cca..e4cad29 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -6,8 +6,8 @@
 
 
 
-const url = 'https://ztms-mes.chinaztt.cn/'
-// const url = 'http://localhost:9999'
+// const url = 'https://ztms-mes.ztt.cn/'
+const url = 'http://localhost:9999'
 //const url = 'http://192.168.32.45:9999'
 
 

--
Gitblit v1.9.3