Commit 26fc683c by wufan

style:任务详情样式调整

parent d269e36e
...@@ -88,6 +88,7 @@ function StudyTable(props: any) { ...@@ -88,6 +88,7 @@ function StudyTable(props: any) {
title: '学员', title: '学员',
key: 'storeCustomerName', key: 'storeCustomerName',
dataIndex: 'storeCustomerName', dataIndex: 'storeCustomerName',
width: "15%",
render: (val: any, record: any) => { render: (val: any, record: any) => {
return <div>{val} return <div>{val}
<span <span
...@@ -176,6 +177,8 @@ function StudyTable(props: any) { ...@@ -176,6 +177,8 @@ function StudyTable(props: any) {
title: '操作', title: '操作',
key: 'operate', key: 'operate',
dataIndex: 'operate', dataIndex: 'operate',
fixed: 'right',
width: '8%',
render: (val: any, record: any) => { render: (val: any, record: any) => {
return ( return (
<div className='operate-area'> <div className='operate-area'>
...@@ -327,6 +330,7 @@ function StudyTable(props: any) { ...@@ -327,6 +330,7 @@ function StudyTable(props: any) {
onChange={onChange} onChange={onChange}
showSorterTooltip={false} showSorterTooltip={false}
bordered bordered
scroll={{ x: 1400 }}
/> />
{list && list.length > 0 && ( {list && list.length > 0 && (
<div className='box-footer'> <div className='box-footer'>
......
/* /*
* @Author: yuananting * @Author: yuananting
* @Date: 2021-07-28 14:56:52 * @Date: 2021-07-28 14:56:52
* @LastEditors: yuananting * @LastEditors: wufan
* @LastEditTime: 2021-08-18 12:37:50 * @LastEditTime: 2021-09-06 18:30:19
* @Description: 描述一下咯 * @Description: 描述一下咯
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -190,7 +190,7 @@ function TrainList(props) { ...@@ -190,7 +190,7 @@ function TrainList(props) {
title: '培训任务', title: '培训任务',
key: 'taskName', key: 'taskName',
dataIndex: 'taskName', dataIndex: 'taskName',
width: '18%', width: '20%',
fixed: 'left', fixed: 'left',
render: (val, record) => { render: (val, record) => {
return ( return (
...@@ -460,7 +460,7 @@ function TrainList(props) { ...@@ -460,7 +460,7 @@ function TrainList(props) {
onChange={handleChangeTable} onChange={handleChangeTable}
bordered bordered
size='middle' size='middle'
scroll={{ x: 1400 }} scroll={{ x: 1500 }}
className='train-list-table' className='train-list-table'
renderEmpty={{ renderEmpty={{
description: <span style={{ display: 'block', paddingBottom: 24 }}>暂无数据</span>, description: <span style={{ display: 'block', paddingBottom: 24 }}>暂无数据</span>,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment