Commit facc758f authored by 田翔's avatar 田翔

fix: 角色管理bug修复

parent 001d0902
Pipeline #85556 passed with stages
...@@ -266,7 +266,6 @@ const SelectUser = props => { ...@@ -266,7 +266,6 @@ const SelectUser = props => {
), ),
}, },
]; ];
console.log(allList, 'allList');
return ( return (
<> <>
<Modal <Modal
......
...@@ -63,7 +63,7 @@ const cards = [ ...@@ -63,7 +63,7 @@ const cards = [
[ [
{ {
title: '江西水务集团GIS项目', title: '江西水务集团GIS项目',
count: 1, count: 6,
children: [ children: [
{ name: '运营总览', widget: 'OPERATIONSOVERVIEW', type: '运营' }, { name: '运营总览', widget: 'OPERATIONSOVERVIEW', type: '运营' },
{ name: '管网资产', widget: 'PIPELINEASSETS', type: '运营' }, { name: '管网资产', widget: 'PIPELINEASSETS', type: '运营' },
...@@ -75,7 +75,7 @@ const cards = [ ...@@ -75,7 +75,7 @@ const cards = [
}, },
{ {
title: '新乐智慧水务项目', title: '新乐智慧水务项目',
count: 1, count: 3,
children: [ children: [
{ name: '生产概览', widget: 'PRODUCT_OVERVIEW', type: '运营' }, { name: '生产概览', widget: 'PRODUCT_OVERVIEW', type: '运营' },
{ name: '三水厂送水泵房监控', widget: 'WATER_SUPPLY_MONITORING3', type: '运营' }, { name: '三水厂送水泵房监控', widget: 'WATER_SUPPLY_MONITORING3', type: '运营' },
......
...@@ -10,7 +10,7 @@ const AddModal = props => { ...@@ -10,7 +10,7 @@ const AddModal = props => {
const [formLayout, setFormLayout] = useState('horizontal'); const [formLayout, setFormLayout] = useState('horizontal');
const [groupList, setGroupList] = useState([]); const [groupList, setGroupList] = useState([]);
const [loading, setLoading] = useState(false); const [loading, setLoading] = useState(false);
const { confirmModal = () => {}, itemObj, editVisible, onCancel } = props; const { confirmModal = () => { }, itemObj, editVisible, onCancel } = props;
const [value, setValue] = useState(''); const [value, setValue] = useState('');
console.log(itemObj, 'itemObj'); console.log(itemObj, 'itemObj');
...@@ -113,7 +113,7 @@ const AddModal = props => { ...@@ -113,7 +113,7 @@ const AddModal = props => {
const onChangeRadio = e => { const onChangeRadio = e => {
setValue(e); setValue(e);
}; };
const onFinish = value => {}; const onFinish = value => { };
return ( return (
<SiteModal <SiteModal
{...props} {...props}
...@@ -154,7 +154,6 @@ const AddModal = props => { ...@@ -154,7 +154,6 @@ const AddModal = props => {
} }
name="BuiltInRole" name="BuiltInRole"
> >
{console.log(value, 'nalie')}
<Switch <Switch
checkedChildren="是" checkedChildren="是"
unCheckedChildren="否" unCheckedChildren="否"
......
...@@ -237,7 +237,6 @@ const SelectUser = props => { ...@@ -237,7 +237,6 @@ const SelectUser = props => {
), ),
}, },
]; ];
console.log(allList, 'allList');
return ( return (
<> <>
<Modal <Modal
......
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