From 7bc2b875448f9e5311bcc987691b5475a06dfbcb Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期三, 24 四月 2024 12:43:51 +0800
Subject: [PATCH] 1、集团码返码接口下标越界bug。 2、集团返码,需要修改我们系统中的属性,修改时需要判断每一个字段,确定哪些有修改,然后用oldBusinessData字段记录下修改前旧的业务数据。 3、同步型号代号,记录下对方的创建时间和修改时间。

---
 Source/UBCS-WEB/src/api/formTemplate.js |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/Source/UBCS-WEB/src/api/formTemplate.js b/Source/UBCS-WEB/src/api/formTemplate.js
index acbb3d4..992b2df 100644
--- a/Source/UBCS-WEB/src/api/formTemplate.js
+++ b/Source/UBCS-WEB/src/api/formTemplate.js
@@ -2,7 +2,7 @@
 import request from "@/router/axios";
 
 // 鑾峰彇琛ㄥ崟妯℃澘鏁版嵁
-export const getFormTemplate = (params) => {
+export function getFormTemplate(params) {
   return request({
     url: 'api/ubcs-code/ubcs-code/mdmEngineController/getFormDefineByTemplateOid',
     method: 'get',
@@ -10,7 +10,7 @@
   })
 }
 // 琛ㄥ崟鏁版嵁鎵ц浠g爜
-export const executeCode = (params) => {
+export function executeCode(params) {
   return request({
     url: 'api/ubcs-code/ubcs-code/mdmEngineController/getFormDefineByTemplateOid',
     method: 'get',
@@ -18,7 +18,7 @@
   })
 }
 // 鐩镐技椤规煡璇�
-export const findLike = (data) => {
+export function findLike(data) {
   return request({
     url: 'api/ubcs-code/ubcs-code/mdmEngineController/resembleQuery',
     method: 'post',
@@ -26,11 +26,20 @@
   })
 }
 
-// 鑾峰彇鏁版嵁
-export const getCodeRule = (params) => {
+// 鑾峰彇鐮佸�肩敵璇锋暟鎹�
+export function getCodeRule(params) {
   return request({
     url: 'api/ubcs-code/ubcs-code/mdmEngineController/getCodeRuleByClassifyOid',
     method: 'get',
     params
   })
+}
+
+// 鑾峰彇璇︽儏
+export function getFormDetail(params) {
+  return request({
+    url: 'api/ubcs-code/ubcs-code/mdmEngineController/getDataByOid',
+    method: 'get',
+    params
+  })
 }
\ No newline at end of file

--
Gitblit v1.9.3