From ffe757eb45364ed07ff9fe07cfc7c94764f72a27 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 18 三月 2025 14:09:56 +0800 Subject: [PATCH] 2025-03-18 --- src/tabviews/zshare/mutilform/mkRadio/index.jsx | 7 +++++++ src/tabviews/zshare/mutilform/mkSelect/index.jsx | 7 +++++++ src/menu/components/share/actioncomponent/actionform/index.jsx | 4 ++++ src/tabviews/zshare/actionList/normalbutton/index.jsx | 1 + 4 files changed, 19 insertions(+), 0 deletions(-) diff --git a/src/menu/components/share/actioncomponent/actionform/index.jsx b/src/menu/components/share/actioncomponent/actionform/index.jsx index 1993cd4..77ac27d 100644 --- a/src/menu/components/share/actioncomponent/actionform/index.jsx +++ b/src/menu/components/share/actioncomponent/actionform/index.jsx @@ -161,6 +161,8 @@ let reRequired = {} let reReadonly = {} + reTooltip.interface = '' + reTooltip.proInterface = '姝e紡绯荤粺鎵�浣跨敤鐨勬帴鍙e湴鍧�銆�' if (['pop', 'prompt', 'exec'].includes(openType)) { let intertype = this.record.intertype @@ -183,6 +185,8 @@ } reReadonly.interface = false reRequired.interface = true + reTooltip.interface = `鍙娇鐢ㄥ彉閲廆mywebsite@ (鍩熷悕+铏氭嫙鐩綍)銆丂mydomain@ (鍩熷悕)锛屽锛欯mywebsite@/webapi/dostars 浠h〃 ${window.GLOB.baseurl}webapi/dostars銆俙 + reTooltip.proInterface += reTooltip.interface } else if (intertype === 'outer') { shows.push('procMode', 'sysInterface', 'outerFunc', 'callbackType') if (this.record.procMode === 'system') { diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index a85684f..d903d9e 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -1809,6 +1809,7 @@ url = btn.interface } + url = url.replace(/@mydomain@/ig, window.GLOB.location) let param = {} diff --git a/src/tabviews/zshare/mutilform/mkRadio/index.jsx b/src/tabviews/zshare/mutilform/mkRadio/index.jsx index ac79bbf..f1133b0 100644 --- a/src/tabviews/zshare/mutilform/mkRadio/index.jsx +++ b/src/tabviews/zshare/mutilform/mkRadio/index.jsx @@ -54,6 +54,13 @@ this.setState({ value: nextProps.config.initval, }) + if (config.linkFields && nextProps.config.initval) { + config.linkFields.forEach((m, i) => { + setTimeout(() => { + MKEmitter.emit('mkFP', m.uuid, nextProps.config.initval, 0) + }, (i + 1) * 70) + }) + } } else if (option && typeof(option.value) !== typeof(value)) { if (typeof(option.value) === 'number' && !isNaN(value)) { this.setState({ diff --git a/src/tabviews/zshare/mutilform/mkSelect/index.jsx b/src/tabviews/zshare/mutilform/mkSelect/index.jsx index c08ba6f..ebc1a80 100644 --- a/src/tabviews/zshare/mutilform/mkSelect/index.jsx +++ b/src/tabviews/zshare/mutilform/mkSelect/index.jsx @@ -61,6 +61,13 @@ this.setState({ value: nextProps.config.initval, }) + if (config.linkFields && nextProps.config.initval) { + config.linkFields.forEach((m, i) => { + setTimeout(() => { + MKEmitter.emit('mkFP', m.uuid, nextProps.config.initval, 0) + }, (i + 1) * 70) + }) + } } else if (option && typeof(option.value) !== typeof(value)) { if (typeof(option.value) === 'number' && !isNaN(value)) { this.setState({ -- Gitblit v1.8.0