F2-4b: rewrite 规则扩展 + item 改进 + 最终批量结果
- rewrite.py: 新增 _VAADIN_EXTRA_IMPORT_RE / _DSASP_CLIENT_IMPORT_RE / _ENVIROMENT_GET_IMPORT_RE 三条 import 剥离规则,统一在 5.9 清理节 运行;补多余引号修复(源数据 bug "...SQL 100"";") - run_batch_regression.py: connect_db 优先连本地 eip4dev:5433, 回退远程 192.168.20.68:5435 - output/rewritten/*.groovy: 规则重跑后的 rewritten 产物更新 - output/manual_workpackage/*.md: 对应工包重生成 - output/batch_regression_20260612_053253.json: 最终批跑结果 FULL_AUTO 94.1%(476/506);删除 3 个中间产物 JSON - docs/P1/F2-4批量回归报告.md: 最终通过率写入报告 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
17398
tools/s3_rewriter/output/batch_regression_20260612_053253.json
Normal file
17398
tools/s3_rewriter/output/batch_regression_20260612_053253.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -57,8 +57,6 @@ lists.addButton(field, 0);
|
||||
## 2. 已改写部分(自动产出)
|
||||
```groovy
|
||||
import com.dsasp.viewframework.MultiSelectField;
|
||||
import com.vaadin.data.Property.ValueChangeListener;
|
||||
import com.vaadin.data.Property.ValueChangeEvent;
|
||||
final def group1 = group;
|
||||
|
||||
if (lists == null) {
|
||||
|
||||
@@ -78,12 +78,6 @@ professionals?.showDeleteButton(false);
|
||||
## 2. 已改写部分(自动产出)
|
||||
```groovy
|
||||
|
||||
import com.vaadin.ui.Notification;
|
||||
import com.vaadin.ui.Notification.Type;
|
||||
import com.vaadin.data.Property.ValueChangeListener;
|
||||
import com.vaadin.data.Property.ValueChangeEvent;
|
||||
import com.dsasp.client.viewframework.listener.ConfirmDialogListener;
|
||||
|
||||
import com.vaadin.ui.Link;
|
||||
import com.vaadin.server.ExternalResource;
|
||||
import com.vaadin.ui.Label;
|
||||
|
||||
@@ -57,8 +57,6 @@ lists.addButton(field, 0);
|
||||
## 2. 已改写部分(自动产出)
|
||||
```groovy
|
||||
import com.dsasp.viewframework.MultiSelectField;
|
||||
import com.vaadin.data.Property.ValueChangeListener;
|
||||
import com.vaadin.data.Property.ValueChangeEvent;
|
||||
final def group1 = group;
|
||||
|
||||
if (lists == null) {
|
||||
|
||||
@@ -22,7 +22,6 @@ tie.addExportButton(4);
|
||||
addSubTableButton("MATERIALDETAILS", "SELECT", 0);
|
||||
|
||||
|
||||
import com.dsasp.client.viewframework.util.TableImportExport;
|
||||
def tie = new TableImportExport(materiallist,"com.dsasp.pm.materialmanagertj.client.MaterialRequestMasterPlanDetailImportOfTJ");
|
||||
group.getField("MATERIALDETAILS").setData(tie);
|
||||
tie.addImportButton(3);
|
||||
|
||||
@@ -78,12 +78,6 @@ professionals?.showDeleteButton(false);
|
||||
## 2. 已改写部分(自动产出)
|
||||
```groovy
|
||||
|
||||
import com.vaadin.ui.Notification;
|
||||
import com.vaadin.ui.Notification.Type;
|
||||
import com.vaadin.data.Property.ValueChangeListener;
|
||||
import com.vaadin.data.Property.ValueChangeEvent;
|
||||
import com.dsasp.client.viewframework.listener.ConfirmDialogListener;
|
||||
|
||||
import com.vaadin.ui.Link;
|
||||
import com.vaadin.server.ExternalResource;
|
||||
import com.vaadin.ui.Label;
|
||||
|
||||
@@ -176,9 +176,6 @@ invoicelist?.addButton(cb, 0);
|
||||
```groovy
|
||||
import com.dsasp.server.common.exception.ValidationException;
|
||||
import com.dsasp.server.common.util.HTTPClientUtils;
|
||||
import com.vaadin.ui.Notification;
|
||||
import com.vaadin.ui.Notification.Type;
|
||||
|
||||
def transformnum (moneyStr) {
|
||||
def numericStr = moneyStr.replaceAll(/[^\d.]/, '') // 移除非数字字符:ml-citation{ref="5,11" data="citationList"}
|
||||
def result = numericStr.isNumber() ? numericStr.toBigDecimal() : null // 高精度转换:ml-citation{ref="9,11" data="citationList"}
|
||||
|
||||
@@ -68,9 +68,6 @@ group.getField("ISPREPARATION")?.setVisible(false);
|
||||
|
||||
## 2. 已改写部分(自动产出)
|
||||
```groovy
|
||||
import com.vaadin.ui.Notification;
|
||||
import com.vaadin.ui.Notification.Type;
|
||||
|
||||
|
||||
final Object table = group.getField("MATERIALDETAILS")?.table;
|
||||
table?.setImmediate(true);//设置验证
|
||||
@@ -107,7 +104,6 @@ Object o = table?.getValue();
|
||||
table.select(o);
|
||||
}, 1)
|
||||
|
||||
import com.dsasp.client.viewframework.util.TableImportExport;
|
||||
def tie = new TableImportExport(materialList,"com.dsasp.pm.materialmanagertj.client.MaterialApplyDetailImportOfTJ");
|
||||
tie.addImportButton(4);
|
||||
tie.addExportButton(5);
|
||||
|
||||
@@ -44,9 +44,6 @@ user?.deleteButton.setVisible(false);
|
||||
|
||||
## 2. 已改写部分(自动产出)
|
||||
```groovy
|
||||
import com.vaadin.ui.Notification;
|
||||
import com.vaadin.ui.Notification.Type;
|
||||
|
||||
|
||||
|
||||
final Object table = group.getField("PM_PROJECT_USERS")?.table;
|
||||
|
||||
@@ -168,7 +168,6 @@ assetssortId?.setReadOnly(true);
|
||||
## 2. 已改写部分(自动产出)
|
||||
```groovy
|
||||
import com.dsasp.server.common.dataDic.service.POJOCRUDService;
|
||||
import com.vaadin.ui.PopupDateField;
|
||||
def value = event.getProperty().getValue();
|
||||
|
||||
|
||||
|
||||
@@ -177,9 +177,6 @@ invoicelist?.addButton(cb, 0);
|
||||
```groovy
|
||||
import com.dsasp.server.common.exception.ValidationException;
|
||||
import com.dsasp.server.common.util.HTTPClientUtils;
|
||||
import com.vaadin.ui.Notification;
|
||||
import com.vaadin.ui.Notification.Type;
|
||||
|
||||
def transformnum (moneyStr) {
|
||||
def numericStr = moneyStr.replaceAll(/[^\d.]/, '') // 移除非数字字符:ml-citation{ref="5,11" data="citationList"}
|
||||
def result = numericStr.isNumber() ? numericStr.toBigDecimal() : null // 高精度转换:ml-citation{ref="9,11" data="citationList"}
|
||||
|
||||
@@ -18,7 +18,6 @@ tie.addExportButton(4);
|
||||
|
||||
## 2. 已改写部分(自动产出)
|
||||
```groovy
|
||||
import com.dsasp.client.viewframework.util.TableImportExport;
|
||||
//添加按钮
|
||||
addSubTableButton("RECORDDETAILS", "SELECT", 0);
|
||||
//导入按钮
|
||||
|
||||
@@ -68,9 +68,6 @@ group.getField("ISPREPARATION")?.setVisible(false);
|
||||
|
||||
## 2. 已改写部分(自动产出)
|
||||
```groovy
|
||||
import com.vaadin.ui.Notification;
|
||||
import com.vaadin.ui.Notification.Type;
|
||||
|
||||
|
||||
final Object table = group.getField("MATERIALDETAILS")?.table;
|
||||
table?.setImmediate(true);//设置验证
|
||||
@@ -107,7 +104,6 @@ Object o = table?.getValue();
|
||||
table.select(o);
|
||||
}, 1)
|
||||
|
||||
import com.dsasp.client.viewframework.util.TableImportExport;
|
||||
def tie = new TableImportExport(materialList,"com.dsasp.pm.materialmanagertj.client.MaterialApplyDetailImportOfTJ");
|
||||
tie.addImportButton(4);
|
||||
tie.addExportButton(5);
|
||||
|
||||
@@ -44,9 +44,6 @@ user?.deleteButton.setVisible(false);
|
||||
|
||||
## 2. 已改写部分(自动产出)
|
||||
```groovy
|
||||
import com.vaadin.ui.Notification;
|
||||
import com.vaadin.ui.Notification.Type;
|
||||
|
||||
|
||||
|
||||
final Object table = group.getField("PM_PROJECT_USERS")?.table;
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
// 余留模式 : 残留字段句柄链(未覆盖动词)
|
||||
// 处置 : 大部分已自动改写,余留行人工补全(见作业单)
|
||||
import com.dsasp.viewframework.MultiSelectField;
|
||||
import com.vaadin.data.Property.ValueChangeListener;
|
||||
import com.vaadin.data.Property.ValueChangeEvent;
|
||||
final def group1 = group;
|
||||
|
||||
if (lists == null) {
|
||||
|
||||
@@ -6,12 +6,6 @@
|
||||
// 余留模式 : raw .table 组件访问; 残留字段句柄链(未覆盖动词)
|
||||
// 处置 : 大部分已自动改写,余留行人工补全(见作业单)
|
||||
|
||||
import com.vaadin.ui.Notification;
|
||||
import com.vaadin.ui.Notification.Type;
|
||||
import com.vaadin.data.Property.ValueChangeListener;
|
||||
import com.vaadin.data.Property.ValueChangeEvent;
|
||||
import com.dsasp.client.viewframework.listener.ConfirmDialogListener;
|
||||
|
||||
import com.vaadin.ui.Link;
|
||||
import com.vaadin.server.ExternalResource;
|
||||
import com.vaadin.ui.Label;
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
// label : FULL_AUTO
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
import com.dsasp.server.common.dataDic.service.POJOCRUDService;
|
||||
import com.vaadin.ui.PopupDateField;
|
||||
def value = event.getProperty().getValue();
|
||||
|
||||
|
||||
|
||||
@@ -5,9 +5,6 @@
|
||||
// label : FULL_AUTO
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
|
||||
import com.vaadin.ui.Button;
|
||||
import com.vaadin.ui.Button.ClickEvent;
|
||||
import com.vaadin.ui.Button.ClickListener;
|
||||
//将自定义的按钮添加至
|
||||
|
||||
addSubTableButton("USERIDS", "SELECT", 0);
|
||||
@@ -6,8 +6,6 @@
|
||||
// 余留模式 : 残留字段句柄链(未覆盖动词)
|
||||
// 处置 : 大部分已自动改写,余留行人工补全(见作业单)
|
||||
import com.dsasp.viewframework.MultiSelectField;
|
||||
import com.vaadin.data.Property.ValueChangeListener;
|
||||
import com.vaadin.data.Property.ValueChangeEvent;
|
||||
final def group1 = group;
|
||||
|
||||
if (lists == null) {
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
// seq : 1
|
||||
// label : FULL_AUTO
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
import com.vaadin.ui.Button;
|
||||
|
||||
//def tList = [];
|
||||
//
|
||||
//def results = GetServicesFunction.listSelectResult([:],"HR_WELFARECATEGORY");
|
||||
|
||||
@@ -4,9 +4,6 @@
|
||||
// seq : 1
|
||||
// label : FULL_AUTO
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
import com.vaadin.ui.Button;
|
||||
import com.vaadin.ui.Button.ClickEvent;
|
||||
import com.vaadin.ui.Button.ClickListener;
|
||||
//将自定义的按钮添加至
|
||||
addSubTableButton("HR_EMPLOYEES", "SELECT", 0);
|
||||
|
||||
|
||||
@@ -5,9 +5,6 @@
|
||||
// label : FULL_AUTO
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
|
||||
import com.vaadin.ui.Button;
|
||||
import com.vaadin.ui.Button.ClickEvent;
|
||||
import com.vaadin.ui.Button.ClickListener;
|
||||
//将自定义的按钮添加至
|
||||
|
||||
addSubTableButton("USERIDS", "SELECT", 0);
|
||||
@@ -4,8 +4,5 @@
|
||||
// seq : 3
|
||||
// label : FULL_AUTO
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
import com.vaadin.ui.Button;
|
||||
import com.vaadin.ui.Button.ClickEvent;
|
||||
import com.vaadin.ui.Button.ClickListener;
|
||||
addSubTableButton("SAFETYRECTIFICATIONTERMS", "SELECT", 0);
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
addSubTableButton("MATERIALDETAILS", "SELECT", 0);
|
||||
|
||||
|
||||
import com.dsasp.client.viewframework.util.TableImportExport;
|
||||
def tie = new TableImportExport(materiallist,"com.dsasp.pm.materialmanagertj.client.MaterialRequestMasterPlanDetailImportOfTJ");
|
||||
group.getField("MATERIALDETAILS").setData(tie);
|
||||
tie.addImportButton(3);
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
// label : FULL_AUTO
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
|
||||
|
||||
|
||||
//将自定义的按钮添加至
|
||||
addSubTableButton("SIGNDETAILS", "SELECT", 0);
|
||||
addFieldButton("SIGNDETAILS", "全选签到", {
|
||||
|
||||
@@ -6,12 +6,6 @@
|
||||
// 余留模式 : raw .table 组件访问; 残留字段句柄链(未覆盖动词)
|
||||
// 处置 : 大部分已自动改写,余留行人工补全(见作业单)
|
||||
|
||||
import com.vaadin.ui.Notification;
|
||||
import com.vaadin.ui.Notification.Type;
|
||||
import com.vaadin.data.Property.ValueChangeListener;
|
||||
import com.vaadin.data.Property.ValueChangeEvent;
|
||||
import com.dsasp.client.viewframework.listener.ConfirmDialogListener;
|
||||
|
||||
import com.vaadin.ui.Link;
|
||||
import com.vaadin.server.ExternalResource;
|
||||
import com.vaadin.ui.Label;
|
||||
|
||||
@@ -4,7 +4,4 @@
|
||||
// seq : 2
|
||||
// label : FULL_AUTO
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
import com.vaadin.ui.Button;
|
||||
import com.vaadin.ui.Button.ClickEvent;
|
||||
import com.vaadin.ui.Button.ClickListener;
|
||||
addSubTableButton("UNITS", "SELECT", 0);
|
||||
@@ -5,14 +5,10 @@
|
||||
// label : FULL_AUTO
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
/*
|
||||
import com.vaadin.ui.Button;
|
||||
import com.vaadin.ui.Button.ClickEvent;
|
||||
import com.vaadin.ui.Button.ClickListener;
|
||||
*/
|
||||
def inventorydetailslist = getFieldValue("INVENTORYDETAILS");//盘点明细值
|
||||
|
||||
//导入功能
|
||||
import com.dsasp.client.viewframework.util.TableImportExport;
|
||||
def tie = new TableImportExport(inventorydetails,"com.dsasp.hr.checkattendancemanager.client.CheckinoutImport"){
|
||||
public void importData(List<Map<String,Object>> datas){
|
||||
def map = [:];
|
||||
|
||||
@@ -7,9 +7,6 @@
|
||||
// 处置 : 大部分已自动改写,余留行人工补全(见作业单)
|
||||
import com.dsasp.server.common.exception.ValidationException;
|
||||
import com.dsasp.server.common.util.HTTPClientUtils;
|
||||
import com.vaadin.ui.Notification;
|
||||
import com.vaadin.ui.Notification.Type;
|
||||
|
||||
def transformnum (moneyStr) {
|
||||
def numericStr = moneyStr.replaceAll(/[^\d.]/, '') // 移除非数字字符:ml-citation{ref="5,11" data="citationList"}
|
||||
def result = numericStr.isNumber() ? numericStr.toBigDecimal() : null // 高精度转换:ml-citation{ref="9,11" data="citationList"}
|
||||
|
||||
@@ -5,9 +5,6 @@
|
||||
// label : PARTIAL
|
||||
// 余留模式 : raw .table 组件访问; 数据源 addItem(非标准选项 idiom); 残留字段句柄链(未覆盖动词)
|
||||
// 处置 : 大部分已自动改写,余留行人工补全(见作业单)
|
||||
import com.vaadin.ui.Notification;
|
||||
import com.vaadin.ui.Notification.Type;
|
||||
|
||||
|
||||
final Object table = group.getField("MATERIALDETAILS")?.table;
|
||||
table?.setImmediate(true);//设置验证
|
||||
@@ -44,7 +41,6 @@ Object o = table?.getValue();
|
||||
table.select(o);
|
||||
}, 1)
|
||||
|
||||
import com.dsasp.client.viewframework.util.TableImportExport;
|
||||
def tie = new TableImportExport(materialList,"com.dsasp.pm.materialmanagertj.client.MaterialApplyDetailImportOfTJ");
|
||||
tie.addImportButton(4);
|
||||
tie.addExportButton(5);
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
// seq : 1
|
||||
// label : FULL_AUTO
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
import com.vaadin.ui.Button;
|
||||
|
||||
//def tList = [];
|
||||
//def results = GetServicesFunction.listSelectResult([:],"HR_WELFARECATEGORY");
|
||||
//
|
||||
|
||||
@@ -5,14 +5,10 @@
|
||||
// label : FULL_AUTO
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
/*
|
||||
import com.vaadin.ui.Button;
|
||||
import com.vaadin.ui.Button.ClickEvent;
|
||||
import com.vaadin.ui.Button.ClickListener;
|
||||
*/
|
||||
def inventorydetailslist = getFieldValue("INVENTORYDETAILS");//盘点明细值
|
||||
|
||||
//导入功能
|
||||
import com.dsasp.client.viewframework.util.TableImportExport;
|
||||
def tie = new TableImportExport(inventorydetails,"com.dsasp.pm.turnovermaterialmanager.client.TurnOverMaterialInventoryDetailsImport"){
|
||||
public void importData(List<Map<String,Object>> datas){
|
||||
|
||||
|
||||
@@ -5,9 +5,6 @@
|
||||
// label : PARTIAL
|
||||
// 余留模式 : raw .table 组件访问; 残留字段句柄链(未覆盖动词)
|
||||
// 处置 : 大部分已自动改写,余留行人工补全(见作业单)
|
||||
import com.vaadin.ui.Notification;
|
||||
import com.vaadin.ui.Notification.Type;
|
||||
|
||||
|
||||
|
||||
final Object table = group.getField("PM_PROJECT_USERS")?.table;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
import com.dsasp.server.common.dataDic.bean.CustomSearchConditional;
|
||||
|
||||
def strSql = " P.PROJECTSTAGE>=8 AND P.PROJECTSTAGE <= 100"";
|
||||
def strSql = " P.PROJECTSTAGE>=8 AND P.PROJECTSTAGE <= 100";
|
||||
def map = ["PROJECTSTAGE":new CustomSearchConditional(strSql)];
|
||||
map["FILIALE"] = getFieldValue("ORGID");
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
// 余留模式 : 属性数据源链(非 setReadOnly 收尾); 残留字段句柄链(未覆盖动词)
|
||||
// 处置 : 大部分已自动改写,余留行人工补全(见作业单)
|
||||
import com.dsasp.server.common.dataDic.service.POJOCRUDService;
|
||||
import com.vaadin.ui.PopupDateField;
|
||||
def value = event.getProperty().getValue();
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
// label : FULL_AUTO
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
import com.dsasp.server.common.dataDic.service.POJOCRUDService;
|
||||
import com.vaadin.ui.PopupDateField;
|
||||
|
||||
def value = event.getProperty().getValue();
|
||||
|
||||
////////////////////////////////////////////////////////
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
// seq : 1
|
||||
// label : FULL_AUTO
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
import com.vaadin.ui.Button;
|
||||
|
||||
//def tList = [];
|
||||
//def results = GetServicesFunction.listSelectResult([:],"HR_WELFARECATEGORY");
|
||||
//
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
// label : FULL_AUTO
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
|
||||
|
||||
|
||||
//将自定义的按钮添加至
|
||||
//addSubTableButton("TASKS", "SELECT", 0);
|
||||
addFieldButton("TASKS", "查询", {
|
||||
|
||||
@@ -5,8 +5,5 @@
|
||||
// label : FULL_AUTO
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
|
||||
import com.vaadin.ui.Button;
|
||||
import com.vaadin.ui.Button.ClickEvent;
|
||||
import com.vaadin.ui.Button.ClickListener;
|
||||
//将自定义的按钮添加至
|
||||
addSubTableButton("INVOICELIST", "SELECT", 0);
|
||||
|
||||
@@ -7,9 +7,6 @@
|
||||
// 处置 : 大部分已自动改写,余留行人工补全(见作业单)
|
||||
import com.dsasp.server.common.exception.ValidationException;
|
||||
import com.dsasp.server.common.util.HTTPClientUtils;
|
||||
import com.vaadin.ui.Notification;
|
||||
import com.vaadin.ui.Notification.Type;
|
||||
|
||||
def transformnum (moneyStr) {
|
||||
def numericStr = moneyStr.replaceAll(/[^\d.]/, '') // 移除非数字字符:ml-citation{ref="5,11" data="citationList"}
|
||||
def result = numericStr.isNumber() ? numericStr.toBigDecimal() : null // 高精度转换:ml-citation{ref="9,11" data="citationList"}
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
// label : PARTIAL
|
||||
// 余留模式 : 残留字段句柄链(未覆盖动词)
|
||||
// 处置 : 大部分已自动改写,余留行人工补全(见作业单)
|
||||
import com.dsasp.client.viewframework.util.TableImportExport;
|
||||
//添加按钮
|
||||
addSubTableButton("RECORDDETAILS", "SELECT", 0);
|
||||
//导入按钮
|
||||
|
||||
@@ -4,9 +4,6 @@
|
||||
// seq : 1
|
||||
// label : FULL_AUTO
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
import com.vaadin.ui.Button;
|
||||
import com.vaadin.ui.Button.ClickEvent;
|
||||
import com.vaadin.ui.Button.ClickListener;
|
||||
//将自定义的按钮添加至
|
||||
addSubTableButton("DETAILS", "SELECT", 0);
|
||||
|
||||
|
||||
@@ -5,9 +5,6 @@
|
||||
// label : PARTIAL
|
||||
// 余留模式 : raw .table 组件访问; 数据源 addItem(非标准选项 idiom); 残留字段句柄链(未覆盖动词)
|
||||
// 处置 : 大部分已自动改写,余留行人工补全(见作业单)
|
||||
import com.vaadin.ui.Notification;
|
||||
import com.vaadin.ui.Notification.Type;
|
||||
|
||||
|
||||
final Object table = group.getField("MATERIALDETAILS")?.table;
|
||||
table?.setImmediate(true);//设置验证
|
||||
@@ -44,7 +41,6 @@ Object o = table?.getValue();
|
||||
table.select(o);
|
||||
}, 1)
|
||||
|
||||
import com.dsasp.client.viewframework.util.TableImportExport;
|
||||
def tie = new TableImportExport(materialList,"com.dsasp.pm.materialmanagertj.client.MaterialApplyDetailImportOfTJ");
|
||||
tie.addImportButton(4);
|
||||
tie.addExportButton(5);
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
// label : FULL_AUTO
|
||||
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
||||
|
||||
|
||||
|
||||
//将自定义的按钮添加至
|
||||
//addSubTableButton("TASKS", "SELECT", 0);
|
||||
addFieldButton("TASKS", "查询", {
|
||||
|
||||
@@ -5,9 +5,6 @@
|
||||
// label : PARTIAL
|
||||
// 余留模式 : raw .table 组件访问; 残留字段句柄链(未覆盖动词)
|
||||
// 处置 : 大部分已自动改写,余留行人工补全(见作业单)
|
||||
import com.vaadin.ui.Notification;
|
||||
import com.vaadin.ui.Notification.Type;
|
||||
|
||||
|
||||
|
||||
final Object table = group.getField("PM_PROJECT_USERS")?.table;
|
||||
|
||||
Reference in New Issue
Block a user