import {
observer
} from 'mobx-react';
import {
WeaDialog,
WeaFormItem,
WeaInput,
WeaLocaleProvider
} from 'ecCom';
import Customization from './Customization';
import {
Spin,
Button,Modal
} from 'antd'
import {
i18n
} from '../../public/i18n';
const confirm = Modal.confirm;
const getLabel = WeaLocaleProvider.getLabel;
@observer
export default class SearchCustomDialog extends React.Component {
constructor(props) {
super(props);
}
saveCustomTemplate() {
const {
store
} = this.props, {
customTemplateName
} = store;
confirm({
title: getLabel(547548,'存为模板'),
content:
store.customTemplateName = v} />
,
okText: i18n.button.save(),
cancelText: i18n.button.cancel(),
onOk() {
store.saveCustomTemplate();
},
onCancel() {
return false;
},
});
}
render() {
const {
store,
} = this.props, {
SEARCHDIALOG,
searchDialog,
search,
searchTemplateName
} = store;
const buttons = [
,
,
]
return (
);
}
}