king
2020-04-17 4f8ffec8fc4aa9918264a3b3b4952421d896f5eb
2020-04-17
65个文件已修改
1031 ■■■■ 已修改文件
src/components/header/editmenu/index.jsx 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/header/index.jsx 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/sidemenu/config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/sidemenu/editsecmenu/index.jsx 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/sidemenu/editthdmenu/index.jsx 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/sidemenu/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/locales/en-US/main.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/locales/zh-CN/main.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/commontable/index.jsx 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/datamanage/action/index.jsx 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/datamanage/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/datamanage/search/index.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/formtab/actionList/index.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/formtab/formgroup/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/formtab/index.jsx 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/managetable/index.jsx 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/managetable/secretKeyTable/actionList/index.jsx 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/managetable/secretKeyTable/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/rolemanage/index.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/scriptmanage/actionList/index.jsx 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/scriptmanage/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/subtable/index.jsx 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/subtabtable/index.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/tabform/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/tabmanage/index.jsx 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/verupmanage/actionList/index.jsx 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/verupmanage/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/verupmanage/subtabtable/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/excelin/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/mutilform/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/topSearch/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/verifycard/index.jsx 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/verifycard/tabcard/actionform/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/verifycard/tabcard/columnform/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/verifycard/tabcard/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/verifycard/tabcard/printform/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/verifycard/tabcard/printtypeform/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/comtableconfig/actionform/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/comtableconfig/index.jsx 80 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/comtableconfig/settingform/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/formtabconfig/actionform/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/formtabconfig/index.jsx 58 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/formtabconfig/settingform/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/subtableconfig/actionform/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/subtableconfig/index.jsx 72 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/subtableconfig/settingform/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/columnform/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/createfunc/index.jsx 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/createinterface/index.jsx 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/dragelement/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/modalform/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/pasteform/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/searchform/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/verifycard/customform/index.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/verifycard/customscript/index.jsx 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/verifycard/index.jsx 37 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/verifycardexcelin/columnform/index.jsx 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/verifycardexcelin/customscript/index.jsx 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/verifycardexcelin/index.jsx 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/verifycardexcelout/columnform/index.jsx 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/verifycardexcelout/index.jsx 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/verifycardprint/index.jsx 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/utils.js 259 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/printTemplate/index.jsx 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/header/editmenu/index.jsx
@@ -46,7 +46,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['header.menu.presave'],
        duration: 10
        duration: 5
      })
    } else {
      this.setState({
@@ -78,7 +78,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -116,7 +116,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -154,7 +154,7 @@
            notification.warning({
              top: 92,
              message: res.message,
              duration: 10
              duration: 5
            })
          }
        })
@@ -168,7 +168,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['header.menu.thawmenu.select'],
        duration: 10
        duration: 5
      })
    } else {
      this.setState({
@@ -194,7 +194,7 @@
          notification.error({
            top: 92,
            message: msg,
            duration: 15
            duration: 10
          })
        } else {
          this.setState({
@@ -223,7 +223,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['header.menu.presave'],
        duration: 10
        duration: 5
      })
    } else if (type === 'add') {
      this.setState({
@@ -256,7 +256,7 @@
              notification.warning({
                top: 92,
                message: res.message,
                duration: 10
                duration: 5
              })
            }
          })
@@ -285,7 +285,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
src/components/header/index.jsx
@@ -107,7 +107,7 @@
      notification.warning({
        top: 92,
        message: result.message,
        duration: 10
        duration: 5
      })
      this.setState({
        confirmLoading: false
@@ -200,7 +200,7 @@
      notification.error({
        top: 92,
        message: result.message,
        duration: 15
        duration: 10
      })
    }
  }
@@ -226,7 +226,7 @@
          notification.error({
            top: 92,
            message: result.message,
            duration: 15
            duration: 10
          })
        }
@@ -274,7 +274,7 @@
          notification.error({
            top: 92,
            message: result.message,
            duration: 15
            duration: 10
          })
        }
@@ -451,7 +451,7 @@
          notification.error({
            top: 92,
            message: res.message,
            duration: 15
            duration: 10
          })
        }
      })
@@ -606,7 +606,7 @@
        notification.error({
          top: 92,
          message: result.message,
          duration: 15
          duration: 10
        })
      }
    })
src/components/sidemenu/config.js
@@ -77,8 +77,8 @@
      type: 'ScriptTable',
      MenuID: '1587005717541lov40vg61q7l1rbveon',
      MenuNo: 's_custom_scriptM',
      MenuName: '自定义脚本',
      text: '自定义脚本'
      MenuName: '自定义函数',
      text: '自定义函数'
    }]
  }, {
    MenuID: 'systemManageViewInterface',
src/components/sidemenu/editsecmenu/index.jsx
@@ -51,7 +51,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['header.menu.presave'],
        duration: 10
        duration: 5
      })
    } else if (menu.type === 'close') {
      confirm({
@@ -71,7 +71,7 @@
              notification.warning({
                top: 92,
                message: res.message,
                duration: 10
                duration: 5
              })
            }
          })
@@ -182,7 +182,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -214,7 +214,7 @@
                notification.warning({
                  top: 92,
                  message: res.message,
                  duration: 10
                  duration: 5
                })
              }
            })
@@ -259,7 +259,7 @@
            notification.warning({
              top: 92,
              message: res.message,
              duration: 10
              duration: 5
            })
          }
        })
@@ -292,7 +292,7 @@
            notification.warning({
              top: 92,
              message: res.message,
              duration: 10
              duration: 5
            })
          }
        })
@@ -314,7 +314,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['header.menu.thawmenu.select'],
        duration: 10
        duration: 5
      })
    } else {
      this.setState({
@@ -340,7 +340,7 @@
          notification.error({
            top: 92,
            message: msg,
            duration: 15
            duration: 10
          })
        } else {
          this.setState({
src/components/sidemenu/editthdmenu/index.jsx
@@ -95,7 +95,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['header.menu.presave'],
        duration: 10
        duration: 5
      })
    } else if (menu.type === 'close') {
      confirm({
@@ -115,7 +115,7 @@
              notification.warning({
                top: 92,
                message: res.message,
                duration: 10
                duration: 5
              })
            }
          })
@@ -136,7 +136,7 @@
          notification.warning({
            top: 92,
            message: '菜单加载中,请稍后重试!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -190,7 +190,7 @@
            notification.warning({
              top: 92,
              message: this.state.dict['header.menu.template.empty'],
              duration: 10
              duration: 5
            })
            this.setState({
@@ -226,7 +226,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -240,7 +240,7 @@
        notification.warning({
          top: 92,
          message: this.state.dict['header.menu.presave'],
          duration: 10
          duration: 5
        })
        return
      }
@@ -249,7 +249,7 @@
        notification.warning({
          top: 92,
          message: '菜单加载中,请稍后重试!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -278,7 +278,7 @@
        notification.warning({
          top: 92,
          message: this.state.dict['header.menu.presave'],
          duration: 10
          duration: 5
        })
        return
      }
@@ -303,7 +303,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -335,7 +335,7 @@
                notification.warning({
                  top: 92,
                  message: res.message,
                  duration: 10
                  duration: 5
                })
              }
            })
@@ -356,7 +356,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['header.menu.thawmenu.select'],
        duration: 10
        duration: 5
      })
    } else {
      this.setState({
@@ -382,7 +382,7 @@
          notification.error({
            top: 92,
            message: msg,
            duration: 15
            duration: 10
          })
        } else {
          this.setState({
@@ -431,7 +431,7 @@
      notification.warning({
        top: 92,
        message: '菜单加载中,请稍后重试!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -474,7 +474,7 @@
            notification.warning({
              top: 92,
              message: result.message,
              duration: 10
              duration: 5
            })
            resolve(false)
          } else {
@@ -496,7 +496,7 @@
              notification.warning({
                top: 92,
                message: '模板信息获取失败!',
                duration: 10
                duration: 5
              })
              resolve(false)
            }
@@ -648,7 +648,7 @@
          notification.warning({
            top: 92,
            message: response.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -722,7 +722,7 @@
        notification.warning({
          top: 92,
          message: result.message,
          duration: 10
          duration: 5
        })
      }
    })
src/components/sidemenu/index.jsx
@@ -167,7 +167,7 @@
      notification.warning({
        top: 92,
        message: result.message,
        duration: 10
        duration: 5
      })
    }
  }
src/locales/en-US/main.js
@@ -2,6 +2,7 @@
  'main.search': 'Search',
  'main.reset': 'Reset',
  'main.confirm': 'OK',
  'main.submit': 'Submit',
  'main.return': 'Cancel',
  'main.close': '关闭',
  'main.all': 'All',
src/locales/zh-CN/main.js
@@ -2,6 +2,7 @@
  'main.search': '搜索',
  'main.reset': '重置',
  'main.confirm': '确定',
  'main.submit': '提交',
  'main.return': '返回',
  'main.close': '关闭',
  'main.all': '全部',
src/tabviews/commontable/index.jsx
@@ -321,7 +321,7 @@
      notification.warning({
        top: 92,
        message: result.message,
        duration: 10
        duration: 5
      })
    }
  }
@@ -464,7 +464,7 @@
        notification.warning({
          top: 92,
          message: item.label + ': ' + this.state.dict['main.datasource.settingerror'],
          duration: 10
          duration: 5
        })
      }
    })
@@ -499,7 +499,7 @@
          notification.warning({
            top: 92,
            message: res.search.label + ':' + res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -564,7 +564,7 @@
      notification.error({
        top: 92,
        message: result.message,
        duration: 15
        duration: 10
      })
    }
  }
@@ -611,7 +611,7 @@
      notification.warning({
        top: 92,
        message: '未设置显示列!',
        duration: 10
        duration: 5
      })
      return null
    }
@@ -1079,7 +1079,7 @@
        notification.warning({
          top: 92,
          message: result.message,
          duration: 10
          duration: 5
        })
        return
      }
@@ -1103,7 +1103,7 @@
      notification.warning({
        top: 92,
        message: '编译错误',
        duration: 10
        duration: 5
      })
      return
    }
@@ -1129,7 +1129,7 @@
        notification.warning({
          top: 92,
          message: result.message,
          duration: 10
          duration: 5
        })
        return
      }
@@ -1343,7 +1343,7 @@
            footer={[
              <Button key="revert" type="danger" loading={this.state.revertLoading} onClick={this.settingRevert}>{this.state.dict['main.revert.default']}</Button>,
              <Button key="cancel" onClick={() => { this.setState({ settingVisible: false }) }}>{this.state.dict['main.cancel']}</Button>,
              <Button key="confirm" type="primary" loading={this.state.confirmLoading} onClick={this.settingSubmit}>{this.state.dict['main.confirm']}</Button>
              <Button key="confirm" type="primary" loading={this.state.confirmLoading} onClick={this.settingSubmit}>{this.state.dict['main.submit']}</Button>
            ]}
            destroyOnClose
          >
src/tabviews/datamanage/action/index.jsx
@@ -124,7 +124,7 @@
      notification.warning({
        top: 92,
        message: this.props.dict['main.action.confirm.selectline'],
        duration: 10
        duration: 5
      })
      return
    } else if (item.Ot === 'requiredSgl' && datalist.length > 1) {
@@ -132,7 +132,7 @@
      notification.warning({
        top: 92,
        message: this.props.dict['main.action.confirm.selectSingleLine'],
        duration: 10
        duration: 5
      })
      return
    }
@@ -153,14 +153,14 @@
        notification.warning({
          top: 92,
          message: this.props.dict['main.action.primarykey.required'],
          duration: 10
          duration: 5
        })
        return
      } else if (ID.length > 1) {
        notification.warning({
          top: 92,
          message: this.props.dict['main.action.primarykey.repetition'],
          duration: 10
          duration: 5
        })
        return
      }
@@ -169,7 +169,7 @@
        notification.warning({
          top: 92,
          message: this.props.dict['main.action.primarykey.repetitionbid'],
          duration: 10
          duration: 5
        })
        return
      }
@@ -190,7 +190,7 @@
                    notification.error({
                      top: 92,
                      message: result.message,
                      duration: 15
                      duration: 10
                    })
                    iserror = true
                  }
@@ -217,7 +217,7 @@
                  notification.error({
                    top: 92,
                    message: res.message,
                    duration: 15
                    duration: 10
                  })
                }
              }
@@ -235,7 +235,7 @@
                notification.error({
                  top: 92,
                  message: result.message,
                  duration: 15
                  duration: 10
                })
                iserror = true
              }
@@ -262,7 +262,7 @@
              notification.error({
                top: 92,
                message: res.message,
                duration: 15
                duration: 10
              })
            }
          }
@@ -346,7 +346,7 @@
      notification.warning({
        top: 92,
        message: this.props.dict['main.action.settingerror'],
        duration: 10
        duration: 5
      })
    }
  }
@@ -430,7 +430,7 @@
          notification.error({
            top: 92,
            message: result.message,
            duration: 15
            duration: 10
          })
        }
      })
src/tabviews/datamanage/index.jsx
@@ -66,7 +66,7 @@
      notification.warning({
        top: 92,
        message: result.message,
        duration: 10
        duration: 5
      })
    }
  }
@@ -99,7 +99,7 @@
      notification.warning({
        top: 92,
        message: result.message,
        duration: 10
        duration: 5
      })
      this.setState({
        searchparam: searches,
@@ -236,7 +236,7 @@
          notification.error({
            top: 92,
            message: result.message,
            duration: 15
            duration: 10
          })
          this.setState({
            confirmloading: false
src/tabviews/datamanage/search/index.jsx
@@ -179,7 +179,8 @@
        valid = false
        notification.warning({
          top: 92,
          message: this.props.dict['form.required.input'] + item.label
          message: this.props.dict['form.required.input'] + item.label,
          duration: 5
        })
      }
    })
src/tabviews/formtab/actionList/index.jsx
@@ -83,7 +83,7 @@
        notification.warning({
          top: 92,
          message: '使用创建凭证函数,需要选择行!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -286,14 +286,14 @@
      notification.error({
        top: 92,
        message: res.message || res.ErrMesg,
        duration: btn.errorTime || 15
        duration: btn.errorTime || 10
      })
    } else if (res.ErrCode === 'F') {
      notification.error({
        className: 'notification-custom-error',
        top: 92,
        message: res.message || res.ErrMesg,
        duration: btn.errorTime || 15
        duration: btn.errorTime || 10
      })
    } else if (res.ErrCode === 'NM') {
      message.error(res.message || res.ErrMesg)
@@ -309,7 +309,7 @@
    notification.warning({
      top: 92,
      message: this.props.dict['main.action.settingerror'],
      duration: 10
      duration: 5
    })
  }
src/tabviews/formtab/formgroup/index.jsx
@@ -168,7 +168,7 @@
            notification.warning({
              top: 92,
              message: '未查询到表单《' + item.label + '》关联字段!',
              duration: 10
              duration: 5
            })
          } else {
            item.options = item.oriOptions.filter(option => option.parentId === supItem.initval)
src/tabviews/formtab/index.jsx
@@ -143,7 +143,7 @@
          notification.warning({
            top: 92,
            message: '未获取到主表数据!',
            duration: 10
            duration: 5
          })
        }
      })
@@ -155,7 +155,7 @@
      notification.warning({
        top: 92,
        message: result.message,
        duration: 10
        duration: 5
      })
    }
  }
@@ -203,7 +203,7 @@
          notification.warning({
            top: 92,
            message: item.label + ': ' + this.state.dict['main.datasource.settingerror'],
            duration: 10
            duration: 5
          })
        }
@@ -246,7 +246,7 @@
          notification.warning({
            top: 92,
            message: res.search.label + ':' + res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -281,7 +281,7 @@
      notification.warning({
        top: 92,
        message: '未设置数据查询配置!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -307,7 +307,7 @@
        notification.warning({
          top: 92,
          message: '未查询到数据信息!',
          duration: 10
          duration: 5
        })
      }
@@ -341,7 +341,7 @@
          notification.warning({
            top: 92,
            message: '未查询到' + emptys.join(', ') + '字段信息!',
            duration: 10
            duration: 5
          })
        }
      }
@@ -349,7 +349,7 @@
      notification.error({
        top: 92,
        message: result.message,
        duration: 15
        duration: 10
      })
    }
  }
@@ -364,7 +364,7 @@
      notification.warning({
        top: 92,
        message: '未设置表单字段!',
        duration: 10
        duration: 5
      })
      return null
    }
src/tabviews/managetable/index.jsx
@@ -199,7 +199,7 @@
      notification.warning({
        top: 92,
        message: result.message,
        duration: 10
        duration: 5
      })
    }
  }
@@ -246,7 +246,7 @@
        notification.warning({
          top: 92,
          message: item.label + ': ' + this.state.dict['main.datasource.settingerror'],
          duration: 10
          duration: 5
        })
      }
    })
@@ -281,7 +281,7 @@
          notification.warning({
            top: 92,
            message: res.search.label + ':' + res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -334,7 +334,7 @@
      notification.error({
        top: 92,
        message: result.message,
        duration: 15
        duration: 10
      })
    }
  }
@@ -381,7 +381,7 @@
      notification.warning({
        top: 92,
        message: '未设置显示列!',
        duration: 10
        duration: 5
      })
      return null
    }
src/tabviews/managetable/secretKeyTable/actionList/index.jsx
@@ -50,7 +50,7 @@
      notification.warning({
        top: 92,
        message: '需要上级主键值!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -63,7 +63,7 @@
      notification.warning({
        top: 92,
        message: this.props.dict['main.action.confirm.selectline'],
        duration: 10
        duration: 5
      })
      return
    } else if (item.Ot === 'requiredSgl' && data.length !== 1) {
@@ -71,7 +71,7 @@
      notification.warning({
        top: 92,
        message: this.props.dict['main.action.confirm.selectSingleLine'],
        duration: 10
        duration: 5
      })
      return
    } else if (item.Ot !== 'notRequired' && !setting.primaryKey) {
@@ -79,7 +79,7 @@
      notification.warning({
        top: 92,
        message: '未设置主键!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -90,7 +90,7 @@
        notification.warning({
          top: 92,
          message: '系统密钥不可删除!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -100,7 +100,7 @@
      notification.warning({
        top: 92,
        message: '数据丢失或错误,请恢复默认设置!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -243,14 +243,14 @@
      notification.error({
        top: 92,
        message: res.message || res.ErrMesg,
        duration: btn.verify && btn.verify.ntime ? btn.verify.ntime : 15
        duration: btn.verify && btn.verify.ntime ? btn.verify.ntime : 10
      })
    } else if (res.ErrCode === 'F') {
      notification.error({
        className: 'notification-custom-error',
        top: 92,
        message: res.message || res.ErrMesg,
        duration: btn.verify && btn.verify.ftime ? btn.verify.ftime : 15
        duration: btn.verify && btn.verify.ftime ? btn.verify.ftime : 10
      })
    } else if (res.ErrCode === 'NM') {
      message.error(res.message || res.ErrMesg)
src/tabviews/managetable/secretKeyTable/index.jsx
@@ -174,7 +174,7 @@
        notification.error({
          top: 92,
          message: '密钥组数据丢失或格式错误,请恢复默认设置,重新添加!',
          duration: 15
          duration: 10
        })
        return
      }
@@ -196,7 +196,7 @@
      notification.error({
        top: 92,
        message: result.message,
        duration: 15
        duration: 10
      })
    }
  }
src/tabviews/rolemanage/index.jsx
@@ -57,7 +57,7 @@
      notification.warning({
        top: 92,
        message: result.message,
        duration: 10
        duration: 5
      })
    }
  }
@@ -85,7 +85,7 @@
      notification.warning({
        top: 92,
        message: result.message,
        duration: 10
        duration: 5
      })
    }
  }
@@ -154,7 +154,7 @@
      notification.warning({
        top: 92,
        message: result.message,
        duration: 10
        duration: 5
      })
    }
  }
@@ -378,7 +378,7 @@
      notification.warning({
        top: 92,
        message: result.message,
        duration: 10
        duration: 5
      })
      this.setState({
        submitloading: false
src/tabviews/scriptmanage/actionList/index.jsx
@@ -57,7 +57,7 @@
      notification.warning({
        top: 92,
        message: this.props.dict['main.action.confirm.selectline'],
        duration: 10
        duration: 5
      })
      return
    } else if (item.Ot === 'requiredSgl' && data.length !== 1) {
@@ -65,7 +65,7 @@
      notification.warning({
        top: 92,
        message: this.props.dict['main.action.confirm.selectSingleLine'],
        duration: 10
        duration: 5
      })
      return
    } else if (item.Ot !== 'notRequired' && !setting.primaryKey) {
@@ -73,7 +73,7 @@
      notification.warning({
        top: 92,
        message: '未设置主键!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -199,14 +199,14 @@
      notification.error({
        top: 92,
        message: res.message || res.ErrMesg,
        duration: btn.verify && btn.verify.ntime ? btn.verify.ntime : 15
        duration: btn.verify && btn.verify.ntime ? btn.verify.ntime : 10
      })
    } else if (res.ErrCode === 'F') {
      notification.error({
        className: 'notification-custom-error',
        top: 92,
        message: res.message || res.ErrMesg,
        duration: btn.verify && btn.verify.ftime ? btn.verify.ftime : 15
        duration: btn.verify && btn.verify.ftime ? btn.verify.ftime : 10
      })
    } else if (res.ErrCode === 'NM') {
      message.error(res.message || res.ErrMesg)
src/tabviews/scriptmanage/index.jsx
@@ -144,7 +144,7 @@
      notification.error({
        top: 92,
        message: result.message,
        duration: 15
        duration: 10
      })
    }
  }
src/tabviews/subtable/index.jsx
@@ -298,10 +298,12 @@
        loadingview: false,
        viewlost: true
      })
      let prex = Tab && Tab.label ? Tab.label + ': ' : ''
      notification.warning({
        top: 92,
        message: result.message,
        duration: 10
        message: prex + result.message,
        duration: 5
      })
    }
  }
@@ -349,10 +351,12 @@
        })
        deffers.push(defer)
      } else if (item.resourceType === '1' && !item.dataSource) {
        let prex = this.props.Tab && this.props.Tab.label ? this.props.Tab.label + '-' : ''
        notification.warning({
          top: 92,
          message: item.label + ': ' + this.state.dict['main.datasource.settingerror'],
          duration: 10
          message: prex + item.label + ': ' + this.state.dict['main.datasource.settingerror'],
          duration: 5
        })
      }
    })
@@ -384,10 +388,12 @@
            return item
          })
        } else {
          let prex = this.props.Tab && this.props.Tab.label ? this.props.Tab.label + '-' : ''
          notification.warning({
            top: 92,
            message: res.search.label + ':' + res.message,
            duration: 10
            message: prex + res.search.label + ':' + res.message,
            duration: 5
          })
        }
      })
@@ -454,10 +460,12 @@
      this.setState({
        loading: false
      })
      let prex = this.props.Tab && this.props.Tab.label ? this.props.Tab.label + ': ' : ''
      notification.error({
        top: 92,
        message: result.message,
        duration: 15
        message: prex + result.message,
        duration: 10
      })
    }
  }
src/tabviews/subtabtable/index.jsx
@@ -229,7 +229,7 @@
      notification.warning({
        top: 92,
        message: result.message,
        duration: 10
        duration: 5
      })
    }
  }
@@ -280,7 +280,7 @@
        notification.warning({
          top: 92,
          message: item.label + ': ' + this.state.dict['main.datasource.settingerror'],
          duration: 10
          duration: 5
        })
      }
    })
@@ -308,7 +308,7 @@
          notification.warning({
            top: 92,
            message: res.search.label + ':' + res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -361,7 +361,7 @@
      notification.error({
        top: 92,
        message: result.message,
        duration: 15
        duration: 10
      })
    }
  }
src/tabviews/tabform/index.jsx
@@ -69,7 +69,7 @@
          notification.error({
            top: 92,
            message: result.message,
            duration: 15
            duration: 10
          })
          this.setState({
            loading: false
src/tabviews/tabmanage/index.jsx
@@ -62,7 +62,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -116,7 +116,7 @@
                notification.warning({
                  top: 92,
                  message: res.message,
                  duration: 10
                  duration: 5
                })
              } else {
                notification.success({
@@ -166,7 +166,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
          return
        }
@@ -281,7 +281,7 @@
              notification.warning({
                top: 92,
                message: response.message,
                duration: 10
                duration: 5
              })
              resolve(false)
            }
@@ -303,7 +303,7 @@
            notification.warning({
              top: 92,
              message: result.message,
              duration: 10
              duration: 5
            })
            return false
          }
@@ -322,7 +322,7 @@
                  notification.warning({
                    top: 92,
                    message: response.message,
                    duration: 10
                    duration: 5
                  })
                  resolve(false)
                } else if (response.status && response.LongParam) {
@@ -341,7 +341,7 @@
                      notification.warning({
                        top: 92,
                        message: resp.message,
                        duration: 10
                        duration: 5
                      })
                      resolve(false)
                    } else {
@@ -417,7 +417,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -428,7 +428,7 @@
      notification.warning({
        top: 92,
        message: '请选择要解除冻结的标签!',
        duration: 10
        duration: 5
      })
    } else {
      this.setState({
@@ -454,7 +454,7 @@
          notification.error({
            top: 92,
            message: msg,
            duration: 15
            duration: 10
          })
          this.setState({
            submitloading: false
src/tabviews/verupmanage/actionList/index.jsx
@@ -51,7 +51,7 @@
      notification.warning({
        top: 92,
        message: '需要上级主键值!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -68,7 +68,7 @@
      notification.warning({
        top: 92,
        message: this.props.dict['main.action.confirm.selectline'],
        duration: 10
        duration: 5
      })
      return
    } else if (item.Ot === 'requiredSgl' && data.length !== 1) {
@@ -84,7 +84,7 @@
      notification.warning({
        top: 92,
        message: '未设置主键!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -127,7 +127,7 @@
      notification.warning({
        top: 92,
        message: '尚不支持此功能。。。',
        duration: 10
        duration: 5
      })
    }
  }
@@ -582,14 +582,14 @@
      notification.error({
        top: 92,
        message: res.message || res.ErrMesg,
        duration: btn.verify && btn.verify.ntime ? btn.verify.ntime : 15
        duration: btn.verify && btn.verify.ntime ? btn.verify.ntime : 10
      })
    } else if (res.ErrCode === 'F') {
      notification.error({
        className: 'notification-custom-error',
        top: 92,
        message: res.message || res.ErrMesg,
        duration: btn.verify && btn.verify.ftime ? btn.verify.ftime : 15
        duration: btn.verify && btn.verify.ftime ? btn.verify.ftime : 10
      })
    } else if (res.ErrCode === 'NM') {
      message.error(res.message || res.ErrMesg)
src/tabviews/verupmanage/index.jsx
@@ -163,7 +163,7 @@
      notification.error({
        top: 92,
        message: result.message,
        duration: 15
        duration: 10
      })
    }
  }
@@ -210,7 +210,7 @@
      notification.warning({
        top: 92,
        message: '未设置显示列!',
        duration: 10
        duration: 5
      })
      return null
    }
src/tabviews/verupmanage/subtabtable/index.jsx
@@ -185,7 +185,7 @@
      notification.error({
        top: 92,
        message: result.message,
        duration: 15
        duration: 10
      })
    }
  }
src/tabviews/zshare/actionList/index.jsx
@@ -1058,7 +1058,7 @@
              notification.error({
                top: 92,
                message: res.message || res.ErrMesg,
                duration: btn.verify && btn.verify.ntime ? btn.verify.ntime : 15
                duration: btn.verify && btn.verify.ntime ? btn.verify.ntime : 10
              })
            }
          })
@@ -1550,14 +1550,14 @@
      notification.error({
        top: 92,
        message: res.message || res.ErrMesg,
        duration: btn.verify && btn.verify.ntime ? btn.verify.ntime : 15
        duration: btn.verify && btn.verify.ntime ? btn.verify.ntime : 10
      })
    } else if (res.ErrCode === 'F') {
      notification.error({
        className: 'notification-custom-error',
        top: 92,
        message: res.message || res.ErrMesg,
        duration: btn.verify && btn.verify.ftime ? btn.verify.ftime : 15
        duration: btn.verify && btn.verify.ftime ? btn.verify.ftime : 10
      })
    } else if (res.ErrCode === 'NM') {
      message.error(res.message || res.ErrMesg)
src/tabviews/zshare/excelin/index.jsx
@@ -96,7 +96,7 @@
        notification.warning({
          top: 92,
          message: '文件解析错误,请检查文件格式!',
          duration: 10
          duration: 5
        })
      }
    }
src/tabviews/zshare/mutilform/index.jsx
@@ -141,7 +141,7 @@
          notification.warning({
            top: 92,
            message: '未查询到表单《' + item.label + '》关联字段!',
            duration: 10
            duration: 5
          })
        } else {
          item.options = item.oriOptions.filter(option => option.parentId === supItem.initval)
src/tabviews/zshare/topSearch/index.jsx
@@ -57,7 +57,7 @@
          notification.warning({
            top: 92,
            message: '未查询到搜索条件《' + item.label + '》关联字段!',
            duration: 10
            duration: 5
          })
        } else {
          item.options = item.oriOptions.filter(option => option.parentId === supItem.initval)
src/tabviews/zshare/verifycard/index.jsx
@@ -2,7 +2,6 @@
import PropTypes from 'prop-types'
import { Form, Tabs, notification, Spin, Icon } from 'antd'
// import Utils from '@/utils/utils.js'
import Api from '@/api'
import TabCard from './tabcard'
@@ -96,7 +95,7 @@
          notification.warning({
            top: 92,
            message: errors[0].message,
            duration: 10
            duration: 5
          })
          this.setState({
            loading: false
@@ -264,7 +263,7 @@
          notification.warning({
            top: 92,
            message: errors[0],
            duration: 10
            duration: 5
          })
          return
        }
src/tabviews/zshare/verifycard/tabcard/actionform/index.jsx
@@ -143,8 +143,8 @@
            </Form.Item>
          </Col>
          <Col span={4} className="add">
            <Button onClick={this.handleConfirm} type="primary" className="add-row">
              确定
            <Button onClick={this.handleConfirm} className="mk-green">
              保存
            </Button>
          </Col>
        </Row> : null}
src/tabviews/zshare/verifycard/tabcard/columnform/index.jsx
@@ -137,8 +137,8 @@
            </Form.Item>
          </Col>
          <Col span={4} className="add">
            <Button onClick={this.handleConfirm} type="primary" className="add-row">
              确定
            <Button onClick={this.handleConfirm} className="mk-green">
              保存
            </Button>
          </Col>
          <Col span={10}>
src/tabviews/zshare/verifycard/tabcard/index.jsx
@@ -211,7 +211,7 @@
        notification.warning({
          top: 92,
          message: '按钮《' + item.label + '》设置错误!',
          duration: 10
          duration: 5
        })
      } else {
        let socket = null
@@ -264,7 +264,7 @@
            notification.warning({
              top: 92,
              message: data.message,
              duration: 10
              duration: 5
            })
          }
        }
@@ -273,7 +273,7 @@
          notification.warning({
            top: 92,
            message: '无法连接到:' + item.verify.linkUrl,
            duration: 10
            duration: 5
          })
        }
      }
src/tabviews/zshare/verifycard/tabcard/printform/index.jsx
@@ -101,8 +101,8 @@
            </Form.Item>
          </Col>
          <Col span={4} className="add">
            <Button onClick={this.handleConfirm} type="primary" className="add-row">
              确定
            <Button onClick={this.handleConfirm} className="mk-green">
              保存
            </Button>
          </Col>
        </Row> : null}
src/tabviews/zshare/verifycard/tabcard/printtypeform/index.jsx
@@ -92,8 +92,8 @@
            </Form.Item>
          </Col>
          <Col span={4} className="add">
            <Button onClick={this.handleConfirm} type="primary" className="add-row">
              确定
            <Button onClick={this.handleConfirm} className="mk-green">
              保存
            </Button>
          </Col>
        </Row> : null}
src/templates/comtableconfig/actionform/index.jsx
@@ -596,7 +596,7 @@
                notification.warning({
                  top: 92,
                  message: '表格数据查询未使用数据源,导出Excel使用内部接口时,需自定义内部函数!',
                  duration: 10
                  duration: 5
                })
                return
              }
@@ -617,13 +617,13 @@
            notification.warning({
              top: 92,
              message: this.props.dict['header.form.actionhelp.tablename'],
              duration: 10
              duration: 5
            })
          } else if (values.innerFunc === '' && values.sql !== '' && values.sqlType === '') {
            notification.warning({
              top: 92,
              message: this.props.dict['header.form.actionhelp.sqlType'],
              duration: 10
              duration: 5
            })
          } else {
            resolve(values)
src/templates/comtableconfig/index.jsx
@@ -266,7 +266,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -328,7 +328,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -355,7 +355,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -404,7 +404,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -528,7 +528,7 @@
            notification.warning({
              top: 92,
              message: result.message,
              duration: 10
              duration: 5
            })
          }
@@ -738,14 +738,14 @@
          notification.warning({
            top: 92,
            message: '字段已存在!',
            duration: 10
            duration: 5
          })
          return
        } else if (labelrepet) {
          notification.warning({
            top: 92,
            message: '名称已存在!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -853,7 +853,7 @@
                  notification.warning({
                    top: 92,
                    message: response.message,
                    duration: 10
                    duration: 5
                  })
                } else {
                  this.setState({
@@ -928,7 +928,7 @@
                  notification.warning({
                    top: 92,
                    message: response.message,
                    duration: 10
                    duration: 5
                  })
                } else {
                  this.setState({
@@ -990,14 +990,14 @@
          notification.warning({
            top: 92,
            message: '字段已存在!',
            duration: 10
            duration: 5
          })
          return
        } else if (labelrepet) {
          notification.warning({
            top: 92,
            message: '名称已存在!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -1089,7 +1089,7 @@
        notification.warning({
          top: 92,
          message: '请填写内部函数!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1135,7 +1135,7 @@
              notification.warning({
                top: 92,
                message: '弹窗(表单)按钮,请先配置表单信息!',
                duration: 10
                duration: 5
              })
              resolve(false)
            }
@@ -1153,7 +1153,7 @@
            notification.warning({
              top: 92,
              message: '请完善导入Excel验证信息!',
              duration: 10
              duration: 5
            })
            resolve(false)
          }
@@ -1232,7 +1232,7 @@
        notification.warning({
          top: 92,
          message: '接口类型为-内部,且存在内部函数时,才可以创建存储过程!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1264,7 +1264,7 @@
          notification.warning({
            top: 92,
            message: '打开方式为 弹窗(表单)、提示框或直接执行,且使用系统函数时,才可以创建接口!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -1294,7 +1294,7 @@
          notification.warning({
            top: 92,
            message: '接口类型为-内部,且不存在内部函数时,才可以创建接口!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -1385,7 +1385,7 @@
      notification.warning({
        top: 92,
        message: '此按钮无子配置项!',
        duration: 10
        duration: 5
      })
    }
  }
@@ -1476,7 +1476,7 @@
        notification.warning({
          top: 92,
          message: '按钮名称不可相同!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1495,7 +1495,7 @@
        notification.warning({
          top: 92,
          message: '标签名称不可相同!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1664,7 +1664,7 @@
          notification.warning({
            top: 92,
            message: '编译错误',
            duration: 10
            duration: 5
          })
          this.setState({
            menucloseloading: false,
@@ -1806,7 +1806,7 @@
                notification.warning({
                  top: 92,
                  message: error.message,
                  duration: 10
                  duration: 5
                })
                resolve(false)
              } else {
@@ -1850,7 +1850,7 @@
            notification.warning({
              top: 92,
              message: msg,
              duration: 10
              duration: 5
            })
            return false
          } else {
@@ -1904,7 +1904,7 @@
              notification.warning({
                top: 92,
                message: response.message,
                duration: 10
                duration: 5
              })
            }
          })
@@ -1914,7 +1914,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['header.menu.basemsg'],
        duration: 10
        duration: 5
      })
    })
  }
@@ -1966,7 +1966,7 @@
            notification.warning({
              top: 92,
              message: error.message,
              duration: 10
              duration: 5
            })
            resolve(false)
          } else {
@@ -2144,7 +2144,7 @@
      notification.warning({
        top: 92,
        message: '请选择表名!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -2223,7 +2223,7 @@
      notification.warning({
        top: 92,
        message: '请选择添加字段',
        duration: 10
        duration: 5
      })
      return
    }
@@ -2390,7 +2390,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -2524,7 +2524,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['header.menu.config.notsave'],
        duration: 10
        duration: 5
      })
    } else {
      this.menuformRef.handleConfirm().then(res => {
@@ -2544,7 +2544,7 @@
          notification.warning({
            top: 92,
            message: this.state.dict['header.menu.config.update'],
            duration: 10
            duration: 5
          })
          return
        }
@@ -2625,7 +2625,7 @@
            notification.warning({
              top: 92,
              message: res.message,
              duration: 10
              duration: 5
            })
          }
        })
@@ -2633,7 +2633,7 @@
        notification.warning({
          top: 92,
          message: this.state.dict['header.menu.config.update'],
          duration: 10
          duration: 5
        })
      })
    }
@@ -2658,19 +2658,19 @@
      notification.warning({
        top: 92,
        message: '菜单尚未设置数据源,不可启用!',
        duration: 10
        duration: 5
      })
    } else if (!config.setting.primaryKey) {
      notification.warning({
        top: 92,
        message: '菜单尚未设置主键,不可启用!',
        duration: 10
        duration: 5
      })
    } else if (!tabinvalid) {
      notification.warning({
        top: 92,
        message: '菜单标签页设置错误(多行标签内,行标签不可为空),不可启用!',
        duration: 10
        duration: 5
      })
    } else {
      this.setState({
@@ -2808,7 +2808,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -2824,7 +2824,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['form.required.select'] + this.state.dict['header.form.thawbutton'],
        duration: 10
        duration: 5
      })
    } else {
@@ -2912,7 +2912,7 @@
          notification.warning({
            top: 92,
            message: '显示列已存在!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -2925,7 +2925,7 @@
        notification.warning({
          top: 92,
          message: '配置信息格式错误!',
          duration: 10
          duration: 5
        })
      }
    })
src/templates/comtableconfig/settingform/index.jsx
@@ -60,7 +60,7 @@
            notification.warning({
              top: 92,
              message: '请自定义函数或填写数据源!',
              duration: 10
              duration: 5
            })
          } else {
@@ -70,7 +70,7 @@
              notification.warning({
                top: 92,
                message: '数据源中不可使用' + error,
                duration: 10
                duration: 5
              })
              return
            }
src/templates/formtabconfig/actionform/index.jsx
@@ -409,13 +409,13 @@
            notification.warning({
              top: 92,
              message: this.props.dict['header.form.actionhelp.tablename'],
              duration: 10
              duration: 5
            })
          } else if (values.innerFunc === '' && values.sql !== '' && values.sqlType === '') {
            notification.warning({
              top: 92,
              message: this.props.dict['header.form.actionhelp.sqlType'],
              duration: 10
              duration: 5
            })
          } else {
            resolve(values)
src/templates/formtabconfig/index.jsx
@@ -180,7 +180,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -242,7 +242,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -269,7 +269,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -318,7 +318,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -649,7 +649,7 @@
          notification.warning({
            top: 92,
            message: '表单中字段名不可与主键重复!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -721,14 +721,14 @@
          notification.warning({
            top: 92,
            message: '字段已存在!',
            duration: 10
            duration: 5
          })
          return
        } else if (labelrepeat) {
          notification.warning({
            top: 92,
            message: '名称已存在!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -859,7 +859,7 @@
        notification.warning({
          top: 92,
          message: '请填写内部函数!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -916,7 +916,7 @@
        notification.warning({
          top: 92,
          message: '接口类型为-内部,且存在内部函数时,才可以创建存储过程!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1052,7 +1052,7 @@
        notification.warning({
          top: 92,
          message: '按钮名称不可相同!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1071,7 +1071,7 @@
        notification.warning({
          top: 92,
          message: '标签名称不可相同!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1218,7 +1218,7 @@
          notification.warning({
            top: 92,
            message: '编译错误',
            duration: 10
            duration: 5
          })
          this.setState({
@@ -1312,7 +1312,7 @@
                notification.warning({
                  top: 92,
                  message: error.message,
                  duration: 10
                  duration: 5
                })
                resolve(false)
              } else {
@@ -1344,7 +1344,7 @@
              notification.warning({
                top: 92,
                message: response.message,
                duration: 10
                duration: 5
              })
            }
          })
@@ -1354,7 +1354,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['header.menu.basemsg'],
        duration: 10
        duration: 5
      })
    })
  }
@@ -1399,7 +1399,7 @@
            notification.warning({
              top: 92,
              message: error.message,
              duration: 10
              duration: 5
            })
            resolve(false)
          } else {
@@ -1466,7 +1466,7 @@
      notification.warning({
        top: 92,
        message: '请选择表名!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -1612,7 +1612,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -1707,7 +1707,7 @@
      notification.warning({
        top: 92,
        message: '菜单尚未保存,请保存菜单配置!',
        duration: 10
        duration: 5
      })
    } else {
      this.menuformRef.handleConfirm().then(res => {
@@ -1717,7 +1717,7 @@
          notification.warning({
            top: 92,
            message: '菜单配置已修改,请保存!',
            duration: 10
            duration: 5
          })
        } else {
          this.setState({
@@ -1771,7 +1771,7 @@
              notification.warning({
                top: 92,
                message: res.message,
                duration: 10
                duration: 5
              })
            }
          })
@@ -1780,7 +1780,7 @@
        notification.warning({
          top: 92,
          message: '菜单基本信息已修改,请保存!',
          duration: 10
          duration: 5
        })
      })
    }
@@ -1821,31 +1821,31 @@
      notification.warning({
        top: 92,
        message: '尚未设置数据源,不可启用!',
        duration: 10
        duration: 5
      })
    } else if (config.setting.datatype === 'query' && !config.setting.primaryKey) {
      notification.warning({
        top: 92,
        message: '尚未设置主键,不可启用!',
        duration: 10
        duration: 5
      })
    } else if (!tabinvalid) {
      notification.warning({
        top: 92,
        message: '存在多余标签组,不可启用!',
        duration: 10
        duration: 5
      })
    } else if (!forminvalid) {
      notification.warning({
        top: 92,
        message: '存在多余空表单组,不可启用!',
        duration: 10
        duration: 5
      })
    } else if (primaryrepeat) {
      notification.warning({
        top: 92,
        message: '表单字段与主键重复,不可启用!',
        duration: 10
        duration: 5
      })
    } else {
      this.setState({
@@ -1999,7 +1999,7 @@
          notification.warning({
            top: 92,
            message: '不支持此表单类型!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -2014,7 +2014,7 @@
        notification.warning({
          top: 92,
          message: '配置信息格式错误!',
          duration: 10
          duration: 5
        })
      }
    })
src/templates/formtabconfig/settingform/index.jsx
@@ -47,7 +47,7 @@
      notification.warning({
        top: 92,
        message: '菜单信息错误!',
        duration: 10
        duration: 5
      })
    }
@@ -71,7 +71,7 @@
            notification.warning({
              top: 92,
              message: '数据源中不可使用' + error,
              duration: 10
              duration: 5
            })
            return
          }
src/templates/subtableconfig/actionform/index.jsx
@@ -632,7 +632,7 @@
                notification.warning({
                  top: 92,
                  message: '表格数据查询未使用数据源,导出Excel使用内部接口时,需自定义内部函数!',
                  duration: 10
                  duration: 5
                })
                return
              }
@@ -652,13 +652,13 @@
            notification.warning({
              top: 92,
              message: this.props.dict['header.form.actionhelp.tablename'],
              duration: 10
              duration: 5
            })
          } else if (values.innerFunc === '' && values.sql !== '' && values.sqlType === '') {
            notification.warning({
              top: 92,
              message: this.props.dict['header.form.actionhelp.sqlType'],
              duration: 10
              duration: 5
            })
          } else {
            resolve(values)
src/templates/subtableconfig/index.jsx
@@ -207,7 +207,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -269,7 +269,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -296,7 +296,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -336,7 +336,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -502,7 +502,7 @@
            notification.warning({
              top: 92,
              message: result.message,
              duration: 10
              duration: 5
            })
          }
@@ -585,14 +585,14 @@
          notification.warning({
            top: 92,
            message: '字段已存在!',
            duration: 10
            duration: 5
          })
          return
        } else if (labelrepet) {
          notification.warning({
            top: 92,
            message: '名称已存在!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -700,7 +700,7 @@
                  notification.warning({
                    top: 92,
                    message: response.message,
                    duration: 10
                    duration: 5
                  })
                } else {
                  this.setState({
@@ -762,14 +762,14 @@
          notification.warning({
            top: 92,
            message: '字段已存在!',
            duration: 10
            duration: 5
          })
          return
        } else if (labelrepet) {
          notification.warning({
            top: 92,
            message: '名称已存在!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -841,7 +841,7 @@
        notification.warning({
          top: 92,
          message: '请填写内部函数!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -887,7 +887,7 @@
              notification.warning({
                top: 92,
                message: '弹窗(表单)按钮,请先配置表单信息!',
                duration: 10
                duration: 5
              })
              resolve(false)
            }
@@ -905,7 +905,7 @@
            notification.warning({
              top: 92,
              message: '请完善导入Excel验证信息!',
              duration: 10
              duration: 5
            })
            resolve(false)
          }
@@ -983,7 +983,7 @@
        notification.warning({
          top: 92,
          message: '接口类型为-内部,且存在内部函数时,才可以创建存储过程!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1056,7 +1056,7 @@
      notification.warning({
        top: 92,
        message: '此按钮无子配置项!',
        duration: 10
        duration: 5
      })
    }
  }
@@ -1113,7 +1113,7 @@
        notification.warning({
          top: 92,
          message: '按钮名称不可相同!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1235,7 +1235,7 @@
          notification.warning({
            top: 92,
            message: '编译错误',
            duration: 10
            duration: 5
          })
          this.setState({
@@ -1337,7 +1337,7 @@
                notification.warning({
                  top: 92,
                  message: error.message,
                  duration: 10
                  duration: 5
                })
                resolve(false)
              } else {
@@ -1381,7 +1381,7 @@
            notification.warning({
              top: 92,
              message: msg,
              duration: 10
              duration: 5
            })
            return false
          } else {
@@ -1413,7 +1413,7 @@
              notification.warning({
                top: 92,
                message: response.message,
                duration: 10
                duration: 5
              })
            }
          })
@@ -1423,7 +1423,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['header.menu.basemsg'],
        duration: 10
        duration: 5
      })
    })
  }
@@ -1475,7 +1475,7 @@
            notification.warning({
              top: 92,
              message: error.message,
              duration: 10
              duration: 5
            })
            resolve(false)
          } else {
@@ -1599,7 +1599,7 @@
      notification.warning({
        top: 92,
        message: '请选择表名!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -1835,7 +1835,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -1957,7 +1957,7 @@
      notification.warning({
        top: 92,
        message: '菜单尚未保存,请保存菜单配置!',
        duration: 10
        duration: 5
      })
    } else {
      this.menuformRef.handleConfirm().then(res => {
@@ -1967,7 +1967,7 @@
          notification.warning({
            top: 92,
            message: '菜单配置已修改,请保存!',
            duration: 10
            duration: 5
          })
        } else {
          this.setState({
@@ -2037,7 +2037,7 @@
              notification.warning({
                top: 92,
                message: res.message,
                duration: 10
                duration: 5
              })
            }
          })
@@ -2046,7 +2046,7 @@
        notification.warning({
          top: 92,
          message: '菜单基本信息已修改,请保存!',
          duration: 10
          duration: 5
        })
      })
    }
@@ -2059,13 +2059,13 @@
      notification.warning({
        top: 92,
        message: '尚未设置数据源,不可启用!',
        duration: 10
        duration: 5
      })
    } else if (!config.setting.primaryKey) {
      notification.warning({
        top: 92,
        message: '尚未设置主键,不可启用!',
        duration: 10
        duration: 5
      })
    } else {
      this.setState({
@@ -2151,7 +2151,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -2167,7 +2167,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['form.required.select'] + this.state.dict['header.form.thawbutton'],
        duration: 10
        duration: 5
      })
    } else {
@@ -2197,7 +2197,7 @@
          notification.warning({
            top: 92,
            message: '打开方式为 弹窗(表单)、提示框或直接执行,且使用系统函数时,才可以创建接口!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -2226,7 +2226,7 @@
          notification.warning({
            top: 92,
            message: '接口类型为-内部,且不存在内部函数时,才可以创建接口!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -2250,14 +2250,14 @@
        notification.warning({
          top: 92,
          message: '配置信息格式错误!',
          duration: 10
          duration: 5
        })
        return
      } else if (!['pop', 'prompt', 'exec', 'excelIn', 'excelOut', 'popview'].includes(res.OpenType)) {
        notification.warning({
          top: 92,
          message: '不支持此打开方式!',
          duration: 10
          duration: 5
        })
        return
      }
src/templates/subtableconfig/settingform/index.jsx
@@ -59,7 +59,7 @@
            notification.warning({
              top: 92,
              message: '请自定义函数或填写数据源!',
              duration: 10
              duration: 5
            })
          } else {
            let error = Utils.verifySql(values.dataresource)
@@ -68,7 +68,7 @@
              notification.warning({
                top: 92,
                message: '数据源中不可使用' + error,
                duration: 10
                duration: 5
              })
              return
            }
src/templates/zshare/columnform/index.jsx
@@ -312,7 +312,7 @@
        notification.warning({
          top: 92,
          message: result.message,
          duration: 10
          duration: 5
        })
        targetOption.loading = false
      }
src/templates/zshare/createfunc/index.jsx
@@ -42,7 +42,7 @@
          notification.warning({
            top: 92,
            message: result.message,
            duration: 10
            duration: 5
          })
          resolve(false)
        } else {
@@ -70,7 +70,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
        return false
      } else {
@@ -123,7 +123,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
        return false
      } else if (isExist) {
@@ -153,7 +153,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
        return false
      } else {
@@ -180,7 +180,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
        return false
      } else {
src/templates/zshare/createinterface/index.jsx
@@ -238,7 +238,7 @@
          notification.warning({
            top: 92,
            message: result.message,
            duration: 10
            duration: 5
          })
          resolve(false)
        } else {
@@ -261,7 +261,7 @@
        notification.warning({
          top: 92,
          message: result.message,
          duration: 10
          duration: 5
        })
        return false
      } else {
@@ -424,14 +424,14 @@
            notification.warning({
              top: 92,
              message: result.message,
              duration: 10
              duration: 5
            })
            resolve(false)
          } else {
            notification.warning({
              top: 92,
              message: '请完善表单信息!',
              duration: 10
              duration: 5
            })
            resolve(false)
          }
@@ -509,7 +509,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
        return false
      } else {
@@ -531,7 +531,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
        return false
      } else {
src/templates/zshare/dragelement/index.jsx
@@ -61,7 +61,11 @@
    copycard.focus = true
    copycard.originCard = card
    if (copycard.OpenType === 'popview') { // 待完善
      copycard.linkTab = ''
    }
    let _val = JSON.parse(JSON.stringify(copycard))
    try {
src/templates/zshare/modalform/index.jsx
@@ -516,7 +516,7 @@
              notification.warning({
                top: 92,
                message: this.props.dict['header.form.selectItem.error'],
                duration: 10
                duration: 5
              })
            }
          } else if ((values.type === 'multiselect' || values.type === 'select' || values.type === 'link') && values.resourceType === '1') {
@@ -529,7 +529,7 @@
              notification.warning({
                top: 92,
                message: '最小值不可大于最大值!',
                duration: 10
                duration: 5
              })
            }
          } else if (values.type === 'linkMain') {
@@ -548,7 +548,7 @@
            notification.warning({
              top: 92,
              message: '数据源中不可使用' + error,
              duration: 10
              duration: 5
            })
            return
          }
src/templates/zshare/pasteform/index.jsx
@@ -34,7 +34,7 @@
            notification.warning({
              top: 92,
              message: '解析错误',
              duration: 10
              duration: 5
            })
            _config = ''
          }
src/templates/zshare/searchform/index.jsx
@@ -433,7 +433,7 @@
              notification.warning({
                top: 92,
                message: '数据源中不可使用' + error,
                duration: 10
                duration: 5
              })
              return
            }
@@ -443,7 +443,7 @@
            notification.warning({
              top: 92,
              message: this.props.dict['header.form.selectItem.error'],
              duration: 10
              duration: 5
            })
          }
        } else {
src/templates/zshare/verifycard/customform/index.jsx
@@ -55,21 +55,21 @@
          notification.warning({
            top: 92,
            message: 'sql中\'必须成对出现',
            duration: 10
            duration: 5
          })
          return
        } else if (_lparen !== _rparen) {
          notification.warning({
            top: 92,
            message: 'sql中()必须成对出现',
            duration: 10
            duration: 5
          })
          return
        } else if (/--/ig.test(values.sql)) {
          notification.warning({
            top: 92,
            message: '自定义sql语句中,不可出现字符 -- ,注释请用 /*内容*/',
            duration: 10
            duration: 5
          })
          return
        }
@@ -80,7 +80,7 @@
          notification.warning({
            top: 92,
            message: 'sql中不可使用' + error,
            duration: 10
            duration: 5
          })
          return
        }
src/templates/zshare/verifycard/customscript/index.jsx
@@ -15,6 +15,7 @@
    usefulfields: PropTypes.string, // 可用字段
    initsql: PropTypes.string,      // sql前缀
    systemScripts: PropTypes.array, // 系统脚本
    customScripts: PropTypes.array, // 自定义脚本
    scriptsChange: PropTypes.func   // 表单
  }
@@ -52,21 +53,21 @@
          notification.warning({
            top: 92,
            message: 'sql中\'必须成对出现',
            duration: 10
            duration: 5
          })
          return
        } else if (_lparen !== _rparen) {
          notification.warning({
            top: 92,
            message: 'sql中()必须成对出现',
            duration: 10
            duration: 5
          })
          return
        } else if (/--/ig.test(values.sql)) {
          notification.warning({
            top: 92,
            message: '自定义sql语句中,不可出现字符 -- ,注释请用 /*内容*/',
            duration: 10
            duration: 5
          })
          return
        }
@@ -77,7 +78,7 @@
          notification.warning({
            top: 92,
            message: 'sql中不可使用' + error,
            duration: 10
            duration: 5
          })
          return
        }
@@ -86,9 +87,19 @@
          aaa:
        `
        let _initsql = ''
        this.props.customScripts.forEach(script => {
          if (this.state.editItem && this.state.editItem.uuid === script.uuid) return
          if (script.status === 'false' || script.position !== 'init') return
          _initsql += `
            ${script.sql}
            `
        })
        let param = {
          func: 's_debug_sql',
          LText: this.props.initsql + values.sql + tail
          LText: this.props.initsql + _initsql + values.sql + tail
        }
        param.LText = Utils.formatOptions(param.LText)
@@ -173,6 +184,7 @@
                <Radio.Group>
                  <Radio value="front">sql前</Radio>
                  <Radio value="back">sql后</Radio>
                  <Radio value="init">初始化</Radio>
                </Radio.Group>
              )}
            </Form.Item>
src/templates/zshare/verifycard/index.jsx
@@ -231,7 +231,15 @@
        title: '执行位置',
        dataIndex: 'position',
        width: '10%',
        render: (text, record) => record.position !== 'front' ? 'sql后' : 'sql前'
        render: (text, record) => {
          if (record.position === 'init') {
            return '初始化'
          } else if (record.position === 'front') {
            return 'sql前'
          } else {
            return 'sql后'
          }
        }
      },
      {
        title: '状态',
@@ -603,7 +611,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -674,7 +682,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -702,7 +710,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -737,7 +745,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -765,7 +773,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -806,7 +814,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -1147,13 +1155,13 @@
        className: 'notification-custom-error',
        top: 92,
        message: '执行失败!',
        duration: 15
        duration: 10
      })
    } else if (errorType === 'N') {
      notification.error({
        top: 92,
        message: '执行失败!',
        duration: 15
        duration: 10
      })
    } else if (errorType === 'E') {
      Modal.error({
@@ -1181,7 +1189,7 @@
        notification.warning({
          top: 92,
          message: '不执行默认sql时,必须设置自定义脚本!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1371,6 +1379,7 @@
              usefulfields={this.state.usefulfields}
              initsql={this.state.initsql}
              dict={this.props.dict}
              customScripts={verify.scripts}
              systemScripts={this.state.systemScripts}
              scriptsChange={this.scriptsChange}
              wrappedComponentRef={(inst) => this.scriptsForm = inst}
@@ -1422,7 +1431,7 @@
                </Col>
                <Col span={8}>
                  <Form.Item label={'停留时间'}>
                    <InputNumber defaultValue={verify.ntime || 15} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ntime')}} />
                    <InputNumber defaultValue={verify.ntime || 10} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ntime')}} />
                  </Form.Item>
                </Col>
              </Row>
@@ -1437,7 +1446,7 @@
                </Col>
                <Col span={8}>
                  <Form.Item label={'停留时间'}>
                    <InputNumber defaultValue={verify.ftime || 15} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ftime')}} />
                    <InputNumber defaultValue={verify.ftime || 10} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ftime')}} />
                  </Form.Item>
                </Col>
              </Row>
@@ -1511,7 +1520,7 @@
                </Col>
                <Col span={8}>
                  <Form.Item label={'停留时间'}>
                    <InputNumber defaultValue={verify.ntime || 15} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ntime')}} />
                    <InputNumber defaultValue={verify.ntime || 10} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ntime')}} />
                  </Form.Item>
                </Col>
              </Row>
@@ -1526,7 +1535,7 @@
                </Col>
                <Col span={8}>
                  <Form.Item label={'停留时间'}>
                    <InputNumber defaultValue={verify.ftime || 15} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ftime')}} />
                    <InputNumber defaultValue={verify.ftime || 10} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ftime')}} />
                  </Form.Item>
                </Col>
              </Row>
src/templates/zshare/verifycardexcelin/columnform/index.jsx
@@ -82,16 +82,6 @@
          values.limit = ''
        }
        // let _col = columns.filter(col => col.uuid !== values.uuid && col.Column === values.Column)
        // if (_col.length > 0) {
        //   notification.warning({
        //     top: 92,
        //     message: 'Excel列字段名,不可重复!',
        //     duration: 10
        //   })
        //   return
        // }
        this.props.columnChange(values)
        this.setState({
          editItem: null,
src/templates/zshare/verifycardexcelin/customscript/index.jsx
@@ -105,21 +105,21 @@
          notification.warning({
            top: 92,
            message: 'sql中\'必须成对出现',
            duration: 10
            duration: 5
          })
          return
        } else if (_lparen !== _rparen) {
          notification.warning({
            top: 92,
            message: 'sql中()必须成对出现',
            duration: 10
            duration: 5
          })
          return
        } else if (/--/ig.test(values.sql)) {
          notification.warning({
            top: 92,
            message: '自定义sql语句中,不可出现字符 -- ,注释请用 /*内容*/',
            duration: 10
            duration: 5
          })
          return
        }
@@ -130,7 +130,7 @@
          notification.warning({
            top: 92,
            message: 'sql中不可使用' + error,
            duration: 10
            duration: 5
          })
          return
        }
@@ -139,9 +139,19 @@
          aaa:
        `
        let _initsql = ''
        this.props.scripts.forEach(script => {
          if (this.state.editItem && this.state.editItem.uuid === script.uuid) return
          if (script.status === 'false' || script.position !== 'init') return
          _initsql += `
            ${script.sql}
            `
        })
        let param = {
          func: 's_debug_sql',
          LText: this.state.verifySql + values.sql + tail
          LText: this.state.verifySql + _initsql + values.sql + tail
        }
        param.LText = Utils.formatOptions(param.LText)
        param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000'
src/templates/zshare/verifycardexcelin/index.jsx
@@ -256,7 +256,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -514,14 +514,14 @@
            notification.warning({
              top: 92,
              message: '请设置Excel列字段!',
              duration: 10
              duration: 5
            })
            return
          } else if (_verify.columns.length > cols.length) {
            notification.warning({
              top: 92,
              message: 'Excel列字段名,不可重复!',
              duration: 10
              duration: 5
            })
            return
          } else if (_verify.range === 1) {
@@ -530,7 +530,7 @@
              notification.warning({
                top: 92,
                message: '忽略首行时,会使用Text值校验Excel首行内容,Text值与Excel表首行内容相同,且均不可为空!',
                duration: 10
                duration: 5
              })
              return
            }
@@ -566,7 +566,7 @@
          notification.warning({
            top: 92,
            message: '请设置Excel表名!',
            duration: 10
            duration: 5
          })
        }
      })
@@ -598,13 +598,13 @@
        className: 'notification-custom-error',
        top: 92,
        message: '执行失败!',
        duration: 15
        duration: 10
      })
    } else if (errorType === 'N') {
      notification.error({
        top: 92,
        message: '执行失败!',
        duration: 15
        duration: 10
      })
    } else if (errorType === 'E') {
      Modal.error({
@@ -768,7 +768,7 @@
                </Col>
                <Col span={8}>
                  <Form.Item label={'停留时间'}>
                    <InputNumber defaultValue={verify.ntime || 15} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ntime')}} />
                    <InputNumber defaultValue={verify.ntime || 10} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ntime')}} />
                  </Form.Item>
                </Col>
              </Row>
@@ -783,7 +783,7 @@
                </Col>
                <Col span={8}>
                  <Form.Item label={'停留时间'}>
                    <InputNumber defaultValue={verify.ftime || 15} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ftime')}} />
                    <InputNumber defaultValue={verify.ftime || 10} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ftime')}} />
                  </Form.Item>
                </Col>
              </Row>
src/templates/zshare/verifycardexcelout/columnform/index.jsx
@@ -28,21 +28,10 @@
  handleConfirm = () => {
    // const { columns } = this.props
    // 表单提交时检查输入值是否正确
    this.props.form.validateFieldsAndScroll((err, values) => {
      if (!err) {
        values.uuid = this.state.editItem ? this.state.editItem.uuid : ''
        // let _col = columns.filter(col => col.uuid !== values.uuid && col.Column === values.Column)
        // if (_col.length > 0) {
        //   notification.warning({
        //     top: 92,
        //     message: 'Excel列字段名,不可重复!',
        //     duration: 10
        //   })
        //   return
        // }
        this.props.columnChange(values)
        this.setState({
src/templates/zshare/verifycardexcelout/index.jsx
@@ -165,13 +165,13 @@
        className: 'notification-custom-error',
        top: 92,
        message: '执行失败!',
        duration: 15
        duration: 10
      })
    } else if (errorType === 'N') {
      notification.error({
        top: 92,
        message: '执行失败!',
        duration: 15
        duration: 10
      })
    } else if (errorType === 'E') {
      Modal.error({
@@ -202,7 +202,7 @@
        notification.warning({
          top: 92,
          message: 'Excel列字段名,不可重复!',
          duration: 10
          duration: 5
        })
        
        return
@@ -281,7 +281,7 @@
                </Col>
                <Col span={8}>
                  <Form.Item label={'停留时间'}>
                    <InputNumber defaultValue={verify.ntime || 15} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ntime')}} />
                    <InputNumber defaultValue={verify.ntime || 10} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ntime')}} />
                  </Form.Item>
                </Col>
              </Row>
@@ -296,7 +296,7 @@
                </Col>
                <Col span={8}>
                  <Form.Item label={'停留时间'}>
                    <InputNumber defaultValue={verify.ftime || 15} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ftime')}} />
                    <InputNumber defaultValue={verify.ftime || 10} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ftime')}} />
                  </Form.Item>
                </Col>
              </Row>
src/templates/zshare/verifycardprint/index.jsx
@@ -105,7 +105,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -127,13 +127,13 @@
        className: 'notification-custom-error',
        top: 92,
        message: '执行失败!',
        duration: 15
        duration: 10
      })
    } else if (errorType === 'N') {
      notification.error({
        top: 92,
        message: '执行失败!',
        duration: 15
        duration: 10
      })
    } else if (errorType === 'E') {
      Modal.error({
@@ -189,14 +189,14 @@
              notification.warning({
                top: 92,
                message: '打印类型表格中Value、Text字段不可为空!',
                duration: 10
                duration: 5
              })
              return
            } else if (!isvalid) {
              notification.warning({
                top: 92,
                message: '打印类型表格中Value字段不可重复!',
                duration: 10
                duration: 5
              })
              return
            }
@@ -209,7 +209,7 @@
          notification.warning({
            top: 92,
            message: '链接地址与打印模板不可为空!',
            duration: 10
            duration: 5
          })
        }
      })
@@ -403,7 +403,7 @@
                </Col>
                <Col span={8}>
                  <Form.Item label={'停留时间'}>
                    <InputNumber defaultValue={verify.ntime || 15} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ntime')}} />
                    <InputNumber defaultValue={verify.ntime || 10} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ntime')}} />
                  </Form.Item>
                </Col>
              </Row>
@@ -418,7 +418,7 @@
                </Col>
                <Col span={8}>
                  <Form.Item label={'停留时间'}>
                    <InputNumber defaultValue={verify.ftime || 15} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ftime')}} />
                    <InputNumber defaultValue={verify.ftime || 10} min={1} max={10000} precision={0} onChange={(val) => {this.timeChange(val, 'ftime')}} />
                  </Form.Item>
                </Col>
              </Row>
src/utils/utils.js
@@ -96,103 +96,40 @@
    let salt = 'minKe' // 盐值
    // 关键字转换规则
    let format = [{
      key: 'select',
      value: ' msltk '
    }, {
      key: 'from',
      value: ' mfrmk '
    }, {
      key: 'where',
      value: ' mwhrk '
    }, {
      key: 'order by',
      value: ' modbk '
    }, {
      key: 'asc',
      value: ' modack '
    }, {
      key: 'desc',
      value: ' moddesk '
    }, {
      key: 'top',
      value: ' mtpk '
    }, {
      key: 'like',
      value: ' mlkk '
    }, {
      key: 'not like',
      value: ' mnlkk '
    }, {
      key: 'between',
      value: ' mbtnk '
    }, {
      key: 'and',
      value: ' madk '
    }, {
      key: 'insert',
      value: ' mistk '
    }, {
      key: 'into',
      value: ' mitk '
    }, {
      key: 'update',
      value: ' muptk '
    }, {
      key: 'delete',
      value: ' mdelk '
    }, {
      key: 'begin',
      value: ' mbgink '
    }, {
      key: 'end',
      value: ' medk '
    }, {
      key: 'if',
      value: ' mefk '
    }, {
      key: 'while',
      value: ' mwilk '
    }, {
      key: 'create',
      value: ' mcrtk '
    }, {
      key: 'alter',
      value: ' matek '
    }, {
      key: 'len',
      value: ' mlnk '
    }, {
      key: 'left',
      value: ' mlftk '
    }, {
      key: 'right',
      value: ' mritk '
    }, {
      key: 'union',
      value: ' munok '
    }, {
      key: 'varchar',
      value: ' mvcrk '
    }, {
      key: 'getdate',
      value: ' mgtdtk '
    }, {
      key: 'TRY',
      value: ' mtryonek '
    }, {
      key: 'TRAN',
      value: ' mtrnk '
    }, {
      key: 'goto',
      value: ' mgtk '
    }, {
      key: 'set',
      value: ' mstk '
    }, {
      key: 'ROLLBACK',
      value: ' mrlbkk '
    }]
    let format = [
      { key: 'select', value: ' msltk ' },
      { key: 'from', value: ' mfrmk ' },
      { key: 'where', value: ' mwhrk ' },
      { key: 'order by', value: ' modbk ' },
      { key: 'asc', value: ' modack ' },
      { key: 'desc', value: ' moddesk ' },
      { key: 'top', value: ' mtpk ' },
      { key: 'like', value: ' mlkk ' },
      { key: 'not like', value: ' mnlkk ' },
      { key: 'between', value: ' mbtnk ' },
      { key: 'and', value: ' madk ' },
      { key: 'insert', value: ' mistk ' },
      { key: 'into', value: ' mitk ' },
      { key: 'update', value: ' muptk ' },
      { key: 'delete', value: ' mdelk ' },
      { key: 'begin', value: ' mbgink ' },
      { key: 'end', value: ' medk ' },
      { key: 'if', value: ' mefk ' },
      { key: 'while', value: ' mwilk ' },
      { key: 'create', value: ' mcrtk ' },
      { key: 'alter', value: ' matek ' },
      { key: 'len', value: ' mlnk ' },
      { key: 'left', value: ' mlftk ' },
      { key: 'right', value: ' mritk ' },
      { key: 'union', value: ' munok ' },
      { key: 'varchar', value: ' mvcrk ' },
      { key: 'getdate', value: ' mgtdtk ' },
      { key: 'TRY', value: ' mtryonek ' },
      { key: 'TRAN', value: ' mtrnk ' },
      { key: 'goto', value: ' mgtk ' },
      { key: 'set', value: ' mstk ' },
      { key: 'ROLLBACK', value: ' mrlbkk ' }
    ]
    if (!isUnFormat) { // 加密
      value = value.replace(/\n/ig, ' \n ')
@@ -536,8 +473,28 @@
    let _topline = btn.range || 0
    let upId = this.getuuid()
    if (btn.scripts && btn.scripts.length > 0) {
      btn.scripts = btn.scripts.filter(item => item.status !== 'false')
    let _initCustomScript = '' // 初始化脚本
    let _prevCustomScript = '' // 默认sql前执行脚本
    let _backCustomScript = '' // 默认sql后执行脚本
    if (btn.scripts) {
      btn.scripts.forEach(script => {
        if (script.status === 'false') return
        if (script.position === 'init') {
          _initCustomScript += `
          ${script.sql}
          `
        } else if (script.position === 'front') {
          _prevCustomScript += `
          ${script.sql}
          `
        } else {
          _backCustomScript += `
          ${script.sql}
          `
        }
      })
    }
    let _Ltext = data.map((item, lindex) => {
@@ -682,31 +639,19 @@
      let _insert = ''
      if (btn.scripts && btn.scripts.length > 0) {
        btn.scripts.forEach(script => {
          if (script.position !== 'front') return
          _insert += `
          ${script.sql}
          `
        })
      if (_prevCustomScript) {
        _insert += _prevCustomScript
      }
      if (btn.default !== 'false') {
        _insert = `
        _insert += `
        Insert into ${item.sheet} (${fields},createuserid,createuser,createstaff,bid) 
        Select ${fields},@userid@,@username,@fullname,@BID@ From @${item.sheet}
        `
      }
      if (btn.scripts && btn.scripts.length > 0) {
        btn.scripts.forEach(script => {
          if (script.position === 'front') return
          _insert += `
          ${script.sql}
          `
        })
      if (_backCustomScript) {
        _insert += _backCustomScript
      }
      _sql = `declare @${item.sheet} table (${declarefields.join(',')},jskey nvarchar(50) )
@@ -715,7 +660,7 @@
      Select  @ErrorCode='', @retmsg=''
      
      select @UserName=UserName,@FullName=FullName from SUsers where UID=@UserID@
      ${_initCustomScript}
      Insert into  @${item.sheet} (${fields},jskey)
      ${_Ltext}
      ${_uniquesql}
@@ -749,6 +694,30 @@
    if (verify.default !== 'false') { // 判断是否使用默认sql
      _actionType = btn.sqlType
    }
    let _initCustomScript = '' // 初始化脚本
    let _prevCustomScript = '' // 默认sql前执行脚本
    let _backCustomScript = '' // 默认sql后执行脚本
    if (verify.scripts) {
      verify.scripts.forEach(item => {
        if (item.status === 'false') return
        if (item.position === 'init') {
          _initCustomScript += `
          ${item.sql}
          `
        } else if (item.position === 'front') {
          _prevCustomScript += `
          ${item.sql}
          `
        } else {
          _backCustomScript += `
          ${item.sql}
          `
        }
      })
    }
    // 需要声明的变量集
@@ -872,9 +841,6 @@
    if (verify.billcodes) {
      verify.billcodes = verify.billcodes.filter(item => item.status !== 'false')
    }
    if (verify.scripts) {
      verify.scripts = verify.scripts.filter(item => item.status !== 'false')
    }
    let userName = sessionStorage.getItem('User_Name') || ''
    let fullName = sessionStorage.getItem('Full_Name') || ''
@@ -887,6 +853,10 @@
    // 初始化凭证及用户信息字段
    _sql += `select @BVoucher='',@FIBVoucherDate='',@FiYear='',@ErrorCode='',@retmsg='',@UserName='${userName}', @FullName='${fullName}'
      `
    if (_initCustomScript) {
      _sql += _initCustomScript
    }
    // 启用账期验证
    if (verify.accountdate === 'true') {
@@ -1077,16 +1047,8 @@
      let values = []
      formdata.forEach(item => {
        if (item.type === 'funcvar') {
          keys.push(item.key.toLowerCase())
          values.push('@' + item.key)
        } else if (item.type === 'number') {
          keys.push(item.key.toLowerCase())
          values.push(item.value)
        } else {
          keys.push(item.key.toLowerCase())
          values.push('\'' + item.value + '\'')
        }
        keys.push(item.key.toLowerCase())
        values.push('@' + item.key)
      })
      if (!keys.includes(primaryKey.toLowerCase())) {
@@ -1129,18 +1091,7 @@
      formdata.forEach(item => {
        _arr.push(item.key.toLowerCase())
        if (item.type === 'funcvar') {
          if (_actionType === 'update') {
            _form.push(item.key + '=@' + item.key)
          } else if (_actionType === 'insertOrUpdate') { // 添加或修改时,函数变量添加表单数值
            _form.push(item.key + '=\'' + item.value + '\'')
          }
        } else if (item.type === 'number') {
          _form.push(item.key + '=' + item.value)
        } else {
          _form.push(item.key + '=\'' + item.value + '\'')
        }
        _form.push(item.key + '=@' + item.key)
      })
      if (!_arr.includes('modifydate')) {
@@ -1164,16 +1115,8 @@
      _updatesql = `update ${btn.sql} set ${_form} where ${primaryKey}=@${primaryKeyName};`
    }
    // 拼接自定义脚本
    if (verify.scripts && verify.scripts.length > 0) {
      let _scripts = ''
      verify.scripts.forEach(item => {
        if (item.position !== 'front') return
        _scripts += `
        ${item.sql}`
      })
      _sql += `${_scripts}`
    if (_prevCustomScript) {
      _sql += _prevCustomScript
    }
    // 添加、修改、逻辑删除、物理删除
@@ -1211,16 +1154,8 @@
      `
    }
    // 拼接自定义脚本
    if (verify.scripts && verify.scripts.length > 0) {
      let _scripts = ''
      verify.scripts.forEach(item => {
        if (item.position === 'front') return
        _scripts += `
        ${item.sql}`
      })
      _sql += `${_scripts}`
    if (_backCustomScript) {
      _sql += _backCustomScript
    }
    _sql += `
src/views/printTemplate/index.jsx
@@ -365,7 +365,7 @@
          notification.warning({
            top: 92,
            message: '配置信息解析错误!',
            duration: 10
            duration: 5
          })
          _config = ''
        }
@@ -408,7 +408,7 @@
      notification.warning({
        top: 92,
        message: result.ErrMesg,
        duration: 10
        duration: 5
      })
    }
  }
@@ -484,7 +484,7 @@
        notification.warning({
          top: 92,
          message: error.ErrMesg,
          duration: 10
          duration: 5
        })
        return
      }
@@ -695,7 +695,7 @@
      notification.warning({
        top: 92,
        message: '纸张纵横比不可超过10!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -712,7 +712,7 @@
      notification.warning({
        top: 92,
        message: '编译错误!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -736,7 +736,7 @@
            notification.warning({
              top: 92,
              message: result.ErrMesg,
              duration: 10
              duration: 5
            })
            this.setState({
              saveloading: false
@@ -763,7 +763,7 @@
        notification.warning({
          top: 92,
          message: res.ErrMesg,
          duration: 10
          duration: 5
        })
      }
      this.setState({