king
2025-01-27 2b639156302123d4490f03ec02385c4750d1fa11
2025-01-27
3个文件已修改
55 ■■■■■ 已修改文件
src/menu/components/share/actioncomponent/actionform/index.jsx 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/actioncomponent/formconfig.jsx 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/normalbutton/index.jsx 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/actioncomponent/actionform/index.jsx
@@ -226,9 +226,14 @@
      if (Ot === 'required') {
        shows.push('progress')
      }
      if (Ot === 'required' && (intertype === 'inner' || intertype === 'system')) {
        shows.push('execType')
        if (intertype === 'inner' || intertype === 'system') {
          shows.push('execType')
          if (this.record.execType === 'single') {
            shows.push('execInterval')
          }
        } else {
          shows.push('execInterval')
        }
      }
      if (this.record.openmenu && this.record.openmenu !== 'goback') {
        shows.push('open')
src/menu/components/share/actioncomponent/formconfig.jsx
@@ -1652,6 +1652,14 @@
      }]
    },
    {
      type: 'number',
      key: 'execInterval',
      label: '执行间隔',
      initVal: card.execInterval || 0,
      tooltip: '两次请求的时间间隔(单位毫秒)。',
      required: false
    },
    {
      type: 'radio',
      key: 'progress',
      label: '进度提示',
@@ -2874,6 +2882,14 @@
      }]
    },
    {
      type: 'number',
      key: 'execInterval',
      label: '执行间隔',
      initVal: card.execInterval || 0,
      tooltip: '两次请求的时间间隔(单位毫秒)。',
      required: false
    },
    {
      type: 'radio',
      key: 'progress',
      label: '进度提示',
src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -1943,6 +1943,10 @@
        if (params.length === 0) {
          this.execSuccess(result)
          _resolve()
        } else if (btn.execInterval) {
          setTimeout(() => {
            this.customLoopRequest(params, _resolve)
          }, btn.execInterval)
        } else {
          this.customLoopRequest(params, _resolve)
        }
@@ -1980,6 +1984,10 @@
        if (params.length === 0) {
          this.execSuccess(result)
          _resolve()
        } else if (btn.execInterval) {
          setTimeout(() => {
            this.customLoopRequest(params, _resolve)
          }, btn.execInterval)
        } else {
          this.customLoopRequest(params, _resolve)
        }
@@ -2002,6 +2010,10 @@
        if (params.length === 0) {
          this.execSuccess(res)
          _resolve()
        } else if (btn.execInterval) {
          setTimeout(() => {
            this.customLoopRequest(params, _resolve)
          }, btn.execInterval)
        } else {
          this.customLoopRequest(params, _resolve)
        }
@@ -2349,6 +2361,10 @@
        if (params.length === 0) {
          this.execSuccess(res)
          _resolve()
        } else if (btn.execInterval) {
          setTimeout(() => {
            this.innerLoopRequest(params, btn, _resolve)
          }, btn.execInterval)
        } else {
          this.innerLoopRequest(params, btn, _resolve)
        }
@@ -2598,6 +2614,10 @@
        if (params.length === 0) {
          this.execSuccess(result)
          _resolve()
        } else if (btn.execInterval) {
          setTimeout(() => {
            this.outerLoopRequest(params, _resolve)
          }, btn.execInterval)
        } else {
          this.outerLoopRequest(params, _resolve)
        }
@@ -2642,6 +2662,10 @@
        if (params.length === 0) {
          this.execSuccess(result)
          _resolve()
        } else if (btn.execInterval) {
          setTimeout(() => {
            this.outerLoopRequest(params, _resolve)
          }, btn.execInterval)
        } else {
          this.outerLoopRequest(params, _resolve)
        }
@@ -2665,6 +2689,10 @@
        if (params.length === 0) {
          this.execSuccess(res)
          _resolve()
        } else if (btn.execInterval) {
          setTimeout(() => {
            this.outerLoopRequest(params, _resolve)
          }, btn.execInterval)
        } else {
          this.outerLoopRequest(params, _resolve)
        }