Commit 9280b3b2 by 王昆

gsb

parent 9ec64483
......@@ -27,11 +27,8 @@ class PatentAnalysisCtl extends CtlBase {
let search_time = this.trim(body.search_time);
let topic_overview = this.trim(body.topic_overview);
let data_file = this.trim(body.data_file);
if (!technology_name) {
return system.getResult(null, "请填写技术名称");
}
if (!data_file) {
return system.getResult(null, "请上传文件");
if (!technology_name && !data_file) {
return system.getResult(null, "请填写技术名称或上传数据文件");
}
if (!topic_name) {
return system.getResult(null, "请填写课题名称");
......
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