/*保存表单组件*/ saveFormControl: function (controls) { var that = this; //当勾选的组件不为空时 if (controls != undefined && controls != null && controls.length > 0) { var controlList = []; for (var i = 0; i < controls.length; ++i) { controlList[i] = controls[i].WF_CTRL_CODE; } //参数 var param = { reqType: "SaveFormControl", formID: that.uiStore.gvFormList.getSelectRow().WF_FORM_ID,//表单id formControls: controlList.join(',') }; that.ajaxDeal(that.dataStore.ajaxUrl, param, function () { //新增成功 //that.dataStore.sortFieldIndex = null; that.loadFormList(); }); } },