Commit 28c3a66d authored by zhengjiangtao's avatar zhengjiangtao

Merge branch 'develop_20200601' of http://172.16.10.76/bank/AmosBankView into develop_20200601

parents c8140d95 dc5baaf5
This diff is collapsed.
...@@ -359,7 +359,7 @@ class IndexMap extends Component { ...@@ -359,7 +359,7 @@ class IndexMap extends Component {
/** /**
* 圆 * 圆
*/ */
circleEvents = { click: () => {} }; circleEvents = { click: () => { } };
/** /**
* 线 * 线
...@@ -821,7 +821,7 @@ class IndexMap extends Component { ...@@ -821,7 +821,7 @@ class IndexMap extends Component {
existData = (code, orgCode) => { existData = (code, orgCode) => {
let xianshi = false; let xianshi = false;
if ( code ){ if (code) {
if (code.indexOf('#') !== -1) { if (code.indexOf('#') !== -1) {
let split = code.split('#') || []; let split = code.split('#') || [];
split.map(item => { split.map(item => {
...@@ -832,8 +832,8 @@ class IndexMap extends Component { ...@@ -832,8 +832,8 @@ class IndexMap extends Component {
xianshi = true; xianshi = true;
} }
}else{ } else {
if ( item === orgCode){ if (item === orgCode) {
xianshi = true; xianshi = true;
} }
} }
...@@ -872,8 +872,8 @@ class IndexMap extends Component { ...@@ -872,8 +872,8 @@ class IndexMap extends Component {
let newData = []; let newData = [];
data.map(e => { data.map(e => {
let xianshi = this.existData(e.code,orgCode); let xianshi = this.existData(e.code, orgCode);
let authOrgXianshi = this.existData(e.authOrg,orgCode); let authOrgXianshi = this.existData(e.authOrg, orgCode);
if (xianshi || authOrgXianshi) { if (xianshi || authOrgXianshi) {
newData.push(e); newData.push(e);
} }
......
...@@ -178,6 +178,7 @@ class Warnings extends Component { ...@@ -178,6 +178,7 @@ class Warnings extends Component {
* 搜索 * 搜索
*/ */
onIconClick = (e, value) => { onIconClick = (e, value) => {
if (value === undefined){ value = ''; }
let { pageItem1 } = this.state; let { pageItem1 } = this.state;
pageItem1[0].value = value; pageItem1[0].value = value;
this.setState({ this.setState({
......
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