Commit 557d2b0c authored by 邓超's avatar 邓超

fix: 修改图片库提交为nullbug,web配置配置变化、流程样式修改

parent 065f813e
Pipeline #54165 passed with stages
...@@ -245,7 +245,7 @@ class PicturesWall extends React.Component<PicturesWallType> { ...@@ -245,7 +245,7 @@ class PicturesWall extends React.Component<PicturesWallType> {
if (!isLt2M) { if (!isLt2M) {
message.error('图片必须小于2MB!'); message.error('图片必须小于2MB!');
} }
return isJpgOrPng && isLt2M; return isJpgOrPng && isLt2M || Upload.LIST_IGNORE;;
}; };
// componentDidMount() { // componentDidMount() {
......
...@@ -104,9 +104,9 @@ const AddModal = props => { ...@@ -104,9 +104,9 @@ const AddModal = props => {
<Radio value="较小">较小(6)</Radio> <Radio value="较小">较小(6)</Radio>
</Radio.Group> </Radio.Group>
</Item> </Item>
<Item label="模板" name="officeTmpl"> {/* <Item label="模板" name="officeTmpl">
<Input placeholder="请输入模板" allowClear /> <Input placeholder="请输入模板" allowClear />
</Item> </Item> */}
<Item label="接口" name="interfaceText"> <Item label="接口" name="interfaceText">
<Input placeholder="请输入接口" allowClear /> <Input placeholder="请输入接口" allowClear />
</Item> </Item>
......
...@@ -28,8 +28,10 @@ import { ...@@ -28,8 +28,10 @@ import {
BorderInnerOutlined, BorderInnerOutlined,
DoubleLeftOutlined, DoubleLeftOutlined,
DoubleRightOutlined, DoubleRightOutlined,
TableOutlined, MenuOutlined,
DatabaseOutlined,
} from '@ant-design/icons'; } from '@ant-design/icons';
import PageContainer from '@/components/BasePageContainer'; import PageContainer from '@/components/BasePageContainer';
import { import {
CM_Table_LoadTable, CM_Table_LoadTable,
...@@ -390,7 +392,7 @@ const TableManager = props => { ...@@ -390,7 +392,7 @@ const TableManager = props => {
/> />
</Tooltip> </Tooltip>
<Tooltip title="表配置"> <Tooltip title="表配置">
<TableOutlined <MenuOutlined
onClick={() => { onClick={() => {
setType('tableEdit'); setType('tableEdit');
setVisible(true); setVisible(true);
......
...@@ -302,7 +302,7 @@ const Flow = () => { ...@@ -302,7 +302,7 @@ const Flow = () => {
pagination={{ pagination={{
showTotal: (total, range) => `第${range[0]}-${range[1]} 条/共 ${total} 条`, showTotal: (total, range) => `第${range[0]}-${range[1]} 条/共 ${total} 条`,
pageSizeOptions: [10, 20, 50, 100], pageSizeOptions: [10, 20, 50, 100],
defaultPageSize: 10, defaultPageSize: 20,
showQuickJumper: true, showQuickJumper: true,
showSizeChanger: true, showSizeChanger: true,
}} }}
......
...@@ -95,10 +95,13 @@ const FlowNode = () => { ...@@ -95,10 +95,13 @@ const FlowNode = () => {
dataIndex: 'name', dataIndex: 'name',
width: 149, width: 149,
align: 'left', align: 'left',
ellipsis: {
showTitle: true,
},
render: (text, record) => ( render: (text, record) => (
<div <div
style={{ style={{
paddingLeft: 60, textAlign: 'center',
color: record.colorType === 2 ? 'red' : '#000000D9', color: record.colorType === 2 ? 'red' : '#000000D9',
}} }}
> >
...@@ -148,15 +151,15 @@ const FlowNode = () => { ...@@ -148,15 +151,15 @@ const FlowNode = () => {
</Tooltip> </Tooltip>
), ),
}, },
{ // {
title: '查看字段', // title: '查看字段',
dataIndex: 'extendSeeFields', // dataIndex: 'extendSeeFields',
align: 'center', // align: 'center',
width: 80, // width: 80,
render: (text, record) => ( // render: (text, record) => (
<span style={{ color: record.colorType === 2 ? 'red' : '#000000D9' }}>{text}</span> // <span style={{ color: record.colorType === 2 ? 'red' : '#000000D9' }}>{text}</span>
), // ),
}, // },
{ {
title: '字段', title: '字段',
dataIndex: 'extendFields', dataIndex: 'extendFields',
...@@ -204,20 +207,20 @@ const FlowNode = () => { ...@@ -204,20 +207,20 @@ const FlowNode = () => {
<span style={{ color: record.colorType === 2 ? 'red' : '#000000D9' }}>{text}</span> <span style={{ color: record.colorType === 2 ? 'red' : '#000000D9' }}>{text}</span>
), ),
}, },
{ // {
title: '退至', // title: '退至',
dataIndex: 'extendRollbackNode', // dataIndex: 'extendRollbackNode',
align: 'center', // align: 'center',
width: 80, // width: 80,
ellipsis: { // ellipsis: {
showTitle: true, // showTitle: true,
}, // },
render: (text, record) => ( // render: (text, record) => (
<Tooltip placement="topLeft" title={text}> // <Tooltip placement="topLeft" title={text}>
<span style={{ color: record.colorType === 2 ? 'red' : '#000000D9' }}>{text}</span> // <span style={{ color: record.colorType === 2 ? 'red' : '#000000D9' }}>{text}</span>
</Tooltip> // </Tooltip>
), // ),
}, // },
{ {
title: '平级移交', title: '平级移交',
dataIndex: 'tranferable', dataIndex: 'tranferable',
...@@ -227,15 +230,15 @@ const FlowNode = () => { ...@@ -227,15 +230,15 @@ const FlowNode = () => {
<span style={{ color: record.colorType === 2 ? 'red' : '#000000D9' }}>{text}</span> <span style={{ color: record.colorType === 2 ? 'red' : '#000000D9' }}>{text}</span>
), ),
}, },
{ // {
title: '显示事件信息', // title: '显示事件信息',
dataIndex: 'eventInformation', // dataIndex: 'eventInformation',
align: 'center', // align: 'center',
width: 80, // width: 80,
render: (text, record) => ( // render: (text, record) => (
<span style={{ color: record.colorType === 2 ? 'red' : '#000000D9' }}>{text}</span> // <span style={{ color: record.colorType === 2 ? 'red' : '#000000D9' }}>{text}</span>
), // ),
}, // },
{ {
title: '操作', title: '操作',
align: 'center', align: 'center',
...@@ -343,11 +346,11 @@ const FlowNode = () => { ...@@ -343,11 +346,11 @@ const FlowNode = () => {
align: 'center', align: 'center',
width: 150, width: 150,
}, },
{ // {
title: '查看字段', // title: '查看字段',
width: 80, // width: 80,
align: 'center', // align: 'center',
}, // },
{ {
title: '字段', title: '字段',
align: 'center', align: 'center',
...@@ -370,21 +373,21 @@ const FlowNode = () => { ...@@ -370,21 +373,21 @@ const FlowNode = () => {
align: 'center', align: 'center',
width: 80, width: 80,
}, },
// {
// title: '退至',
// align: 'center',
// width: 80,
// },
{ {
title: '退至', title: '平级移交',
align: 'center',
width: 80,
},
{
title: '评级移交',
align: 'center',
width: 80,
},
{
title: '显示事件信息',
align: 'center', align: 'center',
width: 80, width: 80,
}, },
// {
// title: '显示事件信息',
// align: 'center',
// width: 80,
// },
{ {
title: '操作', title: '操作',
align: 'center', align: 'center',
......
...@@ -425,7 +425,7 @@ const NodeEdit = props => { ...@@ -425,7 +425,7 @@ const NodeEdit = props => {
/> />
</div> </div>
</Form.Item> </Form.Item>
<Form.Item {/* <Form.Item
label={ label={
<div className={styles.formData_label}> <div className={styles.formData_label}>
{form.getFieldValue('OutSeeFields') ? ( {form.getFieldValue('OutSeeFields') ? (
...@@ -451,7 +451,7 @@ const NodeEdit = props => { ...@@ -451,7 +451,7 @@ const NodeEdit = props => {
}} }}
/> />
</div> </div>
</Form.Item> </Form.Item> */}
<Form.Item label="前端视图" name="WebPage"> <Form.Item label="前端视图" name="WebPage">
<Input placeholder="请配置前端视图" /> <Input placeholder="请配置前端视图" />
</Form.Item> </Form.Item>
......
...@@ -24,7 +24,7 @@ import Upload from '@/components/Upload'; ...@@ -24,7 +24,7 @@ import Upload from '@/components/Upload';
import styles from './siteConfigDrawer.less'; import styles from './siteConfigDrawer.less';
const { Option } = Select; const { Option } = Select;
const plainOptions = ['搜索', '消息', '反馈']; const plainOptions = ['搜索', '消息', '反馈'];
const defaultCheckedList = ['搜索', '消息']; const defaultCheckedList = ['搜索', '消息', '反馈'];
const colorList = [ const colorList = [
{ {
key: '科技蓝', key: '科技蓝',
...@@ -36,6 +36,11 @@ const colorList = [ ...@@ -36,6 +36,11 @@ const colorList = [
color: '#009C73', color: '#009C73',
headerColor: 'linear-gradient(0deg, #00845D 0%, #02BF87 100%)', headerColor: 'linear-gradient(0deg, #00845D 0%, #02BF87 100%)',
}, },
{
key: '清澈蓝',
color: '#1890FF',
headerColor: '#1890FF',
},
]; ];
export default props => { export default props => {
......
...@@ -219,7 +219,12 @@ const WebConfigPage = props => { ...@@ -219,7 +219,12 @@ const WebConfigPage = props => {
if (isSite) { if (isSite) {
url = val; url = val;
} else { } else {
url = localStorage.getItem('pd2-baseUrl') ? localStorage.getItem('pd2-baseUrl') + val : val; url =
localStorage.getItem('pd2-baseUrl') &&
localStorage.getItem('pd2-baseUrl') != 'null' &&
localStorage.getItem('pd2-baseUrl') != 'undefined'
? localStorage.getItem('pd2-baseUrl') + val
: val;
} }
return url; return url;
}; };
......
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
routes: [ routes: [
{ {
path: '/authority/user', path: '/authority/user',
name: '机构管理', name: '用户管理',
component: UserManage, component: UserManage,
}, },
{ {
......
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