From 0f4bac6483639a3be54d8fa311e005a2a3c99885 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 27 九月 2024 17:45:55 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/plt-web/plt-web-ui/src/api/UI/uiDefine.js |  180 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 180 insertions(+), 0 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/api/UI/uiDefine.js b/Source/plt-web/plt-web-ui/src/api/UI/uiDefine.js
new file mode 100644
index 0000000..47bfd5d
--- /dev/null
+++ b/Source/plt-web/plt-web-ui/src/api/UI/uiDefine.js
@@ -0,0 +1,180 @@
+import request from '@/router/axios';
+
+// 涓氬姟绫诲瀷鏍戞煡璇�
+export function getBizTree(params) {
+  return request({
+    url: "/api/uiManagerController/getBizTree",
+    method: "get",
+    params
+  });
+}
+// 鍒楄〃鏌ヨ
+export function gridUIContextData(page, limit, params) {
+  return request({
+    url: "/api/uiManagerController/gridUIContextData",
+    method: "get",
+    params: {
+      page,
+      limit,
+      ...params
+    }
+  });
+}
+export const saveUIContextData = (row) => {
+  return request({
+    url: '/api/uiManagerController/saveUIContextData',
+    method: 'post',
+    data: row
+  })
+}
+
+export const updateUIContextData = (row) => {
+  return request({
+    url: '/api/uiManagerController/updateUIContextData',
+    method: 'put',
+    data: row
+  })
+}
+// 閫氳繃oid鍒犻櫎
+export function delUIContextData(params) {
+  return request({
+    url: "/api/uiManagerController/delUIContextData",
+    method: "delete",
+    params
+  })
+}
+//鍏嬮殕
+export const cloneUIContextData = (params) => {
+  return request({
+    url: '/api/uiManagerController/cloneUIContextData',
+    method: 'post',
+    data: params
+  })
+}
+//	瀵煎嚭閫夋嫨鍒楄〃
+//鍙傛暟 	expDatas:閫夋嫨oid
+export function getExpContextTree(params) {
+  return request({
+    url: "/api/uiManagerController/getExpContextTree",
+    method: "get",
+    params: params
+  });
+}
+// 瀵煎嚭
+export function expUIContextData (params) {
+  return request({
+    url: '/api/uiManagerController/expUIContextData',
+    method: 'post',
+    responseType: 'blob',
+    data:{
+      params
+    }
+  })
+}
+
+//涓婁笅鏂囧悇鍖哄煙鍒楄〃鏁版嵁
+export function getTabByContextIdAndType(params){
+  return request({
+    url: "/api/uiManagerController/getTabByContextIdAndType",
+    method: "get",
+    params
+  });
+}
+export const addTabData = (row) => {
+  return request({
+    url: '/api/uiManagerController/addTabData',
+    method: 'post',
+    data: row
+  })
+}
+
+export const updateTabData = (row) => {
+  return request({
+    url: '/api/uiManagerController/updateTabData',
+    method: 'put',
+    data: row
+  })
+}
+// 閫氳繃oid鍒犻櫎
+export function deleteTabData(params) {
+  return request({
+    url: "/api/uiManagerController/deleteTabData",
+    method: "delete",
+    params
+  })
+}
+//涓嬫柟琛ㄦ牸鏁版嵁
+export function getPLPageDefinations(params){
+  return request({
+    url: "/api/uiManagerController/getPLPageDefinations",
+    method: "get",
+    params
+  });
+}
+
+// 涓氬姟绫诲瀷涓嬫媺鏌ヨ
+export function getBtmDatasByPage(page, limit, params) {
+  return request({
+    url: "/api/uiManagerController/getBtmDatasByPage",
+    method: "get",
+    params: {
+      page,
+      limit,
+      ...params
+    }
+  });
+}
+
+// 閫夋嫨妯℃澘涓嬫媺鏌ヨ
+export function getPortalVIDatasByPage(page, limit, params) {
+  return request({
+    url: "/api/uiManagerController/getPortalVIDatasByPage",
+    method: "get",
+    params: {
+      page,
+      limit,
+      ...params
+    }
+  });
+}
+
+// 鏌ヨ妯℃澘涓嬫媺鏌ヨ
+export function getQTInfoDatasByPage(page, limit, params) {
+  return request({
+    url: "/api/uiManagerController/getQTInfoDatasByPage",
+    method: "get",
+    params: {
+      page,
+      limit,
+      ...params
+    }
+  });
+}
+
+// 鎸夐挳璁捐瀵硅瘽妗嗗乏渚ф爲鏌ヨ
+export function getTabButtons(params) {
+  return request({
+    url: "/api/uiManagerController/getTabButtons",
+    method: "get",
+    params
+  });
+}
+
+// 鎸夐挳璁捐瀵硅瘽妗嗘坊鍔�
+export function addTapButton(params) {
+  return request({
+    url: "/api/uiManagerController/addTapButton",
+    method: "post",
+    data:params
+  });
+}
+
+// 鎸夐挳璁捐瀵硅瘽妗嗘坊鍔�
+export function updateTapButton(params) {
+  return request({
+    url: "/api/uiManagerController/updateTapButton",
+    method: "put",
+    data:params
+  });
+}
+

--
Gitblit v1.9.3