{"Message":"1","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/新增报工"},{"State":1,"Type":15,"Name":"ServerCommand/上报实际工时"}],"Version":"v1"}

This commit is contained in:
cuckooent
2024-10-31 15:34:35 +08:00
parent fe84c40b4e
commit 516babea9e
3 changed files with 157 additions and 141 deletions

View File

@@ -455,7 +455,7 @@
"ID": "2d719d51ef5a46ee9aa64f113a34cce3"
}
],
"ID": "5b60736d-45f9-4a98-8040-8a9d0e4d8046"
"ID": "0e7c91d0-3ab0-4b15-bf5f-0bfff2ac7538"
},
{
"CommandList": [
@@ -478,7 +478,7 @@
"ID": "11255bb1a556487e972cf64b9d1da58b"
}
],
"ID": "ab7e4879-a8f0-4d6d-9c85-d72a60cfc5c4"
"ID": "b342589b-0134-4701-b4b2-7b870a953436"
}
]
},
@@ -560,7 +560,7 @@
}
],
"Comments": "如果是分配到天,就检测当前日期该人员在任务里的计划工时是否够用",
"ID": "c258c8f6-9986-4ff9-b416-2e79231b9476"
"ID": "c160b24b-c2e6-4db9-a440-43c35d1d531e"
},
{
"CommandList": [
@@ -574,13 +574,13 @@
"ID": "82c651b1c1424340b8c6b3ed1361b1fd"
}
],
"ID": "d272daa9-385c-4fb3-8714-cda480a40473"
"ID": "9866a39c-3669-4a47-89af-758c3881b889"
}
]
}
],
"Comments": "如果是按天分配,则需要检测这一天的实际工时是否超出,",
"ID": "15f7d9f3-b957-45a9-aa3a-f1a14b968ea0"
"ID": "4b7900b1-2826-42f8-8602-969ed0333013"
},
{
"CommandList": [
@@ -594,84 +594,116 @@
"ID": "3f324a9712e14a6693472fa215c3143f"
}
],
"ID": "b87fe06d-b8df-42bc-abd3-7084cd5465b0"
"ID": "6eb80817-e815-42b0-a5b2-3424c0492a5d"
}
]
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"Operation": 17,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=CHAR(10)&CHAR(13)"
},
"OperationParamaterBName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=进展内容"
},
"OutParamaterName": "进展内容拆分数组"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"OutParamaterName": "新内容数组"
},
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=进展内容拆分数组"
},
"LoopItemParamName": "进展内容item"
},
"CommandList": [
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"$type": "GETPOST.正则类.正则_取匹配文本, GETPOST",
"JieShouMsg": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=进展内容item"
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=进展内容"
}
},
"value": "%Null%",
"compareType": 1
},
"JieShouMsg2": "^[^\\S\\r\\n]*[\\d]*[、.\\-]?[^\\S\\r\\n]*",
"FanHuiMsg": "取无用符号"
"CommandList": [
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"Operation": 17,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=CHAR(10)&CHAR(13)"
},
"OperationParamaterBName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=进展内容"
},
"OutParamaterName": "进展内容拆分数组"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"OutParamaterName": "新内容数组"
},
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=进展内容拆分数组"
},
"LoopItemParamName": "进展内容item"
},
"CommandList": [
{
"$type": "GETPOST.正则类.正则_取匹配文本, GETPOST",
"JieShouMsg": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=进展内容item"
},
"JieShouMsg2": "^[^\\S\\r\\n]*[\\d]*[、.\\-]?[^\\S\\r\\n]*",
"FanHuiMsg": "取无用符号"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "新进展内容行",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=SUBSTITUTE(进展内容item,取无用符号,\" - \")"
},
"ID": "20472572ee904f20a1ea7c5f32683622"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新内容数组"
},
"Operation": 4,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新进展内容行"
},
"OutParamaterName": "新内容数组"
}
]
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新内容数组"
},
"Operation": 16,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=CHAR(10)"
},
"OutParamaterName": "新内容"
}
],
"ID": "5bd2e474-b38b-411e-bba2-358d75dfa6bd"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "新进展内容行",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=SUBSTITUTE(进展内容item,取无用符号,\" - \")"
},
"ID": "20472572ee904f20a1ea7c5f32683622"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新内容数组"
},
"Operation": 4,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新进展内容行"
},
"OutParamaterName": "新内容数组"
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "新内容",
"ID": "6d592b1c11a440eca4cce1c308f09b8c"
}
],
"ID": "7770c7d7-e0fa-4939-b1a3-5721cad9b16a"
}
]
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新内容数组"
},
"Operation": 16,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=CHAR(10)"
},
"OutParamaterName": "新内容"
},
{
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
"CommandList": [
@@ -685,7 +717,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "项目ID",
"GUID": "0f4e16c5-9bdc-4adc-a9de-fef475690b68"
"GUID": "b724680f-776e-4e54-91a2-c9297e4bedcd"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -696,7 +728,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "任务ID",
"GUID": "a5934eea-82eb-49b8-b015-b6da1439a5df"
"GUID": "7adeae26-15d9-4e7a-b8a3-2f8be012540b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -707,7 +739,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时日期",
"GUID": "3fd626c5-ce88-4893-9ef4-e3270ed970e1"
"GUID": "2dd639be-112f-42c8-a352-e565512a5187"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -718,7 +750,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时类型",
"GUID": "6600c0a6-85e4-402f-85ae-c27d9cdf380a"
"GUID": "9e61b98c-6940-40d8-b4a1-e5af68294e70"
},
"Value": "实际"
},
@@ -726,7 +758,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行人",
"GUID": "68d08e51-3d2d-439b-bb51-d8d580eab964"
"GUID": "64719746-55a7-4b74-b6e3-a07b5998d005"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -737,7 +769,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行内容",
"GUID": "912d6a22-9f2b-40ea-81a0-9b50f8528c26"
"GUID": "e95185d4-dcba-46ca-8e3d-2787fe91b3dc"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -748,7 +780,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时",
"GUID": "51d2ceba-2831-4ca9-be9d-11614a741fb8"
"GUID": "125448ba-e749-4137-a64f-3e4c18cc11a9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -759,7 +791,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "上报工时",
"GUID": "b4ab089f-734d-4a7a-8907-007d1f984b2f"
"GUID": "11939523-4632-48d8-a827-2b178bed5f60"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -770,7 +802,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "时薪单价",
"GUID": "54418511-ce0f-460e-a0f7-bdc2047c5491"
"GUID": "79a41e14-30fc-4903-bdc2-e81252ae3f51"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -781,7 +813,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "提成系数",
"GUID": "aec753ae-d03d-48d7-9792-c3a61e5a8e6c"
"GUID": "f7029413-87fa-4cdd-87d4-67773b9ac600"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -792,7 +824,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "时薪来源",
"GUID": "37c4bbac-d9a0-4c9c-b3d7-2a5c48d7a0fe"
"GUID": "8e577bf2-9f96-49d1-9e6a-50f0d2ac3882"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -844,7 +876,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "项目ID",
"GUID": "abdb8a3b-0224-46b4-87a7-bf23bd2eca8d"
"GUID": "cae2c58a-e0a4-4ebd-a9de-f8f20b234768"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -855,7 +887,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "任务ID",
"GUID": "d125eaf0-d897-4221-9a3b-6788a7b69416"
"GUID": "04dacea9-1c73-4eef-a5ab-4f90d1dee383"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -866,7 +898,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时日期",
"GUID": "78fd7bcb-f094-4e2b-96f2-7a1cbc343195"
"GUID": "37c13de2-4404-4ea8-9c6a-cd4fed18e2b1"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -877,7 +909,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时类型",
"GUID": "85c19113-b8ea-4fda-bb10-176346c40738"
"GUID": "fd8fd7be-9be0-4d45-b4f3-76778e8b2e60"
},
"Value": "计划"
},
@@ -885,7 +917,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行人",
"GUID": "1c71172a-ca87-4122-b8a9-b0a2309364ce"
"GUID": "d1f053d3-3835-4bf3-98cc-c5e94300cd35"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -896,7 +928,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行内容",
"GUID": "4a675b98-438d-4e63-b474-11c60ffbe600"
"GUID": "bcb2e10f-0798-48f8-a95e-7787ce15cfb1"
},
"Value": "系统自动生成对应计划,保证任务可分配工时"
},
@@ -904,7 +936,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时",
"GUID": "805ba35f-642a-4731-8104-e0b35188dc43"
"GUID": "3646e75b-cdcc-4166-9fdd-9dca98aa9101"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -915,7 +947,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "上报工时",
"GUID": "c2825b07-08dc-4c7d-b91d-1e8f2fa05013"
"GUID": "f166c286-6753-489a-b204-7ac19c5394c3"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -926,7 +958,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "时薪单价",
"GUID": "a53fafaa-3b2b-4f2b-bd6d-29460279954c"
"GUID": "94941dbf-8f4c-4081-896b-6ebf68b70c25"
},
"Value": "0"
},
@@ -934,7 +966,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "提成系数",
"GUID": "93933002-d8c4-40bb-9bfd-08c6983dafae"
"GUID": "26bd30ab-af9a-45a4-8f4d-8bfc7e71618b"
},
"Value": "0"
},
@@ -942,7 +974,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "时薪来源",
"GUID": "f27ee3f0-a505-4722-92f8-0921f1cd2211"
"GUID": "b16bb597-1aff-47aa-a254-92d2e1eeefa7"
}
}
],
@@ -950,7 +982,7 @@
}
],
"Comments": "如果是分配到任务,就补一条计划,保证任务可分配工时准确",
"ID": "51f81352-af6f-4a77-8674-5eef8aa45b73"
"ID": "ef6ff6ff-e6ce-4080-a2d9-dc39a0d0ac13"
}
],
"Disabled": true
@@ -976,7 +1008,7 @@
"ID": "dfe08a493a80498e8915bc2fe710ad21"
}
],
"ID": "c963de63-7574-4716-90a2-21b394f3ed01"
"ID": "b3961c6a-a6e4-4f5c-8a97-eaf3c4f56e97"
},
{
"CommandList": [
@@ -989,7 +1021,7 @@
}
}
],
"ID": "d4d82229-a7fc-42f8-9c8b-31cc24fe86ca"
"ID": "78e37875-ccf2-4f92-b8b9-e96a4bae4705"
}
]
}
@@ -1049,7 +1081,7 @@
"Message": "报工成功"
}
],
"ID": "7f9764bc-0fbb-4930-a5ec-67f3ab1e60c0"
"ID": "0f7b0034-b07b-49a2-b1d8-7e60dd6046e4"
},
{
"CommandList": [
@@ -1065,12 +1097,12 @@
}
}
],
"ID": "7ba3bdbe-02f2-4280-bea7-498f26ea4cf8"
"ID": "466223b5-0e71-488c-ad53-43acfe316288"
}
]
}
],
"ID": "cbfaeab0-9778-4e00-b6c2-1e38411cc0e9"
"ID": "9cd6e16a-70f9-49d3-b871-15d0685b45a1"
},
{
"CommandList": [
@@ -1083,7 +1115,7 @@
}
}
],
"ID": "e4365ede-cb1b-4b90-863f-2d74a03832cb"
"ID": "2a1e5892-cc59-4446-af64-3c0b76785f7f"
}
]
}