king
2024-01-05 52d2bcad2ad696e1293d3ae53f0d927bee3b7f78
2024-01-05
7个文件已修改
72 ■■■■ 已修改文件
src/menu/components/card/cardcellcomponent/elementform/index.jsx 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/colsControl/index.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/colsControl/index.scss 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/markcomponent/index.jsx 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/markcomponent/index.scss 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/tree/antd-tree/options.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/menudesign/homeform/index.jsx 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/cardcellcomponent/elementform/index.jsx
@@ -159,17 +159,15 @@
        if (this.record.eleType === 'number') {
          _options.push('decimal', 'format')
        }
      } else if (this.record.eleType === 'picture') {
        _options.push('url')
        if (this.record.noValue === 'show') {
          _options.push('lostTip')
        }
      } else if (this.record.eleType === 'video') {
      } else if (this.record.eleType === 'picture' || this.record.eleType === 'video') {
        _options.push('url')
      } else {
        _options.push('value')
      }
      if (this.record.eleType === 'video' && this.record.posterType) {
      if (this.record.eleType === 'picture' && this.record.noValue === 'show') {
        _options.push('lostTip')
      } else if (this.record.eleType === 'video' && this.record.posterType) {
        if (this.record.posterType === 'dynamic') {
          _options.push('posterField')
        } else {
src/menu/components/share/colsControl/index.jsx
@@ -272,10 +272,16 @@
  }
  render() {
    const { config } = this.props
    const { colsCtrls, columns, visible, cols, searches } = this.state
    let className = ''
    if (config.colsCtrls && config.colsCtrls.length) {
      className = 'cols-ctrls'
    }
    return (
      <div style={{display: 'inline-block'}}>
      <div style={{display: 'inline-block'}} className={className}>
        <ApartmentOutlined style={{color: '#13c2c2'}} title="显示列控制" onClick={this.resetMark} />
        <Modal
          wrapClassName="column-control-modal-wrap"
src/menu/components/share/colsControl/index.scss
@@ -27,4 +27,18 @@
      background: rgba(0, 0, 0, 0);
    }
  }
}
.cols-ctrls {
  position: relative;
}
.cols-ctrls::after {
  content: ' ';
  display: block;
  position: absolute;
  top: 0;
  right: 7px;
  width: 4px;
  height: 4px;
  border-radius: 4px;
  background-color: red;
}
src/menu/components/share/markcomponent/index.jsx
@@ -414,8 +414,13 @@
  render() {
    const { marks, markColumns, visible, options, signs } = this.state
    let className = ''
    if (this.props.type === 'line' && this.props.marks.length) {
      className = 'mk-line-marks'
    }
    return (
      <div style={{display: 'inline-block'}}>
      <div style={{display: 'inline-block'}} className={className}>
        <AntDesignOutlined className="profile" title="标记" onClick={this.resetMark} />
        <Modal
          wrapClassName="mark-modal-wrap"
src/menu/components/share/markcomponent/index.scss
@@ -22,4 +22,18 @@
      background: rgba(0, 0, 0, 0);
    }
  }
}
.mk-line-marks {
  position: relative;
}
.mk-line-marks::after {
  content: ' ';
  display: block;
  position: absolute;
  top: 0;
  right: 7px;
  width: 4px;
  height: 4px;
  border-radius: 4px;
  background-color: red;
}
src/menu/components/tree/antd-tree/options.jsx
@@ -129,10 +129,10 @@
      initval: wrap.permission || 'false',
      required: false,
      options: [
        {value: 'true', label: '启用'},
        {value: 'true', label: !appType ? '继承菜单' : '启用'},
        {value: 'false', label: '禁用'},
      ],
      forbid: !appType || ispop
      forbid: ispop
    },
    {
      type: 'radio',
src/views/menudesign/homeform/index.jsx
@@ -126,6 +126,19 @@
        <Row>
          <Col span={24}>
            <Form.Item label={
              <Tooltip placement="topLeft" title="首页不进行权限控制。">
                <QuestionCircleOutlined className="mk-form-tip" />
                权限验证
              </Tooltip>
            }>
              <Radio.Group value={'false'} disabled={true}>
                <Radio value="true">使用</Radio>
                <Radio value="false">不使用</Radio>
              </Radio.Group>
            </Form.Item>
          </Col>
          <Col span={24}>
            <Form.Item label={
              <Tooltip placement="topLeft" title="数据会缓存到用户本地,方便页面快速呈现。">
                <QuestionCircleOutlined className="mk-form-tip" />
                本地缓存