feat(blueprint): master-detail-v1 编译器分支 + PageBlueprintChild

PageBlueprint 加 RECIPE_MASTER_DETAIL 常量与可空 child 组件(14-arg,
保留 13-arg 兼容构造);新增 PageBlueprintChild record。
PageBlueprintCompiler.masterDetail 复用 maintenance 列表骨架,
新增/编辑表单内联 house-style input-table 子表(name=listColumn,
quickEdit 控件),编辑表单 initApi 走 _LOAD 回显主+子行。
validate 接受 master-detail 并要求 child 非空/childTable/listColumn
非空/fields 非空。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-20 15:16:30 +08:00
parent d71ad6f461
commit 8fe377b0c8
2691 changed files with 552833 additions and 1696 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -21,13 +21,24 @@ public record PageBlueprint(
boolean allowCreate, boolean allowCreate,
boolean allowEdit, boolean allowEdit,
boolean allowDelete, boolean allowDelete,
int pageSize) { int pageSize,
PageBlueprintChild child) {
public static final int VERSION = 1; public static final int VERSION = 1;
public static final String RECIPE_MAINTENANCE_CRUD = "maintenance-crud-v1"; public static final String RECIPE_MAINTENANCE_CRUD = "maintenance-crud-v1";
public static final String RECIPE_TREE_CRUD = "tree-crud-v1"; public static final String RECIPE_TREE_CRUD = "tree-crud-v1";
public static final String RECIPE_MASTER_DETAIL = "master-detail-v1";
public PageBlueprint { public PageBlueprint {
fields = fields == null ? List.of() : List.copyOf(fields); fields = fields == null ? List.of() : List.copyOf(fields);
} }
/** 13-arg 兼容构造:单表/树 recipe 无子表(child=null)。保持既有调用方/测试零改。 */
public PageBlueprint(int schemaVersion, String recipe, String templateId, String title,
String tableName, String entityName, String primaryKey, String displayField,
List<PageBlueprintField> fields, boolean allowCreate, boolean allowEdit,
boolean allowDelete, int pageSize) {
this(schemaVersion, recipe, templateId, title, tableName, entityName, primaryKey, displayField,
fields, allowCreate, allowEdit, allowDelete, pageSize, null);
}
} }

View File

@@ -0,0 +1,27 @@
package com.eip4.platform.metadata.schema.blueprint;
import java.util.List;
/**
* 主子表 recipe(master-detail-v1)的子表侧装配描述。
*
* <p>主表表单内联一个 amis input-table(name={@link #listColumn}),其列由 {@link #fields} 经
* controlType 渲染成可编辑单元格。子行作为主表单同名数组属性随主表单一并提交(无独立 source/api),
* 保真层默认流 _ADD/_UPDATE 经 LIST 属性级联落子表(已实测)。编辑态经 _LOAD 回显
* data.result.{@code listColumn} 的子行。
*
* @param childTable 子表表名(普通实体 tabletype=1)
* @param listColumn 主表 LIST 属性列名(amis input-table 的 name,如 DETAILS)
* @param displayField 子表显示字段(预留;当前仅作元信息)
* @param fields 子表可编辑列(每列经 controlType 映射为 quickEdit 控件)
*/
public record PageBlueprintChild(
String childTable,
String listColumn,
String displayField,
List<PageBlueprintField> fields) {
public PageBlueprintChild {
fields = fields == null ? List.of() : List.copyOf(fields);
}
}

View File

@@ -25,9 +25,132 @@ public final class PageBlueprintCompiler {
if (PageBlueprint.RECIPE_TREE_CRUD.equals(blueprint.recipe())) { if (PageBlueprint.RECIPE_TREE_CRUD.equals(blueprint.recipe())) {
return treeCrud(blueprint); return treeCrud(blueprint);
} }
if (PageBlueprint.RECIPE_MASTER_DETAIL.equals(blueprint.recipe())) {
return masterDetail(blueprint);
}
throw new IllegalArgumentException("Unsupported page recipe: " + blueprint.recipe()); throw new IllegalArgumentException("Unsupported page recipe: " + blueprint.recipe());
} }
/**
* 主子表页(master-detail-v1):复用 maintenance CRUD 列表骨架,但新增/编辑表单在主表控件之后
* 内联一个 amis input-table 子表(house-style,name={@code child.listColumn})。子行随主表单同名数组
* 一并提交(无独立 source/api),保真层默认流经 LIST 属性级联落子表(已实测)。
*
* <p>编辑表单 initApi 走 {@code /api/flow/<TABLE>_LOAD}(data.{@code <TABLE>_ID}=主键),_LOAD
* 返回 data.result 含 LIST 列即子行,amis 据此回显主+子(已实测)。
*/
private ObjectNode masterDetail(PageBlueprint blueprint) {
ObjectNode page = objectMapper.createObjectNode();
page.put("type", "page");
page.put("title", blueprint.title());
ObjectNode crud = page.putObject("body");
String crudName = lowerCamel(blueprint.tableName()) + "Crud";
crud.put("type", "crud");
crud.put("name", crudName);
crud.put("syncLocation", false);
crud.put("api", "/api/flow/" + blueprint.tableName() + "_SEARCH");
crud.put("selectable", true);
crud.put("checkOnItemClick", true);
crud.put("primaryField", blueprint.primaryKey());
crud.set("filter", searchFilter(blueprint));
ArrayNode headerToolbar = crud.putArray("headerToolbar");
if (blueprint.allowCreate()) {
headerToolbar.add(masterDetailAddButton(blueprint, crudName));
}
if (blueprint.allowEdit()) {
headerToolbar.add(masterDetailEditButton(blueprint, crudName));
}
if (blueprint.allowDelete()) {
headerToolbar.add(maintenanceDeleteButton(blueprint, crudName));
}
headerToolbar.add("pagination");
ArrayNode footerToolbar = crud.putArray("footerToolbar");
footerToolbar.add("statistics");
footerToolbar.add("pagination");
crud.put("perPage", blueprint.pageSize());
crud.set("columns", maintenanceColumns(blueprint));
return page;
}
private ObjectNode masterDetailAddButton(PageBlueprint blueprint, String crudName) {
ObjectNode addButton = objectMapper.createObjectNode();
addButton.put("type", "button");
addButton.put("id", "新增");
addButton.put("label", "新增");
addButton.put("level", "primary");
addButton.put("icon", "fa fa-plus");
addButton.put("actionType", "dialog");
ObjectNode addDialog = addButton.putObject("dialog");
addDialog.put("title", "新增" + blueprint.entityName());
addDialog.put("size", "lg");
ObjectNode addForm = addDialog.putObject("body");
addForm.put("type", "form");
addForm.put("api", "post:/api/flow/" + blueprint.tableName() + "_ADD");
addForm.put("reload", crudName);
ArrayNode controls = formControls(blueprint, false);
controls.add(childInputTable(blueprint.child()));
addForm.set("body", controls);
return addButton;
}
private ObjectNode masterDetailEditButton(PageBlueprint blueprint, String crudName) {
ObjectNode edit = objectMapper.createObjectNode();
edit.put("type", "button");
edit.put("id", "编辑");
edit.put("label", "编辑");
edit.put("level", "primary");
edit.put("actionType", "dialog");
edit.put("disabledOn", "${!selectedItems || selectedItems.length === 0}");
ObjectNode dialog = edit.putObject("dialog");
dialog.put("title", "编辑" + blueprint.entityName());
dialog.put("size", "lg");
ObjectNode editForm = dialog.putObject("body");
editForm.put("type", "form");
editForm.put("api", "post:/api/flow/" + blueprint.tableName() + "_UPDATE");
editForm.put("reload", crudName);
// 经 _LOAD 回显主+子行(data.result.<listColumn>=子行,已实测)。
ObjectNode initApi = editForm.putObject("initApi");
initApi.put("method", "post");
initApi.put("url", "/api/flow/" + blueprint.tableName() + "_LOAD");
initApi.putObject("data").put(blueprint.primaryKey(),
"${" + blueprint.primaryKey() + "}");
// 选中行铺进对话框作用域,主键经 initApi 拉 _LOAD(主+子)。
dialog.putObject("data").put("&", "${selectedItems[0]}");
ArrayNode editControls = formControls(blueprint, false);
editControls.add(childInputTable(blueprint.child()));
editControls.add(hidden(blueprint.primaryKey(), "${" + blueprint.primaryKey() + "}"));
editForm.set("body", editControls);
return edit;
}
/**
* 子表 input-table(house-style,对齐转换器 UiTypeMapper EditGrid 形态):name={@code child.listColumn},
* 列由 {@code child.fields} 经 controlType 渲染为 quickEdit 可编辑单元格。子行随主表单同名数组提交。
*/
private ObjectNode childInputTable(PageBlueprintChild child) {
ObjectNode table = objectMapper.createObjectNode();
table.put("type", "input-table");
table.put("name", child.listColumn());
table.put("id", "eg-" + child.listColumn());
table.put("label", child.displayField() == null ? child.listColumn() : child.displayField());
table.put("addable", true);
table.put("removable", true);
table.put("needConfirm", false);
table.put("staticOn", "${__readonly}");
ArrayNode columns = table.putArray("columns");
for (PageBlueprintField field : child.fields()) {
ObjectNode col = columns.addObject();
col.put("name", field.name());
col.put("label", field.label());
ObjectNode quickEdit = col.putObject("quickEdit");
quickEdit.put("type", controlType(field.type()));
quickEdit.put("name", field.name());
}
return table;
}
/** /**
* 单表维护页,对齐转换器 house-style: * 单表维护页,对齐转换器 house-style:
* <ul> * <ul>
@@ -399,7 +522,8 @@ public final class PageBlueprintCompiler {
throw new IllegalArgumentException("Unsupported page blueprint version: " + blueprint.schemaVersion()); throw new IllegalArgumentException("Unsupported page blueprint version: " + blueprint.schemaVersion());
} }
if (!PageBlueprint.RECIPE_MAINTENANCE_CRUD.equals(blueprint.recipe()) if (!PageBlueprint.RECIPE_MAINTENANCE_CRUD.equals(blueprint.recipe())
&& !PageBlueprint.RECIPE_TREE_CRUD.equals(blueprint.recipe())) { && !PageBlueprint.RECIPE_TREE_CRUD.equals(blueprint.recipe())
&& !PageBlueprint.RECIPE_MASTER_DETAIL.equals(blueprint.recipe())) {
throw new IllegalArgumentException("Unsupported page recipe: " + blueprint.recipe()); throw new IllegalArgumentException("Unsupported page recipe: " + blueprint.recipe());
} }
required(blueprint.templateId(), "templateId"); required(blueprint.templateId(), "templateId");
@@ -427,6 +551,17 @@ public final class PageBlueprintCompiler {
&& blueprint.fields().stream().noneMatch(field -> "PARENTID".equals(field.name()))) { && blueprint.fields().stream().noneMatch(field -> "PARENTID".equals(field.name()))) {
throw new IllegalArgumentException("tree-crud-v1 requires PARENTID field"); throw new IllegalArgumentException("tree-crud-v1 requires PARENTID field");
} }
if (PageBlueprint.RECIPE_MASTER_DETAIL.equals(blueprint.recipe())) {
PageBlueprintChild child = blueprint.child();
if (child == null) {
throw new IllegalArgumentException("master-detail-v1 requires child");
}
required(child.childTable(), "child.childTable");
required(child.listColumn(), "child.listColumn");
if (child.fields() == null || child.fields().isEmpty()) {
throw new IllegalArgumentException("child.fields must not be empty");
}
}
if (blueprint.pageSize() < 1 || blueprint.pageSize() > 200) { if (blueprint.pageSize() < 1 || blueprint.pageSize() > 200) {
throw new IllegalArgumentException("pageSize must be between 1 and 200"); throw new IllegalArgumentException("pageSize must be between 1 and 200");
} }

View File

@@ -192,6 +192,80 @@ class PageBlueprintCompilerTest {
assertThrows(IllegalArgumentException.class, () -> new PageBlueprintCompiler(MAPPER).compile(blueprint)); assertThrows(IllegalArgumentException.class, () -> new PageBlueprintCompiler(MAPPER).compile(blueprint));
} }
@Test
@DisplayName("master-detail-v1 编译: 编辑表单含 name=<listColumn> 的 input-table 子表,且 initApi 走 _LOAD 回显子行")
void compilesMasterDetailRecipe() {
PageBlueprint blueprint = new PageBlueprint(
PageBlueprint.VERSION,
PageBlueprint.RECIPE_MASTER_DETAIL,
"eip4ai-purchase",
"采购申请",
"EIP4AI_PURCHASE",
"采购申请",
"EIP4AI_PURCHASE_ID",
"TITLE",
List.of(
new PageBlueprintField("TITLE", "标题", "string", true, true, true),
new PageBlueprintField("AMOUNT", "金额", "number", false, true, true)),
true, true, true, 20,
new PageBlueprintChild("EIP4AI_PURCHASE_ITEM", "DETAILS", "ITEMNAME",
List.of(
new PageBlueprintField("ITEMNAME", "物料", "string", true, false, true),
new PageBlueprintField("QTY", "数量", "integer", false, false, true))));
ObjectNode schema = new PageBlueprintCompiler(MAPPER).compile(blueprint);
// 主表 CRUD 列表骨架与 maintenance 一致。
ObjectNode crud = (ObjectNode) schema.path("body");
assertEquals("crud", crud.path("type").asText());
assertEquals("/api/flow/EIP4AI_PURCHASE_SEARCH", crud.path("api").asText());
ArrayNode header = (ArrayNode) crud.path("headerToolbar");
// 新增表单内联 input-table 子表(name=DETAILS)。
ObjectNode addForm = (ObjectNode) header.get(0).path("dialog").path("body");
ArrayNode addBody = (ArrayNode) addForm.path("body");
ObjectNode addChild = findByType(addBody, "input-table");
assertEquals("DETAILS", addChild.path("name").asText());
assertTrue(addChild.path("addable").asBoolean());
assertTrue(addChild.path("removable").asBoolean());
// 子列经 quickEdit 控件渲染(QTY=integer → input-number)。
ArrayNode childCols = (ArrayNode) addChild.path("columns");
assertEquals(2, childCols.size());
assertEquals("ITEMNAME", childCols.get(0).path("name").asText());
assertEquals("input-text", childCols.get(0).path("quickEdit").path("type").asText());
assertEquals("input-number", childCols.get(1).path("quickEdit").path("type").asText());
// 编辑表单:input-table 子表 name=DETAILS,且 initApi 走 _LOAD 回显主+子行。
ObjectNode editForm = (ObjectNode) header.get(1).path("dialog").path("body");
assertEquals("/api/flow/EIP4AI_PURCHASE_LOAD", editForm.path("initApi").path("url").asText());
assertEquals("${EIP4AI_PURCHASE_ID}",
editForm.path("initApi").path("data").path("EIP4AI_PURCHASE_ID").asText());
ArrayNode editBody = (ArrayNode) editForm.path("body");
ObjectNode editChild = findByType(editBody, "input-table");
assertEquals("DETAILS", editChild.path("name").asText());
}
private static ObjectNode findByType(ArrayNode arr, String type) {
for (int i = 0; i < arr.size(); i++) {
if (type.equals(arr.get(i).path("type").asText())) {
return (ObjectNode) arr.get(i);
}
}
throw new AssertionError("no node with type=" + type);
}
@Test
@DisplayName("master-detail-v1 缺 child 校验失败")
void rejectsMasterDetailWithoutChild() {
PageBlueprint blueprint = new PageBlueprint(
PageBlueprint.VERSION,
PageBlueprint.RECIPE_MASTER_DETAIL,
"tpl", "标题", "EIP4AI_M", "实体", "EIP4AI_M_ID", "NAME",
List.of(new PageBlueprintField("NAME", "名称", "string", true, true, true)),
true, true, true, 20, null);
assertThrows(IllegalArgumentException.class, () -> new PageBlueprintCompiler(MAPPER).compile(blueprint));
}
@Test @Test
@DisplayName("引用列渲染显名: list 列 name 指向 <COL>_DISPLAY__(运行时 _SEARCH 注入显名),非裸 id") @DisplayName("引用列渲染显名: list 列 name 指向 <COL>_DISPLAY__(运行时 _SEARCH 注入显名),非裸 id")
void referenceColumnRendersDisplayName() { void referenceColumnRendersDisplayName() {

View File

@@ -0,0 +1,550 @@
{
"type" : "page",
"title" : "福利保险档案编辑(项目)-查看页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "USERIDNEW",
"label" : "姓名",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/e6f5e17e-66cc-45a7-a78d-a81eb2927e11/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 8,
"body" : [ {
"name" : "PROJECTID",
"label" : "工程名称",
"type" : "static",
"tpl" : "${PROJECTID_DISPLAY__ ? PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PROJECTID)}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "IDCARD",
"label" : "身份证号",
"required" : true,
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "MOBILE",
"label" : "手机号",
"required" : true,
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "SERIALNO",
"label" : "员工工号",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "OPENACCOUNTDATE",
"label" : "开户日期",
"required" : true,
"type" : "input-date"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "STARTYEAR",
"label" : "开始年",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "STARTMONTH",
"label" : "开始月",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 1.0,
"max" : 12.0
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PAYCATEGORY",
"label" : "缴费人员类别",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_WELFARE_PAYCATEGORY"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ENDYEAR",
"label" : "结束年",
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ENDMONTH",
"label" : "结束月",
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 1.0,
"max" : 12.0
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "WELFAREACCOUNT1",
"label" : "社保编号",
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "WELFAREACCOUNT2",
"label" : "公积金编号",
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "OPENACCOUNTREASON",
"label" : "开户原因",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"type" : "flex",
"justify" : "flex-start",
"alignItems" : "center",
"style" : {
"paddingLeft" : "120px",
"marginBottom" : "4px"
},
"items" : [ {
"name" : "SELECT",
"label" : "选择",
"type" : "button",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"id" : "egadddlgSELECT",
"title" : "",
"size" : "lg",
"body" : {
"type" : "crud",
"api" : "/api/picker/deb25e34-72bb-47db-ac2f-655423fc4bb7/list",
"mode" : "table",
"syncLocation" : false,
"selectable" : true,
"multiple" : true,
"keepItemSelectionOnPageChange" : true,
"primaryField" : "_id",
"labelField" : "_label",
"headerToolbar" : [ {
"type" : "search-box",
"placeholder" : "输入关键字搜索",
"name" : "q"
} ],
"footerToolbar" : [ "pagination" ],
"onEvent" : {
"selectedChange" : {
"actions" : [ {
"actionType" : "setValue",
"componentId" : "egadddlgSELECT",
"args" : {
"value" : {
"__egpicked" : "${event.data.selectedItems}"
}
}
} ]
}
}
},
"actions" : [ {
"type" : "button",
"label" : "取消",
"actionType" : "close"
}, {
"type" : "button",
"label" : "确定",
"level" : "primary",
"onEvent" : {
"click" : {
"actions" : [ {
"actionType" : "addItem",
"componentId" : "eg-PAYBASERECORDS",
"args" : {
"item" : "${ARRAYMAP(__egpicked, item => ({...item}))}"
}
}, {
"actionType" : "closeDialog"
} ]
}
}
} ]
},
"hiddenOn" : "${__readonly}"
} ]
}, {
"name" : "PAYBASERECORDS",
"label" : "缴费基数记录",
"required" : true,
"type" : "input-table",
"id" : "eg-PAYBASERECORDS",
"addable" : false,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "DISPLANNAME",
"label" : "类别",
"quickEdit" : {
"name" : "DISPLANNAME",
"disabled" : true,
"type" : "input-text"
}
}, {
"name" : "STARTYEAR",
"label" : "开始年",
"quickEdit" : {
"name" : "STARTYEAR",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
}
}, {
"name" : "STARTMONTH",
"label" : "开始月",
"quickEdit" : {
"name" : "STARTMONTH",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 1.0,
"max" : 12.0
}
}, {
"name" : "ENDYEAR",
"label" : "结束年",
"quickEdit" : {
"name" : "ENDYEAR",
"type" : "input-number",
"precision" : 0,
"step" : 1
}
}, {
"name" : "ENDMONTH",
"label" : "结束月",
"quickEdit" : {
"name" : "ENDMONTH",
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 1.0,
"max" : 12.0
}
}, {
"name" : "PAYBASEMONEY",
"label" : "缴费基数(元)",
"quickEdit" : {
"name" : "PAYBASEMONEY",
"required" : true,
"type" : "input-number",
"precision" : 2,
"onEvent" : {
"change" : {
"actions" : [ {
"actionType" : "ajax",
"outputVar" : "egRow",
"args" : {
"api" : {
"method" : "post",
"url" : "/api/script/execute-editgrid-row",
"data" : {
"templateId" : "000daa35-d56b-4dfb-9306-ba0bf5e4d465",
"editgridField" : "PAYBASERECORDS",
"scriptKey" : "35824481-0429-4e40-b37d-44a68b1972e7",
"changedField" : "PAYBASEMONEY",
"row" : "${__rendererData}",
"parent" : {
"PAYBASERECORDS" : "${__rendererData.PAYBASERECORDS || PAYBASERECORDS}"
}
}
}
}
}, {
"actionType" : "setValue",
"componentId" : "eg-PAYBASERECORDS",
"args" : {
"index" : "${index}",
"value" : "${egRow.rowSetValues}"
}
}, {
"actionType" : "setValue",
"componentId" : "eip4-edit-form",
"args" : {
"value" : "${egRow.parentSetValues}"
}
} ]
}
}
}
}, {
"name" : "UNITPAYPROPORTION",
"label" : "单位缴费比例(%)",
"quickEdit" : {
"name" : "UNITPAYPROPORTION",
"disabled" : true,
"type" : "input-number",
"precision" : 2
}
}, {
"name" : "UNITPAYMONEY",
"label" : "单位缴费(元)",
"quickEdit" : {
"name" : "UNITPAYMONEY",
"disabled" : true,
"type" : "input-number",
"precision" : 2
}
}, {
"name" : "PERSONALPAYPROPORTION",
"label" : "个人缴费比例(%)",
"quickEdit" : {
"name" : "PERSONALPAYPROPORTION",
"disabled" : true,
"type" : "input-number",
"precision" : 2
}
}, {
"name" : "PERSONALPAYMONEY",
"label" : "个人缴费(元)",
"quickEdit" : {
"name" : "PERSONALPAYMONEY",
"disabled" : true,
"type" : "input-number",
"precision" : 2
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "LOOKPAYBASERECORDS",
"label" : "缴费基数记录",
"required" : true,
"type" : "input-table",
"id" : "eg-LOOKPAYBASERECORDS",
"addable" : false,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "DISPLANNAME",
"label" : "类别",
"quickEdit" : {
"name" : "DISPLANNAME",
"disabled" : true,
"type" : "input-text"
}
}, {
"name" : "STARTYEAR",
"label" : "开始年",
"quickEdit" : {
"name" : "STARTYEAR",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
}
}, {
"name" : "STARTMONTH",
"label" : "开始月",
"quickEdit" : {
"name" : "STARTMONTH",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 1.0,
"max" : 12.0
}
}, {
"name" : "ENDYEAR",
"label" : "结束年",
"quickEdit" : {
"name" : "ENDYEAR",
"type" : "input-number",
"precision" : 0,
"step" : 1
}
}, {
"name" : "ENDMONTH",
"label" : "结束月",
"quickEdit" : {
"name" : "ENDMONTH",
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 1.0,
"max" : 12.0
}
}, {
"name" : "PAYBASEMONEY",
"label" : "缴费基数(元)",
"quickEdit" : {
"name" : "PAYBASEMONEY",
"required" : true,
"type" : "input-number",
"precision" : 2,
"onEvent" : {
"change" : {
"actions" : [ {
"actionType" : "ajax",
"outputVar" : "egRow",
"args" : {
"api" : {
"method" : "post",
"url" : "/api/script/execute-editgrid-row",
"data" : {
"templateId" : "000daa35-d56b-4dfb-9306-ba0bf5e4d465",
"editgridField" : "LOOKPAYBASERECORDS",
"scriptKey" : "35824481-0429-0429-b37d-44a68b1972e7",
"changedField" : "PAYBASEMONEY",
"row" : "${__rendererData}",
"parent" : {
"LOOKPAYBASERECORDS" : "${__rendererData.LOOKPAYBASERECORDS || LOOKPAYBASERECORDS}"
}
}
}
}
}, {
"actionType" : "setValue",
"componentId" : "eg-LOOKPAYBASERECORDS",
"args" : {
"index" : "${index}",
"value" : "${egRow.rowSetValues}"
}
}, {
"actionType" : "setValue",
"componentId" : "eip4-edit-form",
"args" : {
"value" : "${egRow.parentSetValues}"
}
} ]
}
}
}
}, {
"name" : "UNITPAYPROPORTION",
"label" : "单位缴费比例(%)",
"quickEdit" : {
"name" : "UNITPAYPROPORTION",
"disabled" : true,
"type" : "input-number",
"precision" : 2
}
}, {
"name" : "UNITPAYMONEY",
"label" : "单位缴费(元)",
"quickEdit" : {
"name" : "UNITPAYMONEY",
"disabled" : true,
"type" : "input-number",
"precision" : 2
}
}, {
"name" : "PERSONALPAYPROPORTION",
"label" : "个人缴费比例(%)",
"quickEdit" : {
"name" : "PERSONALPAYPROPORTION",
"disabled" : true,
"type" : "input-number",
"precision" : 2
}
}, {
"name" : "PERSONALPAYMONEY",
"label" : "个人缴费(元)",
"quickEdit" : {
"name" : "PERSONALPAYMONEY",
"disabled" : true,
"type" : "input-number",
"precision" : 2
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"name" : "HR_WELFAREARCHIVES_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "ORGID",
"label" : "所属(分)公司",
"type" : "static",
"tpl" : "${ORGID_DISPLAY__ ? ORGID_DISPLAY__ : (NAME ? NAME : ORGID)}",
"hidden" : true
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,278 @@
{
"type" : "page",
"title" : "印章外带登记添加页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "ISRULE",
"label" : "选择已申请外带的印章",
"type" : "checkbox",
"value" : "0"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "SELECT_APPLY",
"label" : "从使用申请中选择",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/69e720ad-a129-40da-9399-dbae004f9310/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "LEDGERS",
"label" : "外带印章",
"type" : "static",
"tpl" : "${LEDGERS_DISPLAY__ ? LEDGERS_DISPLAY__ : (SEALNAME ? SEALNAME : LEDGERS)}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "SEALCOUNT",
"label" : "盖章文件份数",
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "COLLAR_NAME",
"label" : "领用人",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "COLLARDEPART",
"label" : "领用部门",
"required" : true,
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree",
"searchable" : true,
"onlyLeaf" : true
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "BRINGOUTDATE",
"label" : "外带日期",
"required" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "BRINGOUTADDRESS",
"label" : "外带地点",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "EXPECTEDRETURNDATE",
"label" : "预计归还日期",
"required" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "BRINGOUTREASON",
"label" : "外带事由",
"required" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "BRINGOUTREGISTERNAME",
"label" : "外带登记人",
"type" : "static",
"tpl" : "${BRINGOUTREGISTERNAME_DISPLAY__ ? BRINGOUTREGISTERNAME_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : BRINGOUTREGISTERNAME)}",
"value" : "${currentUser}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "BRINGOUTREGISTERDATE",
"label" : "外带登记日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"name" : "ACTUALRETURNDATE",
"label" : "实际归还日期",
"hidden" : true,
"type" : "input-date"
}, {
"name" : "RETURNREGISTERNAME",
"label" : "归还登记人",
"hidden" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
}, {
"name" : "RETURNREGISTERDATE",
"label" : "归还登记日期",
"hidden" : true,
"type" : "input-date"
}, {
"name" : "REMARK",
"label" : "备注",
"hidden" : true,
"type" : "textarea"
}, {
"name" : "OA_SEALBRINGOUTREGISTER_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"type" : "group",
"body" : [ {
"name" : "APPLYLIST",
"label" : "选择",
"type" : "button",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"id" : "egadddlgAPPLYLIST",
"title" : "",
"size" : "lg",
"body" : {
"type" : "crud",
"api" : "/api/picker/8f22cab7-e475-4c5e-b575-e45486a7b281/list",
"mode" : "table",
"syncLocation" : false,
"selectable" : true,
"multiple" : true,
"keepItemSelectionOnPageChange" : true,
"primaryField" : "_id",
"labelField" : "_label",
"headerToolbar" : [ {
"type" : "search-box",
"placeholder" : "输入关键字搜索",
"name" : "q"
} ],
"footerToolbar" : [ "pagination" ],
"onEvent" : {
"selectedChange" : {
"actions" : [ {
"actionType" : "setValue",
"componentId" : "egadddlgAPPLYLIST",
"args" : {
"value" : {
"__egpicked" : "${event.data.selectedItems}"
}
}
} ]
}
}
},
"actions" : [ {
"type" : "button",
"label" : "取消",
"actionType" : "close"
}, {
"type" : "button",
"label" : "确定",
"level" : "primary",
"onEvent" : {
"click" : {
"actions" : [ {
"actionType" : "addItem",
"componentId" : "__EDITGRID_ADD_TARGET__",
"args" : {
"item" : "${ARRAYMAP(__egpicked, item => ({...item}))}"
}
}, {
"actionType" : "closeDialog"
} ]
}
}
} ]
},
"__EDITGRID_ADD_TARGET__" : true,
"hiddenOn" : "${__readonly}"
} ]
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,310 @@
{
"type" : "page",
"title" : "会议纪要归档表单",
"body" : {
"type" : "form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "SERIALNUMBER",
"label" : "会议纪要号",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "MEETING_TOPIC",
"label" : "会议主题",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "MEETING_GRADE",
"label" : "重要级别",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/meeting_Grade"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "MEETINGROOMID",
"label" : "会议室",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/0d6df814-ccfd-4689-a2d8-408110c2d12f/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "MEETING_COMPERE",
"label" : "会议主持人",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "MEETING_CLERK",
"label" : "会议书记员",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "STARTTIME",
"label" : "开始时间",
"required" : true,
"type" : "input-datetime"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "ENDTIME",
"label" : "结束时间",
"required" : true,
"type" : "input-datetime"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "MEETING_BUDGE",
"label" : "会议预算费用(元)",
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "APPLYUSER",
"label" : "发起人",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "APPLYDEPART",
"label" : "主办部门",
"required" : true,
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree",
"searchable" : true,
"onlyLeaf" : true
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "ATTENDEES",
"label" : "与会人员",
"required" : true,
"type" : "picker",
"clearable" : true,
"multiple" : true,
"overflowConfig" : {
"displayPosition" : [ "select" ],
"maxTagCount" : 1
},
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "OTHERATTENDEE",
"label" : "其他与会人员",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "MEETING_RESOURCE",
"label" : "需求资源",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "MEETINGMINUTES_CONTENT",
"label" : "会议纪要",
"required" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=OA_MEETINGMINUTES&businessKey=${OA_MEETINGMINUTES_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "OA_MEETINGMINUTES_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "MEETINGID",
"label" : "会议主题",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/a9a6235a-773b-48fe-a52c-549cb3c3f39b/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"hidden" : true
}, {
"name" : "MEETINGMINUTES_VERSION",
"label" : "会议纪要版本",
"type" : "input-number",
"precision" : 0,
"step" : 1,
"hidden" : true
}, {
"name" : "MEETING_STATUS",
"label" : "会议状态",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/meeting_Status"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,152 @@
{
"type" : "page",
"title" : "物资供应商临时合格设置",
"body" : {
"type" : "crud",
"api" : "/api/flow/VIEW_PM_MATERIALSUPPLIER_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "UNITNAME",
"label" : "企业名称",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/93a5fb27-fdf1-41fb-9ce5-cec44826a6fa/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "ABC_TYPE",
"label" : "ABC分类",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/ABC_type"
}, {
"name" : "ELIGIBILITY",
"label" : "供应商状态",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/eligibility",
"value" : "3"
} ]
},
"columns" : [ {
"name" : "VIEW_PM_MATERIALSUPPLIER_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "UNITNAME",
"label" : "企业名称",
"width" : 200
}, {
"name" : "ABC_TYPE",
"label" : "ABC分类",
"width" : 50,
"type" : "mapping",
"map" : {
"1" : "A",
"2" : "B",
"3" : "C"
}
}, {
"name" : "ELIGIBILITY",
"label" : "供应商状态",
"width" : 200,
"type" : "mapping",
"map" : {
"1" : "待调查",
"2" : "未评审",
"3" : "评审中",
"4" : "合格",
"5" : "不合格",
"6" : "黑名"
}
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/6000d02f-2069-4e5b-9a7f-a5ba2b560828?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/VIEW_PM_MATERIALSUPPLIER_LOAD?__egtpl=6000d02f-2069-4e5b-9a7f-a5ba2b560828",
"data" : {
"VIEW_PM_MATERIALSUPPLIER_ID" : "${VIEW_PM_MATERIALSUPPLIER_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, {
"type" : "button",
"id" : "修改状态",
"label" : "修改状态",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改状态",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/2ded7949-5669-49fd-af35-41d3a293023f?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/VIEW_PM_MATERIALSUPPLIER_LOAD?__egtpl=2ded7949-5669-49fd-af35-41d3a293023f",
"data" : {
"VIEW_PM_MATERIALSUPPLIER_ID" : "${VIEW_PM_MATERIALSUPPLIER_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_MATERIALSUPPLIER_UPDATE?__egtpl=2ded7949-5669-49fd-af35-41d3a293023f",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, "pagination" ],
"primaryField" : "VIEW_PM_MATERIALSUPPLIER_ID"
}
}

View File

@@ -0,0 +1,35 @@
{
"type" : "page",
"title" : "公司外租房使用情况",
"body" : {
"type" : "crud",
"api" : "/api/flow/VIEW_OA_REALESTATEMANAGE_REPORT_SEARCH?page=${page}&perPage=${perPage}",
"syncLocation" : false,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "LESSEE",
"label" : "承租人",
"type" : "input-text"
}, {
"name" : "HIRESTARTDATE",
"label" : "租用起始日期",
"type" : "input-date"
}, {
"name" : "HIREENDDATE",
"label" : "租用到期日期",
"type" : "input-date"
}, {
"name" : "HIREROOM",
"label" : "租用房间",
"type" : "input-text"
} ]
},
"columns" : [ {
"name" : "VIEW_OA_REALESTATEMANAGE_REPORT_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
} ]
}
}

View File

@@ -0,0 +1,490 @@
{
"type" : "page",
"title" : "项目付款申请编辑(审批人)",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PAYMENTAPPLYCODE",
"label" : "付款单据号",
"required" : true,
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ACCOUNTTYPE",
"label" : "结算类型",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/COST_ACCOUNTTYPE",
"value" : "1"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "MONEYITEM",
"label" : "支付款项",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PROJECTFUNDS_MONEYITEM",
"value" : "1"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "OTHERMONEYITEM",
"label" : "其他费用支付款项",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/OTHERCONTRACTTYPE"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "APPROVALTYPE",
"label" : "审批类型",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/APPROVAL_TYPE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PROJECTID",
"label" : "工程名称",
"type" : "static",
"tpl" : "${PROJECTID_DISPLAY__ ? PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PROJECTID)}",
"value" : "${currentProject}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PROJECTINCOMEMONEY",
"label" : "项目累计收款(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PROJECTPAYMONEY",
"label" : "项目累计付款(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PROJECTDEBITMONEY",
"label" : "项目累计扣款(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PROJECTREIMBURSEMONEY",
"label" : "项目累计报销(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PROJECTREMAINDERMONEY",
"label" : "项目余额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "VIEW_PM_CONTRACT_ID",
"label" : "合同名称",
"type" : "static",
"tpl" : "${VIEW_PM_CONTRACT_ID_DISPLAY__ ? VIEW_PM_CONTRACT_ID_DISPLAY__ : (CONTRACTNAME ? CONTRACTNAME : VIEW_PM_CONTRACT_ID)}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CONTRACTNUMBER",
"label" : "合同编码",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CONTRACTMONEY",
"label" : "合同金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "BALANCEMONEY",
"label" : "累计对账金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CONTRACTSTATUS",
"label" : "合同状态",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CONTRACTPAIDMONEY",
"label" : "已付金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "CONTROLMONEY",
"label" : "控制金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "IMPORTMONEY",
"label" : "入库金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PARTB",
"label" : "用款单位",
"type" : "static",
"tpl" : "${PARTB_DISPLAY__ ? PARTB_DISPLAY__ : (SHOWNAME ? SHOWNAME : PARTB)}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PAYMETHOD",
"label" : "支付方式",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PROJECTFUNDS_PAYMETHOD",
"value" : "1"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ACCOUNTNUMBER",
"label" : "银行账号",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/OA_BANKACCOUNTINFO/list?perPage=500"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "OPENINGBANK",
"label" : "开户银行",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PAYEEUNITNAME",
"label" : "用款单位全称",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "SUBTYPE",
"label" : "承包方式",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/bycontracttype"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "APPROVEDAMOUNT",
"label" : "批准金额(元)",
"required" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "APPLYPRICE",
"label" : "本次申请付款金额(元)",
"required" : true,
"disabled" : true,
"type" : "input-number",
"precision" : 2,
"min" : -9.999999999E7,
"max" : 9.9999999999E8
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CUMULATIVEAPPLYMONEYSHOW",
"label" : "累计付款申请金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "CAPITAL",
"label" : "大写",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"name" : "LBLDESCRIBE",
"label" : "LBLDESCRIBE",
"disabled" : true,
"hidden" : true,
"type" : "input-text"
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "APPLYCONTENT",
"label" : "申请内容",
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "COMPLETION",
"label" : "完成情况(%)",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "INPUTTAXINVOICES",
"label" : "进项税发票",
"type" : "static",
"tpl" : "${INPUTTAXINVOICES_DISPLAY__ ? INPUTTAXINVOICES_DISPLAY__ : (INVOICENO ? INVOICENO : INPUTTAXINVOICES)}"
} ]
} ]
}, {
"name" : "INVOICEORNOT",
"label" : "有无发票",
"disabled" : true,
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HAVE_NO",
"value" : "0"
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "SUMTAX",
"label" : "发票总金额",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "TOTALTAX",
"label" : "合同累计发票总金额",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"disabled" : true,
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_PAYMENTAPPLY&businessKey=${PM_PAYMENTAPPLY_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "OPERATOR",
"label" : "申请人",
"type" : "static",
"tpl" : "${OPERATOR_DISPLAY__ ? OPERATOR_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : OPERATOR)}",
"value" : "${currentUser}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "APPLYDATE",
"label" : "申请日期",
"required" : true,
"disabled" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"name" : "PM_PAYMENTAPPLY_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "CUMULATIVEMONEY",
"label" : "决算金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2,
"hidden" : true
}, {
"name" : "CUMULATIVEAPPLYMONEY",
"label" : "累计付款申请金额(元)",
"disabled" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "CONTRACTTYPE",
"label" : "合同种类",
"disabled" : true,
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CONTRACT_CONTRACTTYPE"
}, {
"name" : "PAYMETTYPE",
"label" : "付款类型",
"required" : true,
"disabled" : true,
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PROJECTFUNDS_PAYMETTYPE",
"value" : "1"
}, {
"name" : "LBLIMPORTMONEY",
"label" : "入库金额标签",
"disabled" : true,
"hidden" : true,
"type" : "input-text"
}, {
"name" : "MIDTAX",
"label" : "除开本次发票总金额",
"disabled" : true,
"type" : "input-number",
"precision" : 2,
"hidden" : true
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,149 @@
{
"type" : "page",
"title" : "绩效管理-考核打分编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "EMPLOYEE",
"label" : "考核对象",
"type" : "static",
"tpl" : "${EMPLOYEE_DISPLAY__ ? EMPLOYEE_DISPLAY__ : (USERID ? USERID : EMPLOYEE)}"
} ]
}, {
"name" : "ASSESSDETAILS",
"label" : "考核打分",
"type" : "input-table",
"id" : "eg-ASSESSDETAILS",
"addable" : false,
"removable" : false,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "GUIDESORT",
"label" : "指标类别",
"quickEdit" : {
"name" : "GUIDESORT",
"disabled" : true,
"type" : "input-text"
}
}, {
"name" : "GUIDENAME",
"label" : "指标名称",
"quickEdit" : {
"name" : "GUIDENAME",
"required" : true,
"disabled" : true,
"type" : "input-text"
}
}, {
"name" : "TOTALSCORE",
"label" : "指标分值",
"quickEdit" : {
"name" : "TOTALSCORE",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
}
}, {
"name" : "SCORE",
"label" : "得分",
"quickEdit" : {
"name" : "SCORE",
"type" : "input-number",
"precision" : 0,
"step" : 1,
"onEvent" : {
"change" : {
"actions" : [ {
"actionType" : "ajax",
"outputVar" : "egRow",
"args" : {
"api" : {
"method" : "post",
"url" : "/api/script/execute-editgrid-row",
"data" : {
"templateId" : "007d78c4-0155-4366-b02e-92e3f70554cc",
"editgridField" : "ASSESSDETAILS",
"scriptKey" : "319f2a1f-422a-4e42-91f5-1f81597a3309",
"changedField" : "SCORE",
"row" : "${__rendererData}",
"parent" : {
"ASSESSDETAILS" : "${__rendererData.ASSESSDETAILS || ASSESSDETAILS}"
}
}
}
}
}, {
"actionType" : "setValue",
"componentId" : "eg-ASSESSDETAILS",
"args" : {
"index" : "${index}",
"value" : "${egRow.rowSetValues}"
}
}, {
"actionType" : "setValue",
"componentId" : "eip4-edit-form",
"args" : {
"value" : "${egRow.parentSetValues}"
}
} ]
}
}
}
} ],
"needConfirm" : false
}, {
"name" : "REMARK",
"label" : "评语",
"type" : "textarea"
}, {
"name" : "SCORE",
"label" : "得分",
"hidden" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
}, {
"name" : "MODIFYUSER",
"label" : "评分考官",
"hidden" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
}, {
"name" : "ASSESSSCHEME",
"label" : "考核方案",
"required" : true,
"hidden" : true,
"type" : "input-text"
}, {
"name" : "HR_ASSESS_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,373 @@
{
"type" : "page",
"title" : "新开工项目安全计划申报单",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_PUB_SAFETYSTARTSTARGET_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "PROJECTNAMEID",
"label" : "工程名称",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${currentProject}"
}, {
"name" : "FILIALE",
"label" : "(分)公司",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1a998b23-371d-4ebb-911f-6465a56a6809/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "BUILDCOMPANY",
"label" : "建设单位",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1964fda1-b020-4a8b-95e2-dc32de36e74a/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "REPORTINGDATE",
"label" : "申报日期",
"hidden" : true,
"type" : "input-date-range"
}, {
"name" : "STATUS",
"label" : "审批状态",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/WFSTATUS"
} ]
},
"columns" : [ {
"name" : "PM_PUB_SAFETYSTARTSTARGET_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "FILIALE_DISPLAY__",
"label" : "(分)公司",
"width" : 200
}, {
"name" : "PROJECTID_DISPLAY__",
"label" : "工程名称",
"width" : 200
}, {
"name" : "BUILDCOMPANY_DISPLAY__",
"label" : "建设单位",
"width" : 200
}, {
"name" : "ACREAGE",
"label" : "建筑面积(m2)",
"width" : 100
}, {
"name" : "MEASURESFEE",
"label" : "安全文明措施费(元)",
"width" : 150
}, {
"name" : "REPORTINGDATE",
"label" : "申报日期",
"width" : 80,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "STATUS",
"label" : "审批状态",
"width" : 80,
"type" : "mapping",
"map" : {
"1" : "未提交",
"2" : "处理中",
"3" : "通过",
"4" : "未通过",
"5" : "重新提交",
"6" : "作废"
}
}, {
"name" : "CONTRACTCONTENT",
"label" : "承包内容",
"width" : 200,
"toggled" : false
}, {
"name" : "SAFETYMEMBER_DISPLAY__",
"label" : "专职安全员",
"width" : 200,
"toggled" : false
}, {
"name" : "HIGHACCIDENT",
"label" : "因重伤以上事故",
"width" : 200,
"toggled" : false
}, {
"name" : "LITTLEACCIDENT",
"label" : "轻伤事故率",
"width" : 200,
"toggled" : false
}, {
"name" : "GOALS",
"label" : "文明创建目标",
"width" : 200,
"type" : "mapping",
"map" : {
"0" : "合格",
"1" : "市文明",
"2" : "省文明",
"3" : "区文明"
},
"toggled" : false
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/055dce05-854d-483f-835e-4b6c2cf38398?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/PM_PUB_SAFETYSTARTSTARGET/defaults?templateId=055dce05-854d-483f-835e-4b6c2cf38398"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_PUB_SAFETYSTARTSTARGET_ADD?__egtpl=055dce05-854d-483f-835e-4b6c2cf38398",
"close" : true
}, {
"type" : "button",
"label" : "保存并提交审批",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_PUB_SAFETYSTARTSTARGET_SAVE_AND_SUBMIT?__egtpl=055dce05-854d-483f-835e-4b6c2cf38398",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/055dce05-854d-483f-835e-4b6c2cf38398?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_PUB_SAFETYSTARTSTARGET_LOAD?__egtpl=055dce05-854d-483f-835e-4b6c2cf38398",
"data" : {
"PM_PUB_SAFETYSTARTSTARGET_ID" : "${PM_PUB_SAFETYSTARTSTARGET_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_PUB_SAFETYSTARTSTARGET_UPDATE?__egtpl=055dce05-854d-483f-835e-4b6c2cf38398",
"close" : true
}, {
"type" : "button",
"label" : "保存并提交审批",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_PUB_SAFETYSTARTSTARGET_SAVE_AND_SUBMIT?__egtpl=055dce05-854d-483f-835e-4b6c2cf38398",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确认要删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_PUB_SAFETYSTARTSTARGET_DELETE",
"data" : {
"ids" : "${selectedItems|pick:PM_PUB_SAFETYSTARTSTARGET_ID|join:','}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/84da1331-e8d2-4f54-9903-99de802d9104?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/PM_PUB_SAFETYSTARTSTARGET_LOAD?__egtpl=84da1331-e8d2-4f54-9903-99de802d9104",
"data" : {
"PM_PUB_SAFETYSTARTSTARGET_ID" : "${PM_PUB_SAFETYSTARTSTARGET_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, {
"type" : "button",
"id" : "提交审批",
"label" : "提交审批",
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_PUB_SAFETYSTARTSTARGET_SUBMIT",
"data" : {
"PM_PUB_SAFETYSTARTSTARGET_ID" : "${selectedItems[0].PM_PUB_SAFETYSTARTSTARGET_ID}"
}
},
"disabledOn" : "${!selectedItems || selectedItems.length === 0 || (selectedItems[0].STATUS && selectedItems[0].STATUS != 1 && selectedItems[0].STATUS != 4 && selectedItems[0].STATUS != 5)}"
}, {
"type" : "button",
"id" : "打印",
"label" : "打印",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "新开工项目安全计划申报单",
"size" : "lg",
"data" : {
"PM_PUB_SAFETYSTARTSTARGET_ID" : "${selectedItems[0].PM_PUB_SAFETYSTARTSTARGET_ID}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/82a63487-fc90-492e-b49b-345d4f9dc1f5?format=amis"
},
"actions" : [ {
"type" : "button",
"label" : "关闭",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "查看审批",
"label" : "查看审批",
"icon" : "fa fa-search",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"onEvent" : {
"click" : {
"actions" : [ {
"actionType" : "openApprovalDrawer",
"args" : {
"taskName" : "审批详情",
"processInstanceId" : "${selectedItems[0].processInstanceId || selectedItems[0].PROCESSINSTANCEID || ''}",
"businessKey" : "${selectedItems[0].PM_PUB_SAFETYSTARTSTARGET_ID}",
"businessTable" : "PM_PUB_SAFETYSTARTSTARGET",
"readOnly" : true,
"mode" : "read"
}
} ]
}
}
}, "pagination" ],
"primaryField" : "PM_PUB_SAFETYSTARTSTARGET_ID",
"onEvent" : {
"inited" : {
"actions" : [ {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 1,
"item" : "${&}",
"templateId" : "009c4f52-636a-4688-8148-75cabe83fd83"
}
},
"outputVar" : "scriptResult1"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult1.commands}"
}
} ]
}
}
}
}

View File

@@ -0,0 +1,275 @@
{
"type" : "page",
"title" : "发起会议-不需预订会议室",
"body" : {
"type" : "form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "APPLYUSER",
"label" : "发起人",
"type" : "static",
"tpl" : "${APPLYUSER_DISPLAY__ ? APPLYUSER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : APPLYUSER)}",
"value" : "${currentUser}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "APPLYDEPART",
"label" : "主办部门",
"required" : true,
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree",
"value" : "${currentDepart}",
"searchable" : true,
"onlyLeaf" : true
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "MEETING_TOPIC",
"label" : "会议主题",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "MEETING_GRADE",
"label" : "重要级别",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/meeting_Grade"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "MEETINGROOMID",
"label" : "会议室",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/OA_MEETINGROOM/list?perPage=500"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "MEETING_COMPERE",
"label" : "会议主持人",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标",
"value" : "${currentUser}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "MEETING_CLERK",
"label" : "会议书记员",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标",
"value" : "${currentUser}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "STARTTIME",
"label" : "开始时间",
"required" : true,
"type" : "input-datetime",
"value" : "${now}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "ENDTIME",
"label" : "结束时间",
"required" : true,
"type" : "input-datetime",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "MEETING_BUDGE",
"label" : "会议预算费用(元)",
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "ATTENDEES",
"label" : "与会人员",
"required" : true,
"type" : "picker",
"clearable" : true,
"multiple" : true,
"overflowConfig" : {
"displayPosition" : [ "select" ],
"maxTagCount" : 1
},
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "OTHERATTENDEE",
"label" : "其他与会人员",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "MEETING_RESOURCE",
"label" : "需求资源",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "MEETING_CONTENT",
"label" : "会议内容",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=OA_MEETING&businessKey=${OA_MEETING_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "OA_MEETING_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "MEETINGROOMDISPATCHID",
"label" : "会议调度",
"hidden" : true,
"type" : "select",
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
}, {
"name" : "MEETINGCHANGEREASON",
"label" : "会议变更原因",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "MEETINGCANCELREASON",
"label" : "会议取消原因",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "MEETING_STATUS",
"label" : "会议状态",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/meeting_Status"
} ],
"actions" : [ {
"type" : "button",
"label" : "发送会议通知",
"level" : "primary",
"actionType" : "ajax",
"api" : "POST:/api/flow/OA_MEETING_ADD",
"data" : {
"&" : "${&}"
}
} ]
}
}

View File

@@ -0,0 +1,99 @@
{
"type" : "page",
"title" : "考勤机设备编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "NAME",
"label" : "名称",
"required" : true,
"type" : "input-text"
}, {
"name" : "BRAND",
"label" : "考勤机型号",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/KQ_DEVICE_PINGPAI",
"value" : "2"
} ]
}, {
"type" : "group",
"body" : [ {
"name" : "DEVTYPE",
"label" : "考勤机类型",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/KQ_DEVTYPE"
}, {
"name" : "SN",
"label" : "序列号",
"required" : true,
"type" : "input-text"
} ]
}, {
"name" : "USERS",
"label" : "用户",
"disabled" : true,
"hidden" : true,
"type" : "input-table",
"id" : "eg-USERS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "USERID",
"label" : "用户",
"quickEdit" : {
"name" : "USERID",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/090981ba-0c10-4d84-92dc-80e226594480/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
}
} ],
"needConfirm" : false
}, {
"type" : "group",
"body" : [ {
"name" : "ISACTIVE",
"label" : "有效",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "1"
} ]
}, {
"name" : "KQ_DEVICE_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,145 @@
{
"type" : "page",
"title" : "报销明细查看页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "SUBJECTID",
"label" : "科目名称",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/OA_SUBJECT/list?perPage=500"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "PAYOUTITEMID",
"label" : "支出项目",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/b6209d1a-c4d2-443b-a8a7-c6f9da8c51c2/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "BILLNUM",
"label" : "单据张数",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "MONEY",
"label" : "金额(元)",
"required" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "REIMBURSEMENTNAME",
"label" : "报销人",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标",
"value" : "${currentUser}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "DEPARTID",
"label" : "部门",
"required" : true,
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree",
"searchable" : true,
"onlyLeaf" : true
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "REIMBURSEMENTDATE",
"label" : "日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"name" : "APPLYID",
"label" : "报销申请",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "OA_REIMBURSEMENTDETAILED_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,327 @@
{
"type" : "page",
"title" : "项目安全费用登记",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_SAFETYFEEREGISTER_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "ORGID",
"label" : "(分)公司",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1a998b23-371d-4ebb-911f-6465a56a6809/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "PROJECTID",
"label" : "工程名称",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/66e57e6d-0cbb-40cf-8b84-c512345734b7/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "PM_SAFETYEEAPPLYID",
"label" : "申请ID",
"hidden" : true,
"type" : "select",
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
}, {
"name" : "APPLYMONEY",
"label" : "登记金额(元)",
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "APPLYDATE",
"label" : "申请日期",
"hidden" : true,
"type" : "input-date"
}, {
"name" : "REGISTERBY",
"label" : "登记人",
"hidden" : true,
"type" : "select",
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
}, {
"name" : "REGISTERDATE",
"label" : "登记日期",
"type" : "input-date-range"
}, {
"name" : "APPLYCONTENT",
"label" : "登记内容",
"type" : "input-text"
}, {
"name" : "ISACCOUNTS",
"label" : "是否记账",
"hidden" : true,
"type" : "checkbox"
}, {
"name" : "ACCOUNTSDATE",
"label" : "记账日期",
"hidden" : true,
"type" : "input-date"
} ]
},
"columns" : [ {
"name" : "PM_SAFETYFEEREGISTER_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "ORGID_DISPLAY__",
"label" : "(分)公司",
"width" : 200
}, {
"name" : "PROJECTID_DISPLAY__",
"label" : "工程名称",
"width" : 400
}, {
"name" : "PM_SAFETYFEEAPPLYID_DISPLAY__",
"label" : "申请ID",
"width" : 200,
"toggled" : false
}, {
"name" : "REGISTERDATE",
"label" : "登记日期",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "APPLYCONTENT",
"label" : "登记内容",
"width" : 400
}, {
"name" : "APPLYMONEY",
"label" : "登记金额(元)",
"width" : 200
}, {
"name" : "APPLYDATE",
"label" : "申请日期",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ",
"toggled" : false
}, {
"name" : "REGISTERBY_DISPLAY__",
"label" : "登记人",
"width" : 200
}, {
"name" : "ISACCOUNTS",
"label" : "是否记账",
"width" : 200,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是",
"false" : "否",
"true" : "是"
},
"toggled" : false
}, {
"name" : "ACCOUNTSDATE",
"label" : "记账日期",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ",
"toggled" : false
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/39fc5a91-015c-44c4-b3c7-9bd3a22cc8dc?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/PM_SAFETYFEEREGISTER/defaults?templateId=39fc5a91-015c-44c4-b3c7-9bd3a22cc8dc"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_SAFETYFEEREGISTER_ADD?__egtpl=39fc5a91-015c-44c4-b3c7-9bd3a22cc8dc",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/39fc5a91-015c-44c4-b3c7-9bd3a22cc8dc?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_SAFETYFEEREGISTER_LOAD?__egtpl=39fc5a91-015c-44c4-b3c7-9bd3a22cc8dc",
"data" : {
"PM_SAFETYFEEREGISTER_ID" : "${PM_SAFETYFEEREGISTER_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_SAFETYFEEREGISTER_UPDATE?__egtpl=39fc5a91-015c-44c4-b3c7-9bd3a22cc8dc",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确认要删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_SAFETYFEEREGISTER_DELETE",
"data" : {
"ids" : "${selectedItems|pick:PM_SAFETYFEEREGISTER_ID|join:','}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/39fc5a91-015c-44c4-b3c7-9bd3a22cc8dc?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/PM_SAFETYFEEREGISTER_LOAD?__egtpl=39fc5a91-015c-44c4-b3c7-9bd3a22cc8dc",
"data" : {
"PM_SAFETYFEEREGISTER_ID" : "${PM_SAFETYFEEREGISTER_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, {
"type" : "button",
"id" : "打印",
"label" : "打印",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "项目安全费用登记打印",
"size" : "lg",
"data" : {
"PM_SAFETYFEEREGISTER_ID" : "${selectedItems[0].PM_SAFETYFEEREGISTER_ID}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/f0391777-8e69-4e23-8d3e-19615b304e33?format=amis"
},
"actions" : [ {
"type" : "button",
"label" : "关闭",
"actionType" : "close"
} ]
}
}, "pagination" ],
"primaryField" : "PM_SAFETYFEEREGISTER_ID",
"onEvent" : {
"inited" : {
"actions" : [ {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 1,
"item" : "${&}",
"templateId" : "00e7a83b-dd1f-4d7a-a574-bc362bc785d2"
}
},
"outputVar" : "scriptResult1"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult1.commands}"
}
} ]
}
}
}
}

View File

@@ -0,0 +1,259 @@
{
"type" : "page",
"title" : "薪资项目",
"body" : {
"type" : "crud",
"api" : "/api/flow/HR_PAYITEM_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "NAME",
"label" : "名称",
"type" : "input-text"
}, {
"name" : "ISDEFAULT",
"label" : "系统默认",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
}, {
"name" : "ISARCHIVES",
"label" : "档案项目",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
}, {
"name" : "ISYEARSHARETAX",
"label" : "分摊计税",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
} ]
},
"columns" : [ {
"name" : "HR_PAYITEM_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "NAME",
"label" : "名称",
"width" : 200
}, {
"name" : "ISDEFAULT",
"label" : "系统默认",
"width" : 50,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是",
"false" : "否",
"true" : "是"
}
}, {
"name" : "ISARCHIVES",
"label" : "档案项目",
"width" : 50,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是",
"false" : "否",
"true" : "是"
}
}, {
"name" : "ISRESERVE",
"label" : "社会保险公积金",
"width" : 50,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是",
"false" : "否",
"true" : "是"
},
"toggled" : false
}, {
"name" : "ISYEARSHARETAX",
"label" : "分摊计税",
"width" : 50,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是",
"false" : "否",
"true" : "是"
}
}, {
"name" : "SHAREMONTH",
"label" : "分摊月数",
"width" : 50
}, {
"name" : "ADDREDUCE",
"label" : "增减属性",
"width" : 50,
"type" : "mapping",
"map" : {
"1" : "增项",
"2" : "减项",
"3" : "其它项"
},
"toggled" : false
}, {
"name" : "ISPRETAX",
"label" : "税前项目",
"width" : 50,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是",
"false" : "否",
"true" : "是"
},
"toggled" : false
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/7fd31e46-c61d-4e6d-9293-074352547e12?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/HR_PAYITEM/defaults?templateId=7fd31e46-c61d-4e6d-9293-074352547e12"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/HR_PAYITEM_ADD?__egtpl=7fd31e46-c61d-4e6d-9293-074352547e12",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/7fd31e46-c61d-4e6d-9293-074352547e12?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/HR_PAYITEM_LOAD?__egtpl=7fd31e46-c61d-4e6d-9293-074352547e12",
"data" : {
"HR_PAYITEM_ID" : "${HR_PAYITEM_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/HR_PAYITEM_UPDATE?__egtpl=7fd31e46-c61d-4e6d-9293-074352547e12",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确认要删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/HR_PAYITEM_DELETE",
"data" : {
"ids" : "${selectedItems|pick:HR_PAYITEM_ID|join:','}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/7fd31e46-c61d-4e6d-9293-074352547e12?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/HR_PAYITEM_LOAD?__egtpl=7fd31e46-c61d-4e6d-9293-074352547e12",
"data" : {
"HR_PAYITEM_ID" : "${HR_PAYITEM_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, "pagination" ],
"primaryField" : "HR_PAYITEM_ID",
"onEvent" : {
"selectedChange" : {
"actions" : [ {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 1,
"item" : "${event.data.selectedItems[0]}",
"templateId" : "00f6638e-72c7-4834-96ff-904935375951"
}
},
"outputVar" : "scriptResult1"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult1.commands}"
}
} ]
}
}
}
}

View File

@@ -0,0 +1,145 @@
{
"type" : "page",
"title" : "已调度的会议室选择列表",
"body" : {
"type" : "crud",
"api" : "/api/flow/OA_MEETINGROOMDISPATCH_SEARCH_LISTINFO",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "MEETING_TOPIC",
"label" : "会议主题",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "STARTTIME",
"label" : "开始时间",
"hidden" : true,
"type" : "input-datetime"
}, {
"name" : "ENDTIME",
"label" : "结束时间",
"hidden" : true,
"type" : "input-datetime"
}, {
"name" : "APPLYUSER",
"label" : "发起人",
"hidden" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
}, {
"name" : "MEETING_RESOURCE",
"label" : "需求资源",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "MEETINGROOMID",
"label" : "会议室",
"hidden" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/0d6df814-ccfd-4689-a2d8-408110c2d12f/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "DEPART_ID",
"label" : "所属部门",
"hidden" : true,
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree",
"searchable" : true,
"onlyLeaf" : true
}, {
"name" : "ATTENDEEAMOUNT",
"label" : "与会人数",
"hidden" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
},
"columns" : [ {
"name" : "OA_MEETINGROOMDISPATCH_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "MEETINGROOMID_DISPLAY__",
"label" : "会议室",
"width" : 200
}, {
"name" : "STARTTIME",
"label" : "开始时间",
"width" : 200,
"type" : "datetime",
"format" : "YYYY-MM-DD HH:mm",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "ENDTIME",
"label" : "结束时间",
"width" : 200,
"type" : "datetime",
"format" : "YYYY-MM-DD HH:mm",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "MEETING_TOPIC",
"label" : "会议主题",
"width" : 200
}, {
"name" : "ATTENDEEAMOUNT",
"label" : "与会人数",
"width" : 200
}, {
"name" : "MEETING_RESOURCE",
"label" : "需求资源",
"width" : 200
}, {
"name" : "APPLYUSER_DISPLAY__",
"label" : "发起人",
"width" : 200,
"toggled" : false
}, {
"name" : "MEETINGROOMBOOKID_DISPLAY__",
"label" : "会议室预订",
"width" : 200,
"toggled" : false
}, {
"name" : "DEPART_ID_DISPLAY__",
"label" : "所属部门",
"width" : 200,
"toggled" : false
} ],
"headerToolbar" : [ "pagination" ],
"primaryField" : "OA_MEETINGROOMDISPATCH_ID"
}
}

View File

@@ -0,0 +1,545 @@
{
"type" : "page",
"title" : "福利保险档案编辑(项目)",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "USERIDNEW",
"label" : "姓名",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/e6f5e17e-66cc-45a7-a78d-a81eb2927e11/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 8,
"body" : [ {
"name" : "PROJECTID",
"label" : "工程名称",
"type" : "static",
"tpl" : "${PROJECTID_DISPLAY__ ? PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PROJECTID)}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "IDCARD",
"label" : "身份证号",
"required" : true,
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "MOBILE",
"label" : "手机号",
"required" : true,
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "SERIALNO",
"label" : "员工工号",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "OPENACCOUNTDATE",
"label" : "开户日期",
"required" : true,
"type" : "input-date"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "STARTYEAR",
"label" : "开始年",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "STARTMONTH",
"label" : "开始月",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 1.0,
"max" : 12.0
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PAYCATEGORY",
"label" : "缴费人员类别",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_WELFARE_PAYCATEGORY"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ENDYEAR",
"label" : "结束年",
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ENDMONTH",
"label" : "结束月",
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 1.0,
"max" : 12.0
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "WELFAREACCOUNT1",
"label" : "社保编号",
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "WELFAREACCOUNT2",
"label" : "公积金编号",
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "OPENACCOUNTREASON",
"label" : "开户原因",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"type" : "flex",
"justify" : "flex-start",
"alignItems" : "center",
"style" : {
"paddingLeft" : "120px",
"marginBottom" : "4px"
},
"items" : [ {
"name" : "SELECT",
"label" : "选择",
"type" : "button",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"id" : "egadddlgSELECT",
"title" : "",
"size" : "lg",
"body" : {
"type" : "crud",
"api" : "/api/picker/deb25e34-72bb-47db-ac2f-655423fc4bb7/list",
"mode" : "table",
"syncLocation" : false,
"selectable" : true,
"multiple" : true,
"keepItemSelectionOnPageChange" : true,
"primaryField" : "_id",
"labelField" : "_label",
"headerToolbar" : [ {
"type" : "search-box",
"placeholder" : "输入关键字搜索",
"name" : "q"
} ],
"footerToolbar" : [ "pagination" ],
"onEvent" : {
"selectedChange" : {
"actions" : [ {
"actionType" : "setValue",
"componentId" : "egadddlgSELECT",
"args" : {
"value" : {
"__egpicked" : "${event.data.selectedItems}"
}
}
} ]
}
}
},
"actions" : [ {
"type" : "button",
"label" : "取消",
"actionType" : "close"
}, {
"type" : "button",
"label" : "确定",
"level" : "primary",
"onEvent" : {
"click" : {
"actions" : [ {
"actionType" : "addItem",
"componentId" : "eg-PAYBASERECORDS",
"args" : {
"item" : "${ARRAYMAP(__egpicked, item => ({...item}))}"
}
}, {
"actionType" : "closeDialog"
} ]
}
}
} ]
},
"hiddenOn" : "${__readonly}"
} ]
}, {
"name" : "PAYBASERECORDS",
"label" : "缴费基数记录",
"required" : true,
"type" : "input-table",
"id" : "eg-PAYBASERECORDS",
"addable" : false,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "DISPLANNAME",
"label" : "类别",
"quickEdit" : {
"name" : "DISPLANNAME",
"disabled" : true,
"type" : "input-text"
}
}, {
"name" : "STARTYEAR",
"label" : "开始年",
"quickEdit" : {
"name" : "STARTYEAR",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
}
}, {
"name" : "STARTMONTH",
"label" : "开始月",
"quickEdit" : {
"name" : "STARTMONTH",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 1.0,
"max" : 12.0
}
}, {
"name" : "ENDYEAR",
"label" : "结束年",
"quickEdit" : {
"name" : "ENDYEAR",
"type" : "input-number",
"precision" : 0,
"step" : 1
}
}, {
"name" : "ENDMONTH",
"label" : "结束月",
"quickEdit" : {
"name" : "ENDMONTH",
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 1.0,
"max" : 12.0
}
}, {
"name" : "PAYBASEMONEY",
"label" : "缴费基数(元)",
"quickEdit" : {
"name" : "PAYBASEMONEY",
"required" : true,
"type" : "input-number",
"precision" : 2,
"onEvent" : {
"change" : {
"actions" : [ {
"actionType" : "ajax",
"outputVar" : "egRow",
"args" : {
"api" : {
"method" : "post",
"url" : "/api/script/execute-editgrid-row",
"data" : {
"templateId" : "00ff7350-ffb4-4013-9571-60c80d8c668c",
"editgridField" : "PAYBASERECORDS",
"scriptKey" : "35824481-e34a-0429-b37d-44a68b1972e7",
"changedField" : "PAYBASEMONEY",
"row" : "${__rendererData}",
"parent" : {
"PAYBASERECORDS" : "${__rendererData.PAYBASERECORDS || PAYBASERECORDS}"
}
}
}
}
}, {
"actionType" : "setValue",
"componentId" : "eg-PAYBASERECORDS",
"args" : {
"index" : "${index}",
"value" : "${egRow.rowSetValues}"
}
}, {
"actionType" : "setValue",
"componentId" : "eip4-edit-form",
"args" : {
"value" : "${egRow.parentSetValues}"
}
} ]
}
}
}
}, {
"name" : "UNITPAYPROPORTION",
"label" : "单位缴费比例(%)",
"quickEdit" : {
"name" : "UNITPAYPROPORTION",
"disabled" : true,
"type" : "input-number",
"precision" : 2
}
}, {
"name" : "UNITPAYMONEY",
"label" : "单位缴费(元)",
"quickEdit" : {
"name" : "UNITPAYMONEY",
"disabled" : true,
"type" : "input-number",
"precision" : 2
}
}, {
"name" : "PERSONALPAYPROPORTION",
"label" : "个人缴费比例(%)",
"quickEdit" : {
"name" : "PERSONALPAYPROPORTION",
"disabled" : true,
"type" : "input-number",
"precision" : 2
}
}, {
"name" : "PERSONALPAYMONEY",
"label" : "个人缴费(元)",
"quickEdit" : {
"name" : "PERSONALPAYMONEY",
"disabled" : true,
"type" : "input-number",
"precision" : 2
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"name" : "HR_WELFAREARCHIVES_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "ORGID",
"label" : "所属(分)公司",
"type" : "static",
"tpl" : "${ORGID_DISPLAY__ ? ORGID_DISPLAY__ : (NAME ? NAME : ORGID)}",
"hidden" : true
}, {
"name" : "LOOKPAYBASERECORDS",
"label" : "缴费基数记录",
"disabled" : true,
"hidden" : true,
"type" : "input-table",
"id" : "eg-LOOKPAYBASERECORDS",
"addable" : false,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "DISPLANNAME",
"label" : "类别",
"quickEdit" : {
"name" : "DISPLANNAME",
"disabled" : true,
"type" : "input-text"
}
}, {
"name" : "STARTYEAR",
"label" : "开始年",
"quickEdit" : {
"name" : "STARTYEAR",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
}
}, {
"name" : "STARTMONTH",
"label" : "开始月",
"quickEdit" : {
"name" : "STARTMONTH",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 1.0,
"max" : 12.0
}
}, {
"name" : "ENDYEAR",
"label" : "结束年",
"quickEdit" : {
"name" : "ENDYEAR",
"type" : "input-number",
"precision" : 0,
"step" : 1
}
}, {
"name" : "ENDMONTH",
"label" : "结束月",
"quickEdit" : {
"name" : "ENDMONTH",
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 1.0,
"max" : 12.0
}
}, {
"name" : "PAYBASEMONEY",
"label" : "缴费基数(元)",
"quickEdit" : {
"name" : "PAYBASEMONEY",
"required" : true,
"type" : "input-number",
"precision" : 2,
"onEvent" : {
"change" : {
"actions" : [ {
"actionType" : "ajax",
"outputVar" : "egRow",
"args" : {
"api" : {
"method" : "post",
"url" : "/api/script/execute-editgrid-row",
"data" : {
"templateId" : "00ff7350-ffb4-4013-9571-60c80d8c668c",
"editgridField" : "LOOKPAYBASERECORDS",
"scriptKey" : "35824481-0429-0429-b37d-44a68b1972e7",
"changedField" : "PAYBASEMONEY",
"row" : "${__rendererData}",
"parent" : {
"LOOKPAYBASERECORDS" : "${__rendererData.LOOKPAYBASERECORDS || LOOKPAYBASERECORDS}"
}
}
}
}
}, {
"actionType" : "setValue",
"componentId" : "eg-LOOKPAYBASERECORDS",
"args" : {
"index" : "${index}",
"value" : "${egRow.rowSetValues}"
}
}, {
"actionType" : "setValue",
"componentId" : "eip4-edit-form",
"args" : {
"value" : "${egRow.parentSetValues}"
}
} ]
}
}
}
}, {
"name" : "UNITPAYPROPORTION",
"label" : "单位缴费比例(%)",
"quickEdit" : {
"name" : "UNITPAYPROPORTION",
"disabled" : true,
"type" : "input-number",
"precision" : 2
}
}, {
"name" : "UNITPAYMONEY",
"label" : "单位缴费(元)",
"quickEdit" : {
"name" : "UNITPAYMONEY",
"disabled" : true,
"type" : "input-number",
"precision" : 2
}
}, {
"name" : "PERSONALPAYPROPORTION",
"label" : "个人缴费比例(%)",
"quickEdit" : {
"name" : "PERSONALPAYPROPORTION",
"disabled" : true,
"type" : "input-number",
"precision" : 2
}
}, {
"name" : "PERSONALPAYMONEY",
"label" : "个人缴费(元)",
"quickEdit" : {
"name" : "PERSONALPAYMONEY",
"disabled" : true,
"type" : "input-number",
"precision" : 2
}
} ],
"needConfirm" : false
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,115 @@
{
"type" : "page",
"title" : "功能编辑页面-自定义",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "NAME",
"label" : "功能名称",
"required" : true,
"type" : "input-text"
}, {
"name" : "TEMPLATEID",
"label" : "功能模板",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/template/treegrid?treeRef=e6b69e2d-a8ab-49e9-8d79-e2bc4f2f45fd&gridTable=VIEW_TEMPLATE&rcol=ENTITYTYPE&node=${ENTITYTYPE}&NAME=${NAME}&page=${page}&perPage=${perPage}",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"filter" : {
"title" : "",
"body" : [ {
"type" : "input-text",
"name" : "NAME",
"label" : "名称",
"clearable" : true
} ]
},
"columns" : [ {
"name" : "NAME",
"label" : "功能名称",
"width" : 200
}, {
"name" : "TYPE",
"label" : "模板类型",
"width" : 50,
"type" : "mapping",
"map" : {
"1" : "列表模板",
"3" : "树模板",
"4" : "树和列表模板",
"5" : "日历模板",
"6" : "组合模板",
"7" : "表单模板",
"100" : "列表窗口模板",
"101" : "树窗口模板",
"200" : "报表模板"
}
}, {
"name" : "ENTITYS",
"label" : "实体",
"width" : 80,
"toggled" : false
}, {
"name" : "XML",
"label" : "模板XML",
"width" : 200,
"toggled" : false
}, {
"name" : "CANDOMENU",
"label" : "可作为菜单",
"width" : 35,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是",
"false" : "否",
"true" : "是"
}
}, {
"name" : "ENGINECLASS",
"label" : "模板解析类",
"width" : 240
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"name" : "VIEW_TEMPLATE_CUSTOM_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "XML",
"label" : "模板XML",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "TYPE",
"label" : "类型",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/TEMPLATETYPE"
}, {
"name" : "ENGINECLASS",
"label" : "解析类",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,30 @@
{
"type" : "page",
"title" : "印章台帐中查看流转记录",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"name" : "SEAL_BORROW_VIEW_LIST",
"label" : "印章流转记录",
"type" : "input-table",
"id" : "eg-SEAL_BORROW_VIEW_LIST",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ ],
"needConfirm" : false
}, {
"name" : "OA_SEALLEDGER_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,40 @@
{
"type" : "page",
"title" : "指标编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "CATEGORY",
"label" : "指标类别",
"required" : true,
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/082f27b4-7ae9-4b21-acc9-2b2a6f7d9797/tree",
"searchable" : true
}, {
"name" : "NAME",
"label" : "指标",
"required" : true,
"type" : "input-text"
} ]
}, {
"name" : "CONTEXT",
"label" : "描述",
"type" : "textarea"
}, {
"name" : "HR_PERFORMANCE_GUIDE_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,170 @@
{
"type" : "page",
"title" : "系统版本记录",
"body" : {
"type" : "crud",
"api" : "/api/flow/SYS_BUNDLE_VERSION_RECORD_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "VERSIONNAME",
"label" : "版本",
"type" : "input-text"
}, {
"name" : "FILEPATH",
"label" : "程序路径",
"type" : "input-text"
}, {
"name" : "ISMUSTUPDATE",
"label" : "是否必升",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
} ]
},
"columns" : [ {
"name" : "BUNDLE_VERSION_RECORD_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "VERSIONNAME",
"label" : "版本",
"width" : 100
}, {
"name" : "FILEPATH",
"label" : "程序路径",
"width" : 400
}, {
"name" : "ISMUSTUPDATE",
"label" : "是否必升",
"width" : 200,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是"
}
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/4f6e7993-7863-4863-a38d-6163eb889021?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/BUNDLE_VERSION_RECORD/defaults?templateId=4f6e7993-7863-4863-a38d-6163eb889021"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/SYS_BUNDLE_VERSION_RECORD_ADD?__egtpl=4f6e7993-7863-4863-a38d-6163eb889021",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/4f6e7993-7863-4863-a38d-6163eb889021?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/SYS_BUNDLE_VERSION_RECORD_LOAD?__egtpl=4f6e7993-7863-4863-a38d-6163eb889021",
"data" : {
"BUNDLE_VERSION_RECORD_ID" : "${BUNDLE_VERSION_RECORD_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/SYS_BUNDLE_VERSION_RECORD_UPDATE?__egtpl=4f6e7993-7863-4863-a38d-6163eb889021",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确认要删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/SYS_BUNDLE_VERSION_RECORD_DELETE",
"data" : {
"ids" : "${selectedItems|pick:BUNDLE_VERSION_RECORD_ID|join:','}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/4f6e7993-7863-4863-a38d-6163eb889021?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/SYS_BUNDLE_VERSION_RECORD_LOAD?__egtpl=4f6e7993-7863-4863-a38d-6163eb889021",
"data" : {
"BUNDLE_VERSION_RECORD_ID" : "${BUNDLE_VERSION_RECORD_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, "pagination" ],
"primaryField" : "BUNDLE_VERSION_RECORD_ID"
}
}

View File

@@ -0,0 +1,264 @@
{
"type" : "page",
"title" : "人事变动-离职",
"body" : {
"type" : "crud",
"api" : "/api/flow/HR_LOGDIMISSION_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "FORMNO",
"label" : "编号",
"type" : "input-text"
}, {
"name" : "EMPLOYEE",
"label" : "姓名",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/4982d448-a9d4-493e-9e1d-ebcd3c7dfcd6/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "EMPLOYEENUM",
"label" : "工号",
"type" : "input-text"
}, {
"name" : "DEPART",
"label" : "部门",
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree",
"searchable" : true,
"onlyLeaf" : true
}, {
"name" : "JOB",
"label" : "岗位",
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/feeee51d-d41b-410b-b7a4-67d61ec8c4df/tree",
"searchable" : true,
"onlyLeaf" : true
}, {
"name" : "INSUREDS",
"label" : "参保退保",
"type" : "picker",
"clearable" : true,
"multiple" : true,
"overflowConfig" : {
"displayPosition" : [ "select" ],
"maxTagCount" : 1
},
"source" : "/api/picker/0f95521e-5eb2-455f-9cbd-d9a8a5de8d11/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "LEAVEDATE",
"label" : "离职日期",
"type" : "input-date-range"
}, {
"name" : "LEAVEREASON",
"label" : "离职方式",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_EMPLOYEE_LEAVEREASON_TYPE"
}, {
"name" : "REMARK",
"label" : "备注",
"type" : "input-text"
} ]
},
"columns" : [ {
"name" : "HR_LOGDIMISSION_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "FORMNO",
"label" : "编号",
"width" : 80
}, {
"name" : "EMPLOYEENUM",
"label" : "工号",
"width" : 50
}, {
"name" : "EMPLOYEE_DISPLAY__",
"label" : "姓名",
"width" : 80
}, {
"name" : "DEPART",
"label" : "部门",
"width" : 150
}, {
"name" : "JOB",
"label" : "岗位",
"width" : 180
}, {
"name" : "INSUREDSTEXT",
"label" : "参保退保",
"width" : 200
}, {
"name" : "LEAVEDATE",
"label" : "离职日期",
"width" : 80,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "LEAVEREASON",
"label" : "离职方式",
"width" : 60,
"type" : "mapping",
"map" : {
"1" : "辞职",
"2" : "辞退"
}
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/2cfa152e-15e1-4998-8156-0737539f01b3?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/HR_LOGDIMISSION/defaults?templateId=2cfa152e-15e1-4998-8156-0737539f01b3"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/HR_LOGDIMISSION_ADD?__egtpl=2cfa152e-15e1-4998-8156-0737539f01b3",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "退回",
"label" : "退回",
"actionType" : "ajax",
"confirmText" : "退回将更新员工为“在职”状态,是否继续?",
"api" : {
"method" : "post",
"url" : "/api/flow/HR_LOGDIMISSION_DELETE",
"data" : {
"HR_LOGDIMISSION_ID" : "${selectedItems[0].HR_LOGDIMISSION_ID}"
}
},
"disabledOn" : "${!selectedItems || selectedItems.length === 0}"
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/f965d063-d21e-429e-b172-df8b08e01df5?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/HR_LOGDIMISSION_LOAD?__egtpl=f965d063-d21e-429e-b172-df8b08e01df5",
"data" : {
"HR_LOGDIMISSION_ID" : "${HR_LOGDIMISSION_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, {
"type" : "button",
"id" : "打印",
"label" : "打印",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "离职证明打印",
"size" : "lg",
"data" : {
"HR_LOGDIMISSION_ID" : "${selectedItems[0].HR_LOGDIMISSION_ID}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/91bac31b-3dc0-44a9-b6ea-36c3e847ff81?format=amis"
},
"actions" : [ {
"type" : "button",
"label" : "关闭",
"actionType" : "close"
} ]
}
}, "pagination" ],
"primaryField" : "HR_LOGDIMISSION_ID",
"onEvent" : {
"inited" : {
"actions" : [ {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 1,
"item" : "${&}",
"templateId" : "017d6c4c-d84f-40c3-bf70-73e83c41fc23"
}
},
"outputVar" : "scriptResult1"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult1.commands}"
}
} ]
}
}
}
}

View File

@@ -0,0 +1,48 @@
{
"type" : "page",
"title" : "同步令牌",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "DEVICEID",
"label" : "设备编号",
"required" : true,
"disabled" : true,
"type" : "input-text"
}, {
"name" : "AUTHKEY",
"label" : "认证密匙",
"required" : true,
"disabled" : true,
"type" : "input-text"
} ]
}, {
"type" : "group",
"body" : [ {
"name" : "OPT1",
"label" : "第一次动态密码",
"required" : true,
"type" : "input-text"
}, {
"name" : "OPT2",
"label" : "第二次动态密码",
"required" : true,
"type" : "input-text"
} ]
}, {
"name" : "SYS_USEROTP_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,38 @@
{
"type" : "page",
"title" : "模块信息编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "BUNDLE_BUNDLELIST_ID",
"label" : "所属包",
"required" : true,
"type" : "input-text"
}, {
"name" : "NAME",
"label" : "模块名称",
"type" : "input-text"
} ]
}, {
"type" : "group",
"body" : [ {
"name" : "CURRENTVERSION",
"label" : "当前版本",
"type" : "input-text"
} ]
}, {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,138 @@
{
"type" : "page",
"title" : "薪资方案查看",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "ORGID",
"label" : "所属公司",
"type" : "static",
"tpl" : "${ORGID_DISPLAY__ ? ORGID_DISPLAY__ : (NAME ? NAME : ORGID)}"
}, {
"name" : "ZEROWAY",
"label" : "零头处理方式",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_PAYSCHEME_ZEROWAY"
} ]
}, {
"type" : "group",
"body" : [ {
"name" : "MINPAYUNIT",
"label" : "最小发放单位",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_PAYSCHEME_MINPAYUNIT"
} ]
}, {
"name" : "HR_PAYSCHEME_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "NAME",
"label" : "方案名称",
"type" : "input-text",
"hidden" : true
}, {
"name" : "CURRENCYTYPE",
"label" : "薪资币种",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_PAYSCHEME_CURRENCYTYPE",
"hidden" : true
}, {
"name" : "ITEMS",
"label" : "薪资项目明细",
"required" : true,
"disabled" : true,
"type" : "input-table",
"id" : "eg-ITEMS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "HR_PAYITEMID",
"label" : "薪资项目",
"quickEdit" : {
"name" : "HR_PAYITEMID",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/00f6638e-72c7-4834-96ff-904935375951/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}
}, {
"name" : "ISREPORT",
"label" : "是否报表中显示",
"quickEdit" : {
"name" : "ISREPORT",
"required" : true,
"type" : "checkbox"
}
} ],
"needConfirm" : false,
"hidden" : true
}, {
"name" : "USERS",
"label" : "薪资人员明细",
"disabled" : true,
"type" : "input-table",
"id" : "eg-USERS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "USERID",
"label" : "用户",
"quickEdit" : {
"name" : "USERID",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
}
} ],
"needConfirm" : false,
"hidden" : true
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,372 @@
{
"type" : "page",
"title" : "劳务队组名录-去除劳务公司五建定制",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "tabs",
"tabs" : [ {
"title" : "劳务队组信息",
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "SERIALNUMBER",
"label" : "编号",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 8,
"body" : [ {
"name" : "LABORTEAMNAME",
"label" : "劳务队组名称",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "RECORDDATE",
"label" : "登记日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "VALIDDATE",
"label" : "有效期至",
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "TAXTICKETTYPES",
"label" : "税票类型明细",
"required" : true,
"type" : "input-table",
"id" : "eg-TAXTICKETTYPES",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "TAXTICKETTYPE",
"label" : "税票类型",
"quickEdit" : {
"name" : "TAXTICKETTYPE",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/TAXTICKETTYPE"
}
}, {
"name" : "REMARK",
"label" : "备注",
"quickEdit" : {
"name" : "REMARK",
"type" : "input-text"
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "SAFETYHEAD",
"label" : "安全负责人",
"type" : "input-text",
"maxLength" : 50
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "MATERIALSTAFF",
"label" : "材料员",
"type" : "input-text",
"maxLength" : 50
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "MAINHEAD",
"label" : "主要负责人",
"type" : "input-text",
"maxLength" : 50
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PAYEE",
"label" : "领款人",
"type" : "input-text",
"maxLength" : 50
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PROFESSIONALWORKERS",
"label" : "专业工种",
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "WORKERAMOUNT",
"label" : "劳务人数(人)",
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "SENIORTECHNICIANAMOUNT",
"label" : "其中高级技工(人)",
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "MIDDLE_LEVELTECHNICIANAMOUNT",
"label" : "中级技工(人)",
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "JUNIORTECHNICIANAMOUNT",
"label" : "初级技工(人)",
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "UNDERWORKERAMOUNT",
"label" : "辅助工人数",
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "CONSTRUCTIONPROJECT",
"label" : "近年来主要劳务施工项目情况",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "BANKS",
"label" : "银行账户信息",
"type" : "input-table",
"id" : "eg-BANKS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "PAYEEUNITNAME",
"label" : "收款单位全称",
"quickEdit" : {
"name" : "PAYEEUNITNAME",
"required" : true,
"type" : "input-text"
}
}, {
"name" : "OPENINGBANK",
"label" : "开户银行",
"quickEdit" : {
"name" : "OPENINGBANK",
"type" : "input-text"
}
}, {
"name" : "ACCOUNTNUMBER",
"label" : "银行账号",
"quickEdit" : {
"name" : "ACCOUNTNUMBER",
"type" : "input-text"
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "PERSONS",
"label" : "联系人信息",
"type" : "input-table",
"id" : "eg-PERSONS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "NAME",
"label" : "姓名",
"quickEdit" : {
"name" : "NAME",
"required" : true,
"type" : "input-text"
}
}, {
"name" : "POSITIONTITLE",
"label" : "职位职称",
"quickEdit" : {
"name" : "POSITIONTITLE",
"type" : "input-text"
}
}, {
"name" : "PHONE",
"label" : "电话",
"quickEdit" : {
"name" : "PHONE",
"type" : "input-text"
}
}, {
"name" : "FAX",
"label" : "传真",
"quickEdit" : {
"name" : "FAX",
"type" : "input-text"
}
}, {
"name" : "EMAIL",
"label" : "邮箱",
"quickEdit" : {
"name" : "EMAIL",
"type" : "input-text"
}
}, {
"name" : "ISPRINCIPALPERSON",
"label" : "负责人",
"quickEdit" : {
"name" : "ISPRINCIPALPERSON",
"required" : true,
"type" : "checkbox"
}
} ],
"needConfirm" : false
} ]
} ]
} ]
}, {
"title" : "人员信息",
"body" : [ {
"name" : "MEMBERS",
"label" : "人员信息",
"type" : "input-table",
"id" : "eg-MEMBERS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ ],
"needConfirm" : false
}, {
"name" : "VIEW_PM_LABORTEAM_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "LABORCOMPANYID",
"label" : "所属劳务公司",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/e6af3a6b-9fbf-4f55-bd2b-b60dcfa1f7df/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"hidden" : true
}, {
"name" : "RESPONSIBLEPERSON",
"label" : "负责人",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "ADDRESS",
"label" : "负责人地址",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "CONTACTPHONE",
"label" : "联系电话",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "MOBILEPHONE",
"label" : "手机",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "TAXTICKETTYPE",
"label" : "税票类型",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/TAXTICKETTYPE",
"hidden" : true
} ]
} ]
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,158 @@
{
"type" : "page",
"title" : "数据字典",
"body" : {
"type" : "grid",
"columns" : [ {
"md" : 4,
"columnClassName" : "b-r pr-md",
"body" : [ {
"type" : "input-tree",
"name" : "selId",
"multiple" : false,
"virtualThreshold" : 100000,
"id" : "decltree_tree",
"source" : "/api/template/0211a0e2-2073-4b24-b59f-e6757e5dcff0/tree",
"label" : false,
"searchable" : true,
"initiallyOpen" : true,
"showOutline" : true,
"heightAuto" : true
} ]
}, {
"md" : 8,
"columnClassName" : "pl-md",
"body" : [ {
"type" : "button-toolbar",
"className" : "m-b-sm",
"buttons" : [ {
"type" : "button",
"label" : "添加",
"level" : "primary",
"icon" : "fa fa-plus",
"onEvent" : {
"click" : {
"actions" : [ {
"actionType" : "setValue",
"componentId" : "decltree_tree",
"args" : {
"value" : ""
}
}, {
"actionType" : "setValue",
"componentId" : "pm_dictionary_editform",
"args" : {
"value" : {
"PM_DICTIONARY_ID" : "",
"PARENTID" : "",
"NAME" : "",
"SORTID" : "",
"COSTITEMTYPE" : "",
"ISCONFIGURE" : "",
"REMARK" : "",
"ISBASE" : ""
}
}
} ]
}
}
}, {
"type" : "button",
"label" : "删除",
"level" : "danger",
"icon" : "fa fa-trash",
"disabledOn" : "${!selId}",
"actionType" : "ajax",
"confirmText" : "确认删除选中项?",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_DICTIONARY_DELETE",
"data" : {
"PM_DICTIONARY_ID" : "${selId}"
}
},
"reload" : "decltree_tree"
} ]
}, {
"type" : "form",
"id" : "pm_dictionary_editform",
"title" : "数据字典",
"mode" : "horizontal",
"horizontal" : {
"left" : 3,
"right" : 8
},
"initApi" : {
"method" : "get",
"url" : "/api/entity/PM_DICTIONARY/${selId}",
"data" : {
"pageId" : "bede55eb-424d-4639-9b22-4824c4d9b90e"
},
"sendOn" : "${selId}"
},
"api" : "post:/api/flow/PM_DICTIONARY_UPDATE",
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "PM_DICTIONARY_ID",
"label" : "编码",
"required" : true,
"type" : "input-text"
}, {
"name" : "NAME",
"label" : "名称",
"required" : true,
"type" : "input-text"
} ]
}, {
"type" : "group",
"body" : [ {
"name" : "SORTID",
"label" : "排序编号",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1,
"value" : "1"
}, {
"name" : "COSTITEMTYPE",
"label" : "费用项类型",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/cost_datatype",
"value" : "0"
} ]
}, {
"type" : "group",
"body" : [ {
"name" : "ISCONFIGURE",
"label" : "需要配置费率",
"type" : "checkbox",
"value" : "false"
}, {
"name" : "ISBASE",
"label" : "是否基础项",
"type" : "checkbox",
"value" : "0"
} ]
}, {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
}, {
"name" : "PARENTID",
"label" : "父节点",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ {
"type" : "submit",
"label" : "保存",
"level" : "primary",
"icon" : "fa fa-save",
"reload" : "decltree_tree"
} ]
} ]
} ]
}
}

View File

@@ -0,0 +1,76 @@
{
"type" : "page",
"title" : "劳务队组状态变更",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"name" : "STATECHANGES",
"label" : "状态变更",
"disabled" : true,
"type" : "input-table",
"id" : "eg-STATECHANGES",
"addable" : false,
"removable" : false,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "STATEBEFORECHANGE",
"label" : "变更前状态",
"quickEdit" : {
"name" : "STATEBEFORECHANGE",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_LaborTeam_STATUS"
}
}, {
"name" : "STATEAFTERCHANGE",
"label" : "变更后状态",
"quickEdit" : {
"name" : "STATEAFTERCHANGE",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_LaborTeam_STATUS"
}
}, {
"name" : "CHANGEREASON",
"label" : "变更原因",
"quickEdit" : {
"name" : "CHANGEREASON",
"disabled" : true,
"type" : "input-text"
}
}, {
"name" : "RECORDER",
"label" : "登记人",
"type" : "tpl",
"tpl" : "${RECORDER_DISPLAY__ ? RECORDER_DISPLAY__ : RECORDER}",
"quickEdit" : false
}, {
"name" : "RECODEDATE",
"label" : "登记日期",
"quickEdit" : {
"name" : "RECODEDATE",
"required" : true,
"disabled" : true,
"type" : "input-date"
}
} ],
"needConfirm" : false
}, {
"name" : "PM_LABORTEAM_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,340 @@
{
"type" : "page",
"title" : "办公用品领用申请(按库领用)",
"body" : {
"type" : "crud",
"api" : "/api/flow/OA_OFFICE_COLLARAPPLY_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "STORE_ID",
"label" : "办公用品库",
"type" : "select",
"clearable" : true,
"source" : "/api/picker/VIEW_OA_OFFICE_STOREHOUSE/list?perPage=500"
}, {
"name" : "DEPART_ID",
"label" : "申请部门",
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree",
"searchable" : true,
"onlyLeaf" : true
}, {
"name" : "STATUS",
"label" : "审批状态",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/WFSTATUS"
}, {
"name" : "APPLYDATE",
"label" : "申请日期",
"type" : "input-date-range"
} ]
},
"columns" : [ {
"name" : "OA_OFFICE_COLLARAPPLY_ID",
"label" : "主键",
"width" : 100,
"toggled" : false
}, {
"name" : "FORMNO",
"label" : "表单号",
"width" : 100
}, {
"name" : "APPLYDATE",
"label" : "申请日期",
"width" : 100,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "APPLYNAME_DISPLAY__",
"label" : "申请人",
"width" : 80
}, {
"name" : "DEPART_ID_DISPLAY__",
"label" : "申请部门",
"width" : 150
}, {
"name" : "GOODS_LIST",
"label" : "申领用品",
"width" : 260
}, {
"name" : "STATUS",
"label" : "审批状态",
"width" : 70,
"type" : "mapping",
"map" : {
"1" : "未提交",
"2" : "处理中",
"3" : "通过",
"4" : "未通过",
"5" : "重新提交",
"6" : "作废"
}
}, {
"name" : "ISCOLLARFINISH",
"label" : "是否领用完毕",
"width" : 100,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是"
}
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/4ebf0ccf-f91c-4dd0-aa1d-c35ed41474fd?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/OA_OFFICE_COLLARAPPLY/defaults?templateId=4ebf0ccf-f91c-4dd0-aa1d-c35ed41474fd"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/OA_OFFICE_COLLARAPPLY_ADD?__egtpl=4ebf0ccf-f91c-4dd0-aa1d-c35ed41474fd",
"close" : true
}, {
"type" : "button",
"label" : "保存并提交审批",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/OA_OFFICE_COLLARAPPLY_SAVE_AND_SUBMIT?__egtpl=4ebf0ccf-f91c-4dd0-aa1d-c35ed41474fd",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/4ebf0ccf-f91c-4dd0-aa1d-c35ed41474fd?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/OA_OFFICE_COLLARAPPLY_LOAD?__egtpl=4ebf0ccf-f91c-4dd0-aa1d-c35ed41474fd",
"data" : {
"OA_OFFICE_COLLARAPPLY_ID" : "${OA_OFFICE_COLLARAPPLY_ID}"
},
"responseData" : {
"&" : "${result}"
}
},
"onEvent" : {
"inited" : {
"actions" : [ {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 1,
"item" : "${&}",
"templateId" : "021e3ba7-e03a-412a-9f0e-c20ef440a885"
}
},
"outputVar" : "scriptResult1"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult1.commands}"
}
} ]
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/OA_OFFICE_COLLARAPPLY_UPDATE?__egtpl=4ebf0ccf-f91c-4dd0-aa1d-c35ed41474fd",
"close" : true
}, {
"type" : "button",
"label" : "保存并提交审批",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/OA_OFFICE_COLLARAPPLY_SAVE_AND_SUBMIT?__egtpl=4ebf0ccf-f91c-4dd0-aa1d-c35ed41474fd",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确认要删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/OA_OFFICE_COLLARAPPLY_DELETE",
"data" : {
"ids" : "${selectedItems|pick:OA_OFFICE_COLLARAPPLY_ID|join:','}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/4ebf0ccf-f91c-4dd0-aa1d-c35ed41474fd?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/OA_OFFICE_COLLARAPPLY_LOAD?__egtpl=4ebf0ccf-f91c-4dd0-aa1d-c35ed41474fd",
"data" : {
"OA_OFFICE_COLLARAPPLY_ID" : "${OA_OFFICE_COLLARAPPLY_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, {
"type" : "button",
"id" : "提交审批",
"label" : "提交审批",
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/flow/OA_OFFICE_COLLARAPPLY_SUBMIT",
"data" : {
"OA_OFFICE_COLLARAPPLY_ID" : "${selectedItems[0].OA_OFFICE_COLLARAPPLY_ID}"
}
},
"disabledOn" : "${!selectedItems || selectedItems.length === 0 || (selectedItems[0].STATUS && selectedItems[0].STATUS != 1 && selectedItems[0].STATUS != 4 && selectedItems[0].STATUS != 5)}"
}, {
"type" : "button",
"id" : "打印",
"label" : "打印",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "办公用品领用申请单",
"size" : "lg",
"data" : {
"OA_OFFICE_COLLARAPPLY_ID" : "${selectedItems[0].OA_OFFICE_COLLARAPPLY_ID}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/522a2a97-9960-48b7-adca-13b97275ce8b?format=amis"
},
"actions" : [ {
"type" : "button",
"label" : "关闭",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "查看审批",
"label" : "查看审批",
"icon" : "fa fa-search",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"onEvent" : {
"click" : {
"actions" : [ {
"actionType" : "openApprovalDrawer",
"args" : {
"taskName" : "审批详情",
"processInstanceId" : "${selectedItems[0].processInstanceId || selectedItems[0].PROCESSINSTANCEID || ''}",
"businessKey" : "${selectedItems[0].OA_OFFICE_COLLARAPPLY_ID}",
"businessTable" : "OA_OFFICE_COLLARAPPLY",
"readOnly" : true,
"mode" : "read"
}
} ]
}
}
}, "pagination" ],
"primaryField" : "OA_OFFICE_COLLARAPPLY_ID",
"onEvent" : {
"inited" : {
"actions" : [ {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 1,
"item" : "${&}",
"templateId" : "021e3ba7-e03a-412a-9f0e-c20ef440a885"
}
},
"outputVar" : "scriptResult1"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult1.commands}"
}
}, {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 2,
"item" : "${&}",
"templateId" : "021e3ba7-e03a-412a-9f0e-c20ef440a885"
}
},
"outputVar" : "scriptResult2"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult2.commands}"
}
} ]
}
}
}
}

View File

@@ -0,0 +1,238 @@
{
"type" : "page",
"title" : "安全检查记录表-公司-编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PROJECTID",
"label" : "受查工程项目",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${currentProject}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PROSUBCONID",
"label" : "受查劳务队组",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/587eb790-330f-4cae-a547-4839756de943/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "checkedProjectLeader",
"label" : "受查工程项目负责人",
"type" : "static",
"tpl" : "${checkedProjectLeader_DISPLAY__ ? checkedProjectLeader_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : checkedProjectLeader)}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "proSubconLeader",
"label" : "受查劳务队组负责人",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "INSPECTIONUNIT",
"label" : "检查单位",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "SELECTDEPART",
"label" : "选择",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1a998b23-371d-4ebb-911f-6465a56a6809/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "BRANCHSUBENTRYID",
"label" : "问题发生部位",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/2d2aaf39-4cfb-4cc3-8f1d-a755a45363c4/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "CHECKCHEFS",
"label" : "检查带队人",
"type" : "input-text",
"maxLength" : 50
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CHECKTIME",
"label" : "检查日期",
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "INSPECTIONRECORDS",
"label" : "检查情况记录",
"required" : true,
"type" : "textarea"
} ]
} ]
}, {
"name" : "INSERTDEPART",
"label" : "检查级别",
"required" : true,
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_safety_insertDepart",
"value" : "2"
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "CHECKPROCESSING",
"label" : "检查处理",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_safety_checkProcessing",
"value" : "1"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "CHECKASSESSMENT",
"label" : "检查评定",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_safety_checkAssessment",
"value" : "103"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "RECORDER",
"label" : "记录人",
"type" : "static",
"tpl" : "${RECORDER_DISPLAY__ ? RECORDER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : RECORDER)}",
"value" : "${currentUser}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_PUB_SECURITYCHECK&businessKey=${PM_PUB_SECURITYCHECK_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "PM_PUB_SECURITYCHECK_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,184 @@
{
"type" : "page",
"title" : "项目报销确认选择框",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_REIMBURSEMENTAPPLY_CONFIRM_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "ISPERCOST",
"label" : "前期项目费用",
"type" : "checkbox"
}, {
"name" : "PROJECTID",
"label" : "工程名称",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/66e57e6d-0cbb-40cf-8b84-c512345734b7/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${currentProject}"
}, {
"name" : "DEPARTID",
"label" : "申请部门",
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree",
"searchable" : true,
"onlyLeaf" : true
}, {
"name" : "REIMBURSEMENTNAME",
"label" : "报销人",
"type" : "input-text"
}, {
"name" : "BILLSTATE",
"label" : "是否确认",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "0"
}, {
"name" : "CONFIRMATIONDATE",
"label" : "确认日期",
"type" : "input-date-range"
} ]
},
"columns" : [ {
"name" : "PM_REIMBURSEMENTAPPLY_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "FORMNO",
"label" : "表单号",
"width" : 200
}, {
"name" : "DISPLAYNAME",
"label" : "项目名称",
"width" : 250
}, {
"name" : "ISPERCOST",
"label" : "是否前期项目报销",
"width" : 200,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是",
"false" : "否",
"true" : "是"
}
}, {
"name" : "PROJECTID_DISPLAY__",
"label" : "工程名称",
"width" : 200,
"toggled" : false
}, {
"name" : "ORGID_DISPLAY__",
"label" : "报销(分)公司",
"width" : 150
}, {
"name" : "DEPARTID_DISPLAY__",
"label" : "报销部门",
"width" : 180
}, {
"name" : "REIMBURSEMENTNAME_DISPLAY__",
"label" : "报销人",
"width" : 90
}, {
"name" : "APPLYDATE",
"label" : "申请日期",
"width" : 100,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "TOTALMONEY",
"label" : "报销金额(元)",
"width" : 150
}, {
"name" : "REIMBURSEMENTREASON",
"label" : "报销事由",
"width" : 200
}, {
"name" : "CONFIRMATIONPEOPLE_DISPLAY__",
"label" : "确认人",
"width" : 90
}, {
"name" : "CONFIRMATIONDATE",
"label" : "确认日期",
"width" : 100,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/c0d10a6e-5245-480a-865d-3ab54925b551?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/PM_REIMBURSEMENTAPPLY_LOAD?__egtpl=c0d10a6e-5245-480a-865d-3ab54925b551",
"data" : {
"PM_REIMBURSEMENTAPPLY_ID" : "${PM_REIMBURSEMENTAPPLY_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, "pagination" ],
"primaryField" : "PM_REIMBURSEMENTAPPLY_ID",
"onEvent" : {
"selectedChange" : {
"actions" : [ {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 1,
"item" : "${event.data.selectedItems[0]}",
"templateId" : "023fe74b-3d5b-4551-ac90-b8b4e6341bd0"
}
},
"outputVar" : "scriptResult1"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult1.commands}"
}
} ]
}
}
}
}

View File

@@ -0,0 +1,81 @@
{
"type" : "page",
"title" : "功能模板下载模板管理",
"body" : {
"type" : "grid",
"columns" : [ {
"md" : 4,
"columnClassName" : "b-r pr-md",
"body" : [ {
"type" : "input-tree",
"name" : "selId",
"multiple" : false,
"virtualThreshold" : 100000,
"id" : "decltree_tree",
"source" : "/api/template/0246d4bd-232b-465d-9265-8c1fc1ecbdf2/tree",
"label" : false,
"searchable" : true,
"initiallyOpen" : true,
"showOutline" : true,
"heightAuto" : true
} ]
}, {
"md" : 8,
"columnClassName" : "pl-md",
"body" : [ {
"type" : "form",
"id" : "sys_menu_editform",
"title" : "编辑模板附件",
"mode" : "horizontal",
"horizontal" : {
"left" : 3,
"right" : 8
},
"initApi" : {
"method" : "get",
"url" : "/api/entity/SYS_MENU/${selId}",
"data" : {
"pageId" : "f98dab46-6fb4-4a6c-ae18-54aaf335b3ad"
},
"sendOn" : "${selId}"
},
"api" : "post:/api/flow/VIEW_TEMPLATE_DOWNLAD_UPDATE",
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"type" : "input-file",
"receiver" : "/api/file/upload",
"downloadUrl" : "/api/file/${id}",
"multiple" : true
}, {
"name" : "VERSION",
"label" : "VERSION",
"type" : "input-text",
"hidden" : true
}, {
"name" : "SYS_MENU_ID",
"label" : "主键",
"type" : "input-text",
"hidden" : true
}, {
"name" : "VIEW_TEMPLATE_DOWNLAD_ID",
"label" : "VIEW_TEMPLATE_DOWNLAD_ID",
"type" : "input-text",
"hidden" : true
}, {
"name" : "VIEW_TEMPLATEID",
"label" : "VIEW_TEMPLATEID",
"type" : "input-text",
"hidden" : true
} ],
"actions" : [ {
"type" : "submit",
"label" : "保存",
"level" : "primary",
"icon" : "fa fa-save",
"reload" : "decltree_tree"
} ]
} ]
} ]
}
}

View File

@@ -0,0 +1,202 @@
{
"type" : "page",
"title" : "填写人员证书转出申请",
"body" : {
"type" : "form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "ROLLOUTUSE",
"label" : "姓名",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1b6820ad-bc7c-4eef-ac63-652cdf52c75f/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${currentUser}"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "ROLLOUTDATE",
"label" : "申请日期",
"required" : true,
"disabled" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "REFUND",
"label" : "需退费用(元)",
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "CHANGECOMPANY",
"label" : "变更企业名称",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "ROLLOUTREASON",
"label" : "转出事由",
"required" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "CARDS",
"label" : "证书集合",
"required" : true,
"validationErrors" : {
"required" : "证书列表为必填项!"
},
"type" : "input-table",
"id" : "eg-CARDS",
"addable" : false,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "CARDTYPE",
"label" : "证书种类",
"quickEdit" : {
"name" : "CARDTYPE",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CARDTYPE"
}
}, {
"name" : "CARDID",
"label" : "证书名称",
"type" : "tpl",
"tpl" : "${CARDID_DISPLAY__ ? CARDID_DISPLAY__ : CARDID}",
"quickEdit" : false
}, {
"name" : "CARDNO",
"label" : "证书编号",
"quickEdit" : {
"name" : "CARDNO",
"disabled" : true,
"type" : "input-text"
}
}, {
"name" : "USERID",
"label" : "姓名",
"type" : "tpl",
"tpl" : "${USERID_DISPLAY__ ? USERID_DISPLAY__ : USERID}",
"quickEdit" : false
}, {
"name" : "IDCARD",
"label" : "身份证号码",
"quickEdit" : {
"name" : "IDCARD",
"disabled" : true,
"type" : "input-text"
}
}, {
"name" : "HOMEPHONE",
"label" : "联系电话",
"quickEdit" : {
"name" : "HOMEPHONE",
"disabled" : true,
"type" : "input-text"
}
}, {
"name" : "KEEPDEPARTID",
"label" : "保管部门",
"type" : "tpl",
"tpl" : "${KEEPDEPARTID_DISPLAY__ ? KEEPDEPARTID_DISPLAY__ : KEEPDEPARTID}",
"quickEdit" : false
} ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=HR_CARDROLLOUTAPPLY&businessKey=${HR_CARDROLLOUTAPPLY_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "HR_CARDROLLOUTAPPLY_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "ISTRAN",
"label" : "隐藏值(控制事件是否触发)",
"hidden" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
}, {
"name" : "ISEND",
"label" : "是否全部转出",
"hidden" : true,
"type" : "checkbox",
"value" : "0"
} ],
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "ajax",
"api" : "POST:/api/flow/HR_CARDROLLOUTAPPLY_ADD",
"data" : {
"&" : "${&}"
}
}, {
"type" : "button",
"label" : "保存并提交审批",
"level" : "primary",
"actionType" : "ajax",
"api" : "POST:/api/flow/HR_CARDROLLOUTAPPLY_ADDSUBMIT",
"data" : {
"&" : "${&}"
}
} ]
}
}

View File

@@ -0,0 +1,144 @@
{
"type" : "page",
"title" : "人事变动-退休+留用编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "EMPLOYEE",
"label" : "姓名",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/4982d448-a9d4-493e-9e1d-ebcd3c7dfcd6/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "EMPLOYEENUM",
"label" : "工号",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "IDCARD",
"label" : "身份证号",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "JOINTIME",
"label" : "任职日期",
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "RETIRETIME",
"label" : "退休日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "NEWPAY",
"label" : "退休薪资",
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "JOB",
"label" : "岗位",
"type" : "select",
"clearable" : true,
"source" : "/api/picker/SYS_POSITION/list?perPage=500"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "QUITTYPE",
"label" : "退休方式",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_EMPLOYEE_QUITTYPE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=HR_LOGRETIRE&businessKey=${HR_LOGRETIRE_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "HR_LOGRETIRE_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,306 @@
{
"type" : "page",
"title" : "加班登记",
"body" : {
"type" : "crud",
"api" : "/api/flow/HR_OVERTIMEAPPLY_SEARCHPASS",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "OVERTIMENO",
"label" : "编号",
"type" : "input-text"
}, {
"name" : "USERID",
"label" : "姓名",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1b6820ad-bc7c-4eef-ac63-652cdf52c75f/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "OVERTIMETYPE",
"label" : "加班类型",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_CHECKATTENDANCESTATE"
}, {
"name" : "OVERTIMESTATE",
"label" : "状态",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_HOLIDAYSTATUS"
}, {
"name" : "BEGINTIME",
"label" : "开始时间",
"type" : "input-datetime-range"
}, {
"name" : "ENDTIME",
"label" : "结束时间",
"type" : "input-datetime-range"
} ]
},
"columns" : [ {
"name" : "HR_OVERTIMEAPPLY_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "OVERTIMENO",
"label" : "编号",
"width" : 150
}, {
"name" : "USERID_DISPLAY__",
"label" : "姓名",
"width" : 80
}, {
"name" : "OVERTIMETYPE",
"label" : "加班类型",
"width" : 80,
"type" : "mapping",
"map" : {
"1" : "正常",
"2" : "迟到",
"3" : "早退",
"4" : "旷工",
"21" : "年假",
"22" : "事假",
"23" : "病假",
"24" : "婚假",
"25" : "产假",
"26" : "调休",
"28" : "探亲假",
"29" : "护理假",
"30" : "哺乳假",
"41" : "普通加班",
"42" : "周末加班",
"43" : "节假日加班",
"61" : "公差",
"70" : "欠工",
"97" : "外出",
"98" : "打卡异常",
"99" : "异常"
}
}, {
"name" : "BEGINTIME",
"label" : "开始时间",
"width" : 140,
"type" : "datetime",
"format" : "YYYY-MM-DD HH:mm",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "ENDTIME",
"label" : "结束时间",
"width" : 140,
"type" : "datetime",
"format" : "YYYY-MM-DD HH:mm",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "ATTENDS",
"label" : "加班时间合计",
"width" : 100
}, {
"name" : "OVERTIMEREASON",
"label" : "加班事由",
"width" : 300
}, {
"name" : "OVERTIMESTATE",
"label" : "状态",
"width" : 80,
"type" : "mapping",
"map" : {
"1" : "已备案",
"2" : "已作废",
"3" : "已销假"
}
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "备案",
"label" : "备案",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "备案",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/7e074cb9-81f7-4867-9090-216bb4b4968c?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/HR_OVERTIMEAPPLY_LOAD?__egtpl=7e074cb9-81f7-4867-9090-216bb4b4968c",
"data" : {
"HR_OVERTIMEAPPLY_ID" : "${HR_OVERTIMEAPPLY_ID}"
},
"responseData" : {
"&" : "${result}"
}
},
"onEvent" : {
"inited" : {
"actions" : [ {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 2,
"item" : "${&}",
"templateId" : "031d16c6-1944-47c9-98b7-08e40404f0b7"
}
},
"outputVar" : "scriptResult2"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult2.commands}"
}
} ]
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/HR_OVERTIMEAPPLY_PUTRECORD?__egtpl=7e074cb9-81f7-4867-9090-216bb4b4968c",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "作废",
"label" : "作废",
"actionType" : "ajax",
"disabled" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/HR_OVERTIMEAPPL_CANCEL",
"data" : {
"HR_OVERTIMEAPPLY_ID" : "${selectedItems[0].HR_OVERTIMEAPPLY_ID}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/7e074cb9-81f7-4867-9090-216bb4b4968c?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/HR_OVERTIMEAPPLY_LOAD?__egtpl=7e074cb9-81f7-4867-9090-216bb4b4968c",
"data" : {
"HR_OVERTIMEAPPLY_ID" : "${HR_OVERTIMEAPPLY_ID}"
},
"responseData" : {
"&" : "${result}"
}
},
"onEvent" : {
"inited" : {
"actions" : [ {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 2,
"item" : "${&}",
"templateId" : "031d16c6-1944-47c9-98b7-08e40404f0b7"
}
},
"outputVar" : "scriptResult2"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult2.commands}"
}
} ]
}
}
}
}
}, "pagination" ],
"primaryField" : "HR_OVERTIMEAPPLY_ID",
"onEvent" : {
"selectedChange" : {
"actions" : [ {
"actionType" : "disabled",
"componentId" : "作废"
}, {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 1,
"item" : "${event.data.selectedItems[0]}",
"templateId" : "031d16c6-1944-47c9-98b7-08e40404f0b7"
}
},
"outputVar" : "scriptResult1"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult1.commands}"
}
} ]
},
"inited" : {
"actions" : [ {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 2,
"item" : "${&}",
"templateId" : "031d16c6-1944-47c9-98b7-08e40404f0b7"
}
},
"outputVar" : "scriptResult2"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult2.commands}"
}
} ]
}
}
}
}

View File

@@ -0,0 +1,138 @@
{
"type" : "page",
"title" : "在用有效文件添加",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "FILENAME",
"label" : "文件(资料)名称",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "FILENUM",
"label" : "文件(资料)编号",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PUBLISHDATE",
"label" : "发布日期",
"required" : true,
"type" : "input-date"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "REGISTERDATE",
"label" : "登记日期",
"required" : true,
"disabled" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "EDITSTATUS",
"label" : "修订状态",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/OA_USINGVALIDFILE-EDITSTATUS"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "VALIDTIME",
"label" : "有效期限",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "RELEVANTDEPARTMENTS",
"label" : "归口部门",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "FILETYPE",
"label" : "文件类型",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/OA_USINGVALIDFILE-FILETYPE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "TECHNICALCLASS",
"label" : "技术类文件类型",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/OA_USINGVALIDFILE-TECHNICALCLASS"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=OA_USINGVALIDFILE&businessKey=${OA_USINGVALIDFILE_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "OA_USINGVALIDFILE_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,294 @@
{
"type" : "page",
"title" : "劳务分包合同终止",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_LABOURSUBCONTRACTREGISTER_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "ORGID",
"label" : "(分)公司",
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/42861f01-14ea-482d-8031-f30612dfccf4/tree",
"searchable" : true,
"onlyLeaf" : true
}, {
"name" : "PM_PROJECTID",
"label" : "工程名称",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${currentProject}"
}, {
"name" : "SUBCONTRACTNUMBER",
"label" : "分包合同编号",
"type" : "input-text"
}, {
"name" : "SUBCONTRACTNAME",
"label" : "分包合同名称",
"type" : "input-text"
}, {
"name" : "CONTRACTCATEGORY",
"label" : "合同类别",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CONTRACTCATEGORY"
}, {
"name" : "CONTRACTSTATUS",
"label" : "合同状态",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CONTRACTSTATUS"
}, {
"name" : "EXPIRYDATE",
"label" : "终止日期",
"type" : "input-date"
} ]
},
"columns" : [ {
"name" : "ORGID_DISPLAY__",
"label" : "(分)公司",
"width" : 80
}, {
"name" : "PM_PROJECTID_DISPLAY__",
"label" : "工程名称",
"width" : 120
}, {
"name" : "SUBCONTRACTNUMBER",
"label" : "分包合同编号",
"width" : 100
}, {
"name" : "SUBCONTRACTNAME",
"label" : "分包合同名称",
"width" : 120
}, {
"name" : "FIRSTPARTY",
"label" : "甲方",
"width" : 100
}, {
"name" : "LABOURNAME_DISPLAY__",
"label" : "劳务队组",
"width" : 120
}, {
"name" : "CONTRACTMONEY",
"label" : "合同价款(元)",
"width" : 100
}, {
"name" : "STARTDATE",
"label" : "开始日期",
"width" : 80,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "ENDDATE",
"label" : "结束日期",
"width" : 80,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "EXPIRYDATE",
"label" : "终止日期",
"width" : 80,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "CONTRACTSTATUS",
"label" : "合同状态",
"width" : 80,
"type" : "mapping",
"map" : {
"1" : "签订",
"2" : "终止"
}
}, {
"name" : "CONTRACTFORM",
"label" : "合同形式",
"width" : 200,
"type" : "mapping",
"map" : {
"1" : "总价合同",
"2" : "单价合同"
},
"toggled" : false
}, {
"name" : "CONTRACTCATEGORY",
"label" : "合同类别",
"width" : 200,
"type" : "mapping",
"map" : {
"1" : "普通合同",
"2" : "集中合同"
},
"toggled" : false
}, {
"name" : "SUBCONTENT",
"label" : "分包内容",
"width" : 200,
"toggled" : false
}, {
"name" : "SIGNUPTIME",
"label" : "签约日期",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ",
"toggled" : false
}, {
"name" : "STOPREASON",
"label" : "终止原因",
"width" : 200,
"toggled" : false
}, {
"name" : "CONTACTPERSONID_DISPLAY__",
"label" : "联系人",
"width" : 200,
"toggled" : false
}, {
"name" : "CONTACTPHONENUMBER",
"label" : "联系电话",
"width" : 200,
"toggled" : false
}, {
"name" : "PM_LABOURSUBCONTRACTREVIEW_ID_DISPLAY__",
"label" : "劳务分包合同评审表ID",
"width" : 200,
"toggled" : false
}, {
"name" : "PM_LABOURSUBCONTRACTREGISTER_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "终止合同",
"label" : "终止合同",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "终止合同",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/68ebeddf-778a-451b-a2ad-b9f42cee85f3?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_LABOURSUBCONTRACTREGISTER_LOAD?__egtpl=68ebeddf-778a-451b-a2ad-b9f42cee85f3",
"data" : {
"PM_LABOURSUBCONTRACTREGISTER_ID" : "${PM_LABOURSUBCONTRACTREGISTER_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_LABOURSUBCONTRACTREGISTER_EXPIRY?__egtpl=68ebeddf-778a-451b-a2ad-b9f42cee85f3",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "取消终止",
"label" : "取消终止",
"actionType" : "ajax",
"disabled" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/PM_LABOURSUBCONTRACTREGISTER_CANCEL",
"data" : {
"PM_LABOURSUBCONTRACTREGISTER_ID" : "${selectedItems[0].PM_LABOURSUBCONTRACTREGISTER_ID}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/68ebeddf-778a-451b-a2ad-b9f42cee85f3?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/PM_LABOURSUBCONTRACTREGISTER_LOAD?__egtpl=68ebeddf-778a-451b-a2ad-b9f42cee85f3",
"data" : {
"PM_LABOURSUBCONTRACTREGISTER_ID" : "${PM_LABOURSUBCONTRACTREGISTER_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, "pagination" ],
"primaryField" : "PM_LABOURSUBCONTRACTREGISTER_ID",
"onEvent" : {
"selectedChange" : {
"actions" : [ {
"actionType" : "disabled",
"componentId" : "取消终止"
}, {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 1,
"item" : "${event.data.selectedItems[0]}",
"templateId" : "03c5fc8f-e6c9-4e3d-b3a1-3be73cf053b0"
}
},
"outputVar" : "scriptResult1"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult1.commands}"
}
} ]
}
}
}
}

View File

@@ -0,0 +1,42 @@
{
"type" : "page",
"title" : "人工核算对象(项目部)批量删除",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "PM_STUFF_ID",
"label" : "核算对象ID",
"type" : "picker",
"clearable" : true,
"multiple" : true,
"overflowConfig" : {
"displayPosition" : [ "select" ],
"maxTagCount" : 1
},
"source" : "/api/picker/a16cf928-820b-4c96-9f02-4afb824975e6/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,193 @@
{
"type" : "page",
"title" : "定制菜单",
"body" : {
"type" : "crud",
"api" : "/api/flow/SYS_MENU_CUSTOM_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "MENUID",
"label" : "菜单",
"hidden" : true,
"type" : "select",
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
}, {
"name" : "TYPENAME",
"label" : "分类名称",
"type" : "input-text"
}, {
"name" : "SORT",
"label" : "排序",
"type" : "input-number",
"precision" : 0,
"step" : 1
}, {
"name" : "USERID",
"label" : "用户",
"hidden" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/ac35b7e4-a338-4ca6-b5cd-98d5d1c54bab/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${currentUser}"
} ]
},
"columns" : [ {
"name" : "SYS_MENU_CUSTOM_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "USERID_DISPLAY__",
"label" : "用户",
"width" : 200,
"toggled" : false
}, {
"name" : "MENUID_DISPLAY__",
"label" : "菜单名称"
}, {
"name" : "TYPENAME",
"label" : "分类名称"
}, {
"name" : "SORT",
"label" : "排序"
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/db4e9c58-3eab-4ac2-97d0-cdc5bae8d18b?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/SYS_MENU_CUSTOM/defaults?templateId=db4e9c58-3eab-4ac2-97d0-cdc5bae8d18b"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/SYS_MENU_CUSTOM_ADD?__egtpl=db4e9c58-3eab-4ac2-97d0-cdc5bae8d18b",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/db4e9c58-3eab-4ac2-97d0-cdc5bae8d18b?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/SYS_MENU_CUSTOM_LOAD?__egtpl=db4e9c58-3eab-4ac2-97d0-cdc5bae8d18b",
"data" : {
"SYS_MENU_CUSTOM_ID" : "${SYS_MENU_CUSTOM_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/SYS_MENU_CUSTOM_UPDATE?__egtpl=db4e9c58-3eab-4ac2-97d0-cdc5bae8d18b",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确认要删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/SYS_MENU_CUSTOM_DELETE",
"data" : {
"ids" : "${selectedItems|pick:SYS_MENU_CUSTOM_ID|join:','}"
}
}
}, {
"type" : "button",
"id" : "批量添加",
"label" : "批量添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "批量添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/0490ecd0-db6e-4ee4-ab16-6bb85a2c8517?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/SYS_MENU_CUSTOM/defaults?templateId=0490ecd0-db6e-4ee4-ab16-6bb85a2c8517"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/SYS_MENU_CUSTOM_ADDALL?__egtpl=0490ecd0-db6e-4ee4-ab16-6bb85a2c8517",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, "pagination" ],
"primaryField" : "SYS_MENU_CUSTOM_ID"
}
}

View File

@@ -0,0 +1,15 @@
{
"type" : "page",
"title" : "月度检查整改",
"body" : {
"type" : "crud",
"api" : "/api/flow/VIEW_JGGL_SEARCH?page=${page}&perPage=${perPage}",
"syncLocation" : false,
"columns" : [ {
"name" : "VIEW_JGGL_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
} ]
}
}

View File

@@ -0,0 +1,362 @@
{
"type" : "page",
"title" : "单位基本信息编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "tabs",
"tabs" : [ {
"title" : "单位基本信息",
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNITNAME",
"label" : "单位名称",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "UNITNO",
"label" : "单位编码",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNITABBREVIATION",
"label" : "单位简称",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "UNITPROPERTY",
"label" : "单位性质",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/UNITPROPERTY"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNITFOUNDDATE",
"label" : "企业成立日期",
"type" : "input-date"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "REGISTERCAPITAL",
"label" : "注册资本(万元)",
"type" : "input-number",
"precision" : 4
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNITAPTITUDE",
"label" : "单位资质",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "BUSINESSLICENSEPERIOD",
"label" : "营业执照期限",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNITPHONE",
"label" : "单位电话",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "UNITFAX",
"label" : "传真",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNITADDRESS",
"label" : "地址",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "UNITZIPCODE",
"label" : "邮编",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNITEMAIL",
"label" : "单位邮箱",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "UNITURL",
"label" : "网址",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "CORPORATE",
"label" : "法人代表",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "CORPORATEPHONE",
"label" : "法人代表电话",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "CORPORATEFAX",
"label" : "法人代表传真",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "CORPORATEEMAIL",
"label" : "法人代表邮箱",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "REGISTERDATE",
"label" : "登记日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "UNITTYPE2",
"label" : "单位分类",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/UNITTYPE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "TAXPAYERIDNO",
"label" : "统一社会信用代码",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "MAJORFORREGOIN",
"label" : "负责区域",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
} ]
}, {
"title" : "银行账户信息",
"body" : [ {
"name" : "BANKS",
"label" : "银行帐户信息",
"type" : "input-table",
"id" : "eg-BANKS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "PAYEEUNITNAME",
"label" : "收款单位全称",
"quickEdit" : {
"name" : "PAYEEUNITNAME",
"required" : true,
"type" : "input-text",
"maxLength" : 50
}
}, {
"name" : "OPENINGBANK",
"label" : "开户银行",
"quickEdit" : {
"name" : "OPENINGBANK",
"type" : "input-text",
"maxLength" : 50
}
}, {
"name" : "ACCOUNTNUMBER",
"label" : "银行账号",
"quickEdit" : {
"name" : "ACCOUNTNUMBER",
"type" : "input-text",
"maxLength" : 50
}
}, {
"name" : "INTERBANKNO",
"label" : "联行号",
"quickEdit" : {
"name" : "INTERBANKNO",
"type" : "input-text",
"maxLength" : 50
}
}, {
"name" : "ABOLISH",
"label" : "废止",
"quickEdit" : {
"name" : "ABOLISH",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "0"
}
} ],
"needConfirm" : false
} ]
}, {
"title" : "联系人信息",
"body" : [ {
"name" : "PERSONS",
"label" : "联系人信息",
"type" : "input-table",
"id" : "eg-PERSONS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "NAME",
"label" : "姓名",
"quickEdit" : {
"name" : "NAME",
"required" : true,
"type" : "input-text",
"maxLength" : 50
}
}, {
"name" : "POSITIONTITLE",
"label" : "职位职称",
"quickEdit" : {
"name" : "POSITIONTITLE",
"type" : "input-text",
"maxLength" : 20
}
}, {
"name" : "PHONE",
"label" : "电话",
"quickEdit" : {
"name" : "PHONE",
"type" : "input-text",
"maxLength" : 100
}
}, {
"name" : "PERSONREMARK",
"label" : "备注",
"quickEdit" : {
"name" : "PERSONREMARK",
"type" : "input-text"
}
}, {
"name" : "FAX",
"label" : "传真",
"quickEdit" : {
"name" : "FAX",
"type" : "input-text",
"maxLength" : 20
}
}, {
"name" : "EMAIL",
"label" : "邮箱",
"quickEdit" : {
"name" : "EMAIL",
"type" : "input-text"
}
}, {
"name" : "ISPRINCIPALPERSON",
"label" : "负责人",
"quickEdit" : {
"name" : "ISPRINCIPALPERSON",
"required" : true,
"type" : "checkbox",
"value" : "0"
}
} ],
"needConfirm" : false
}, {
"name" : "OA_UNITINFO_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "UNITTYPE",
"label" : "实际单位分类",
"hidden" : true,
"type" : "input-text"
} ]
} ]
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,84 @@
{
"type" : "page",
"title" : "CA锁登记编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "CANAME",
"label" : "CA锁名称",
"required" : true,
"type" : "input-text",
"maxLength" : 50
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "REGIONAL",
"label" : "所属投标地区",
"required" : true,
"type" : "input-text",
"maxLength" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "REGISEDATE",
"label" : "注册日期",
"required" : true,
"type" : "input-date"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "VALIDDATE",
"label" : "到期日期",
"required" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "ISUSE",
"label" : "是否在使用中",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "0"
} ]
} ]
}, {
"name" : "PM_CALOCK_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,141 @@
{
"type" : "page",
"title" : "培训记录编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "NAME",
"label" : "培训名称",
"required" : true,
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "YEAR",
"label" : "培训年度",
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "SCHOOL",
"label" : "培训机构",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "TYPE",
"label" : "培训方式",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/Training_way"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "COURSETYPE",
"label" : "培训课程",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_TRIAN_COURSETYPE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "STARTTIME",
"label" : "开始日期",
"required" : true,
"type" : "input-date"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "ENDTIME",
"label" : "结束日期",
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "CONTEXT",
"label" : "培训内容",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "RECORDEMPS",
"label" : "参与人员",
"required" : true,
"type" : "input-table",
"id" : "eg-RECORDEMPS",
"addable" : false,
"removable" : false,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "USERID",
"label" : "员工",
"type" : "tpl",
"tpl" : "${USERID_DISPLAY__ ? USERID_DISPLAY__ : USERID}",
"quickEdit" : false
}, {
"name" : "RESULT",
"label" : "培训结果",
"quickEdit" : {
"name" : "RESULT",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/Training_result",
"value" : "0"
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"name" : "HR_TRAIN_RECORD_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "TRAINPLANID",
"label" : "所属培训计划",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,136 @@
{
"type" : "page",
"title" : "定制菜单编辑页面(批量添加)",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "USERID",
"label" : "用户",
"type" : "static",
"tpl" : "${USERID_DISPLAY__ ? USERID_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : USERID)}",
"value" : "${currentUser}"
} ]
}, {
"type" : "flex",
"justify" : "flex-start",
"alignItems" : "center",
"style" : {
"paddingLeft" : "120px",
"marginBottom" : "4px"
},
"items" : [ {
"name" : "MENUIDS",
"label" : "选择",
"type" : "button",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"id" : "egadddlgMENUIDS",
"title" : "",
"size" : "lg",
"body" : {
"type" : "crud",
"api" : "/api/picker/9561c656-0eb3-4b1c-b377-cd52f474eb6e/list",
"mode" : "table",
"syncLocation" : false,
"selectable" : true,
"multiple" : true,
"keepItemSelectionOnPageChange" : true,
"primaryField" : "_id",
"labelField" : "_label",
"headerToolbar" : [ {
"type" : "search-box",
"placeholder" : "输入关键字搜索",
"name" : "q"
} ],
"footerToolbar" : [ "pagination" ],
"onEvent" : {
"selectedChange" : {
"actions" : [ {
"actionType" : "setValue",
"componentId" : "egadddlgMENUIDS",
"args" : {
"value" : {
"__egpicked" : "${event.data.selectedItems}"
}
}
} ]
}
}
},
"actions" : [ {
"type" : "button",
"label" : "取消",
"actionType" : "close"
}, {
"type" : "button",
"label" : "确定",
"level" : "primary",
"onEvent" : {
"click" : {
"actions" : [ {
"actionType" : "addItem",
"componentId" : "eg-MENULIST",
"args" : {
"item" : "${ARRAYMAP(__egpicked, item => ({...item}))}"
}
}, {
"actionType" : "closeDialog"
} ]
}
}
} ]
},
"hiddenOn" : "${__readonly}"
} ]
}, {
"name" : "MENULIST",
"label" : "菜单列表",
"required" : true,
"type" : "input-table",
"id" : "eg-MENULIST",
"addable" : false,
"removable" : false,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "MENUNAME",
"label" : "菜单",
"type" : "tpl",
"tpl" : "${MENUNAME_DISPLAY__ ? MENUNAME_DISPLAY__ : MENUNAME}",
"quickEdit" : false
}, {
"name" : "TYPENAME",
"label" : "分类名称",
"quickEdit" : {
"name" : "TYPENAME",
"type" : "input-text"
}
}, {
"name" : "SORT",
"label" : "排序",
"quickEdit" : {
"name" : "SORT",
"type" : "input-number",
"precision" : 0,
"step" : 1
}
} ],
"needConfirm" : false
}, {
"name" : "SYS_MENU_CUSTOM_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,117 @@
{
"type" : "page",
"title" : "设备验收查看页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PROJECTID",
"label" : "工程名称",
"type" : "static",
"tpl" : "${PROJECTID_DISPLAY__ ? PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PROJECTID)}",
"value" : "${currentProject}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "FILIALE",
"label" : "单位名称",
"type" : "static",
"tpl" : "${FILIALE_DISPLAY__ ? FILIALE_DISPLAY__ : (NAME ? NAME : FILIALE)}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "DEVICEID",
"label" : "设备名称",
"type" : "static",
"tpl" : "${DEVICEID_DISPLAY__ ? DEVICEID_DISPLAY__ : (EQUIPMENTID ? EQUIPMENTID : DEVICEID)}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "TYPE",
"label" : "设备类型",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_EquipmentType"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "EQUIPMENTNO",
"label" : "设备编码",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "CHECKTIME",
"label" : "验收日期",
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "CHECKCODE",
"label" : "验收编码",
"required" : true,
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "CHECKUNIT",
"label" : "检定单位",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "验收单",
"disabled" : true,
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_EQUIPMENTINSPECT&businessKey=${PM_EQUIPMENTINSPECT_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "PM_EQUIPMENTINSPECT_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,361 @@
{
"type" : "page",
"title" : "查看单位信息",
"body" : {
"type" : "form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "tabs",
"tabs" : [ {
"title" : "单位基本信息",
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNITNAME",
"label" : "单位名称",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "UNITNO",
"label" : "单位编码",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNITABBREVIATION",
"label" : "单位简称",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "UNITPROPERTY",
"label" : "单位性质",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/UNITPROPERTY"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNITFOUNDDATE",
"label" : "企业成立日期",
"type" : "input-date"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "REGISTERCAPITAL",
"label" : "注册资本(万元)",
"type" : "input-number",
"precision" : 4
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNITAPTITUDE",
"label" : "单位资质",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "BUSINESSLICENSEPERIOD",
"label" : "营业执照期限",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNITPHONE",
"label" : "单位电话",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "UNITFAX",
"label" : "传真",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNITADDRESS",
"label" : "地址",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "UNITZIPCODE",
"label" : "邮编",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNITEMAIL",
"label" : "单位邮箱",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "UNITURL",
"label" : "网址",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "CORPORATE",
"label" : "法人代表",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "CORPORATEPHONE",
"label" : "法人代表电话",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "CORPORATEFAX",
"label" : "法人代表传真",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "CORPORATEEMAIL",
"label" : "法人代表邮箱",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "REGISTERDATE",
"label" : "登记日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "UNITTYPE2",
"label" : "单位分类",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/UNITTYPE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "TAXPAYERIDNO",
"label" : "统一社会信用代码",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "MAJORFORREGOIN",
"label" : "负责区域",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
} ]
}, {
"title" : "银行账户信息",
"body" : [ {
"name" : "BANKS",
"label" : "银行帐户信息",
"type" : "input-table",
"id" : "eg-BANKS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "PAYEEUNITNAME",
"label" : "收款单位全称",
"quickEdit" : {
"name" : "PAYEEUNITNAME",
"required" : true,
"type" : "input-text",
"maxLength" : 50
}
}, {
"name" : "OPENINGBANK",
"label" : "开户银行",
"quickEdit" : {
"name" : "OPENINGBANK",
"type" : "input-text",
"maxLength" : 50
}
}, {
"name" : "ACCOUNTNUMBER",
"label" : "银行账号",
"quickEdit" : {
"name" : "ACCOUNTNUMBER",
"type" : "input-text",
"maxLength" : 50
}
}, {
"name" : "INTERBANKNO",
"label" : "联行号",
"quickEdit" : {
"name" : "INTERBANKNO",
"type" : "input-text",
"maxLength" : 50
}
}, {
"name" : "ABOLISH",
"label" : "废止",
"quickEdit" : {
"name" : "ABOLISH",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "0"
}
} ],
"needConfirm" : false
} ]
}, {
"title" : "联系人信息",
"body" : [ {
"name" : "PERSONS",
"label" : "联系人信息",
"type" : "input-table",
"id" : "eg-PERSONS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "NAME",
"label" : "姓名",
"quickEdit" : {
"name" : "NAME",
"required" : true,
"type" : "input-text",
"maxLength" : 50
}
}, {
"name" : "POSITIONTITLE",
"label" : "职位职称",
"quickEdit" : {
"name" : "POSITIONTITLE",
"type" : "input-text",
"maxLength" : 20
}
}, {
"name" : "PHONE",
"label" : "电话",
"quickEdit" : {
"name" : "PHONE",
"type" : "input-text",
"maxLength" : 100
}
}, {
"name" : "PERSONREMARK",
"label" : "备注",
"quickEdit" : {
"name" : "PERSONREMARK",
"type" : "input-text"
}
}, {
"name" : "FAX",
"label" : "传真",
"quickEdit" : {
"name" : "FAX",
"type" : "input-text",
"maxLength" : 20
}
}, {
"name" : "EMAIL",
"label" : "邮箱",
"quickEdit" : {
"name" : "EMAIL",
"type" : "input-text"
}
}, {
"name" : "ISPRINCIPALPERSON",
"label" : "负责人",
"quickEdit" : {
"name" : "ISPRINCIPALPERSON",
"required" : true,
"type" : "checkbox",
"value" : "0"
}
} ],
"needConfirm" : false
}, {
"name" : "OA_UNITINFO_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "UNITTYPE",
"label" : "实际单位分类",
"hidden" : true,
"type" : "input-text"
} ]
} ]
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,26 @@
{
"type" : "page",
"title" : "现场材料管理(土建-无订单)",
"body" : {
"type" : "tabs",
"tabs" : [ {
"title" : "进场",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/43fd304d-a37a-4ae1-8fd9-8eee7a8c094a?format=amis"
}
}, {
"title" : "领用",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/8b1473e7-1310-42fa-9a04-bf62550b481d?format=amis"
}
}, {
"title" : "出场",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/fc6e9837-d9eb-48a9-9434-88630b227f90?format=amis"
}
} ]
}
}

View File

@@ -0,0 +1,203 @@
{
"type" : "page",
"title" : "材料核算对象(项目部)编辑",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PROJECTID",
"label" : "工程名称",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${currentProject}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "STUFFNAME",
"label" : "核算对象名称",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "UNIT",
"label" : "单位",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/24200cdd-d99b-4778-a2fb-c4653cda684e/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "NUMFREE",
"label" : "数量降低率(%)",
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "PRICEFREE",
"label" : "单价降低率(%)",
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "FACTRESOURCES",
"label" : "公司资源集合",
"type" : "input-table",
"id" : "eg-FACTRESOURCES",
"addable" : false,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "RESOURCEID",
"label" : "公司资源",
"type" : "tpl",
"tpl" : "${RESOURCEID_DISPLAY__ ? RESOURCEID_DISPLAY__ : RESOURCEID}",
"quickEdit" : false
}, {
"name" : "UNIT",
"label" : "公司资源计量单位",
"type" : "tpl",
"tpl" : "${UNIT_DISPLAY__ ? UNIT_DISPLAY__ : UNIT}",
"quickEdit" : false
}, {
"name" : "SCALERQUOTIETY",
"label" : "转换系数",
"quickEdit" : {
"name" : "SCALERQUOTIETY",
"required" : true,
"type" : "input-number",
"precision" : 2,
"value" : "1"
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "BUDGETRESOURCE",
"label" : "预算资源集合",
"type" : "input-table",
"id" : "eg-BUDGETRESOURCE",
"addable" : false,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "RESOURCEID",
"label" : "预算资源",
"type" : "tpl",
"tpl" : "${RESOURCEID_DISPLAY__ ? RESOURCEID_DISPLAY__ : RESOURCEID}",
"quickEdit" : false
}, {
"name" : "UNIT",
"label" : "预算资源计量单位",
"type" : "tpl",
"tpl" : "${UNIT_DISPLAY__ ? UNIT_DISPLAY__ : UNIT}",
"quickEdit" : false
}, {
"name" : "SCALERQUOTIETY",
"label" : "转换系数",
"quickEdit" : {
"name" : "SCALERQUOTIETY",
"required" : true,
"type" : "input-number",
"precision" : 2,
"value" : "1"
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"name" : "PM_STUFF_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "STUFFTYPE",
"label" : "核算对象类型(人材机)",
"required" : true,
"disabled" : true,
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/RCJHZ_RCJTYPE",
"value" : "2"
}, {
"name" : "SELECTFACT",
"label" : "选择公司资源",
"type" : "static",
"tpl" : "${SELECTFACT_DISPLAY__ ? SELECTFACT_DISPLAY__ : (RESOURCENAME ? RESOURCENAME : SELECTFACT)}",
"hidden" : true
}, {
"name" : "SELECTBUDGET",
"label" : "选择预算资源",
"type" : "static",
"tpl" : "${SELECTBUDGET_DISPLAY__ ? SELECTBUDGET_DISPLAY__ : (RESOURCENAME ? RESOURCENAME : SELECTBUDGET)}",
"hidden" : true
}, {
"name" : "STUFFTEMPID",
"label" : "STUFFTEMPID",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,206 @@
{
"type" : "page",
"title" : "投标保证金退款登记(通用-在”投标保证金退款登记(通用)“中点击退款按钮)",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PM_PROJECTID",
"label" : "工程名称",
"type" : "static",
"tpl" : "${PM_PROJECTID_DISPLAY__ ? PM_PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PM_PROJECTID)}",
"value" : "${currentProject}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PAYMONEYTYPE",
"label" : "付款方式",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/paymentMode"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PAYMONEYDATE",
"label" : "付款日期",
"required" : true,
"disabled" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "RECEIPTUNITNAME",
"label" : "收款单位全称",
"required" : true,
"disabled" : true,
"type" : "input-text",
"maxLength" : 80
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "RECEIPTUNITACCOUNT",
"label" : "收款单位账号",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ABOUCHEMENTBANK",
"label" : "汇入行",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "MONEY",
"label" : "金额(元)",
"required" : true,
"disabled" : true,
"type" : "input-number",
"precision" : 2,
"max" : 9.999999999E7
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CAPITAL",
"label" : "大写",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PAYMONEYUNIT",
"label" : "付款单位",
"required" : true,
"disabled" : true,
"type" : "input-text",
"maxLength" : 80
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "BACKDATE",
"label" : "退款日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "BACKMONEY",
"label" : "退款金额(元)",
"required" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "BACKMONEYS",
"label" : "累计退款金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "BACKTAX",
"label" : "利息(元)",
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "TRUEBACKMONEY",
"label" : "实际退款金额(含利息)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "FORMNO",
"label" : "退款表单号",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"disabled" : true,
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_TENDERBONDREGISTER&businessKey=${PM_TENDERBONDREGISTER_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "RECORDBACKMONEYS",
"label" : "记录累计退款金额(元)",
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "PM_TENDERBONDREGISTER_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,231 @@
{
"type" : "page",
"title" : "新开工项目安全计划申报单编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PROJECTID",
"label" : "工程名称",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${currentProject}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "FILIALE",
"label" : "(分)公司",
"type" : "static",
"tpl" : "${FILIALE_DISPLAY__ ? FILIALE_DISPLAY__ : (NAME ? NAME : FILIALE)}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PROJECTMANAGER",
"label" : "项目经理",
"type" : "static",
"tpl" : "${PROJECTMANAGER_DISPLAY__ ? PROJECTMANAGER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : PROJECTMANAGER)}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "MOBILE",
"label" : "手机",
"disabled" : true,
"type" : "input-text",
"maxLength" : 50
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "ACREAGE",
"label" : "建筑面积(m2) ",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "TOTALPRICE",
"label" : "工程造价(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "CONTRACTCONTENT",
"label" : "承包内容",
"type" : "textarea"
} ]
} ]
}, {
"name" : "MEASURESFEE",
"label" : "MEASURESFEE",
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "SAFETYMEMBER",
"label" : "专职安全员",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "HIGHACCIDENT",
"label" : "因重伤以上事故",
"required" : true,
"type" : "input-text",
"maxLength" : 50
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "LITTLEACCIDENT",
"label" : "轻伤事故率",
"required" : true,
"type" : "input-text",
"maxLength" : 50
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "REPORTINGDATE",
"label" : "申报日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "GOALS",
"label" : "文明创建目标",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_goals",
"value" : "0"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "安全管理与技术措施",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_PUB_SAFETYSTARTSTARGET&businessKey=${PM_PUB_SAFETYSTARTSTARGET_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "PM_PUB_SAFETYSTARTSTARGET_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "BRANCHAPPROVALCOMMENTS",
"label" : "(分)公司安全审核意见",
"hidden" : true,
"type" : "textarea"
}, {
"name" : "BRANCHAPPROVALDATE",
"label" : "(分)公司安全审核日期",
"hidden" : true,
"type" : "input-date"
}, {
"name" : "PRODUCTORAPPROVALCOMMENTS",
"label" : "(分)公司生产审核意见",
"hidden" : true,
"type" : "textarea"
}, {
"name" : "PRODUCTORAPPROVALDATE",
"label" : "(分)公司生产审批日期",
"hidden" : true,
"type" : "input-date"
}, {
"name" : "GROUPAPPROVALCOMMENTS",
"label" : "公司审批意见",
"hidden" : true,
"type" : "textarea"
}, {
"name" : "GROUPAPPROVALDATE",
"label" : "公司审批日期",
"hidden" : true,
"type" : "input-date"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,209 @@
{
"type" : "page",
"title" : "车辆维修保养登记",
"body" : {
"type" : "crud",
"api" : "/api/flow/OA_VEHICLEREPAIR_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "PLATENUMBER",
"label" : "车牌号",
"type" : "input-text"
}, {
"name" : "ISREPAIR",
"label" : "类型",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/VehicleRepairType"
}, {
"name" : "REPAIRDATE",
"label" : "维修保养日期",
"type" : "input-date-range"
} ]
},
"columns" : [ {
"name" : "VEHICLEID_DISPLAY__",
"label" : "车牌号",
"width" : 100
}, {
"name" : "OPERATOR_DISPLAY__",
"label" : "经办人",
"width" : 100
}, {
"name" : "REPAIRDATE",
"label" : "维修保养日期",
"width" : 80,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "MILEAGE",
"label" : "里程数",
"width" : 200
}, {
"name" : "MAINTENANCESTATION",
"label" : "维修站",
"width" : 200
}, {
"name" : "MAINTENANCECONTACT",
"label" : "维修站联系人",
"width" : 200
}, {
"name" : "MAINTENANCETELEPHONE",
"label" : "维修站联系电话",
"width" : 200
}, {
"name" : "REPAIRREMARK",
"label" : "维修保养情况",
"width" : 200
}, {
"name" : "ISREPAIR",
"label" : "类型",
"width" : 50,
"type" : "mapping",
"map" : {
"0" : "保养",
"1" : "维修"
}
}, {
"name" : "NEXTDATE",
"label" : "下次保养日期",
"width" : 80,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "OA_VEHICLEREPAIR_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "VEHICLEREPAIRAPPLYID_DISPLAY__",
"label" : "车辆维修保养申请",
"width" : 200,
"toggled" : false
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/c41abe76-b270-4fce-ae8a-3a13f57af534?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/OA_VEHICLEREPAIR/defaults?templateId=c41abe76-b270-4fce-ae8a-3a13f57af534"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/OA_VEHICLEREPAIR_ADD?__egtpl=c41abe76-b270-4fce-ae8a-3a13f57af534",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/c41abe76-b270-4fce-ae8a-3a13f57af534?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/OA_VEHICLEREPAIR_LOAD?__egtpl=c41abe76-b270-4fce-ae8a-3a13f57af534",
"data" : {
"OA_VEHICLEREPAIR_ID" : "${OA_VEHICLEREPAIR_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/OA_VEHICLEREPAIR_UPDATE?__egtpl=c41abe76-b270-4fce-ae8a-3a13f57af534",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确定删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/OA_VEHICLEREPAIR_DELETE",
"data" : {
"ids" : "${selectedItems|pick:OA_VEHICLEREPAIR_ID|join:','}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/c41abe76-b270-4fce-ae8a-3a13f57af534?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/OA_VEHICLEREPAIR_LOAD?__egtpl=c41abe76-b270-4fce-ae8a-3a13f57af534",
"data" : {
"OA_VEHICLEREPAIR_ID" : "${OA_VEHICLEREPAIR_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, "pagination" ],
"primaryField" : "OA_VEHICLEREPAIR_ID"
}
}

View File

@@ -0,0 +1,68 @@
{
"type" : "page",
"title" : "项目报销结转页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "ORDERS",
"label" : "待结转报销",
"required" : true,
"type" : "picker",
"clearable" : true,
"multiple" : true,
"overflowConfig" : {
"displayPosition" : [ "select" ],
"maxTagCount" : 1
},
"source" : "/api/picker/2adb5c40-b5ec-4644-b4bd-24c826640a17/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "PROJECTID",
"label" : "工程名称",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/66e57e6d-0cbb-40cf-8b84-c512345734b7/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"name" : "PM_REIMBURSEMENTAPPLY_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,62 @@
{
"type" : "page",
"title" : "公司相册编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "ALBUM_NAME",
"label" : "相册名称",
"required" : true,
"type" : "input-text"
} ]
}, {
"name" : "ALBUM_CONTENT",
"label" : "相册描述",
"type" : "textarea"
}, {
"type" : "group",
"body" : [ {
"name" : "ISOVERT",
"label" : "是否公开",
"type" : "checkbox",
"value" : "1"
}, {
"name" : "ALBUMID",
"label" : "相册排序号",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"type" : "group",
"body" : [ {
"name" : "CREATER",
"label" : "创建者",
"type" : "static",
"tpl" : "${CREATER_DISPLAY__ ? CREATER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : CREATER)}",
"value" : "${currentUser}"
}, {
"name" : "CREATEDATE",
"label" : "创建日期",
"disabled" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"name" : "OA_PHOTOALBUM_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,219 @@
{
"type" : "page",
"title" : "日常检查查看页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PROJECTID",
"label" : "工程名称",
"type" : "static",
"tpl" : "${PROJECTID_DISPLAY__ ? PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PROJECTID)}",
"value" : "${currentProject}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "FILIALE",
"label" : "(分)公司",
"type" : "static",
"tpl" : "${FILIALE_DISPLAY__ ? FILIALE_DISPLAY__ : (NAME ? NAME : FILIALE)}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "STRUCTURE",
"label" : "结构",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "NUMBER",
"label" : "层次",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "ACTIVITIES",
"label" : "活动内容",
"disabled" : true,
"type" : "input-text",
"maxLength" : 1000
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "ISRECTIFICATION",
"label" : "是否整改",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "AUTHENTICATIONPART",
"label" : "验证部门",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_authenticationPart"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "RECTIFYREFORMDATE",
"label" : "整改期限",
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "CONTENTS",
"label" : "内容",
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "ANNALPERSON",
"label" : "记录人",
"type" : "static",
"tpl" : "${ANNALPERSON_DISPLAY__ ? ANNALPERSON_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : ANNALPERSON)}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "ANNALDATE",
"label" : "记录日期",
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DISPOSITION",
"label" : "处理意见",
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "CHECKOUTPERSON",
"label" : "签发人",
"type" : "static",
"tpl" : "${CHECKOUTPERSON_DISPLAY__ ? CHECKOUTPERSON_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : CHECKOUTPERSON)}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "CHECKOUTDATE",
"label" : "签发日期",
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"disabled" : true,
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_PUB_CHECKDAILY&businessKey=${PM_PUB_CHECKDAILY_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "PM_PUB_CHECKDAILY_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "RECTIFICATION",
"label" : "整改情况",
"disabled" : true,
"hidden" : true,
"type" : "textarea"
}, {
"name" : "RECTIFICATIONLEADER",
"label" : "整改负责人",
"hidden" : true,
"type" : "static",
"tpl" : "${RECTIFICATIONLEADER_DISPLAY__ ? RECTIFICATIONLEADER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : RECTIFICATIONLEADER)}"
}, {
"name" : "RECTIFICATIONDATE",
"label" : "上报日期",
"disabled" : true,
"hidden" : true,
"type" : "input-date"
}, {
"name" : "AUTHENTICATIONRESULTS",
"label" : "验证结果",
"disabled" : true,
"hidden" : true,
"type" : "textarea"
}, {
"name" : "AUTHENTICATIONTOR",
"label" : "验证人",
"hidden" : true,
"type" : "static",
"tpl" : "${AUTHENTICATIONTOR_DISPLAY__ ? AUTHENTICATIONTOR_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : AUTHENTICATIONTOR)}"
}, {
"name" : "AUTHENTICATIONDATE",
"label" : "验证日期",
"disabled" : true,
"hidden" : true,
"type" : "input-date"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,35 @@
{
"type" : "page",
"title" : "公共通讯录移动分组",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "NAME",
"label" : "姓名",
"disabled" : true,
"type" : "input-text"
}, {
"name" : "FOLDERID",
"label" : "所属组",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/OA_ADDRESSLIST_PUBLIC_FOLDER/list?perPage=500"
} ]
}, {
"name" : "OA_ADDRESSLIST_PUBLIC_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,175 @@
{
"type" : "page",
"title" : "材料信息库选择框(可添加新材料)-招待物资",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_MATERIALREPOSITORY_SEARCH_ZDWZ",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "MATERIALCODE",
"label" : "材料编码",
"type" : "input-text"
}, {
"name" : "MATERIALNAME",
"label" : "材料名称",
"type" : "input-text"
}, {
"name" : "MATERIALALIAS",
"label" : "材料别名",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "SPECIFICATIONS",
"label" : "规格",
"type" : "input-text"
}, {
"name" : "UNIT",
"label" : "计量单位",
"hidden" : true,
"type" : "select",
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
}, {
"name" : "ISFEEITEM",
"label" : "费用项",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
}, {
"name" : "REMARK",
"label" : "备注",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "STATE",
"label" : "状态",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/MATERIALSTATE"
} ]
},
"columns" : [ {
"name" : "PM_MATERIALREPOSITORY_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "MATERIALCODE",
"label" : "材料编码",
"width" : 120
}, {
"name" : "MATERIALNAME",
"label" : "材料名称",
"width" : 150
}, {
"name" : "MATERIALALIAS",
"label" : "材料别名",
"width" : 300
}, {
"name" : "SPECIFICATIONS",
"label" : "规格",
"width" : 100
}, {
"name" : "UNIT_DISPLAY__",
"label" : "计量单位",
"width" : 80
}, {
"name" : "RESOURCETYPEID_DISPLAY__",
"label" : "物资分类",
"width" : 80
}, {
"name" : "ISFEEITEM",
"label" : "费用项",
"width" : 80,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是"
}
}, {
"name" : "REMARK",
"label" : "备注",
"width" : 200
}, {
"name" : "STATE",
"label" : "状态",
"width" : 200,
"type" : "mapping",
"map" : {
"1" : "已确认",
"2" : "待确认",
"3" : "淘汰"
},
"toggled" : false
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/7b004ceb-6e7b-4957-82ab-5c46e6e6d405?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/PM_MATERIALREPOSITORY/defaults?templateId=7b004ceb-6e7b-4957-82ab-5c46e6e6d405"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_MATERIALREPOSITORY_SELECTADD?__egtpl=7b004ceb-6e7b-4957-82ab-5c46e6e6d405",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/7b004ceb-6e7b-4957-82ab-5c46e6e6d405?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/PM_MATERIALREPOSITORY_LOAD?__egtpl=7b004ceb-6e7b-4957-82ab-5c46e6e6d405",
"data" : {
"PM_MATERIALREPOSITORY_ID" : "${PM_MATERIALREPOSITORY_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, "pagination" ],
"primaryField" : "PM_MATERIALREPOSITORY_ID"
}
}

View File

@@ -0,0 +1,159 @@
{
"type" : "page",
"title" : "实名制项目项目基础信息编辑界面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PRJNUMBER",
"label" : "合同备案编号",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "PRJNAME",
"label" : "项目名称",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "JSDW",
"label" : "建设单位名称",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "COUNTY",
"label" : "项目所在区县",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "SSDQ",
"label" : "项目属地",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "PRJADRESS",
"label" : "项目地址",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "JZMJ",
"label" : "建筑面积(平方米)",
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "GCZJ",
"label" : " 工程造价(万元)",
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "JSDWZZJGDM",
"label" : "建设单位社会信用代码",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "JDWLXR",
"label" : "建设单位联系人",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "JSDWLXDH",
"label" : "建设单位联系电话",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "XMLB",
"label" : "项目类别",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "ENTERPRISEINFO",
"label" : "施工单位",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "GZZHZH",
"label" : "工资专户账号",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "KGRQ",
"label" : "开工日期",
"type" : "input-date"
} ]
} ]
}, {
"name" : "GB_PROJECTINFO_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "DATANUMBER",
"label" : "项目指纹数据",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,53 @@
{
"type" : "page",
"title" : "单个员工排班",
"body" : {
"type" : "service",
"api" : {
"method" : "get",
"url" : "/api/flow/HR_SCHUSERSCHEDULE_SEARCH",
"adaptor" : "var rows=(payload.data&&payload.data.items)||[];function pk(r,ks){for(var i=0;i<ks.length;i++){var v=r[ks[i]];if(v!=null&&v!=='')return v;}return null;}var sk=['STARTDATE','STARTTIME','BEGINTIME','BEGINDATE','MEETINGTIME','RUNDATE'];var ek=['ENDDATE','ENDTIME','FINISHTIME','MEETINGENDTIME'];var ck=['CAPTION','TITLE','MEETING_TOPIC','TOPIC','SUBJECT','NAME','DESCRIPTION'];var sch=rows.map(function(r){var s=pk(r,sk);var e=pk(r,ek);var c=pk(r,ck);return {startTime:s==null?null:Number(s),endTime:e==null?(s==null?null:Number(s)):Number(e),content:c==null?'':c};}).filter(function(x){return x.startTime!=null;});return Object.assign({},payload,{data:{schedules:sch}});"
},
"body" : {
"type" : "calendar",
"largeMode" : true,
"schedules" : "${schedules}",
"scheduleAction" : {
"actionType" : "drawer",
"drawer" : {
"title" : "日程详情",
"body" : {
"type" : "table",
"columns" : [ {
"name" : "content",
"label" : "内容"
} ],
"data" : "${scheduleData}"
}
}
}
},
"onEvent" : {
"inited" : {
"actions" : [ {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 1,
"item" : "${&}",
"templateId" : "062041e3-0862-49b1-a304-34c873ac5b9e"
}
},
"outputVar" : "scriptResult1"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult1.commands}"
}
} ]
}
}
}
}

View File

@@ -0,0 +1,273 @@
{
"type" : "page",
"title" : "设备进场编辑",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PROJECTID",
"label" : "工程名称",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${currentProject}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "IMPORTDATE",
"label" : "进场日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "MACHINECONTRACTREGISTERID",
"label" : "机械合同",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/25ca5618-4918-47e6-ac7f-d2b1fcb55906/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "MACHINESUPPLIERID",
"label" : "机械供应商",
"type" : "static",
"tpl" : "${MACHINESUPPLIERID_DISPLAY__ ? MACHINESUPPLIERID_DISPLAY__ : (SHOWNAME ? SHOWNAME : MACHINESUPPLIERID)}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "EQUIPMENTID",
"label" : "设备",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/433f6b07-06a7-482f-90c5-cb7aa6a5d252/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "EQUIPMENTNO",
"label" : "设备编码",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "SPECIFICATIONS",
"label" : "规格型号",
"type" : "input-text",
"maxLength" : 100
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "DEVICETYPE",
"label" : "设备类型",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_EquipmentType"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "DEVICEADDRESS",
"label" : "产地品牌",
"type" : "input-text",
"maxLength" : 100
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "TESTREPORT",
"label" : "检测报告",
"type" : "input-text",
"maxLength" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "EQUIPMENTSOURCE",
"label" : "设备来源",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/EQUIPMENT_EQUIPMENTSOURCE"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "NUMBER",
"label" : "数量",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "LEASEPRICE",
"label" : "租赁单价(元/天)",
"required" : true,
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "TOTALPRICE",
"label" : "合价(元)",
"required" : true,
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "AMORTIZEDAYS",
"label" : "摊销天数",
"required" : true,
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 1.0
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "REGISTEDATE",
"label" : "方案登记日期",
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "INSTALLDATE",
"label" : "安装日期",
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "INSTALLUNIT",
"label" : "安装单位",
"type" : "input-text",
"maxLength" : 100
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "INSTALLHIGH",
"label" : "安装高度(米)",
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"name" : "PM_PROJECTEQUIPMENT_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,54 @@
{
"type" : "page",
"title" : "造价收入拆分明细表",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_PROJECTCOSTSPLIT_SEARCH?page=${page}&perPage=${perPage}",
"syncLocation" : false,
"columns" : [ {
"name" : "PM_PROJECTCOSTSPLIT_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "PROJECTID_DISPLAY__",
"label" : "工程名称",
"width" : 200
}, {
"name" : "BUDGETUNITID_DISPLAY__",
"label" : "预算单元",
"width" : 200
}, {
"name" : "ISCONTAINCHANGE",
"label" : "是否包含变更",
"width" : 200,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是",
"false" : "否",
"true" : "是"
}
}, {
"name" : "SUBS",
"label" : "分包集合",
"width" : 200
}, {
"name" : "LABORS",
"label" : "劳务集合",
"width" : 200
}, {
"name" : "MATERIALS",
"label" : "材料集合",
"width" : 200
}, {
"name" : "MACHINERYS",
"label" : "机械集合",
"width" : 200
}, {
"name" : "OTHERS",
"label" : "其他费用集合",
"width" : 200
} ]
}
}

View File

@@ -0,0 +1,39 @@
{
"type" : "page",
"title" : "费用类型编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "VEHICLECOSTTYPE",
"label" : "费用类型",
"required" : true,
"type" : "input-text"
} ]
}, {
"name" : "EXPLAIN",
"label" : "说明",
"type" : "textarea"
}, {
"name" : "OA_VEHICLECOSTTYPE_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "SORTID",
"label" : "排序号",
"hidden" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,237 @@
{
"type" : "page",
"title" : "投标关系(所有)",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_BIDRELATIONSHIP_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "PROJECTID",
"label" : "项目ID",
"hidden" : true,
"type" : "select",
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
}, {
"name" : "COMPANYID",
"label" : "单位ID",
"hidden" : true,
"type" : "select",
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
}, {
"name" : "BIDQUOTATION",
"label" : "投标报价 (万元)",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "PRIZE",
"label" : "奖项",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "TOTALSCORE",
"label" : "总分",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "QUOTATIONSCORE",
"label" : "报价得分",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "TECHNICALMARKSCORE",
"label" : "技术标得分",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "REASONABLEDEDUCTION",
"label" : "合理性扣分",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "AWARDPOINTS",
"label" : "奖项分",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "SORT",
"label" : "排序",
"hidden" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
},
"columns" : [ {
"name" : "PM_BIDRELATIONSHIP_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "PROJECTID_DISPLAY__",
"label" : "项目名称",
"width" : 500
}, {
"name" : "COMPANYID_DISPLAY__",
"label" : "单位名称",
"width" : 350
}, {
"name" : "BIDQUOTATION",
"label" : "投标报价 (万元)",
"width" : 100
}, {
"name" : "PRIZE",
"label" : "奖项",
"width" : 80
}, {
"name" : "TOTALSCORE",
"label" : "总分",
"width" : 80
}, {
"name" : "QUOTATIONSCORE",
"label" : "报价得分",
"width" : 80
}, {
"name" : "TECHNICALMARKSCORE",
"label" : "技术标得分",
"width" : 80
}, {
"name" : "REASONABLEDEDUCTION",
"label" : "合理性扣分",
"width" : 80
}, {
"name" : "AWARDPOINTS",
"label" : "奖项分",
"width" : 80
}, {
"name" : "SORT",
"label" : "排序",
"width" : 80
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "新增",
"label" : "新增",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "新增",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/f4078175-a20f-4c9f-8e98-8e19d5d5b618?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/PM_BIDRELATIONSHIP/defaults?templateId=f4078175-a20f-4c9f-8e98-8e19d5d5b618"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_BIDRELATIONSHIP_ADD?__egtpl=f4078175-a20f-4c9f-8e98-8e19d5d5b618",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/f4078175-a20f-4c9f-8e98-8e19d5d5b618?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_BIDRELATIONSHIP_LOAD?__egtpl=f4078175-a20f-4c9f-8e98-8e19d5d5b618",
"data" : {
"PM_BIDRELATIONSHIP_ID" : "${PM_BIDRELATIONSHIP_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_BIDRELATIONSHIP_UPDATE?__egtpl=f4078175-a20f-4c9f-8e98-8e19d5d5b618",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "查看业绩",
"label" : "查看业绩",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "业绩信息",
"size" : "lg",
"data" : {
"PM_BIDRELATIONSHIP_ID" : "${selectedItems[0].PM_BIDRELATIONSHIP_ID}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/0bdeae44-1dfe-430f-a30c-6a1fc620b059?format=amis"
},
"actions" : [ {
"type" : "button",
"label" : "关闭",
"actionType" : "close"
} ]
}
}, "pagination" ],
"primaryField" : "PM_BIDRELATIONSHIP_ID",
"onEvent" : {
"inited" : {
"actions" : [ {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 1,
"item" : "${&}",
"templateId" : "0670aaf9-a045-450d-9ebc-06f3ac36ca19"
}
},
"outputVar" : "scriptResult1"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult1.commands}"
}
} ]
}
}
}
}

View File

@@ -0,0 +1,370 @@
{
"type" : "page",
"title" : "采购申请编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "FORMNO",
"label" : "表单号",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "STORE_ID",
"label" : "办公用品库",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/OA_OFFICE_STOREHOUSE/list?perPage=500"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "APPLYDATE",
"label" : "申请日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "DEPART_ID",
"label" : "申请部门",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/SYS_DEPART/list?perPage=500",
"value" : "${currentDepart}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "APPLYNAME",
"label" : "申请人",
"type" : "static",
"tpl" : "${APPLYNAME_DISPLAY__ ? APPLYNAME_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : APPLYNAME)}",
"value" : "${currentUser}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "applyTotalMoney",
"label" : "申请总金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"type" : "flex",
"justify" : "flex-start",
"alignItems" : "center",
"style" : {
"paddingLeft" : "120px",
"marginBottom" : "4px"
},
"items" : [ {
"name" : "SELECT",
"label" : "添加",
"type" : "button",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"id" : "egadddlgSELECT",
"title" : "",
"size" : "lg",
"body" : {
"type" : "crud",
"api" : "/api/picker/88bab87b-01d3-4ebc-84f4-0103188b2751/list",
"mode" : "table",
"syncLocation" : false,
"selectable" : true,
"multiple" : true,
"keepItemSelectionOnPageChange" : true,
"primaryField" : "_id",
"labelField" : "_label",
"headerToolbar" : [ {
"type" : "search-box",
"placeholder" : "输入关键字搜索",
"name" : "q"
} ],
"footerToolbar" : [ "pagination" ],
"onEvent" : {
"selectedChange" : {
"actions" : [ {
"actionType" : "setValue",
"componentId" : "egadddlgSELECT",
"args" : {
"value" : {
"__egpicked" : "${event.data.selectedItems}"
}
}
} ]
}
}
},
"actions" : [ {
"type" : "button",
"label" : "取消",
"actionType" : "close"
}, {
"type" : "button",
"label" : "确定",
"level" : "primary",
"onEvent" : {
"click" : {
"actions" : [ {
"actionType" : "addItem",
"componentId" : "eg-GOODSDETAIL",
"args" : {
"item" : "${ARRAYMAP(__egpicked, item => ({GOODS_ID: item.OA_OFFICE_GOODS_ID, GOODS_ID_DISPLAY__: item._label, GOODS_STANDARD: item.GOODS_STANDARD, GOODS_UNIT: item.GOODS_UNIT, IN_AMOUNT: item.INVENTORYAMOUNT}))}"
}
}, {
"actionType" : "closeDialog"
} ]
}
}
} ]
},
"hiddenOn" : "${__readonly}"
} ]
}, {
"name" : "GOODSDETAIL",
"label" : "申请用品",
"required" : true,
"type" : "input-table",
"id" : "eg-GOODSDETAIL",
"addable" : false,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "GOODS_ID",
"label" : "用品名称",
"type" : "tpl",
"tpl" : "${GOODS_ID_DISPLAY__ ? GOODS_ID_DISPLAY__ : GOODS_ID}",
"quickEdit" : false
}, {
"name" : "GOODS_STANDARD",
"label" : "规格",
"quickEdit" : {
"name" : "GOODS_STANDARD",
"disabled" : true,
"type" : "input-text"
}
}, {
"name" : "GOODS_UNIT",
"label" : "计量单位",
"quickEdit" : {
"name" : "GOODS_UNIT",
"disabled" : true,
"type" : "input-text"
}
}, {
"name" : "IN_AMOUNT",
"label" : "现存量",
"quickEdit" : {
"name" : "IN_AMOUNT",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
}
}, {
"name" : "AMOUNT",
"label" : "采购数量",
"quickEdit" : {
"name" : "AMOUNT",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 1,
"max" : 9999999,
"onEvent" : {
"change" : {
"actions" : [ {
"actionType" : "ajax",
"outputVar" : "egRow",
"args" : {
"api" : {
"method" : "post",
"url" : "/api/script/execute-editgrid-row",
"data" : {
"templateId" : "0672ccc0-366a-4237-884f-6a637ce831d0",
"editgridField" : "GOODSDETAIL",
"scriptKey" : "16b5ead3-d8e9-470e-a3a9-748cd69e1c75",
"changedField" : "AMOUNT",
"row" : "${__rendererData}",
"parent" : {
"GOODSDETAIL" : "${__rendererData.GOODSDETAIL || GOODSDETAIL}"
}
}
}
}
}, {
"actionType" : "setValue",
"componentId" : "eg-GOODSDETAIL",
"args" : {
"index" : "${index}",
"value" : "${egRow.rowSetValues}"
}
}, {
"actionType" : "setValue",
"componentId" : "eip4-edit-form",
"args" : {
"value" : "${egRow.parentSetValues}"
}
} ]
}
}
}
}, {
"name" : "PRICE",
"label" : "单价(元)",
"quickEdit" : {
"name" : "PRICE",
"type" : "input-number",
"precision" : 2,
"max" : 9999999.99,
"onEvent" : {
"change" : {
"actions" : [ {
"actionType" : "ajax",
"outputVar" : "egRow",
"args" : {
"api" : {
"method" : "post",
"url" : "/api/script/execute-editgrid-row",
"data" : {
"templateId" : "0672ccc0-366a-4237-884f-6a637ce831d0",
"editgridField" : "GOODSDETAIL",
"scriptKey" : "16b5ead3-d8e9-470e-a3a9-748cd69e1c75",
"changedField" : "PRICE",
"row" : "${__rendererData}",
"parent" : {
"GOODSDETAIL" : "${__rendererData.GOODSDETAIL || GOODSDETAIL}"
}
}
}
}
}, {
"actionType" : "setValue",
"componentId" : "eg-GOODSDETAIL",
"args" : {
"index" : "${index}",
"value" : "${egRow.rowSetValues}"
}
}, {
"actionType" : "setValue",
"componentId" : "eip4-edit-form",
"args" : {
"value" : "${egRow.parentSetValues}"
}
} ]
}
}
}
}, {
"name" : "MONEY",
"label" : "金额(元)",
"quickEdit" : {
"name" : "MONEY",
"disabled" : true,
"type" : "input-number",
"precision" : 2,
"max" : 9.9999999999E8,
"onEvent" : {
"change" : {
"actions" : [ {
"actionType" : "ajax",
"outputVar" : "egRow",
"args" : {
"api" : {
"method" : "post",
"url" : "/api/script/execute-editgrid-row",
"data" : {
"templateId" : "0672ccc0-366a-4237-884f-6a637ce831d0",
"editgridField" : "GOODSDETAIL",
"scriptKey" : "f0bbf4ce-6599-4944-a03d-1e1b6e25c720",
"changedField" : "MONEY",
"row" : "${__rendererData}",
"parent" : {
"GOODSDETAIL" : "${__rendererData.GOODSDETAIL || GOODSDETAIL}"
}
}
}
}
}, {
"actionType" : "setValue",
"componentId" : "eg-GOODSDETAIL",
"args" : {
"index" : "${index}",
"value" : "${egRow.rowSetValues}"
}
}, {
"actionType" : "setValue",
"componentId" : "eip4-edit-form",
"args" : {
"value" : "${egRow.parentSetValues}"
}
} ]
}
}
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"name" : "OA_OFFICE_PURCHASEAPPLY_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "OLD_STORE_ID",
"label" : "原选择办公用品库",
"type" : "input-text",
"hidden" : true
}, {
"name" : "ISBUYFINISH",
"label" : "是否购买完毕",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "0"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,163 @@
{
"type" : "page",
"title" : "污染源指标项",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_POLLUTIONNORM_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "MARK",
"label" : "标识",
"type" : "input-text"
}, {
"name" : "DESCRIPTION",
"label" : "描述",
"type" : "input-text"
}, {
"name" : "CAPTION",
"label" : "说明",
"type" : "input-text"
} ]
},
"columns" : [ {
"name" : "PM_POLLUTIONNORM_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "MARK",
"label" : "标识",
"width" : 200
}, {
"name" : "DESCRIPTION",
"label" : "描述",
"width" : 200
}, {
"name" : "CAPTION",
"label" : "说明",
"width" : 200
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/141c31ba-499e-414a-a2f3-cfe7da23eeab?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/PM_POLLUTIONNORM/defaults?templateId=141c31ba-499e-414a-a2f3-cfe7da23eeab"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_POLLUTIONNORM_ADD?__egtpl=141c31ba-499e-414a-a2f3-cfe7da23eeab",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/141c31ba-499e-414a-a2f3-cfe7da23eeab?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_POLLUTIONNORM_LOAD?__egtpl=141c31ba-499e-414a-a2f3-cfe7da23eeab",
"data" : {
"PM_POLLUTIONNORM_ID" : "${PM_POLLUTIONNORM_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_POLLUTIONNORM_UPDATE?__egtpl=141c31ba-499e-414a-a2f3-cfe7da23eeab",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确认要删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_POLLUTIONNORM_DELETE",
"data" : {
"ids" : "${selectedItems|pick:PM_POLLUTIONNORM_ID|join:','}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/141c31ba-499e-414a-a2f3-cfe7da23eeab?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/PM_POLLUTIONNORM_LOAD?__egtpl=141c31ba-499e-414a-a2f3-cfe7da23eeab",
"data" : {
"PM_POLLUTIONNORM_ID" : "${PM_POLLUTIONNORM_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, "pagination" ],
"primaryField" : "PM_POLLUTIONNORM_ID"
}
}

View File

@@ -0,0 +1,39 @@
{
"type" : "page",
"title" : "考勤结果-按时间段批量删除",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "STARTDATE",
"label" : "开始日期",
"required" : true,
"type" : "input-date"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "ENDDATE",
"label" : "截止日期",
"required" : true,
"type" : "input-date"
} ]
} ]
}, {
"name" : "HR_ATTENDLOG_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,60 @@
{
"type" : "page",
"title" : "成本分析表-项目汇总(统计至核算对象)",
"body" : {
"type" : "crud",
"api" : "/api/flow/VIEW_PROJECTCOSTREPORT_SEARCH?page=${page}&perPage=${perPage}",
"syncLocation" : false,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "PROJECTID",
"label" : "工程名称",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${currentProject}"
}, {
"name" : "MREPORTINTERVALID",
"label" : "月报区间",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/745c9534-c755-4ef5-bc26-8b78a802ec4a/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
},
"columns" : [ {
"name" : "VIEW_PROJECTCOSTREPORT_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
} ]
}
}

View File

@@ -0,0 +1,477 @@
{
"type" : "page",
"title" : "分公司审核",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_COMPLETIONMATEAPPROVAL_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "PROJECTID",
"label" : "工程名称",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${currentProject}"
}, {
"name" : "RECORDER",
"label" : "审核人",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/090981ba-0c10-4d84-92dc-80e226594480/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
}, {
"name" : "RECTIFICATIONSIGNATURE",
"label" : "整改人",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/090981ba-0c10-4d84-92dc-80e226594480/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
}, {
"name" : "CERTIFIER",
"label" : "验证人",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/090981ba-0c10-4d84-92dc-80e226594480/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
}, {
"name" : "RECORDDATE",
"label" : "审核日期",
"type" : "input-date-range"
}, {
"name" : "RECTIFICATIONDATE",
"label" : "整改日期",
"type" : "input-date-range"
}, {
"name" : "CERTIFYDATE",
"label" : "验证日期",
"type" : "input-date-range"
}, {
"name" : "APPROVALTYPE",
"label" : "审核部门",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CompletionMateApproval_approvalType"
}, {
"name" : "APPROVALCONTENT",
"label" : "审核内容",
"type" : "input-text"
}, {
"name" : "REFORM",
"label" : "整改",
"hidden" : true,
"type" : "checkbox"
}, {
"name" : "RECTIFICATIONRECORDS",
"label" : "整改记录",
"type" : "input-text"
}, {
"name" : "CERTIFYRESULTS",
"label" : "验证结果",
"type" : "input-text"
}, {
"name" : "AUTHENTICATIONDEPART",
"label" : "验证部门",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CompletionMroval_authentication"
}, {
"name" : "STATUS",
"label" : "审批状态",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/WFSTATUS"
} ]
},
"columns" : [ {
"name" : "PM_COMPLETIONMATEAPPROVAL_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "PROJECTID_DISPLAY__",
"label" : "工程名称",
"width" : 200
}, {
"name" : "APPROVALTYPE",
"label" : "审核部门",
"width" : 200,
"type" : "mapping",
"map" : {
"0" : "分公司审核",
"1" : "公司审核"
},
"toggled" : false
}, {
"name" : "APPROVALCONTENT",
"label" : "审核内容",
"width" : 200,
"toggled" : false
}, {
"name" : "RECORDER_DISPLAY__",
"label" : "审核人",
"width" : 140
}, {
"name" : "RECORDDATE",
"label" : "审核日期",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "REFORM",
"label" : "整改",
"width" : 200,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是",
"false" : "否",
"true" : "是"
}
}, {
"name" : "RECTIFICATIONRECORDS",
"label" : "整改记录",
"width" : 200,
"toggled" : false
}, {
"name" : "RECTIFICATIONSIGNATURE_DISPLAY__",
"label" : "整改人",
"width" : 200,
"toggled" : false
}, {
"name" : "RECTIFICATIONDATE",
"label" : "整改日期",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ",
"toggled" : false
}, {
"name" : "CERTIFYRESULTS",
"label" : "验证结果",
"width" : 200,
"toggled" : false
}, {
"name" : "CERTIFIER_DISPLAY__",
"label" : "验证人",
"width" : 200,
"toggled" : false
}, {
"name" : "CERTIFYDATE",
"label" : "验证日期",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ",
"toggled" : false
}, {
"name" : "AUTHENTICATIONDEPART",
"label" : "验证部门",
"width" : 200,
"type" : "mapping",
"map" : {
"0" : "分公司",
"1" : "集团公司"
},
"toggled" : false
}, {
"name" : "STATUS",
"label" : "审批状态",
"width" : 200,
"type" : "mapping",
"map" : {
"1" : "未提交",
"2" : "处理中",
"3" : "通过",
"4" : "未通过",
"5" : "重新提交",
"6" : "作废"
}
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/a4bd2eea-a26b-48d4-9b00-2f391d817337?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/PM_COMPLETIONMATEAPPROVAL/defaults?templateId=a4bd2eea-a26b-48d4-9b00-2f391d817337"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_COMPLETIONMATEAPPROVAL_ADD?__egtpl=a4bd2eea-a26b-48d4-9b00-2f391d817337",
"close" : true
}, {
"type" : "button",
"label" : "保存并提交审批",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_COMPLETIONMATEAPPROVAL_SAVE_AND_SUBMIT?__egtpl=a4bd2eea-a26b-48d4-9b00-2f391d817337",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/a4bd2eea-a26b-48d4-9b00-2f391d817337?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_COMPLETIONMATEAPPROVAL_LOAD?__egtpl=a4bd2eea-a26b-48d4-9b00-2f391d817337",
"data" : {
"PM_COMPLETIONMATEAPPROVAL_ID" : "${PM_COMPLETIONMATEAPPROVAL_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_COMPLETIONMATEAPPROVAL_UPDATE?__egtpl=a4bd2eea-a26b-48d4-9b00-2f391d817337",
"close" : true
}, {
"type" : "button",
"label" : "保存并提交审批",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_COMPLETIONMATEAPPROVAL_SAVE_AND_SUBMIT?__egtpl=a4bd2eea-a26b-48d4-9b00-2f391d817337",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确认要删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_COMPLETIONMATEAPPROVAL_DELETE",
"data" : {
"ids" : "${selectedItems|pick:PM_COMPLETIONMATEAPPROVAL_ID|join:','}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/a4bd2eea-a26b-48d4-9b00-2f391d817337?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/PM_COMPLETIONMATEAPPROVAL_LOAD?__egtpl=a4bd2eea-a26b-48d4-9b00-2f391d817337",
"data" : {
"PM_COMPLETIONMATEAPPROVAL_ID" : "${PM_COMPLETIONMATEAPPROVAL_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, {
"type" : "button",
"id" : "提交审批",
"label" : "提交审批",
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_COMPLETIONMATEAPPROVAL_SUBMIT",
"data" : {
"PM_COMPLETIONMATEAPPROVAL_ID" : "${selectedItems[0].PM_COMPLETIONMATEAPPROVAL_ID}"
}
},
"disabledOn" : "${!selectedItems || selectedItems.length === 0 || (selectedItems[0].STATUS && selectedItems[0].STATUS != 1 && selectedItems[0].STATUS != 4 && selectedItems[0].STATUS != 5)}"
}, {
"type" : "button",
"id" : "打印",
"label" : "打印",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "竣工资料审核打印",
"size" : "lg",
"data" : {
"PM_COMPLETIONMATEAPPROVAL_ID" : "${selectedItems[0].PM_COMPLETIONMATEAPPROVAL_ID}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/afc43374-1bb8-4a5b-9f40-76f756f2dc9f?format=amis"
},
"actions" : [ {
"type" : "button",
"label" : "关闭",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "查看审批",
"label" : "查看审批",
"icon" : "fa fa-search",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"onEvent" : {
"click" : {
"actions" : [ {
"actionType" : "openApprovalDrawer",
"args" : {
"taskName" : "审批详情",
"processInstanceId" : "${selectedItems[0].processInstanceId || selectedItems[0].PROCESSINSTANCEID || ''}",
"businessKey" : "${selectedItems[0].PM_COMPLETIONMATEAPPROVAL_ID}",
"businessTable" : "PM_COMPLETIONMATEAPPROVAL",
"readOnly" : true,
"mode" : "read"
}
} ]
}
}
}, "pagination" ],
"primaryField" : "PM_COMPLETIONMATEAPPROVAL_ID",
"onEvent" : {
"inited" : {
"actions" : [ {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 1,
"item" : "${&}",
"templateId" : "0697af60-7c07-48ac-944c-91ca754290a4"
}
},
"outputVar" : "scriptResult1"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult1.commands}"
}
}, {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 2,
"item" : "${&}",
"templateId" : "0697af60-7c07-48ac-944c-91ca754290a4"
}
},
"outputVar" : "scriptResult2"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult2.commands}"
}
} ]
}
}
}
}

View File

@@ -0,0 +1,63 @@
{
"type" : "page",
"title" : "公司资源选择框",
"body" : {
"type" : "crud",
"api" : "/api/flow/VIEW_PM_COMRESOURCEREPOSITORY_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "RESOURCECODE",
"label" : "资源编码",
"type" : "input-text"
}, {
"name" : "RESOURCENAME",
"label" : "资源名称",
"type" : "input-text"
}, {
"name" : "RCJTYPE",
"label" : "人材机类型",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/RCJHZ_RCJTYPE"
} ]
},
"columns" : [ {
"name" : "VIEW_PM_COMRESOURCEREPOSITORY_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "RESOURCECODE",
"label" : "资源编码",
"width" : 200
}, {
"name" : "RESOURCENAME",
"label" : "资源名称",
"width" : 200
}, {
"name" : "SPECIFICATIONS",
"label" : "规格",
"width" : 200
}, {
"name" : "UNIT_DISPLAY__",
"label" : "单位",
"width" : 200
}, {
"name" : "RCJTYPE",
"label" : "人材机类型",
"width" : 200,
"type" : "mapping",
"map" : {
"1" : "人工",
"2" : "材料",
"3" : "机械"
}
} ],
"headerToolbar" : [ "pagination" ],
"primaryField" : "VIEW_PM_COMRESOURCEREPOSITORY_ID"
}
}

View File

@@ -0,0 +1,435 @@
{
"type" : "page",
"title" : "投标保证金登记(通用)",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_TENDERBONDREGISTER_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "FORMNO",
"label" : "表单号",
"type" : "input-text"
}, {
"name" : "PM_PROJECTID",
"label" : "工程名称",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/66e57e6d-0cbb-40cf-8b84-c512345734b7/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${currentProject}"
}, {
"name" : "PAYMONEYDATE",
"label" : "付款日期",
"type" : "input-date-range"
}, {
"name" : "RECEIPTUNITNAME",
"label" : "收款单位",
"type" : "input-text"
}, {
"name" : "PAYMONEYTYPE",
"label" : "付款方式",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/paymentMode"
}, {
"name" : "BACKSTATUS",
"label" : "退款情况",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/TENDERBOND_BACKSTATUS"
}, {
"name" : "APPLYER",
"label" : "申请人",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
}, {
"name" : "APPLYDATE",
"label" : "申请日期",
"type" : "input-date-range"
}, {
"name" : "APPLYDEPARTID",
"label" : "申请部门",
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/6135bd7d-ba6e-4b46-a2f5-1d5e5190e3bd/tree",
"searchable" : true,
"onlyLeaf" : true
}, {
"name" : "STATUS",
"label" : "审批状态",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/WFSTATUS"
} ]
},
"columns" : [ {
"name" : "PM_TENDERBONDREGISTER_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "FORMNO",
"label" : "表单号",
"width" : 200
}, {
"name" : "PM_PROJECTID_DISPLAY__",
"label" : "工程名称",
"width" : 150
}, {
"name" : "PAYMONEYDATE",
"label" : "付款日期",
"width" : 80,
"type" : "datetime",
"format" : "YYYY-MM-DD HH:mm",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "RECEIPTUNITNAME",
"label" : "收款单位全称",
"width" : 120
}, {
"name" : "RECEIPTUNITACCOUNT",
"label" : "收款单位账号",
"width" : 100
}, {
"name" : "ABOUCHEMENTBANK",
"label" : "汇入行",
"width" : 100
}, {
"name" : "MONEY",
"label" : "金额(元)",
"width" : 100
}, {
"name" : "PAYMONEYUNIT",
"label" : "付款单位",
"width" : 100
}, {
"name" : "PAYMONEYTYPE",
"label" : "付款方式",
"width" : 80,
"type" : "mapping",
"map" : {
"1" : "汇票",
"2" : "转账",
"3" : "现金",
"4" : "支票"
}
}, {
"name" : "BACKMONEYS",
"label" : "退款金额(元)",
"width" : 100,
"toggled" : false
}, {
"name" : "BACKSTATUS",
"label" : "退款情况",
"width" : 65,
"type" : "mapping",
"map" : {
"0" : "未退款",
"1" : "已退部分",
"2" : "已退款"
},
"toggled" : false
}, {
"name" : "BACKDATE",
"label" : "退款日期",
"width" : 100,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ",
"toggled" : false
}, {
"name" : "REMARK",
"label" : "备注",
"width" : 200,
"toggled" : false
}, {
"name" : "APPLYER_DISPLAY__",
"label" : "申请人",
"width" : 100
}, {
"name" : "APPLYDATE",
"label" : "申请日期",
"width" : 100,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "APPLYDEPARTID_DISPLAY__",
"label" : "申请部门",
"width" : 200
}, {
"name" : "STATUS",
"label" : "审批状态",
"width" : 80,
"type" : "mapping",
"map" : {
"1" : "未提交",
"2" : "处理中",
"3" : "通过",
"4" : "未通过",
"5" : "重新提交",
"6" : "作废"
}
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/6b8df812-9d36-4a03-b1a0-cf381ff42475?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/PM_TENDERBONDREGISTER/defaults?templateId=6b8df812-9d36-4a03-b1a0-cf381ff42475"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_TENDERBONDREGISTER_ADD?__egtpl=6b8df812-9d36-4a03-b1a0-cf381ff42475",
"close" : true
}, {
"type" : "button",
"label" : "保存并提交审批",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_TENDERBONDREGISTER_SAVE_AND_SUBMIT?__egtpl=6b8df812-9d36-4a03-b1a0-cf381ff42475",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/6b8df812-9d36-4a03-b1a0-cf381ff42475?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_TENDERBONDREGISTER_LOAD?__egtpl=6b8df812-9d36-4a03-b1a0-cf381ff42475",
"data" : {
"PM_TENDERBONDREGISTER_ID" : "${PM_TENDERBONDREGISTER_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_TENDERBONDREGISTER_UPDATE?__egtpl=6b8df812-9d36-4a03-b1a0-cf381ff42475",
"close" : true
}, {
"type" : "button",
"label" : "保存并提交审批",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_TENDERBONDREGISTER_SAVE_AND_SUBMIT?__egtpl=6b8df812-9d36-4a03-b1a0-cf381ff42475",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确认要删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_TENDERBONDREGISTER_DELETE",
"data" : {
"ids" : "${selectedItems|pick:PM_TENDERBONDREGISTER_ID|join:','}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/6b8df812-9d36-4a03-b1a0-cf381ff42475?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/PM_TENDERBONDREGISTER_LOAD?__egtpl=6b8df812-9d36-4a03-b1a0-cf381ff42475",
"data" : {
"PM_TENDERBONDREGISTER_ID" : "${PM_TENDERBONDREGISTER_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, {
"type" : "button",
"id" : "提交审批",
"label" : "提交审批",
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_TENDERBONDREGISTER_SUBMIT",
"data" : {
"PM_TENDERBONDREGISTER_ID" : "${selectedItems[0].PM_TENDERBONDREGISTER_ID}"
}
},
"disabledOn" : "${!selectedItems || selectedItems.length === 0 || (selectedItems[0].STATUS && selectedItems[0].STATUS != 1 && selectedItems[0].STATUS != 4 && selectedItems[0].STATUS != 5)}"
}, {
"type" : "button",
"id" : "打印",
"label" : "打印",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "投标保证金申请打印",
"size" : "lg",
"data" : {
"PM_TENDERBONDREGISTER_ID" : "${selectedItems[0].PM_TENDERBONDREGISTER_ID}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/51b88d15-0a34-4913-838e-c270181edc00?format=amis"
},
"actions" : [ {
"type" : "button",
"label" : "关闭",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "查看审批",
"label" : "查看审批",
"icon" : "fa fa-search",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"onEvent" : {
"click" : {
"actions" : [ {
"actionType" : "openApprovalDrawer",
"args" : {
"taskName" : "审批详情",
"processInstanceId" : "${selectedItems[0].processInstanceId || selectedItems[0].PROCESSINSTANCEID || ''}",
"businessKey" : "${selectedItems[0].PM_TENDERBONDREGISTER_ID}",
"businessTable" : "PM_TENDERBONDREGISTER",
"readOnly" : true,
"mode" : "read"
}
} ]
}
}
}, "pagination" ],
"primaryField" : "PM_TENDERBONDREGISTER_ID",
"onEvent" : {
"inited" : {
"actions" : [ {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 1,
"item" : "${&}",
"templateId" : "06e27e60-8755-4e67-9de6-36ece947969e"
}
},
"outputVar" : "scriptResult1"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult1.commands}"
}
}, {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 2,
"item" : "${&}",
"templateId" : "06e27e60-8755-4e67-9de6-36ece947969e"
}
},
"outputVar" : "scriptResult2"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult2.commands}"
}
} ]
}
}
}
}

View File

@@ -0,0 +1,152 @@
{
"type" : "page",
"title" : "会议室维护",
"body" : {
"type" : "crud",
"api" : "/api/flow/OA_MEETINGROOM_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "ROOM_NAME",
"label" : "会议室名称",
"type" : "input-text"
} ]
},
"columns" : [ {
"name" : "ROOM_NAME",
"label" : "会议室名称",
"width" : 100
}, {
"name" : "COMPANYID_DISPLAY__",
"label" : "所属公司",
"width" : 100
}, {
"name" : "MANAGER_USER",
"label" : "管理员",
"width" : 100
}, {
"name" : "ROOM_CAPACITY",
"label" : "容纳人数",
"width" : 100
}, {
"name" : "ROOM_RESOURCE",
"label" : "资源配置",
"width" : 100
}, {
"name" : "EXPLAIN",
"label" : "说明",
"width" : 100
}, {
"name" : "ISDEL",
"label" : "是否删除",
"width" : 100,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是"
},
"toggled" : false
}, {
"name" : "OA_MEETINGROOM_ID",
"label" : "主键",
"width" : 100,
"toggled" : false
}, {
"name" : "MOON_MANAGER",
"label" : "会议室管理员",
"width" : 100,
"toggled" : false
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/bbeae959-c58c-40ed-a31e-13b21dca03fa?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/OA_MEETINGROOM/defaults?templateId=bbeae959-c58c-40ed-a31e-13b21dca03fa"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/OA_MEETINGROOM_ADD?__egtpl=bbeae959-c58c-40ed-a31e-13b21dca03fa",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/bbeae959-c58c-40ed-a31e-13b21dca03fa?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/OA_MEETINGROOM_LOAD?__egtpl=bbeae959-c58c-40ed-a31e-13b21dca03fa",
"data" : {
"OA_MEETINGROOM_ID" : "${OA_MEETINGROOM_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/OA_MEETINGROOM_UPDATE?__egtpl=bbeae959-c58c-40ed-a31e-13b21dca03fa",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确认要删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/OA_MEETINGROOM_DELETE",
"data" : {
"ids" : "${selectedItems|pick:OA_MEETINGROOM_ID|join:','}"
}
}
}, "pagination" ],
"primaryField" : "OA_MEETINGROOM_ID"
}
}

View File

@@ -0,0 +1,83 @@
{
"type" : "page",
"title" : "收款单位选择框",
"body" : {
"type" : "crud",
"api" : "/api/flow/VIEW_OA_UNITINFO_BANKINFO_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "VIEW_OA_UNITINFO_BANKINFO_ID",
"label" : "主键",
"type" : "input-text"
}, {
"name" : "RECEIPTUNITNAME",
"label" : "收款单位全称",
"type" : "input-text"
}, {
"name" : "RECEIPTUNITACCOUNT",
"label" : "收款单位账号",
"type" : "input-text"
}, {
"name" : "ABOUCHEMENTBANK",
"label" : "汇入行",
"type" : "input-text"
}, {
"name" : "UNITTYPE",
"label" : "单位分类",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/UNITTYPE"
} ]
},
"columns" : [ {
"name" : "VIEW_OA_UNITINFO_BANKINFO_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "UNITNAME",
"label" : "单位名称",
"width" : 200
}, {
"name" : "UNITTYPE",
"label" : "单位分类",
"width" : 200,
"type" : "mapping",
"map" : {
"1" : "其它单位",
"2" : "物资供应商",
"3" : "机械供应商",
"4" : "专业分包商",
"5" : "劳务队组",
"6" : "其它供应商",
"7" : "建设单位",
"8" : "监理单位",
"9" : "勘察单位",
"10" : "设计单位",
"11" : "审计单位",
"12" : "施工单位",
"13" : "劳务公司",
"14" : "代理单位",
"15" : "本公司组织"
}
}, {
"name" : "PAYEEUNITNAME",
"label" : "收款单位全称",
"width" : 200
}, {
"name" : "ACCOUNTNUMBER",
"label" : "收款单位账号",
"width" : 200
}, {
"name" : "OPENINGBANK",
"label" : "汇入行",
"width" : 200
} ],
"headerToolbar" : [ "pagination" ],
"primaryField" : "VIEW_OA_UNITINFO_BANKINFO_ID"
}
}

View File

@@ -0,0 +1,108 @@
{
"type" : "page",
"title" : "测试",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_CONMENUFORWJ_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "MENUNAME",
"label" : "类型名称",
"type" : "input-text"
}, {
"name" : "SORTID",
"label" : "排序号",
"type" : "input-number",
"precision" : 0,
"step" : 1
}, {
"name" : "PARENTID",
"label" : "父ID",
"type" : "select",
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
} ]
},
"columns" : [ {
"name" : "PM_CONMENUFORWJ_ID",
"label" : "主键",
"width" : 200
}, {
"name" : "MENUNAME",
"label" : "类型名称",
"width" : 200
}, {
"name" : "SORTID",
"label" : "排序号",
"width" : 200
}, {
"name" : "PARENTID_DISPLAY__",
"label" : "父ID",
"width" : 200
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"body" : {
"type" : "tpl",
"tpl" : "该单据未配编辑表单"
}
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"body" : {
"type" : "tpl",
"tpl" : "该单据未配编辑表单"
}
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确认要删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_CONMENUFORWJ_DELETE",
"data" : {
"ids" : "${selectedItems|pick:PM_CONMENUFORWJ_ID|join:','}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"body" : {
"type" : "tpl",
"tpl" : "该单据未配编辑表单"
}
}
}, "pagination" ],
"primaryField" : "PM_CONMENUFORWJ_ID"
}
}

View File

@@ -0,0 +1,15 @@
{
"type" : "page",
"title" : "打印投标报名、预审盖章收费申请单",
"body" : {
"type" : "crud",
"api" : "/api/flow/VM_HTBD_SEARCH?page=${page}&perPage=${perPage}",
"syncLocation" : false,
"columns" : [ {
"name" : "VM_HTBD_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
} ]
}
}

View File

@@ -0,0 +1,237 @@
{
"type" : "page",
"title" : "选择内部报名申请人员",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"name" : "BUILDCOMPANY",
"label" : "建设单位",
"hidden" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/93a5fb27-fdf1-41fb-9ce5-cec44826a6fa/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "APPLYUSERS",
"label" : "内部报名申请人员",
"required" : true,
"type" : "picker",
"clearable" : true,
"multiple" : true,
"overflowConfig" : {
"displayPosition" : [ "select" ],
"maxTagCount" : 1
},
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
} ]
} ]
}, {
"name" : "PM_PROJECT_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "PROJECTCODE",
"label" : "工程编码",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "PROJECTNAME",
"label" : "工程名称",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "AREA",
"label" : "地区分布",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_AREA"
}, {
"name" : "ADDRESS",
"label" : "工程地址",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "PROPERTY",
"label" : "工程性质",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_PROPERTY"
}, {
"name" : "TYPE",
"label" : "工程类型",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_TYPE"
}, {
"name" : "CATEGORY",
"label" : "项目类别",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_CATEGORY"
}, {
"name" : "INVITEBIDS_TYPE",
"label" : "招标形式",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_INVITEBIDS_TYPE"
}, {
"name" : "ISSHARE",
"label" : "项目是否共享",
"hidden" : true,
"type" : "checkbox"
}, {
"name" : "PREDICTSTARTTIME",
"label" : "预计开工日期",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "STRUCTURE",
"label" : "结构",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "NUMBER",
"label" : "层次",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "PREDICTINVEST",
"label" : "预计投资(元)",
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "EVOLVE",
"label" : "进展",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "TOTALPRICE",
"label" : "工程造价(元)",
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "ACREAGE",
"label" : "建筑面积(m2)",
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "BIDTIME",
"label" : "投标报名日期",
"hidden" : true,
"type" : "input-date"
}, {
"name" : "SIGNUPENDTIME",
"label" : "内部报名截止日期",
"hidden" : true,
"type" : "input-date"
}, {
"name" : "FILIALE",
"label" : "所属(分)公司",
"hidden" : true,
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/42861f01-14ea-482d-8031-f30612dfccf4/tree",
"searchable" : true,
"onlyLeaf" : true
}, {
"name" : "PROJECTSTAGE",
"label" : "工程阶段",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_PROJECTSTAGE"
}, {
"name" : "OPPONENTS",
"label" : "潜在竞争对手",
"hidden" : true,
"type" : "picker",
"clearable" : true,
"multiple" : true,
"overflowConfig" : {
"displayPosition" : [ "select" ],
"maxTagCount" : 1
},
"source" : "/api/picker/93a5fb27-fdf1-41fb-9ce5-cec44826a6fa/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "PROJECTMANAGER",
"label" : "项目经理",
"hidden" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,168 @@
{
"type" : "page",
"title" : "项目风险金登记编辑页面(通用)",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "PM_PROJECTID",
"label" : "工程名称",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/66e57e6d-0cbb-40cf-8b84-c512345734b7/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "PAYMONEYTYPE",
"label" : "付款方式",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/paymentMode"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "PAYMONEYDATE",
"label" : "付款日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "RECEIPTUNITNAME",
"label" : "收款单位全称",
"required" : true,
"type" : "input-text",
"maxLength" : 80
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "SELECTUNIT",
"label" : "选择收款单位",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/06fe97fa-6ebe-41e7-9f88-c6a635c1887e/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "RECEIPTUNITACCOUNT",
"label" : "收款单位账号",
"type" : "input-text"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "ABOUCHEMENTBANK",
"label" : "汇入行",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "MONEY",
"label" : "金额(元)",
"required" : true,
"type" : "input-number",
"precision" : 2,
"max" : 9.999999999E7
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "CAPITAL",
"label" : "大写",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "PAYMONEYUNIT",
"label" : "付款单位",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_PROJECTRISKFUNDREGISTER&businessKey=${PM_PROJECTRISKFUNDREGISTER_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "PM_PROJECTRISKFUNDREGISTER_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,526 @@
{
"type" : "page",
"title" : "招标工程编辑",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "FORMNO",
"label" : "编号",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "SIGNUPCOMPANY",
"label" : "报名单位",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1a998b23-371d-4ebb-911f-6465a56a6809/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${orgId}"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "BIDTIME",
"label" : "招标报名截止时间",
"required" : true,
"type" : "input-datetime"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "SIGNUPUSER",
"label" : "报名经办人",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标",
"value" : "${currentUser}"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "SIGNUPUSERPHONE",
"label" : "报名经办人电话",
"type" : "input-text"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "SIGNUPTIME",
"label" : "申请日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "AGENCY",
"label" : "代理机构",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1964fda1-b020-4a8b-95e2-dc32de36e74a/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "CREATEBY",
"label" : "填写人",
"type" : "static",
"tpl" : "${CREATEBY_DISPLAY__ ? CREATEBY_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : CREATEBY)}",
"value" : "${currentUser}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PROJECTNAME",
"label" : "工程名称",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "PROJECTSHORTNAME",
"label" : "项目简称",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "BUILDCOMPANY",
"label" : "建设单位",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1964fda1-b020-4a8b-95e2-dc32de36e74a/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "PROVINCE",
"label" : "所在省份",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_PROVINCE"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "AREA",
"label" : "地区分布",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_AREA"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "PROPERTY",
"label" : "工程专业",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_PROPERTY"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "PROTYPE",
"label" : "工程类型",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_TYPE"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "CATEGORY",
"label" : "项目类别",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_CATEGORY"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "STRUCTURE",
"label" : "结构",
"type" : "input-text"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "NUMBER",
"label" : "层次",
"type" : "input-text"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "ACREAGE",
"label" : "建筑面积(m2)",
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "STARTDATE",
"label" : "计划开工日期",
"type" : "input-date"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "ENDDATE",
"label" : "计划竣工日期",
"type" : "input-date"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "GQ",
"label" : "工期",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "TOTALPRICE",
"label" : "招标金额(元)",
"required" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 8,
"body" : [ {
"name" : "CAPITAL",
"label" : "大写",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "INVITEBIDS_TYPE",
"label" : "招标形式",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_INVITEBIDS_TYPE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "JZSDEGREE",
"label" : "建造师等级",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CONSTRUCTORCARDLEVEL"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "JZSMAJOR",
"label" : "建造师专业",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CONSTRUCTORPROFESSIONAL"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "PROJECTMANAGER",
"label" : "项目经理",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/VIEW_SYS_USER/list?perPage=500"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "SELECT",
"label" : "SELECT",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/a801e436-9176-4794-a48b-5c7020697697/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "EXAMINATION",
"label" : "资格审查",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_TITLE_EXAMINATION"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "IMPORTANTSTAGE",
"label" : "重要性",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_TENDERBIDREQUEST_IMPORTANT"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "BIDOPENINGTIME",
"label" : "开标时间",
"type" : "input-datetime"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "ANNOUNCEMENT_TENDER",
"label" : "公告资质要求",
"type" : "input-table",
"id" : "eg-ANNOUNCEMENT_TENDER",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "TENDER_TYPE",
"label" : "资质专业",
"quickEdit" : {
"name" : "TENDER_TYPE",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_ANNOUNCEMENT_TENDER_TYPE"
}
}, {
"name" : "DEGREE",
"label" : "等级",
"quickEdit" : {
"name" : "DEGREE",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_ANNOUNCEMENT_TENDER_TYPE_DEGREE"
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "PRIMARY_CONTRACTOR",
"label" : "预选承包商类别和组别",
"type" : "input-table",
"id" : "eg-PRIMARY_CONTRACTOR",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "CONTRACTOR_TYPE",
"label" : "类别",
"quickEdit" : {
"name" : "CONTRACTOR_TYPE",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PRIMARY_CONTRACTOR_TYPE"
}
}, {
"name" : "DEGREE",
"label" : "组别",
"quickEdit" : {
"name" : "DEGREE",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PRIMARY_CONTRACTOR_TYPE_DEGREE"
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "ACCEPTCONDITION",
"label" : "投标必要合格可选条件",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 11,
"body" : [ {
"name" : "ANNOUNCEMENTURL",
"label" : "公告地址",
"type" : "input-text"
} ]
} ]
}, {
"name" : "PM_TENDERBIDREQUEST_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "COLLECTPROJECT",
"label" : "关联收集工程",
"hidden" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/759b9157-ab1d-4f9a-87a4-1cb671d22173/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "CARD",
"label" : "证书ID",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,124 @@
{
"type" : "page",
"title" : "印章流转(发放)编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "SEALLEDGERID",
"label" : "印章名称",
"type" : "static",
"tpl" : "${SEALLEDGERID_DISPLAY__ ? SEALLEDGERID_DISPLAY__ : (SEALNAME ? SEALNAME : SEALLEDGERID)}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "COLLAR_DATE",
"label" : "领用日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "COLLAR_USER",
"label" : "领用人",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "COLLAR_DEPART",
"label" : "领用部门",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/SYS_DEPART/list?perPage=500"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "KEEPER_USER",
"label" : "保管人",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "KEEPER_DEPART",
"label" : "保管部门",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/SYS_DEPART/list?perPage=500"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"name" : "OA_SEALISSUE_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,419 @@
{
"type" : "page",
"title" : "开标结果登记-查看未中标信息",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "PM_PROJECTID",
"label" : "工程名称",
"type" : "static",
"tpl" : "${PM_PROJECTID_DISPLAY__ ? PM_PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PM_PROJECTID)}",
"value" : "${currentProject}"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "BUILDCOMPANY",
"label" : "建设单位",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1964fda1-b020-4a8b-95e2-dc32de36e74a/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "AREA",
"label" : "地区分布",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_AREA"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "PROPERTY",
"label" : "工程专业",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_PROPERTY"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "TYPE",
"label" : "工程类型",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_TYPE"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "CATEGORY",
"label" : "工程类别",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_CATEGORY"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "STRUCTURE",
"label" : "结构",
"type" : "input-text"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "NUMBER",
"label" : "层次",
"type" : "input-text"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "ACREAGE",
"label" : "建筑面积(m2)",
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "INVITEBIDS_TYPE",
"label" : "招标形式",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_INVITEBIDS_TYPE"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "ADDRESS",
"label" : "工程地址",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "ISSUCCESSFUL",
"label" : "是否中标",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "SUCCESSFULTIME",
"label" : "中标日期",
"required" : true,
"disabled" : true,
"type" : "input-date"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "WORKINGDAYS",
"label" : "工期(天)",
"required" : true,
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "NOTSUCCESSFUL",
"label" : "未中标原因",
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "SUCCESSFULCOMPANY",
"label" : "中标单位",
"type" : "static",
"tpl" : "${SUCCESSFULCOMPANY_DISPLAY__ ? SUCCESSFULCOMPANY_DISPLAY__ : (SHOWNAME ? SHOWNAME : SUCCESSFULCOMPANY)}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "SUCCESSFULCOMPANYCONDITION",
"label" : "中标单位概况",
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "OUTGRREGISTERCOSTDETAIL",
"label" : "中标单位造价",
"disabled" : true,
"type" : "input-table",
"id" : "eg-OUTGRREGISTERCOSTDETAIL",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "COSTNAME",
"label" : "造价名称",
"quickEdit" : {
"name" : "COSTNAME",
"required" : true,
"type" : "input-text",
"maxLength" : 50
}
}, {
"name" : "COSTAMOUNT",
"label" : "造价金额(元)",
"quickEdit" : {
"name" : "COSTAMOUNT",
"required" : true,
"type" : "input-number",
"precision" : 2,
"onEvent" : {
"change" : {
"actions" : [ {
"actionType" : "ajax",
"outputVar" : "egRow",
"args" : {
"api" : {
"method" : "post",
"url" : "/api/script/execute-editgrid-row",
"data" : {
"templateId" : "07c39850-75ba-4e8e-b8d3-1bd8e9f00656",
"editgridField" : "OUTGRREGISTERCOSTDETAIL",
"scriptKey" : "a0565881-c99a-4aed-8d62-30eb89d6ae58",
"changedField" : "COSTAMOUNT",
"row" : "${__rendererData}",
"parent" : {
"OUTGRREGISTERCOSTDETAIL" : "${__rendererData.OUTGRREGISTERCOSTDETAIL || OUTGRREGISTERCOSTDETAIL}"
}
}
}
}
}, {
"actionType" : "setValue",
"componentId" : "eg-OUTGRREGISTERCOSTDETAIL",
"args" : {
"index" : "${index}",
"value" : "${egRow.rowSetValues}"
}
}, {
"actionType" : "setValue",
"componentId" : "eip4-edit-form",
"args" : {
"value" : "${egRow.parentSetValues}"
}
} ]
}
}
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "TOTALPRICE",
"label" : "工程造价(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 8,
"body" : [ {
"name" : "CAPITAL",
"label" : "大写",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"name" : "BIDCOMPANY",
"label" : "投标单位",
"type" : "static",
"tpl" : "${BIDCOMPANY_DISPLAY__ ? BIDCOMPANY_DISPLAY__ : (NAME ? NAME : BIDCOMPANY)}",
"hidden" : true
}, {
"name" : "PROJECTMANAGER",
"label" : "项目经理",
"type" : "static",
"tpl" : "${PROJECTMANAGER_DISPLAY__ ? PROJECTMANAGER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : PROJECTMANAGER)}",
"hidden" : true
}, {
"name" : "REMARK",
"label" : "备注",
"disabled" : true,
"type" : "textarea",
"hidden" : true
}, {
"name" : "TEMPTOTALPRICE",
"label" : "工程造价(元)",
"required" : true,
"disabled" : true,
"type" : "input-number",
"precision" : 2,
"hidden" : true
}, {
"name" : "INNERREGISTERCOSTDETAIL",
"label" : "我的造价",
"required" : true,
"type" : "input-table",
"id" : "eg-INNERREGISTERCOSTDETAIL",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "COSTNAME",
"label" : "造价名称",
"quickEdit" : {
"name" : "COSTNAME",
"required" : true,
"type" : "input-text",
"maxLength" : 50
}
}, {
"name" : "COSTAMOUNT",
"label" : "造价金额(元)",
"quickEdit" : {
"name" : "COSTAMOUNT",
"required" : true,
"type" : "input-number",
"precision" : 2,
"onEvent" : {
"change" : {
"actions" : [ {
"actionType" : "ajax",
"outputVar" : "egRow",
"args" : {
"api" : {
"method" : "post",
"url" : "/api/script/execute-editgrid-row",
"data" : {
"templateId" : "07c39850-75ba-4e8e-b8d3-1bd8e9f00656",
"editgridField" : "INNERREGISTERCOSTDETAIL",
"scriptKey" : "b7c3f397-c484-46bb-888c-70e748f1a7ef",
"changedField" : "COSTAMOUNT",
"row" : "${__rendererData}",
"parent" : {
"INNERREGISTERCOSTDETAIL" : "${__rendererData.INNERREGISTERCOSTDETAIL || INNERREGISTERCOSTDETAIL}"
}
}
}
}
}, {
"actionType" : "setValue",
"componentId" : "eg-INNERREGISTERCOSTDETAIL",
"args" : {
"index" : "${index}",
"value" : "${egRow.rowSetValues}"
}
}, {
"actionType" : "setValue",
"componentId" : "eip4-edit-form",
"args" : {
"value" : "${egRow.parentSetValues}"
}
} ]
}
}
}
} ],
"needConfirm" : false,
"hidden" : true
}, {
"name" : "DOCUMENT",
"label" : "投标文件",
"required" : true,
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_BIDOPENINGRESULTREGISTER&businessKey=${PM_BIDOPENINGRESULTREGISTER_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false,
"hidden" : true
}, {
"name" : "REGISTRANT",
"label" : "登记人",
"type" : "static",
"tpl" : "${REGISTRANT_DISPLAY__ ? REGISTRANT_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : REGISTRANT)}",
"hidden" : true
}, {
"name" : "RECORDDATE",
"label" : "登记日期",
"disabled" : true,
"type" : "input-date",
"hidden" : true
}, {
"name" : "PM_BIDOPENINGRESULTREGISTER_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,125 @@
{
"type" : "page",
"title" : "机械设备检查编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PROJECTID",
"label" : "工程名称",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${currentProject}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "FILIALE",
"label" : "单位",
"type" : "static",
"tpl" : "${FILIALE_DISPLAY__ ? FILIALE_DISPLAY__ : (NAME ? NAME : FILIALE)}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "RECORDNUMBER",
"label" : "记录编号",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DETAILS",
"label" : "机械设备检查明细",
"required" : true,
"disabled" : true,
"type" : "input-table",
"id" : "eg-DETAILS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "COMMENT",
"label" : "检查意见",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "REVIEWER",
"label" : "检查人员签字",
"type" : "input-text",
"maxLength" : 100
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "REVIEWTIME",
"label" : "日期",
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_EQUIPMENTMACHINEREIVEW&businessKey=${PM_EQUIPMENTMACHINEREIVEW_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "PM_EQUIPMENTMACHINEREIVEW_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,292 @@
{
"type" : "page",
"title" : "工程选择框-选择已实施工程(全部)",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_PROJECT_SEARCHTWO",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "PROJECTNAME",
"label" : "工程名称",
"type" : "input-text"
}, {
"name" : "BUILDCOMPANY",
"label" : "建设单位",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/93a5fb27-fdf1-41fb-9ce5-cec44826a6fa/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "PROPERTY",
"label" : "工程专业",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_PROPERTY"
}, {
"name" : "CATEGORY",
"label" : "工程类别",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_CATEGORY"
}, {
"name" : "ORGIDLIST",
"label" : "(分)公司",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1a998b23-371d-4ebb-911f-6465a56a6809/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "PROJECTSTAGE",
"label" : "工程阶段",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_PROJECTSTAGE"
}, {
"name" : "CREATETIME",
"label" : "登记日期",
"type" : "input-date-range"
}, {
"name" : "MANAGEMENTMODE",
"label" : "经营模式",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_ManagementMode"
} ]
},
"columns" : [ {
"name" : "PM_PROJECT_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "PROJECTNAME",
"label" : "工程名称",
"width" : 200
}, {
"name" : "BUILDCOMPANY_DISPLAY__",
"label" : "建设单位",
"width" : 100
}, {
"name" : "PROPERTY",
"label" : "工程专业",
"width" : 50,
"type" : "mapping",
"map" : {
"1" : "土建",
"2" : "装饰",
"3" : "安装",
"4" : "市政",
"5" : "园林绿化",
"6" : "古建筑",
"7" : "钢结构"
}
}, {
"name" : "CATEGORY",
"label" : "工程类别",
"width" : 50,
"type" : "mapping",
"map" : {
"1" : "Ⅰ类工程",
"2" : "Ⅱ类工程",
"3" : "Ⅲ类工程"
}
}, {
"name" : "ACREAGE",
"label" : "建筑面积(m2)",
"width" : 60
}, {
"name" : "TOTALPRICE",
"label" : "工程造价(元)",
"width" : 80
}, {
"name" : "DEPARTID_DISPLAY__",
"label" : "项目部",
"width" : 200,
"toggled" : false
}, {
"name" : "AREA",
"label" : "地区分布",
"width" : 45,
"type" : "mapping",
"map" : {
"1" : "苏州市",
"2" : "省内",
"3" : "省外"
}
}, {
"name" : "CREATETIME",
"label" : "登记日期",
"width" : 60,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "PROJECTSTAGE",
"label" : "工程阶段",
"width" : 60,
"type" : "mapping",
"map" : {
"3" : "报名已申请",
"-15" : "未入围",
"-100" : "投标终止",
"-10" : "入围",
"-1" : "未中标",
"5" : "招标文件已评审",
"6" : "投标文件已评审",
"7" : "投标登记",
"8" : "中标",
"9" : "合同洽谈",
"10" : "合同实施",
"15" : "工程终止",
"20" : "主体完工",
"50" : "工程完成",
"70" : "项目已送审",
"80" : "项目退场",
"100" : "工程竣工",
"120" : "保修到期"
}
}, {
"name" : "PROJECTCODE",
"label" : "工程编码",
"width" : 200,
"toggled" : false
}, {
"name" : "ADDRESS",
"label" : "工程地址",
"width" : 200,
"toggled" : false
}, {
"name" : "TYPE",
"label" : "工程类型",
"width" : 200,
"type" : "mapping",
"map" : {
"1" : "总包工程",
"2" : "专业分包",
"3" : "零星工程",
"4" : "工程设计"
},
"toggled" : false
}, {
"name" : "INVITEBIDS_TYPE",
"label" : "招标形式",
"width" : 200,
"type" : "mapping",
"map" : {
"1" : "公开招标",
"2" : "邀请招标",
"3" : "议标"
},
"toggled" : false
}, {
"name" : "ISSHARE",
"label" : "项目是否共享",
"width" : 200,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是",
"false" : "否",
"true" : "是"
},
"toggled" : false
}, {
"name" : "PREDICTSTARTTIME",
"label" : "预计开工日期",
"width" : 200,
"toggled" : false
}, {
"name" : "STRUCTURE",
"label" : "结构",
"width" : 200,
"toggled" : false
}, {
"name" : "NUMBER",
"label" : "层次",
"width" : 200,
"toggled" : false
}, {
"name" : "PREDICTINVEST",
"label" : "预计投资(元)",
"width" : 200,
"toggled" : false
}, {
"name" : "EVOLVE",
"label" : "进展",
"width" : 200,
"toggled" : false
}, {
"name" : "BIDTIME",
"label" : "投标报名日期",
"width" : 200,
"type" : "datetime",
"format" : "YYYY-MM-DD HH:mm",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ",
"toggled" : false
}, {
"name" : "SIGNUPENDTIME",
"label" : "内部报名截止日期",
"width" : 200,
"type" : "datetime",
"format" : "YYYY-MM-DD HH:mm",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ",
"toggled" : false
}, {
"name" : "OPPONENTS",
"label" : "潜在竞争对手",
"width" : 200,
"toggled" : false
}, {
"name" : "MANAGEMENTMODE",
"label" : "经营模式",
"width" : 70,
"type" : "mapping",
"map" : {
"1" : "直营",
"2" : "全费用承包",
"3" : "直营过渡项目",
"4" : "直营部分分包"
}
}, {
"name" : "ISPARSUB",
"label" : "有无分包",
"width" : 35
}, {
"name" : "FILIALE_DISPLAY__",
"label" : "(分)公司",
"width" : 80
} ],
"headerToolbar" : [ "pagination" ],
"primaryField" : "PM_PROJECT_ID"
}
}

View File

@@ -0,0 +1,183 @@
{
"type" : "page",
"title" : "年度总结",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_ANNUALSUMMARY_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "DEPARTMENTID",
"label" : "(分)公司",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1a998b23-371d-4ebb-911f-6465a56a6809/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "YEAR",
"label" : "年度",
"type" : "input-number",
"precision" : 0,
"step" : 1
}, {
"name" : "INSERTTIME",
"label" : "上传日期",
"type" : "input-date-range"
} ]
},
"columns" : [ {
"name" : "PM_ANNUALSUMMARY_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "DEPARTMENTID_DISPLAY__",
"label" : "(分)公司",
"width" : 200
}, {
"name" : "YEAR",
"label" : "年度",
"width" : 100
}, {
"name" : "INSERTTIME",
"label" : "上传日期",
"width" : 100,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/7802c493-7109-40d4-a8be-2878298071f2?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/PM_ANNUALSUMMARY/defaults?templateId=7802c493-7109-40d4-a8be-2878298071f2"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_ANNUALSUMMARY_ADD?__egtpl=7802c493-7109-40d4-a8be-2878298071f2",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/7802c493-7109-40d4-a8be-2878298071f2?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_ANNUALSUMMARY_LOAD?__egtpl=7802c493-7109-40d4-a8be-2878298071f2",
"data" : {
"PM_ANNUALSUMMARY_ID" : "${PM_ANNUALSUMMARY_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_ANNUALSUMMARY_UPDATE?__egtpl=7802c493-7109-40d4-a8be-2878298071f2",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确认要删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_ANNUALSUMMARY_DELETE",
"data" : {
"ids" : "${selectedItems|pick:PM_ANNUALSUMMARY_ID|join:','}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/7802c493-7109-40d4-a8be-2878298071f2?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/PM_ANNUALSUMMARY_LOAD?__egtpl=7802c493-7109-40d4-a8be-2878298071f2",
"data" : {
"PM_ANNUALSUMMARY_ID" : "${PM_ANNUALSUMMARY_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, "pagination" ],
"primaryField" : "PM_ANNUALSUMMARY_ID"
}
}

View File

@@ -0,0 +1,62 @@
{
"type" : "page",
"title" : "周转(自购)材料管理(公司-无申请)",
"body" : {
"type" : "tabs",
"tabs" : [ {
"title" : "仓库档案",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/4e901c80-8a74-42b8-80ef-2e496e536fc3?format=amis"
}
}, {
"title" : "公司-自购入库",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/fb8ae871-eaa9-4a9f-b5eb-636de2072244?format=amis"
}
}, {
"title" : "公司-回收记录",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/a39b2ced-ba78-4174-86fc-1820753de959?format=amis"
}
}, {
"title" : "公司-材料移库",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/d33dbf7d-6e7b-4163-b54e-f401140aaf59?format=amis"
}
}, {
"title" : "公司-材料报废",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/550e9cf2-662c-4b81-bad6-5b18af111f71?format=amis"
}
}, {
"title" : "公司-材料盘点",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/a0307625-8abc-46b6-b835-93719a881e47?format=amis"
}
}, {
"title" : "项目-查看进场",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/ed1cd1ce-5e97-44ed-8003-6f9b1266944d?format=amis"
}
}, {
"title" : "项目-查看摊销",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/81c4356a-f3bb-4d71-84c2-b9f13842375a?format=amis"
}
}, {
"title" : "项目-查看出场",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/ddc724d0-2cb1-4ca1-bdb7-7f86873035e4?format=amis"
}
} ]
}
}

View File

@@ -0,0 +1,477 @@
{
"type" : "page",
"title" : "施工方案审批",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "FILIALE",
"label" : "(分)公司",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1a998b23-371d-4ebb-911f-6465a56a6809/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "PROJECTNAMEID",
"label" : "工程名称",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${currentProject}"
}, {
"name" : "CATEGORY",
"label" : "项目类别",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_CATEGORY"
}, {
"name" : "REPORTCONTENT",
"label" : "施工方案名称",
"type" : "input-text"
}, {
"name" : "ITEMDATE",
"label" : "提交日期",
"type" : "input-date-range"
}, {
"name" : "TYPE",
"label" : "方案类型",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_constructionSchemeType"
}, {
"name" : "STATUS",
"label" : "审批状态",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/WFSTATUS"
} ]
},
"columns" : [ {
"name" : "PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "FILIALE_DISPLAY__",
"label" : "(分)公司",
"width" : 130
}, {
"name" : "PROJECTID_DISPLAY__",
"label" : "工程名称",
"width" : 300
}, {
"name" : "CATEGORY",
"label" : "项目类别",
"width" : 70,
"type" : "mapping",
"map" : {
"1" : "Ⅰ类工程",
"2" : "Ⅱ类工程",
"3" : "Ⅲ类工程"
}
}, {
"name" : "REPORTCONTENT",
"label" : "施工方案名称",
"width" : 180
}, {
"name" : "LASTVERIFYDEPART",
"label" : "最后审核部门",
"width" : 100,
"type" : "mapping",
"map" : {
"1" : "集团公司技术部",
"2" : "集团公司总工程师"
}
}, {
"name" : "ITEMDATE",
"label" : "提交日期",
"width" : 80,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "TYPE",
"label" : "方案类型",
"width" : 80,
"type" : "mapping",
"map" : {
"0" : "质量类",
"7" : "技术核定单",
"2" : "安全类",
"3" : "开工报告、管理人员名单",
"4" : "施工许可证、安监、质监申报",
"1" : "桩基、围护、幕墙类"
}
}, {
"name" : "STATUS",
"label" : "审批状态",
"width" : 70,
"type" : "mapping",
"map" : {
"1" : "未提交",
"2" : "处理中",
"3" : "通过",
"4" : "未通过",
"5" : "重新提交",
"6" : "作废"
}
}, {
"name" : "ENDTIME",
"label" : "审批通过时间",
"width" : 120,
"type" : "datetime",
"format" : "YYYY-MM-DD HH:mm",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "ITEMBRANCH",
"label" : "项目部名称",
"width" : 200,
"toggled" : false
}, {
"name" : "ITEMMANAGER_DISPLAY__",
"label" : "项目经理",
"width" : 200,
"toggled" : false
}, {
"name" : "DEPARTCONTENT",
"label" : "分公司审核意见",
"width" : 200,
"toggled" : false
}, {
"name" : "DEPARTBRANCH",
"label" : "分公司审核部门",
"width" : 200,
"toggled" : false
}, {
"name" : "DEPARTUSER_DISPLAY__",
"label" : "分公司审核人",
"width" : 200,
"toggled" : false
}, {
"name" : "DEPARTDATE",
"label" : "分公司审核日期",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ",
"toggled" : false
}, {
"name" : "COMPANYCONTENT",
"label" : "集团公司审核意见",
"width" : 200,
"toggled" : false
}, {
"name" : "COMPANYBRANCH",
"label" : "集团公司审核部门",
"width" : 200,
"toggled" : false
}, {
"name" : "COMPANYUSER_DISPLAY__",
"label" : "集团公司审核人",
"width" : 200,
"toggled" : false
}, {
"name" : "COMPANYDATE",
"label" : "集团公司审核日期",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ",
"toggled" : false
}, {
"name" : "ENGINEERCONTENT",
"label" : "总工程师审核意见",
"width" : 200,
"toggled" : false
}, {
"name" : "ENGINEER_DISPLAY__",
"label" : "总工程师",
"width" : 200,
"toggled" : false
}, {
"name" : "ENGINNERDATE",
"label" : "总工程师审核日期",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ",
"toggled" : false
}, {
"name" : "QUALITYDEPART",
"label" : "质量审核部门",
"width" : 200,
"toggled" : false
}, {
"name" : "QUALITYDEPARTUSER_DISPLAY__",
"label" : "质量审核人",
"width" : 200,
"toggled" : false
}, {
"name" : "QUALITYDEPARTDATE",
"label" : "质量审核日期",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ",
"toggled" : false
}, {
"name" : "SAFEDEPART",
"label" : "安全审核部门",
"width" : 200,
"toggled" : false
}, {
"name" : "SAFEDEPARTUSER_DISPLAY__",
"label" : "安全审核人",
"width" : 200,
"toggled" : false
}, {
"name" : "SAFEDEPARTDATE",
"label" : "安全审核日期",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ",
"toggled" : false
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/69ff81e5-58af-454c-8ea4-c2d92b07c1e8?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL/defaults?templateId=69ff81e5-58af-454c-8ea4-c2d92b07c1e8"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_ADD?__egtpl=69ff81e5-58af-454c-8ea4-c2d92b07c1e8",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/69ff81e5-58af-454c-8ea4-c2d92b07c1e8?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_LOAD?__egtpl=69ff81e5-58af-454c-8ea4-c2d92b07c1e8",
"data" : {
"PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_ID" : "${PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_UPDATE?__egtpl=69ff81e5-58af-454c-8ea4-c2d92b07c1e8",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确认要删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_DELETE",
"data" : {
"ids" : "${selectedItems|pick:PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_ID|join:','}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/3cd94dae-d03d-46be-b6dd-3e4c447ca2ba?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_LOAD?__egtpl=3cd94dae-d03d-46be-b6dd-3e4c447ca2ba",
"data" : {
"PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_ID" : "${PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, {
"type" : "button",
"id" : "查看危险源、污染源、重大危险源",
"label" : "查看危险源、污染源、重大危险源",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看危险源、污染源、重大危险源",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/a38f4e08-fc82-4670-855a-bd9059fae0ce?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_LOAD?__egtpl=a38f4e08-fc82-4670-855a-bd9059fae0ce",
"data" : {
"PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_ID" : "${PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, {
"type" : "button",
"id" : "打印",
"label" : "打印",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "施工方案打印",
"size" : "lg",
"data" : {
"PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_ID" : "${selectedItems[0].PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_ID}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/226a5d15-392d-4a0d-9718-0d1437f311ca?format=amis"
},
"actions" : [ {
"type" : "button",
"label" : "关闭",
"actionType" : "close"
} ]
}
}, "pagination" ],
"primaryField" : "PM_PUB_CONSTRUCTIONSCHEMEAPPROVAL_ID",
"onEvent" : {
"inited" : {
"actions" : [ {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 1,
"item" : "${&}",
"templateId" : "081c1fef-9b3c-489f-b467-b866ace68ca5"
}
},
"outputVar" : "scriptResult1"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult1.commands}"
}
}, {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 2,
"item" : "${&}",
"templateId" : "081c1fef-9b3c-489f-b467-b866ace68ca5"
}
},
"outputVar" : "scriptResult2"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult2.commands}"
}
} ]
}
}
}
}

View File

@@ -0,0 +1,113 @@
{
"type" : "page",
"title" : "绩效管理-指标类别",
"body" : {
"type" : "grid",
"columns" : [ {
"md" : 4,
"columnClassName" : "b-r pr-md",
"body" : [ {
"type" : "input-tree",
"name" : "selId",
"multiple" : false,
"virtualThreshold" : 100000,
"id" : "decltree_tree",
"source" : "/api/template/082f27b4-7ae9-4b21-acc9-2b2a6f7d9797/tree",
"label" : false,
"searchable" : true,
"initiallyOpen" : true,
"showOutline" : true,
"heightAuto" : true
} ]
}, {
"md" : 8,
"columnClassName" : "pl-md",
"body" : [ {
"type" : "button-toolbar",
"className" : "m-b-sm",
"buttons" : [ {
"type" : "button",
"label" : "添加",
"level" : "primary",
"icon" : "fa fa-plus",
"onEvent" : {
"click" : {
"actions" : [ {
"actionType" : "setValue",
"componentId" : "decltree_tree",
"args" : {
"value" : ""
}
}, {
"actionType" : "setValue",
"componentId" : "hr_performance_guidesort_editform",
"args" : {
"value" : {
"HR_PERFORMANCE_GUIDESORT_ID" : "",
"NAME" : ""
}
}
} ]
}
}
}, {
"type" : "button",
"label" : "删除",
"level" : "danger",
"icon" : "fa fa-trash",
"disabledOn" : "${!selId}",
"actionType" : "ajax",
"confirmText" : "确认删除选中项?",
"api" : {
"method" : "post",
"url" : "/api/flow/HR_PERFORMANCE_GUIDESORT_DELETE",
"data" : {
"HR_PERFORMANCE_GUIDESORT_ID" : "${selId}"
}
},
"reload" : "decltree_tree"
} ]
}, {
"type" : "form",
"id" : "hr_performance_guidesort_editform",
"title" : "绩效管理-指标类别",
"mode" : "horizontal",
"horizontal" : {
"left" : 3,
"right" : 8
},
"initApi" : {
"method" : "get",
"url" : "/api/entity/HR_PERFORMANCE_GUIDESORT/${selId}",
"data" : {
"pageId" : "b4f11d74-1483-4510-a227-ef54e6f4c7ca"
},
"sendOn" : "${selId}"
},
"api" : "post:/api/flow/HR_PERFORMANCE_GUIDESORT_ADD",
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "NAME",
"label" : "类别名称",
"required" : true,
"type" : "input-text",
"maxLength" : 30
} ]
}, {
"name" : "HR_PERFORMANCE_GUIDESORT_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ {
"type" : "submit",
"label" : "保存",
"level" : "primary",
"icon" : "fa fa-save",
"reload" : "decltree_tree"
} ]
} ]
} ]
}
}

View File

@@ -0,0 +1,192 @@
{
"type" : "page",
"title" : "CA锁登记",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_CALOCK_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "CANAME",
"label" : "CA锁名称",
"type" : "input-text"
}, {
"name" : "REGIONAL",
"label" : "所属投标地区",
"type" : "input-text"
}, {
"name" : "VALIDDATE",
"label" : "到期日期",
"type" : "input-date-range"
}, {
"name" : "ISUSE",
"label" : "是否在使用中",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
} ]
},
"columns" : [ {
"name" : "PM_CALOCK_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "CANAME",
"label" : "CA锁名称",
"width" : 200
}, {
"name" : "REGIONAL",
"label" : "所属投标地区",
"width" : 300
}, {
"name" : "REGISEDATE",
"label" : "注册日期",
"width" : 100,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "VALIDDATE",
"label" : "到期日期",
"width" : 100,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "REMARK",
"label" : "备注",
"width" : 500
}, {
"name" : "ISUSE",
"label" : "是否在使用中",
"width" : 100,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是"
}
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/04247aac-3ba2-4f34-a934-8d1d50ae440d?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/PM_CALOCK/defaults?templateId=04247aac-3ba2-4f34-a934-8d1d50ae440d"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_CALOCK_ADD?__egtpl=04247aac-3ba2-4f34-a934-8d1d50ae440d",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/04247aac-3ba2-4f34-a934-8d1d50ae440d?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_CALOCK_LOAD?__egtpl=04247aac-3ba2-4f34-a934-8d1d50ae440d",
"data" : {
"PM_CALOCK_ID" : "${PM_CALOCK_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/PM_CALOCK_UPDATE?__egtpl=04247aac-3ba2-4f34-a934-8d1d50ae440d",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确认要删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/PM_CALOCK_DELETE",
"data" : {
"ids" : "${selectedItems|pick:PM_CALOCK_ID|join:','}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/04247aac-3ba2-4f34-a934-8d1d50ae440d?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/PM_CALOCK_LOAD?__egtpl=04247aac-3ba2-4f34-a934-8d1d50ae440d",
"data" : {
"PM_CALOCK_ID" : "${PM_CALOCK_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, "pagination" ],
"primaryField" : "PM_CALOCK_ID"
}
}

View File

@@ -0,0 +1,211 @@
{
"type" : "page",
"title" : "建造师注册证申请-增项注册编辑",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "CERTIFICATENO",
"label" : "单号",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "USERID",
"label" : "姓名",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/090981ba-0c10-4d84-92dc-80e226594480/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "IDCARD",
"label" : "身份证",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "SEX",
"label" : "性别",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/SEX"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "BIRTH",
"label" : "出生年月",
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "CARDID",
"label" : "证书编号",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/HR_CONSTRUCTORCARD/list?perPage=500"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "MOBILEPHONE",
"label" : "手机号码",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "LEVELID",
"label" : "证书等级",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CONSTRUCTORCARDLEVEL"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "PROFESSIONALID",
"label" : "申请注册专业",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CONSTRUCTORPROFESSIONAL"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "ISSUEDATE",
"label" : "取得日期",
"required" : true,
"type" : "input-date"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "DESIGNATIONNO",
"label" : "注册编号",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PACTSTARTTIME1",
"label" : "合同开始日期",
"required" : true,
"type" : "input-date"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "PACTENDTIME1",
"label" : "合同结束日期",
"required" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"required" : true,
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=HR_CONSTRUCTORCARDAPPLY&businessKey=${HR_CONSTRUCTORCARDAPPLY_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "HR_CONSTRUCTORCARDAPPLY_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "APPLYDATE",
"label" : "申请日期",
"required" : true,
"disabled" : true,
"hidden" : true,
"type" : "input-date",
"value" : "${now}"
}, {
"name" : "TYPE",
"label" : "申请类型",
"required" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1,
"value" : "3"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,15 @@
{
"type" : "page",
"title" : "物资采购订单",
"body" : {
"type" : "crud",
"api" : "/api/flow/VIEW_PM_MATERIALMANAGEFORM_TJ_SEARCH?page=${page}&perPage=${perPage}",
"syncLocation" : false,
"columns" : [ {
"name" : "VIEW_PM_MATERIALMANAGEFORM_TJ_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
} ]
}
}

View File

@@ -0,0 +1,133 @@
{
"type" : "page",
"title" : "供应商地址选择列表",
"body" : {
"type" : "crud",
"api" : "/api/flow/VIEW_OA_SUPPLIERMANAGEMENT_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "SUPPLIERCONER",
"label" : "联系人",
"type" : "input-text"
}, {
"name" : "CONPHONE",
"label" : "联系电话",
"type" : "input-text"
}, {
"name" : "SUBADDRESS",
"label" : "送修地址",
"type" : "input-text"
}, {
"name" : "SUBREMARK",
"label" : "备注",
"type" : "input-text"
}, {
"name" : "SUBSTATUS",
"label" : "状态",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/OFFICE_USERSTATUS",
"value" : "1"
} ]
},
"columns" : [ {
"name" : "VIEW_OA_SUPPLIERMANAGEMENT_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "OA_SUPPLIERMANAGEMENT_ID_DISPLAY__",
"label" : "供应商名称",
"width" : 200
}, {
"name" : "SUPPLIERCONER",
"label" : "联系人",
"width" : 200
}, {
"name" : "CONPHONE",
"label" : "联系电话",
"width" : 200
}, {
"name" : "SUBADDRESS",
"label" : "送修地址",
"width" : 200
}, {
"name" : "SUBREMARK",
"label" : "备注",
"width" : 200
}, {
"name" : "SUBSTATUS",
"label" : "状态",
"width" : 200,
"type" : "mapping",
"map" : {
"0" : "停用",
"1" : "启用"
}
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"body" : {
"type" : "tpl",
"tpl" : "该单据未配编辑表单"
}
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"body" : {
"type" : "tpl",
"tpl" : "该单据未配编辑表单"
}
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确认要删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/VIEW_OA_SUPPLIERMANAGEMENT_DELETE",
"data" : {
"ids" : "${selectedItems|pick:VIEW_OA_SUPPLIERMANAGEMENT_ID|join:','}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"body" : {
"type" : "tpl",
"tpl" : "该单据未配编辑表单"
}
}
}, "pagination" ],
"primaryField" : "VIEW_OA_SUPPLIERMANAGEMENT_ID"
}
}

View File

@@ -0,0 +1,285 @@
{
"type" : "page",
"title" : "部版安管人员证书",
"body" : {
"type" : "crud",
"api" : "/api/flow/HR_PARTIALSAFETYMANPERCERTI_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "ORGID",
"label" : "所属(分)公司",
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/42861f01-14ea-482d-8031-f30612dfccf4/tree",
"searchable" : true,
"onlyLeaf" : true
}, {
"name" : "USERID",
"label" : "姓名",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/090981ba-0c10-4d84-92dc-80e226594480/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
}, {
"name" : "GENDER",
"label" : "性别",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/SEX"
}, {
"name" : "ISSUEDATE",
"label" : "发证时间",
"type" : "input-date-range"
}, {
"name" : "VALIDDATE",
"label" : "有效期至",
"type" : "input-date-range"
}, {
"name" : "CARDSTATE",
"label" : "证书状态",
"type" : "input-text",
"value" : "有效"
}, {
"name" : "JOBSTATUSS",
"label" : "在职状态",
"type" : "picker",
"clearable" : true,
"multiple" : true,
"overflowConfig" : {
"displayPosition" : [ "select" ],
"maxTagCount" : 1
},
"source" : "/api/picker/ddb51949-e2a1-4a9d-b936-48609473755a/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
},
"columns" : [ {
"name" : "HR_PARTIALSAFETYMANPERCERTI_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "ORGID_DISPLAY__",
"label" : "所属(分)公司",
"width" : 250
}, {
"name" : "USERID_DISPLAY__",
"label" : "姓名",
"width" : 100
}, {
"name" : "IDCARD",
"label" : "身份证号",
"width" : 200
}, {
"name" : "GENDER",
"label" : "性别",
"width" : 50,
"type" : "mapping",
"map" : {
"0" : "女",
"1" : "男"
}
}, {
"name" : "CARDNAME",
"label" : "证照名称",
"width" : 200
}, {
"name" : "POSITIONNAME",
"label" : "岗位名称",
"width" : 250
}, {
"name" : "CARDNO",
"label" : "证书编号",
"width" : 250
}, {
"name" : "ISSUEDATE",
"label" : "发证时间",
"width" : 100,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "VALIDDATE",
"label" : "有效期至",
"width" : 100,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "CARDSTATE",
"label" : "证书状态",
"width" : 100
}, {
"name" : "EMPLOYER",
"label" : "工作单位",
"width" : 200
}, {
"name" : "USERMODETEXT",
"label" : "使用状态",
"width" : 100,
"type" : "mapping",
"map" : {
"0" : "空闲",
"1" : "已借出",
"2" : "已转出",
"3" : "已注销",
"4" : "投标中",
"5" : "已中标",
"6" : "已备案",
"7" : "变更未解锁",
"8" : "离职未转出"
}
}, {
"name" : "PROJECTNAME",
"label" : "项目",
"width" : 250
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/6df3a89c-307d-4484-a5f6-a62c1a0e6f57?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/HR_PARTIALSAFETYMANPERCERTI/defaults?templateId=6df3a89c-307d-4484-a5f6-a62c1a0e6f57"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/HR_PARTIALSAFETYMANPERCERTI_ADD?__egtpl=6df3a89c-307d-4484-a5f6-a62c1a0e6f57",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/6df3a89c-307d-4484-a5f6-a62c1a0e6f57?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/HR_PARTIALSAFETYMANPERCERTI_LOAD?__egtpl=6df3a89c-307d-4484-a5f6-a62c1a0e6f57",
"data" : {
"HR_PARTIALSAFETYMANPERCERTI_ID" : "${HR_PARTIALSAFETYMANPERCERTI_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/HR_PARTIALSAFETYMANPERCERTI_UPDATE?__egtpl=6df3a89c-307d-4484-a5f6-a62c1a0e6f57",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确认要删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/HR_PARTIALSAFETYMANPERCERTI_DELETE",
"data" : {
"ids" : "${selectedItems|pick:HR_PARTIALSAFETYMANPERCERTI_ID|join:','}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/6df3a89c-307d-4484-a5f6-a62c1a0e6f57?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/HR_PARTIALSAFETYMANPERCERTI_LOAD?__egtpl=6df3a89c-307d-4484-a5f6-a62c1a0e6f57",
"data" : {
"HR_PARTIALSAFETYMANPERCERTI_ID" : "${HR_PARTIALSAFETYMANPERCERTI_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, "pagination" ],
"primaryField" : "HR_PARTIALSAFETYMANPERCERTI_ID"
}
}

View File

@@ -0,0 +1,168 @@
{
"type" : "page",
"title" : "模块信息维护",
"body" : {
"type" : "crud",
"api" : "/api/flow/SYS_BUNDLE_BUNDLELIST_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "BUNDLE_BUNDLELIST_ID",
"label" : "所属包",
"type" : "input-text"
}, {
"name" : "NAME",
"label" : "模块名称",
"type" : "input-text"
}, {
"name" : "CURRENTVERSION",
"label" : "当前版本",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "REMARK",
"label" : "备注",
"hidden" : true,
"type" : "input-text"
} ]
},
"columns" : [ {
"name" : "BUNDLE_BUNDLELIST_ID",
"label" : "所属包",
"width" : 200
}, {
"name" : "NAME",
"label" : "模块名称",
"width" : 200
}, {
"name" : "CURRENTVERSION",
"label" : "当前版本",
"width" : 100
}, {
"name" : "REMARK",
"label" : "备注",
"width" : 200
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "添加",
"label" : "添加",
"level" : "primary",
"actionType" : "dialog",
"dialog" : {
"type" : "dialog",
"title" : "添加",
"size" : "lg",
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/01d0f471-0e6d-490a-8ffb-0426c69f24ac?format=amis",
"api" : {
"method" : "get",
"url" : "/api/form/BUNDLE_BUNDLELIST/defaults?templateId=01d0f471-0e6d-490a-8ffb-0426c69f24ac"
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/SYS_BUNDLE_BUNDLELIST_ADD?__egtpl=01d0f471-0e6d-490a-8ffb-0426c69f24ac",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "修改",
"label" : "修改",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "修改",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/01d0f471-0e6d-490a-8ffb-0426c69f24ac?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/SYS_BUNDLE_BUNDLELIST_LOAD?__egtpl=01d0f471-0e6d-490a-8ffb-0426c69f24ac",
"data" : {
"BUNDLE_BUNDLELIST_ID" : "${BUNDLE_BUNDLELIST_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/SYS_BUNDLE_BUNDLELIST_UPDATE?__egtpl=01d0f471-0e6d-490a-8ffb-0426c69f24ac",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, {
"type" : "button",
"id" : "删除",
"label" : "删除",
"level" : "danger",
"actionType" : "ajax",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"confirmText" : "确认要删除此记录吗?",
"api" : {
"method" : "post",
"url" : "/api/flow/SYS_BUNDLE_BUNDLELIST_DELETE",
"data" : {
"ids" : "${selectedItems|pick:BUNDLE_BUNDLELIST_ID|join:','}"
}
}
}, {
"type" : "button",
"id" : "查看",
"label" : "查看",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "查看",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}",
"__readonly" : true
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/01d0f471-0e6d-490a-8ffb-0426c69f24ac?format=amis",
"static" : true,
"api" : {
"method" : "post",
"url" : "/api/flow/SYS_BUNDLE_BUNDLELIST_LOAD?__egtpl=01d0f471-0e6d-490a-8ffb-0426c69f24ac",
"data" : {
"BUNDLE_BUNDLELIST_ID" : "${BUNDLE_BUNDLELIST_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
}
}
}, "pagination" ],
"primaryField" : "BUNDLE_BUNDLELIST_ID"
}
}

View File

@@ -0,0 +1,81 @@
{
"type" : "page",
"title" : "考情机-换机功能",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "NAME",
"label" : "名称",
"required" : true,
"disabled" : true,
"type" : "input-text"
}, {
"name" : "SN",
"label" : "序列号",
"required" : true,
"type" : "input-text"
} ]
}, {
"type" : "group",
"body" : [ {
"name" : "DEVTYPE",
"label" : "设备类型",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/GB_DEVICE_DEVTYPE"
}, {
"name" : "GB_PROJECTINFOID",
"label" : "实名制项目",
"type" : "static",
"tpl" : "${GB_PROJECTINFOID_DISPLAY__ ? GB_PROJECTINFOID_DISPLAY__ : (PRJNAME ? PRJNAME : GB_PROJECTINFOID)}"
} ]
}, {
"type" : "group",
"body" : [ {
"name" : "INOROUT",
"label" : "进出类型",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/KQ_GB_CLOCK_INOUT"
}, {
"name" : "TAG",
"label" : "设备标识",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"name" : "GB_DEVICE_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "ISACTIVE",
"label" : "是否有效",
"required" : true,
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "0"
}, {
"name" : "JIUSN",
"label" : "旧序列号",
"required" : true,
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,275 @@
{
"type" : "page",
"title" : "项目收款编辑",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PROJECTID",
"label" : "工程名称",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${currentProject}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CONTRACTID",
"label" : "合同名称",
"type" : "static",
"tpl" : "${CONTRACTID_DISPLAY__ ? CONTRACTID_DISPLAY__ : (CONTRACTNAME ? CONTRACTNAME : CONTRACTID)}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PAYMETHOD",
"label" : "支付方式",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PROJECTFUNDS_PAYMETHOD",
"value" : "1"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ACCOUNTEDDATE",
"label" : "入账日期",
"required" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PAYMENTTYPE",
"label" : "来款类型",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_RECEIVABLES_PAYMENTTYPE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PREPAY",
"label" : "按合同约定预付款(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "ADVANCEPRICE",
"label" : "本次预付款收款金额(元)",
"type" : "input-number",
"precision" : 2,
"min" : -9.9999999999E8,
"max" : 9.9999999999E8
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "TOTALADVANCEPRICE",
"label" : "累计已收预付款(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "RECEIVABLESPRICE",
"label" : "本次进度款收款金额(元)",
"type" : "input-number",
"precision" : 2,
"min" : -9.9999999999E8,
"max" : 9.9999999999E8
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "TOTALRECEIVABLESPRICE",
"label" : "累计已收进度款金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "FORAPRICE",
"label" : "本次甲供款收款金额(元)",
"type" : "input-number",
"precision" : 2,
"min" : -9.9999999999E8,
"max" : 9.9999999999E8
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "TOTALFORAPRICE",
"label" : "累计已收甲供款金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PROJECTFUND",
"label" : "本次工程款收款金额(元)",
"required" : true,
"validationErrors" : {
"required" : "预付款、进度款、甲供款至少需要填写一项!"
},
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "TOTALPROJECTFUND",
"label" : "累计已收工程款金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "REGISTERDATE",
"label" : "登记日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "OPERATOR",
"label" : "登记人",
"type" : "static",
"tpl" : "${OPERATOR_DISPLAY__ ? OPERATOR_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : OPERATOR)}",
"value" : "${currentUser}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_RECEIVABLES&businessKey=${PM_RECEIVABLES_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "RECORDTOTALRECEIVABLESPRICE",
"label" : "RECORDTOTALRECEIVABLESPRICE",
"disabled" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "RECORDTOTALFORAPRICE",
"label" : "RECORDTOTALFORAPRICE",
"disabled" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "RECORDTOTALPROJECTFUND",
"label" : "RECORDTOTALPROJECTFUND",
"disabled" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "RECORDTOTALADVANCEPRICE",
"label" : "RECORDTOTALADVANCEPRICE",
"disabled" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "PM_RECEIVABLES_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "ISAFFIRMDATE",
"label" : "是否已确认",
"required" : true,
"hidden" : true,
"type" : "checkbox",
"value" : "0"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,73 @@
{
"type" : "page",
"title" : "补签记录编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "SYS_USERID",
"label" : "姓名",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/ac35b7e4-a338-4ca6-b5cd-98d5d1c54bab/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "CHECKTIME",
"label" : "打卡时间",
"required" : true,
"type" : "input-datetime"
} ]
}, {
"name" : "REASON",
"label" : "原因",
"type" : "textarea"
}, {
"name" : "HR_CHECKINOUT_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "CREATETIME",
"label" : "添加时间",
"hidden" : true,
"type" : "input-date",
"value" : "${now}"
}, {
"name" : "ISVERIFY",
"label" : "是否验证",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
}, {
"name" : "CHECKTYPE",
"label" : "打卡类型",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CHECKTYPE",
"value" : "2"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,121 @@
{
"type" : "page",
"title" : "劳务公司评审编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "RESEARCHID",
"label" : "劳务公司",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/acc141a8-1110-44c1-85b7-92438f783d4c/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "UNITADDRESS",
"label" : "地址",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNITPHONE",
"label" : "单位电话",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "WORKERAMOUNT",
"label" : "劳务人数(人)",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "SKILLEDWORKERAMOUNT",
"label" : "技术人员数(人)",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PROJECTNAME",
"label" : "参与劳务的工程名称",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "SUBCONTRACTDETAILS",
"label" : "分包内容",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_LC_REVIEW&businessKey=${PM_LC_REVIEW_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "PM_LC_REVIEW_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,133 @@
{
"type" : "page",
"title" : "项目报销明细编辑界面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "SUBJECTID",
"label" : "科目名称",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/OA_SUBJECT_SEARCH_PM_LIST",
"value" : "888"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "PAYOUTITEMID",
"label" : "支出项目",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/OA_PAYOUTITEM/list?perPage=500",
"value" : "888"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "BILLNUM",
"label" : "单据张数",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "MONEY",
"label" : "金额(元)",
"required" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "REIMBURSEMENTNAME",
"label" : "报销人",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标",
"value" : "${currentUser}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "DEPARTID",
"label" : "部门",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/SYS_DEPART/list?perPage=500",
"value" : "${currentDepart}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "REIMBURSEMENTDATE",
"label" : "日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"name" : "APPLYID",
"label" : "报销申请",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "PM_REIMBURSEMENTDETAILED_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,241 @@
{
"type" : "page",
"title" : "ABC三类人员证-查看",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "USERID",
"label" : "姓名",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1b6820ad-bc7c-4eef-ac63-652cdf52c75f/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "IDCARD",
"label" : "身份证号码",
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "BIRTH",
"label" : "出生年月",
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "HOMEPHONE",
"label" : "联系电话",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "CARDNO",
"label" : "证书编号",
"required" : true,
"type" : "input-text",
"maxLength" : 100
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "KIND",
"label" : "ABC种类",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CARDABC",
"value" : "1"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "SEALNO",
"label" : "印章编号",
"type" : "input-text",
"maxLength" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "ISSUEDATE",
"label" : "签发日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "VALIDDATE",
"label" : "有效期至",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "EMPLOYER",
"label" : "聘用单位",
"type" : "input-text"
} ]
} ]
}, {
"name" : "CARDURL",
"label" : "信息链接",
"disabled" : true,
"hidden" : true,
"type" : "input-text"
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "MEMO",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=HR_SAFETYCARD&businessKey=${HR_SAFETYCARD_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "KEEPDEPARTID",
"label" : "保管部门",
"required" : true,
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree",
"value" : "${currentDepart}",
"searchable" : true,
"onlyLeaf" : true
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "EDUCATIONS",
"label" : "继续教育",
"type" : "input-table",
"id" : "eg-EDUCATIONS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "THISEDUCATIONDATE",
"label" : "本次教育日期",
"quickEdit" : {
"name" : "THISEDUCATIONDATE",
"required" : true,
"type" : "input-date"
}
}, {
"name" : "NEXTEDUCATIONDATE",
"label" : "下次教育日期",
"quickEdit" : {
"name" : "NEXTEDUCATIONDATE",
"required" : true,
"type" : "input-date"
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "CARDCHANGE",
"label" : "变更",
"type" : "input-table",
"id" : "eg-CARDCHANGE",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "CHANGEDATE",
"label" : "变更日期",
"quickEdit" : {
"name" : "CHANGEDATE",
"type" : "input-date"
}
}, {
"name" : "CHANGE",
"label" : "变更",
"quickEdit" : {
"name" : "CHANGE",
"type" : "input-text"
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"name" : "HR_SAFETYCARD_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}

View File

@@ -0,0 +1,81 @@
{
"type" : "page",
"title" : "加班管理-申请编辑",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "OVERTIMENO",
"label" : "编号",
"required" : true,
"disabled" : true,
"type" : "input-text"
}, {
"name" : "USERID",
"label" : "姓名",
"type" : "static",
"tpl" : "${USERID_DISPLAY__ ? USERID_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : USERID)}",
"value" : "${currentUser}"
} ]
}, {
"type" : "group",
"body" : [ {
"name" : "OVERTIMETYPE",
"label" : "加班类型",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_CHECKATTENDANCESTATE"
}, {
"name" : "BEGINTIME",
"label" : "开始时间",
"required" : true,
"type" : "input-datetime"
} ]
}, {
"type" : "group",
"body" : [ {
"name" : "ENDTIME",
"label" : "结束时间",
"required" : true,
"type" : "input-datetime"
}, {
"name" : "ATTENDS",
"label" : "加班时间合计",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"name" : "OVERTIMEREASON",
"label" : "加班事由",
"required" : true,
"type" : "textarea"
}, {
"name" : "HR_OVERTIMEAPPLY_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "TIMES",
"label" : "考勤小时",
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "DAYS",
"label" : "合计天数",
"required" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 2
} ],
"actions" : [ ]
}
}

Some files were not shown because too many files have changed in this diff Show More