From ffa0d7a5e06556c358bf8bbb1af30082214d4376 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 12 九月 2024 15:48:07 +0800 Subject: [PATCH] 2024-09-12 --- src/tabviews/zshare/mutilform/mkPopSelect/index.jsx | 3 ++- src/tabviews/zshare/mutilform/index.jsx | 4 +++- src/utils/utils-datamanage.js | 4 +++- src/api/index.js | 12 ++++++++++++ src/tabviews/zshare/actionList/funcbutton/index.jsx | 3 ++- src/tabviews/zshare/actionList/newpagebutton/index.jsx | 3 ++- src/views/billprint/index.jsx | 1 + src/tabviews/custom/components/table/edit-table/normalTable/mkPopSelect/index.jsx | 3 ++- src/tabviews/zshare/topSearch/index.jsx | 2 ++ src/tabviews/zshare/actionList/normalbutton/index.jsx | 4 +++- src/tabviews/custom/components/table/edit-table/normalTable/index.jsx | 7 +++++-- src/tabviews/zshare/actionList/excelInbutton/index.jsx | 3 ++- 12 files changed, 39 insertions(+), 10 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index 4a1a60d..23381cb 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -698,6 +698,12 @@ } } + if (param.$type) { + url += '/' + param.$type + } + + delete param.$type + param = this.encryptParam(param) return new Promise((resolve) => { @@ -1003,6 +1009,12 @@ } } + if (param.$type) { + url += '/' + param.$type + } + + delete param.$type + param.username = sessionStorage.getItem('User_Name') || '' param.fullname = sessionStorage.getItem('Full_Name') || '' param.s_debug = window.GLOB.debugger ? 'Y' : '' diff --git a/src/tabviews/custom/components/table/edit-table/normalTable/index.jsx b/src/tabviews/custom/components/table/edit-table/normalTable/index.jsx index d5c4720..5108d1c 100644 --- a/src/tabviews/custom/components/table/edit-table/normalTable/index.jsx +++ b/src/tabviews/custom/components/table/edit-table/normalTable/index.jsx @@ -2062,8 +2062,8 @@ let cell = { id: ex.id, - exps: exps, menuname: item.label + '锛堣〃鍗曪級', + exps: exps, md5_id: '' } @@ -2077,6 +2077,7 @@ if (localItems.length) { deffers.push({ $backend: true, + $type: 's_Get_SelectedList', data: localItems }) } @@ -2084,6 +2085,7 @@ if (mainItems.length) { deffers.push({ $backend: true, + $type: 's_Get_SelectedList', data: mainItems, rduri: window.GLOB.mainSystemApi }) @@ -2632,10 +2634,11 @@ return { $backend: true, + $type: 's_TableData_InUpDe', data: [{ id: ex.id, - exps: exps, menuname: btn.logLabel || '', + exps: exps, md5_id: md5_id }] } diff --git a/src/tabviews/custom/components/table/edit-table/normalTable/mkPopSelect/index.jsx b/src/tabviews/custom/components/table/edit-table/normalTable/mkPopSelect/index.jsx index 7c1cc56..df74eed 100644 --- a/src/tabviews/custom/components/table/edit-table/normalTable/mkPopSelect/index.jsx +++ b/src/tabviews/custom/components/table/edit-table/normalTable/mkPopSelect/index.jsx @@ -98,10 +98,11 @@ param = { $backend: true, + $type: 's_Get_TableData', data: [{ id: ex.id, + menuname: config.label || '', exps: exps, - menuname: '', md5_id: '' }] } diff --git a/src/tabviews/zshare/actionList/excelInbutton/index.jsx b/src/tabviews/zshare/actionList/excelInbutton/index.jsx index a875b0a..fde146a 100644 --- a/src/tabviews/zshare/actionList/excelInbutton/index.jsx +++ b/src/tabviews/zshare/actionList/excelInbutton/index.jsx @@ -860,10 +860,11 @@ return { $backend: true, + $type: 's_TableData_InUpDe', data: [{ id: ex.id, - exps: exps, menuname: btn.logLabel || '', + exps: exps, md5_id: md5_id }] } diff --git a/src/tabviews/zshare/actionList/funcbutton/index.jsx b/src/tabviews/zshare/actionList/funcbutton/index.jsx index c83ac11..43430ed 100644 --- a/src/tabviews/zshare/actionList/funcbutton/index.jsx +++ b/src/tabviews/zshare/actionList/funcbutton/index.jsx @@ -317,10 +317,11 @@ return { $backend: true, + $type: 's_TableData_InUpDe', data: [{ id: ex.id, - exps: exps, menuname: btn.logLabel || '', + exps: exps, md5_id: md5_id }] } diff --git a/src/tabviews/zshare/actionList/newpagebutton/index.jsx b/src/tabviews/zshare/actionList/newpagebutton/index.jsx index 2a61fb0..206d758 100644 --- a/src/tabviews/zshare/actionList/newpagebutton/index.jsx +++ b/src/tabviews/zshare/actionList/newpagebutton/index.jsx @@ -519,10 +519,11 @@ return { $backend: true, + $type: 's_TableData_InUpDe', data: [{ id: ex.id, - exps: exps, menuname: btn.logLabel || '', + exps: exps, md5_id: md5_id }] } diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index 158e42d..6918303 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -1156,10 +1156,11 @@ return { $backend: true, + $type: 's_TableData_InUpDe', data: [{ id: ex.id, - exps: exps, menuname: btn.logLabel || '', + exps: exps, md5_id: md5_id }] } @@ -1585,6 +1586,7 @@ if (window.backend && params[0].$backend && (!btn.verify || (btn.verify.printEnable !== 'true' && !btn.output))) { params = [{ $backend: true, + $type: 's_TableData_InUpDe', data: params.map(item => item.data[0]) }] } diff --git a/src/tabviews/zshare/mutilform/index.jsx b/src/tabviews/zshare/mutilform/index.jsx index 57d140b..d2af034 100644 --- a/src/tabviews/zshare/mutilform/index.jsx +++ b/src/tabviews/zshare/mutilform/index.jsx @@ -895,8 +895,8 @@ let cell = { id: ex.id, - exps: exps, menuname: item.label + '锛堣〃鍗曪級', + exps: exps, md5_id: '' } @@ -910,6 +910,7 @@ if (localItems.length) { deffers.push({ $backend: true, + $type: 's_Get_SelectedList', data: localItems }) } @@ -917,6 +918,7 @@ if (mainItems.length) { deffers.push({ $backend: true, + $type: 's_Get_SelectedList', data: mainItems, rduri: window.GLOB.mainSystemApi }) diff --git a/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx b/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx index 055a9b0..4b967e2 100644 --- a/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx +++ b/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx @@ -178,10 +178,11 @@ param = { $backend: true, + $type: 's_Get_TableData', data: [{ id: ex.id, + menuname: config.label || '', exps: exps, - menuname: '', md5_id: '' }] } diff --git a/src/tabviews/zshare/topSearch/index.jsx b/src/tabviews/zshare/topSearch/index.jsx index 3f19a86..8d6fe6d 100644 --- a/src/tabviews/zshare/topSearch/index.jsx +++ b/src/tabviews/zshare/topSearch/index.jsx @@ -620,6 +620,7 @@ if (localItems.length) { deffers.push({ $backend: true, + $type: 's_Get_SelectedList', data: localItems }) } @@ -627,6 +628,7 @@ if (mainItems.length) { deffers.push({ $backend: true, + $type: 's_Get_SelectedList', data: mainItems, rduri: window.GLOB.mainSystemApi }) diff --git a/src/utils/utils-datamanage.js b/src/utils/utils-datamanage.js index 84c388f..900a62c 100644 --- a/src/utils/utils-datamanage.js +++ b/src/utils/utils-datamanage.js @@ -109,8 +109,8 @@ let cell = { id: item.id, - exps: exps, menuname: setting.$name || '', + exps: exps, md5_id: md5_id } @@ -122,6 +122,7 @@ let param = { $backend: true, + $type: 's_Get_TableData', data: [cell] } @@ -712,6 +713,7 @@ if (window.backend && params[0].exps) { let param = { $backend: true, + $type: 's_Get_TableData', data: params.map(item => { let cell = {...item} diff --git a/src/views/billprint/index.jsx b/src/views/billprint/index.jsx index 0ea001b..5b7ea20 100644 --- a/src/views/billprint/index.jsx +++ b/src/views/billprint/index.jsx @@ -598,6 +598,7 @@ if (data.length > 0) { params.push({ $backend: true, + $type: 's_Get_TableData', componentId: '', data }) -- Gitblit v1.8.0