king
2021-01-26 f89183feaeaf4d52b994bb4d3f9a8d7ca6dadec4
2021-01-26
10个文件已修改
61 ■■■■ 已修改文件
src/menu/popview/index.jsx 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/commontable/index.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/subtable/index.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/subtabtable/index.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/normalbutton/index.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/sharecomponent/settingcomponent/settingform/simplescript/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/verifycard/callbackcustomscript/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/billprint/index.scss 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/menudesign/index.jsx 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/menudesign/index.scss 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/popview/index.jsx
@@ -344,6 +344,11 @@
      return
    }
    this.setState({
      menuloading: true
    })
    setTimeout(() => {
    config.components = this.filterConfig(config.components)
    if (config.enabled && this.verifyConfig()) {
@@ -387,9 +392,6 @@
    btnParam.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
    btnParam.secretkey = Utils.encrypt(btnParam.LText, btnParam.timestamp)
    this.setState({
      menuloading: true
    }, () => {
      new Promise(resolve => {
        if (delButtons.length === 0) {
          resolve({
@@ -476,7 +478,7 @@
          })
        }
      })
    })
    }, 300)
  }
  onEnabledChange = () => {
src/tabviews/commontable/index.jsx
@@ -588,6 +588,7 @@
      Object.keys(obj).forEach(key => {
        let val = obj[key]
        if (val === null || val === undefined) return
        if (typeof(val) === 'object') {
          if (Array.isArray(val)) {
            val.forEach(item => {
@@ -601,7 +602,7 @@
            val.$$key = tb + '_' + key
            subObjs.push(val)
          }
        } else if (val !== null && val !== undefined) {
        } else {
          keys.push(key)
          vals.push(`'${val}'`)
        }
src/tabviews/subtable/index.jsx
@@ -517,6 +517,7 @@
      Object.keys(obj).forEach(key => {
        let val = obj[key]
        if (val === null || val === undefined) return
        if (typeof(val) === 'object') {
          if (Array.isArray(val)) {
            val.forEach(item => {
@@ -530,7 +531,7 @@
            val.$$key = tb + '_' + key
            subObjs.push(val)
          }
        } else if (val !== null && val !== undefined) {
        } else {
          keys.push(key)
          vals.push(`'${val}'`)
        }
src/tabviews/subtabtable/index.jsx
@@ -478,6 +478,7 @@
      Object.keys(obj).forEach(key => {
        let val = obj[key]
        if (val === null || val === undefined) return
        if (typeof(val) === 'object') {
          if (Array.isArray(val)) {
            val.forEach(item => {
@@ -491,7 +492,7 @@
            val.$$key = tb + '_' + key
            subObjs.push(val)
          }
        } else if (val !== null && val !== undefined) {
        } else {
          keys.push(key)
          vals.push(`'${val}'`)
        }
src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -775,6 +775,7 @@
      Object.keys(obj).forEach(key => {
        let val = obj[key]
        if (val === null || val === undefined) return
        if (typeof(val) === 'object') {
          if (Array.isArray(val)) {
            val.forEach(item => {
@@ -788,7 +789,7 @@
            val.$$key = tb + '_' + key
            subObjs.push(val)
          }
        } else if (val !== null && val !== undefined) {
        } else {
          keys.push(key)
          vals.push(`'${val}'`)
        }
src/templates/sharecomponent/settingcomponent/settingform/simplescript/index.jsx
@@ -450,7 +450,7 @@
                  filterOption={(input, option) => option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                  onChange={this.selectScript}
                >
                  {!usefulFields ? <Select.Option key="default" value={`declare @${setting.cbTable} table (mk_api_key nvarchar(100))\n/*@${setting.cbTable}_data table (mk_level nvarchar(10),mk_id nvarchar(50),mk_bid nvarchar(50))*/`}>默认sql</Select.Option> : null}
                  {!usefulFields ? <Select.Option key="default" value={`declare @${setting.cbTable} table (mk_api_key nvarchar(100),mk_level nvarchar(10),mk_id nvarchar(50),mk_bid nvarchar(50))\n/*@${setting.cbTable}_data table (mk_level nvarchar(10),mk_id nvarchar(50),mk_bid nvarchar(50))*/`}>默认sql</Select.Option> : null}
                  {systemScripts.map((option, i) =>
                    <Select.Option style={{whiteSpace: 'normal'}} key={i} value={option.value}>{option.name}</Select.Option>
                  )}
src/templates/zshare/verifycard/callbackcustomscript/index.jsx
@@ -236,7 +236,7 @@
                onChange={this.selectScript}
                getPopupContainer={() => document.getElementById('verify-custom-callback-scripts')}
              >
                <Select.Option key="default" value={`declare @${btn.cbTable} table (mk_api_key nvarchar(100))\n/*@${btn.cbTable}_data table (mk_level nvarchar(10),mk_id nvarchar(50),mk_bid nvarchar(50))*/`}>默认sql</Select.Option>
                <Select.Option key="default" value={`declare @${btn.cbTable} table (mk_api_key nvarchar(100),mk_level nvarchar(10),mk_id nvarchar(50),mk_bid nvarchar(50))\n/*@${btn.cbTable}_data table (mk_level nvarchar(10),mk_id nvarchar(50),mk_bid nvarchar(50))*/`}>默认sql</Select.Option>
                {systemScripts.map((option, i) =>
                  <Select.Option key={i} value={option.value}>{option.name}</Select.Option>
                )}
src/views/billprint/index.scss
@@ -31,6 +31,18 @@
  }
}
.print-page {
  table {
    border-radius: 0!important;
    .ant-table-column-sorter {
      display: none;
    }
  }
  .ant-table-thead > tr > th {
    background: transparent!important;
  }
}
.normal-custom-table .main-pickup {
  display: none!important;
}
src/views/menudesign/index.jsx
@@ -452,6 +452,11 @@
      return
    }
    this.setState({
      menuloading: true
    })
    setTimeout(() => {
    config.components = this.filterConfig(config.components)
    if (config.enabled && this.verifyConfig()) {
@@ -510,9 +515,6 @@
      btnParam.LText = ''
    }
    this.setState({
      menuloading: true
    }, () => {
      new Promise(resolve => {
        if (MenuType === 'billPrint') { // 打印生成页面效果图
          html2canvas(document.getElementById('menu-shell-inner')).then(canvas => {
@@ -740,7 +742,7 @@
          })
        }
      })
    })
    }, 300)
  }
  getRoleFields = () => {
@@ -860,7 +862,7 @@
    return (
      <ConfigProvider locale={_locale}>
        <div className="pc-menu-view" id="view">
        <div className={'pc-menu-view ' + (MenuType || '')} id="view">
          <Header />
          {!popBtn && !visible ? <DndProvider backend={HTML5Backend}>
            <div className="menu-body">
src/views/menudesign/index.scss
@@ -160,3 +160,14 @@
    }
  }
}
.pc-menu-view.billPrint {
  table {
    border-radius: 0!important;
    .ant-table-column-sorter {
      display: none;
    }
  }
  .ant-table-thead > tr > th {
    background: transparent!important;
  }
}