king
2024-06-12 730e05cb66cac2c3a9b90df5dfae3c4c1394aa6e
2024-06-12
11个文件已修改
58 ■■■■■ 已修改文件
src/menu/components/share/actioncomponent/formconfig.jsx 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/table/edit-table/columns/editColumn/formconfig.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/datasource/verifycard/settingform/index.jsx 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/table/edit-table/normalTable/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/excelInbutton/index.jsx 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/exceloutbutton/index.jsx 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/normalbutton/index.jsx 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/mutilform/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/topSearch/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/formconfig.jsx 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/utils-datamanage.js 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/actioncomponent/formconfig.jsx
@@ -1374,7 +1374,6 @@
      key: 'database',
      label: '数据库',
      initVal: card.database || 'local',
      tooltip: '测试系统数据库均指向本地,正式系统可使用单点数据库。',
      options: [{
        value: 'local',
        text: '本地'
@@ -2579,7 +2578,6 @@
      key: 'database',
      label: '数据库',
      initVal: card.database || 'local',
      tooltip: '测试系统数据库均指向本地,正式系统可使用单点数据库。',
      options: [{
        value: 'local',
        text: '本地'
src/menu/components/table/edit-table/columns/editColumn/formconfig.jsx
@@ -690,7 +690,6 @@
      key: 'database',
      label: '数据库',
      initVal: card.database || 'local',
      tooltip: '测试系统数据库均指向本地,正式系统可使用单点数据库。',
      options: [{
        value: 'local',
        text: '本地'
src/menu/datasource/verifycard/settingform/index.jsx
@@ -519,12 +519,7 @@
              </Form.Item>
            </Col> : null}
            {setting.interType === 'system' ? <Col span={8}>
              <Form.Item label={
                <Tooltip placement="topLeft" title="测试系统数据库均指向本地,正式系统可使用单点数据库。">
                  <QuestionCircleOutlined className="mk-form-tip" />
                  数据库
                </Tooltip>
              }>
              <Form.Item label="数据库">
                {getFieldDecorator('database', {
                  initialValue: setting.database || 'local'
                })(
src/tabviews/custom/components/table/edit-table/normalTable/index.jsx
@@ -1874,7 +1874,7 @@
    let _sso = _sql
    deForms.forEach(item => {
      if (item.database === 'sso' && (window.GLOB.mkHS || window.GLOB.systemType === 'production')) {
      if (item.database === 'sso') {
        let sql = _sso + item.base_sql
        _sso = ''
src/tabviews/zshare/actionList/excelInbutton/index.jsx
@@ -354,10 +354,8 @@
        param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp)
      }
      if (btn.database === 'sso') {
        if ((window.GLOB.mkHS || window.GLOB.systemType === 'production') && window.GLOB.mainSystemApi) {
          param.rduri = window.GLOB.mainSystemApi
        }
      if (btn.database === 'sso' && window.GLOB.mainSystemApi) {
        param.rduri = window.GLOB.mainSystemApi
      }
      param.menuname = btn.logLabel
src/tabviews/zshare/actionList/exceloutbutton/index.jsx
@@ -159,10 +159,8 @@
    if (btn.pagination !== 'true') {
      if (btn.intertype === 'system') { // 使用系统函数
        let param = this.getExcelDefaultParam(viewParam.orderBy, viewParam.search)
        if (btn.database === 'sso') {
          if ((window.GLOB.mkHS || window.GLOB.systemType === 'production') && window.GLOB.mainSystemApi) {
            param.rduri = window.GLOB.mainSystemApi
          }
        if (btn.database === 'sso' && window.GLOB.mainSystemApi) {
          param.rduri = window.GLOB.mainSystemApi
        }
        Api.genericInterface(param).then(result => {
          if (result.status) {
@@ -380,10 +378,8 @@
    let param = null
    if (btn.intertype === 'system') { // 使用系统函数
      param = this.getExcelDefaultParam(viewParam.orderBy, viewParam.search, true, pageIndex, pageSize)
      if (btn.database === 'sso') {
        if ((window.GLOB.mkHS || window.GLOB.systemType === 'production') && window.GLOB.mainSystemApi) {
          param.rduri = window.GLOB.mainSystemApi
        }
      if (btn.database === 'sso' && window.GLOB.mainSystemApi) {
        param.rduri = window.GLOB.mainSystemApi
      }
    } else if (btn.intertype === 'inner') { // 使用内部函数
      param = this.getExcelCustomParam(viewParam.orderBy, viewParam.search, true, pageIndex, pageSize)
src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -1137,13 +1137,11 @@
            return item
          })
        }
        if (btn.database === 'sso') {
          if ((window.GLOB.mkHS || window.GLOB.systemType === 'production') && window.GLOB.mainSystemApi) {
            params = params.map(item => {
              item.rduri = window.GLOB.mainSystemApi
              return item
            })
          }
        if (btn.database === 'sso' && window.GLOB.mainSystemApi) {
          params = params.map(item => {
            item.rduri = window.GLOB.mainSystemApi
            return item
          })
        }
      } else {
        params = this.getInnerParam(data, formdata)
src/tabviews/zshare/mutilform/index.jsx
@@ -856,7 +856,7 @@
    let _sso = _sql
    deForms.forEach(item => {
      if (item.database === 'sso' && (window.GLOB.mkHS || window.GLOB.systemType === 'production')) {
      if (item.database === 'sso') {
        let sql = _sso + item.base_sql
        _sso = ''
@@ -1013,7 +1013,7 @@
      param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
      param.secretkey = Utils.encrypt(window.GLOB.execType === 'x' ? '' : param.LText, param.timestamp)
      if (form.database === 'sso' && window.GLOB.mainSystemApi && (window.GLOB.mkHS || window.GLOB.systemType === 'production')) {
      if (form.database === 'sso' && window.GLOB.mainSystemApi) {
        param.rduri = window.GLOB.mainSystemApi
      }
      if (window.GLOB.mkHS) { // 云端数据验证
src/tabviews/zshare/topSearch/index.jsx
@@ -215,7 +215,7 @@
              })
            } else { // 合并请求,区分本地及系统
              _sql = _sql.replace(/%/ig, ' mpercent ')
              if (item.database === 'sso' && (window.GLOB.mkHS || window.GLOB.systemType === 'production')) {
              if (item.database === 'sso') {
                if (mainItems.length === 0) {
                  _sql = _declare + _sql
                }
@@ -558,7 +558,7 @@
      param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
      param.secretkey = Utils.encrypt(window.GLOB.execType === 'x' ? '' : param.LText, param.timestamp)
      if (item.database === 'sso' && window.GLOB.mainSystemApi && (window.GLOB.mkHS || window.GLOB.systemType === 'production')) {
      if (item.database === 'sso' && window.GLOB.mainSystemApi) {
        param.rduri = window.GLOB.mainSystemApi
      }
src/templates/zshare/formconfig.jsx
@@ -439,7 +439,6 @@
      key: 'database',
      label: '数据库',
      initVal: card.database || 'local',
      tooltip: '测试系统数据库均指向本地,正式系统可使用单点数据库。',
      options: [{
        value: 'local',
        text: '本地'
@@ -1873,7 +1872,6 @@
      key: 'database',
      label: '数据库',
      initVal: card.database || 'local',
      tooltip: '测试系统数据库均指向本地,正式系统可使用单点数据库。',
      options: [{
        value: 'local',
        text: '本地'
src/utils/utils-datamanage.js
@@ -323,10 +323,8 @@
      param.s_version_up = 'true'
    }
    if (setting.database === 'sso') {
      if ((window.GLOB.mkHS || window.GLOB.systemType === 'production') && window.GLOB.mainSystemApi) {
        param.rduri = window.GLOB.mainSystemApi
      }
    if (setting.database === 'sso' && window.GLOB.mainSystemApi) {
      param.rduri = window.GLOB.mainSystemApi
    }
    return param