king
2020-06-29 a3ba6c7e1a2022484386a4c66e901607233060ba
2020-06-29
3个文件已修改
6 ■■■■■ 已修改文件
src/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/excelInbutton/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/utils.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/index.js
@@ -19,7 +19,7 @@
options.cakey = window.atob(options.cakey.replace('$mk', ''))
options.cdomain = window.atob(options.cdomain.replace('$mk', ''))
if (options.cdomain) {
if (options.cdomain && options.sysType !== 'cloud') {
  options.cloudServiceApi = options.cdomain + '/webapi/dostars'
}
src/tabviews/zshare/actionList/excelInbutton/index.jsx
@@ -261,7 +261,7 @@
        result.bottom = result.bottom.replace(/@\$|\$@/ig, '')
      }
      
      param.excel_in = 'true'
      param.excel_in_type = 'true'
      param.LText_insert = Utils.formatOptions(result.insert)
      param.LText_bottom = Utils.formatOptions(result.bottom)
      param.LText = Utils.formatOptions(result.sql)
src/utils/utils.js
@@ -828,6 +828,8 @@
      let fields = []
      btn.columns.forEach(col => {
        if (col.import === 'false') return
        if (col.type === 'date') {
          declarefields.push(`${col.Column} Nvarchar(50)`)
        } else {