var Group = this.options.form.getWidgetByName("GROUP").getValue(); var Area = this.options.form.getWidgetByName("AREA").getValue(); var Eqpid = this.options.form.getWidgetByName("EQPID").getValue(); var tmp =String.format("SQL('SXRPTUSER','DELETE FROM SXRPTUSER.TESTFORfr WHERE EQPID = \'"+Group"\' AND STATE = \'"+Area"\' AND MOTHEREQP =\'"+Eqpid"\' ')"); var a = FR.remoteEvaluate(tmp); if(a == 0){ FR.Msg.toast('删除成功'); }else{ FR.Msg.toast('删除失败'); |