提交 84368701 authored 作者: ch's avatar ch

11

上级 66cf2fce
...@@ -523,6 +523,7 @@ export default class tableCom extends Component { ...@@ -523,6 +523,7 @@ export default class tableCom extends Component {
json.labelName, json.labelName,
json.valueName, json.valueName,
allValues, allValues,
json.isMeta
); );
} }
break; break;
...@@ -1148,13 +1149,13 @@ export default class tableCom extends Component { ...@@ -1148,13 +1149,13 @@ export default class tableCom extends Component {
} }
} }
fetchData3 = (obj, dataColumn, init, sqlKey, labelName, valueName, allValues) => { fetchData3 = (obj, dataColumn, init, sqlKey, labelName, valueName, allValues,isMeta) => {
const { dispatch } = this.props; const { dispatch } = this.props;
if (init != null && Object.keys(init).length > 0) { if (init != null && Object.keys(init).length > 0) {
dispatch({ dispatch({
type: 'DataColumn/getSqlOptions', type: 'DataColumn/getSqlOptions',
payload: { sqlKey, allValues }, payload: { sqlKey, allValues,isMeta},
callback: options => { callback: options => {
const optionsx = []; const optionsx = [];
let base52 = dataColumn.base52; let base52 = dataColumn.base52;
...@@ -1186,7 +1187,7 @@ export default class tableCom extends Component { ...@@ -1186,7 +1187,7 @@ export default class tableCom extends Component {
if (obj[base52]) { if (obj[base52]) {
dispatch({ dispatch({
type: 'DataColumn/getSqlLabels', type: 'DataColumn/getSqlLabels',
payload: { sqlKey, values: obj[base52], labelName, valueName, allValues }, payload: { sqlKey, values: obj[base52], labelName, valueName, allValues,isMeta},
callback: labels => { callback: labels => {
this.setState({ labels, selectDis: false }); this.setState({ labels, selectDis: false });
}, },
...@@ -1195,7 +1196,7 @@ export default class tableCom extends Component { ...@@ -1195,7 +1196,7 @@ export default class tableCom extends Component {
} else { } else {
dispatch({ dispatch({
type: 'DataColumn/getSqlOptions', type: 'DataColumn/getSqlOptions',
payload: { sqlKey, allValues }, payload: { sqlKey, allValues,isMeta},
callback: options => { callback: options => {
// console.log(options); // console.log(options);
let base52 = dataColumn.base52; let base52 = dataColumn.base52;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论