不要这样获取参数
方式一:
var mycode=this.options.form.getWidgetByName('mycode').getValue(); //获取参数
var mydate=this.options.form.getWidgetByName('mydate').getValue();
var STATUS=this.options.form.getWidgetByName('STATUS').getValue();
var sql="exec test_aa_cc "+mycode+","+mydate+","+STATUS;
var res=FR.remoteEvaluate('=sql("dbbasedata","'+sql+'",1,1)');
方式二:
var mycode=this.options.form.getWidgetByName('mycode').getValue(); //获取参数
var mydate=this.options.form.getWidgetByName('mydate').getValue();
var STATUS=this.options.form.getWidgetByName('STATUS').getValue();
var sql="call test_aa_cc ('"+mycode+"','"+mydate+"','"+STATUS+"')";
var res=FR.remoteEvaluate('=sql("dbbasedata","'+sql+'",1,1)');