@@ -314,7 +314,6 @@ class Operation extends Component {
that.context.scrollArea&&that.context.scrollArea.refresh();
});
} else if (type == 3) {
- console.log('this.state.fstName',this.state.fstName)
if (this.state.title.trim() == '') {
Notify.error('请输入模板名称')
return;
@@ -451,6 +451,12 @@ class PushContainer extends Component {
if (title.trim() == '') {
Notify.info('请输入模板名称');
+ }else if(fstName.trim() == ''){
+ Notify.error('请输入模板名首拼')
+ return;
+ }else if(this.props.admin&&deptId == ''){
+ Notify.error('请选择科室')
}
let tempObj = {
id: currId,