king
2020-12-31 073daa8c9ac0fb87d762fc5bbc4549c8c88907d2
2020-12-31
10个文件已修改
51 ■■■■■ 已修改文件
src/locales/en-US/model.js 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/locales/zh-CN/model.js 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/search/main-search/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/actioncomponent/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/searchcomponent/dragsearch/card.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/searchcomponent/index.jsx 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/sharecomponent/actioncomponent/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/sharecomponent/columncomponent/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/sharecomponent/searchcomponent/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/login/index.scss 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/locales/en-US/model.js
@@ -233,15 +233,12 @@
  'header.form.clickscale': '点击缩放',
  'header.form.easyCode': 'EasyCode',
  'header.modal.form.edit': '表单-编辑',
  'model.searchCriteria': 'Search Criteria',
  'model.action': '按钮',
  'header.modal.action.copy': '按钮-复制',
  'header.modal.form.copy': '表单-复制',
  'header.modal.column.edit': '显示列-编辑',
  'header.modal.gridbtn.edit': '操作列-编辑',
  'header.modal.tabs.edit': '标签-编辑',
  'model.field.exist': '字段已存在',
  'model.name.exist': '名称已存在',
  'form.required.input': 'Please enter the ',
  'form.required.select': 'Please select a ',
  'form.required.add': 'Please add ',
src/locales/zh-CN/model.js
@@ -233,15 +233,12 @@
  'header.form.clickscale': '点击缩放',
  'header.form.easyCode': '助记码',
  'header.modal.form.edit': '表单-编辑',
  'model.searchCriteria': '搜索条件',
  'model.action': '按钮',
  'header.modal.action.copy': '按钮-复制',
  'header.modal.form.copy': '表单-复制',
  'header.modal.column.edit': '显示列-编辑',
  'header.modal.gridbtn.edit': '操作列-编辑',
  'header.modal.tabs.edit': '标签-编辑',
  'model.field.exist': '字段已存在',
  'model.name.exist': '名称已存在',
  'form.required.input': '请输入',
  'form.required.select': '请选择',
  'form.required.add': '请添加',
src/menu/components/search/main-search/index.jsx
@@ -236,14 +236,14 @@
      if (fieldrepet) {
        notification.warning({
          top: 92,
          message: this.state.dict['model.field.exist'] + ' !',
          message: '字段已存在!',
          duration: 5
        })
        return
      } else if (labelrepet) {
        notification.warning({
          top: 92,
          message: this.state.dict['model.name.exist'] + ' !',
          message: '名称已存在!',
          duration: 5
        })
        return
@@ -365,7 +365,7 @@
        </Popover>
        {/* 编辑搜索条件 */}
        <Modal
          title={dict['model.searchCriteria'] + '-' + dict['model.edit']}
          title="搜索条件-编辑"
          visible={visible}
          width={850}
          maskClosable={false}
src/menu/components/share/actioncomponent/index.jsx
@@ -293,7 +293,7 @@
      if (labelrepet) {
        notification.warning({
          top: 92,
          message: this.state.dict['model.name.exist'] + ' !',
          message: '名称已存在!',
          duration: 5
        })
        return
src/menu/components/share/searchcomponent/dragsearch/card.jsx
@@ -42,7 +42,7 @@
        _defaultValue = ''
      }
    } else if (card.setAll === 'true') {
      _defaultValue = 'All'
      _defaultValue = '全部'
    }
  } else if (card.type === 'daterange') {
    _defaultValue = [null, null]
@@ -59,9 +59,9 @@
  return (
    <Popover overlayClassName="mk-popover-control-wrap" mouseLeaveDelay={0.2} mouseEnterDelay={0.2} content={
      <div className="mk-popover-control">
        <Icon className="edit" title="edit" type="edit" onClick={() => editCard(id)} />
        <Icon className="copy" title="copy" type="copy" onClick={() => copyCard(id)} />
        <Icon className="close" title="delete" type="close" onClick={() => delCard(id)} />
        <Icon className="edit" title="编辑" type="edit" onClick={() => editCard(id)} />
        <Icon className="copy" title="复制" type="copy" onClick={() => copyCard(id)} />
        <Icon className="close" title="删除" type="close" onClick={() => delCard(id)} />
      </div>
    } trigger="hover">
      <div className={'page-card ' + (card.labelShow || '')} style={{ opacity: opacity}}>
src/menu/components/share/searchcomponent/index.jsx
@@ -198,14 +198,14 @@
      if (fieldrepet) {
        notification.warning({
          top: 92,
          message: this.state.dict['model.field.exist'] + ' !',
          message: '字段已存在!',
          duration: 5
        })
        return
      } else if (labelrepet) {
        notification.warning({
          top: 92,
          message: this.state.dict['model.name.exist'] + ' !',
          message: '名称已存在!',
          duration: 5
        })
        return
@@ -264,11 +264,10 @@
   */
  deleteElement = (card) => {
    const { config } = this.props
    const { dict } = this.state
    let _this = this
    confirm({
      content: dict['model.confirm'] + dict['model.delete'] + ` - ${card.label} ?`,
      content: `确定删除 - ${card.label} ?`,
      onOk() {
        let _searchlist = fromJS(_this.state.searchlist).toJS()
@@ -297,7 +296,7 @@
        />
        {/* 编辑搜索条件 */}
        <Modal
          title={dict['model.searchCriteria'] + '-' + dict['model.edit']}
          title="搜索条件-编辑"
          visible={visible}
          width={850}
          maskClosable={false}
src/templates/sharecomponent/actioncomponent/index.jsx
@@ -243,7 +243,7 @@
      if (labelrepet) {
        notification.warning({
          top: 92,
          message: this.state.dict['model.name.exist'] + ' !',
          message: '名称已存在!',
          duration: 5
        })
        return
src/templates/sharecomponent/columncomponent/index.jsx
@@ -191,7 +191,7 @@
        if (fieldrepet) {
          notification.warning({
            top: 92,
            message: this.state.dict['model.field.exist'] + ' !',
            message: '字段已存在!',
            duration: 5
          })
          return
src/templates/sharecomponent/searchcomponent/index.jsx
@@ -174,14 +174,14 @@
      if (fieldrepet) {
        notification.warning({
          top: 92,
          message: this.state.dict['model.field.exist'] + ' !',
          message: '字段已存在!',
          duration: 5
        })
        return
      } else if (labelrepet) {
        notification.warning({
          top: 92,
          message: this.state.dict['model.name.exist'] + ' !',
          message: '名称已存在!',
          duration: 5
        })
        return
@@ -290,7 +290,7 @@
        />
        {/* 编辑搜索条件 */}
        <Modal
          title={dict['model.searchCriteria'] + '-' + (card && card.copyType === 'search' ?  dict['model.copy'] : dict['model.edit'])}
          title={card && card.copyType === 'search' ?  '搜索条件-复制' : '搜索条件-编辑'}
          visible={visible}
          width={850}
          maskClosable={false}
src/views/login/index.scss
@@ -207,11 +207,11 @@
      color: #ffffff;
    }
  }
  // .ant-btn-primary[disabled] {
  //   color: #fff;
  //   background-color: #40a9ff;
  //   border-color: #40a9ff;
  // }
  .ant-btn-primary[disabled] {
    color: #fff;
    // background-color: #40a9ff;
    // border-color: #40a9ff;
  }
}
.sync-cloud-application {
  .ant-modal-body {