king
2021-08-01 84484749fb00946f14002fa0db4d37a99f204c3a
2021-08-01
6个文件已修改
55 ■■■■■ 已修改文件
src/mob/components/menubar/normal-menubar/menucomponent/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/mob/components/menubar/normal-menubar/menucomponent/settingform/index.jsx 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/mob/components/menubar/normal-menubar/menucomponent/settingform/index.scss 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/mob/components/navbar/normal-navbar/menusetting/menuform/index.jsx 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/mob/components/navbar/normal-navbar/menusetting/menuform/index.scss 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/mob/components/navbar/normal-navbar/menusetting/menutable/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/mob/components/menubar/normal-menubar/menucomponent/index.jsx
@@ -192,7 +192,7 @@
          wrapClassName="popview-modal"
          title={'菜单设置'}
          visible={visible}
          width={800}
          width={900}
          maskClosable={false}
          okText={dict['model.submit']}
          onOk={this.settingSubmit}
src/mob/components/menubar/normal-menubar/menucomponent/settingform/index.jsx
@@ -135,14 +135,30 @@
                    }
                  ]
                })(
                  <Radio.Group style={{whiteSpace: 'nowrap'}} onChange={(e) => this.setState({type: e.target.value})}>
                  <Radio.Group className="over" onChange={(e) => this.setState({type: e.target.value})}>
                    <Radio value="menu">菜单</Radio>
                    <Radio value="linkmenu">关联菜单</Radio>
                    <Radio value="sysmenu">系统页</Radio>
                    <Radio value="link">链接</Radio>
                  </Radio.Group>
                )}
              </Form.Item>
            </Col>
            {type === 'sysmenu' ? <Col span={12}>
              <Form.Item label="系统页面">
                {getFieldDecorator('sysmenu', {
                  initialValue: setting.sysmenu || '',
                  rules: [{
                    required: true,
                    message: '请选择系统页面!'
                  }]
                })(
                  <Select>
                    <Select.Option value="AIService">智能客服</Select.Option>
                  </Select>
                )}
              </Form.Item>
            </Col> : null}
            {type === 'menu' ? <Col span={12}>
              <Form.Item label={
                <Tooltip placement="topLeft" title="复制菜单仅在当前菜单不存在时有效。">
src/mob/components/menubar/normal-menubar/menucomponent/settingform/index.scss
@@ -22,4 +22,10 @@
  .color-sketch-block {
    margin-top: 7px;
  }
  .ant-radio-group.over {
    white-space: nowrap;
    .ant-radio-wrapper {
      margin-right: 0;
    }
  }
}
src/mob/components/navbar/normal-navbar/menusetting/menuform/index.jsx
@@ -146,9 +146,10 @@
              {getFieldDecorator('property', {
                initialValue: menu.property || 'menu'
              })(
                <Radio.Group onChange={this.changeProperty} style={{whiteSpace: 'nowrap'}}>
                <Radio.Group onChange={this.changeProperty} className="over">
                  <Radio value="menu">菜单</Radio>
                  <Radio value="linkmenu">关联菜单</Radio>
                  <Radio value="sysmenu">系统页</Radio>
                  <Radio value="link">链接</Radio>
                </Radio.Group>
              )}
@@ -166,6 +167,21 @@
              )}
            </Form.Item>
          </Col>
          {property === 'sysmenu' ? <Col span={12}>
            <Form.Item label="系统页面">
              {getFieldDecorator('sysmenu', {
                initialValue: menu.sysmenu || '',
                rules: [{
                  required: true,
                  message: '请选择系统页面!'
                }]
              })(
                <Select>
                  <Select.Option value="AIService">智能客服</Select.Option>
                </Select>
              )}
            </Form.Item>
          </Col> : null}
          {property === 'link' ? <Col span={24}>
            <Form.Item label="链接地址" className="textarea">
              {getFieldDecorator('link', {
src/mob/components/navbar/normal-navbar/menusetting/menuform/index.scss
@@ -7,4 +7,11 @@
      width: 84%;
    }
  }
  .ant-radio-group.over {
    white-space: nowrap;
    .ant-radio-wrapper {
      margin-right: 0;
    }
  }
}
src/mob/components/navbar/normal-navbar/menusetting/menutable/index.jsx
@@ -23,7 +23,7 @@
      { title: '菜单名称', dataIndex: 'name', key: 'name' },
      { title: '菜单参数', dataIndex: 'MenuNo', key: 'MenuNo' },
      { title: '菜单属性', dataIndex: 'property', key: 'property',  render: text => {
        const trans = {menu: '菜单', link: '链接', linkmenu: '关联菜单'}
        const trans = {menu: '菜单', link: '链接', linkmenu: '关联菜单', sysmenu: '系统页'}
        return trans[text]
      }},
@@ -177,7 +177,7 @@
        <Modal
          title="编辑"
          visible={visible}
          width={750}
          width={900}
          maskClosable={false}
          onOk={this.menuSubmit}
          onCancel={() => { this.setState({ visible: false }) }}