| | |
| | | let reRequired = {} |
| | | let reReadonly = {} |
| | | |
| | | reTooltip.interface = '' |
| | | reTooltip.proInterface = '正式系统所使用的接口地址。' |
| | | if (['pop', 'prompt', 'exec'].includes(openType)) { |
| | | let intertype = this.record.intertype |
| | | |
| | |
| | | } |
| | | reReadonly.interface = false |
| | | reRequired.interface = true |
| | | reTooltip.interface = `可使用变量@mywebsite@ (域名+虚拟目录)、@mydomain@ (域名),如:@mywebsite@/webapi/dostars 代表 ${window.GLOB.baseurl}webapi/dostars。` |
| | | reTooltip.proInterface += reTooltip.interface |
| | | } else if (intertype === 'outer') { |
| | | shows.push('procMode', 'sysInterface', 'outerFunc', 'callbackType') |
| | | if (this.record.procMode === 'system') { |
| | |
| | | |
| | | if (Ot === 'required') { |
| | | shows.push('progress') |
| | | if (intertype === 'inner' || intertype === 'system') { |
| | | shows.push('execType') |
| | | if (this.record.execType === 'single') { |
| | | shows.push('execInterval') |
| | | } |
| | | } |
| | | } |
| | | if (Ot === 'required' && (intertype === 'inner' || intertype === 'system')) { |
| | | shows.push('execType') |
| | | if (intertype === 'outer' || intertype === 'custom') { |
| | | shows.push('execInterval') |
| | | } |
| | | if (this.record.openmenu && this.record.openmenu !== 'goback') { |
| | | shows.push('open') |
| | |
| | | } |
| | | } |
| | | |
| | | if (shows.includes('refreshTab') && this.record.refreshTab && this.record.refreshTab.length) { |
| | | shows.push('urlPar') |
| | | } |
| | | |
| | | return { |
| | | shows, |
| | | reOptions, |