Skip to content

Commit

Permalink
modify the architecture of pages and components
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslcj committed Oct 17, 2018
1 parent 01918ec commit 9c6b1de
Show file tree
Hide file tree
Showing 73 changed files with 131 additions and 219 deletions.
87 changes: 0 additions & 87 deletions console/src/main/resources/static/src/components/AddGroup.js

This file was deleted.

45 changes: 0 additions & 45 deletions console/src/main/resources/static/src/components/AddIcon.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import { Dialog, Pagination, Transfer } from '@alifd/next';
import './index.less';

/*****************************此行为标记行, 请勿删和修改此行, 文件和组件依赖请写在此行上面, 主体代码请写在此行下面的class中*****************************/
class BatchHandle extends React.Component {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import BatchHandle from './BatchHandle';

export default BatchHandle;
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import './index.less';
import { Button, Dialog, Field, Form, Select } from '@alifd/next';
const FormItem = Form.Item;
const { AutoComplete: Combobox } = Select;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import CloneDialog from './CloneDialog';

export default CloneDialog;
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import './index.less';
import { Button,Dialog, Grid, Icon } from '@alifd/next';
const { Row, Col } = Grid;
/*****************************此行为标记行, 请勿删和修改此行, 文件和组件依赖请写在此行上面, 主体代码请写在此行下面的class中*****************************/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import DeleteDialog from './DeleteDialog';

export default DeleteDialog;
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import './index.less';
import { Button, Dialog, Grid } from '@alifd/next';
const { Row, Col } = Grid;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import DiffEditorDialog from './DiffEditorDialog';

export default DiffEditorDialog;
Empty file.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import React from 'react';
// import MinusIcon from './MinusIcon';
// import AddIcon from './AddIcon';
// import AddGroup from './AddGroup';
import './index.less';
import { Button, Dialog, Field, Form, Input, Loading } from '@alifd/next';
const FormItem = Form.Item;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import EditorNameSpace from './EditorNameSpace';

export default EditorNameSpace;
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import './index.less';
import { Button, Dialog, Form } from '@alifd/next';
const FormItem = Form.Item;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import ExportDialog from './ExportDialog';

export default ExportDialog;
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import './index.less';
import { Balloon, Button, Dialog, Form, Icon, Select, Upload } from '@alifd/next';
const FormItem = Form.Item;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import ImportDialog from './ImportDialog';

export default ImportDialog;
Empty file.
44 changes: 0 additions & 44 deletions console/src/main/resources/static/src/components/MinusIcon.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import './index.less';
import { Dialog } from '@alifd/next';

/*****************************此行为标记行, 请勿删和修改此行, 文件和组件依赖请写在此行上面, 主体代码请写在此行下面的class中*****************************/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import NameSpaceList from './NameSpaceList';

export default NameSpaceList;
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import './index.less';
import { Button, Dialog, Field, Form, Input, Loading } from '@alifd/next';
const FormItem = Form.Item;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import NewNameSpace from './NewNameSpace';

export default NewNameSpace;
Empty file.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import React from 'react';
import { Button } from '@alifd/next';
import $ from 'jquery';
import ValidateDialog from './ValidateDialog';
import NameSpaceList from './NameSpaceList';
import ValidateDialog from '../ValidateDialog';
import NameSpaceList from '../NameSpaceList';
import './index.less';

/*****************************此行为标记行, 请勿删和修改此行, 文件和组件依赖请写在此行上面, 主体代码请写在此行下面的class中*****************************/
class RegionGroup extends React.Component {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import RegionGroup from './RegionGroup';

export default RegionGroup;
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import './index.less';
import { Dialog, Loading, Tab } from '@alifd/next';
const TabPane = Tab.Item;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import ShowCodeing from './ShowCodeing';

export default ShowCodeing;
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import './index.less';
import { Button, Dialog, Grid, Icon } from '@alifd/next';
const { Row, Col } = Grid;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import SuccessDialog from './SuccessDialog';

export default SuccessDialog;
Empty file.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import { Button, Dialog, Input } from '@alifd/next';
import $ from 'jquery';
import './index.less';

/*****************************此行为标记行, 请勿删和修改此行, 文件和组件依赖请写在此行上面, 主体代码请写在此行下面的class中*****************************/
class ValidateDialog extends React.Component {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import ValidateDialog from './ValidateDialog';

export default ValidateDialog;
Empty file.
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import React from 'react';
import './index.less';
import { Button, Dialog, Field, Form, Input, Loading, Tab } from '@alifd/next';
const TabPane = Tab.Item;
const FormItem = Form.Item;

/*****************************此行为标记行, 请勿删和修改此行, 文件和组件依赖请写在此行上面, 主体代码请写在此行下面的class中*****************************/
class Configdetail extends React.Component {
class ConfigDetail extends React.Component {
constructor(props) {
super(props);
this.state = {
Expand Down Expand Up @@ -240,4 +241,4 @@ class Configdetail extends React.Component {
}
}
/*****************************此行为标记行, 请勿删和修改此行, 主体代码请写在此行上面的class中, 组件导出语句及其他信息请写在此行下面*****************************/
export default Configdetail;
export default ConfigDetail;
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import ConfigDetail from './ConfigDetail';

export default ConfigDetail;
Empty file.
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import React from 'react';
import $ from 'jquery';
import DiffEditorDialog from '../components/DiffEditorDialog';
import SuccessDialog from '../components/SuccessDialog';
import DiffEditorDialog from '../../../components/DiffEditorDialog';
import SuccessDialog from '../../../components/SuccessDialog';
import './index.less';
import { Balloon, Button, Dialog, Field, Form, Icon, Input, Loading, Radio, Select, Tab } from '@alifd/next';
const TabPane = Tab.Item;
const FormItem = Form.Item;
const { Group: RadioGroup } = Radio;

/*****************************此行为标记行, 请勿删和修改此行, 文件和组件依赖请写在此行上面, 主体代码请写在此行下面的class中*****************************/
class Configeditor extends React.Component {
class ConfigEditor extends React.Component {
constructor(props) {
super(props);
this.edasAppName = window.getParams('edasAppName') || '';
Expand Down Expand Up @@ -257,7 +258,6 @@ class Configeditor extends React.Component {

//self.createCodeMirror('text', self.codeValue);
//self.codeValue = self.commoneditor.doc.getValue();
debugger;
if (data.configTags != null) {
let tagArr = data.configTags.split(",");
self.setConfigTags(tagArr);
Expand Down Expand Up @@ -758,4 +758,4 @@ class Configeditor extends React.Component {
}
}
/*****************************此行为标记行, 请勿删和修改此行, 主体代码请写在此行上面的class中, 组件导出语句及其他信息请写在此行下面*****************************/
export default Configeditor;
export default ConfigEditor;
Loading

0 comments on commit 9c6b1de

Please sign in to comment.