king
2024-08-13 7bd04b1c21a59e8d79325f247bdb1726507b51fb
src/menu/components/share/actioncomponent/actionform/index.jsx
@@ -233,7 +233,7 @@
      if (this.record.openmenu && this.record.openmenu !== 'goback') {
        shows.push('open')
      }
      if (this.record.execSuccess === 'grid' || this.record.execError === 'grid') {
      if (['grid'].includes(this.record.execSuccess) || ['grid'].includes(this.record.execError)) {
        shows.push('resetPageIndex')
      }
@@ -305,7 +305,7 @@
      if (this.record.execSuccess === 'goback') {
        shows.push('reload')
      }
      if (this.record.execSuccess === 'grid' || this.record.execError === 'grid') {
      if (['grid'].includes(this.record.execSuccess) || ['grid'].includes(this.record.execError)) {
        shows.push('resetPageIndex')
      }
@@ -352,7 +352,7 @@
      } else {
        shows.push('database')
      }
      if (this.record.execSuccess === 'grid' || this.record.execError === 'grid') {
      if (['grid'].includes(this.record.execSuccess) || ['grid'].includes(this.record.execError)) {
        shows.push('resetPageIndex')
      }
    } else if (openType === 'excelOut') {
@@ -389,7 +389,7 @@
      } else {
        shows.push('database')
      }
      if (this.record.execSuccess === 'grid' || this.record.execError === 'grid') {
      if (['grid'].includes(this.record.execSuccess) || ['grid'].includes(this.record.execError)) {
        shows.push('resetPageIndex')
      }
      if (this.record.Ot !== 'notRequired' && appType === 'mob') {
@@ -444,7 +444,7 @@
      } else if (this.record.pageTemplate === 'pay') {
        reOptions.Ot = requireOptions.filter(op => op.value === 'requiredSgl')
        shows.push('payMode', 'wxApp')
        shows.push('payMode', 'wxApp', 'wxMerch')
        if (this.record.payMode === 'inner') {
          reRequired.innerFunc = true
          shows.push('innerFunc')
@@ -485,14 +485,16 @@
          shows.push('innerFunc', 'extraParam')
          reRequired.innerFunc = true
        }
        if (this.record.execSuccess === 'grid' || this.record.execError === 'grid') {
        if (['grid'].includes(this.record.execSuccess) || ['grid'].includes(this.record.execError)) {
          shows.push('resetPageIndex')
        }
        if (this.record.execMode === 'pop' || this.record.execMode === 'prompt') {
          shows.push('position')
        }
      } else if (_funcType === 'mkBinding' || _funcType === 'mkUnBinding') {
        shows.push('execSuccess', 'execError')
        shows.push('execSuccess', 'execError', 'tipTitle')
      } else if (_funcType === 'mkUnsubscribe' || _funcType === 'reAuth') {
        shows.push('tipTitle')
      } else if (_funcType === 'closetab') {
        shows.push('refreshTab')
      } else if (_funcType === 'scan') {
@@ -520,7 +522,7 @@
        shows.push('innerFunc', 'Ot', 'execSuccess', 'execError', 'urlkey')
      } else if (_funcType === 'pay') {
        shows.push('payType', 'wxApp', 'Ot', 'execSuccess', 'execError', 'syncComponent', 'openmenu')
        shows.push('payType', 'wxApp', 'wxMerch', 'Ot', 'execSuccess', 'execError', 'syncComponent', 'openmenu')
        if (this.record.openmenu && this.record.openmenu !== 'goback') {
          shows.push('open')
        }
@@ -547,6 +549,11 @@
        }
      } else if (_funcType === 'shareLink') {
        shows.push('shortUrl', 'shareUrl', 'shareProUrl', 'shareTip')
      } else if (_funcType === 'openLocation') {
        shows.push('Ot')
        if (Ot === 'requiredSgl') {
          shows.push('nameField', 'addressField')
        }
      // } else if (_funcType === 'expPdf') {
      //   shows.push('exportType')
      }
@@ -882,7 +889,7 @@
            { max: 512, message: '最多512个字符' }
          )
        } else if (item.key === 'output') {
          if (['pop', 'prompt', 'exec'].includes(this.record.openType)) {
          if (['pop', 'prompt', 'exec'].includes(this.record.OpenType)) {
            if (this.record.intertype === 'system' || ((this.record.intertype === 'outer' || this.record.intertype === 'custom') && this.record.callbackType === 'script')) {
              rules = [{
                pattern: /^@[0-9a-zA-Z_]+@?$/,