{"Message":"增加项目动态","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/项目表"},{"State":1,"Type":1,"Name":"PCPage/项目列表"},{"State":1,"Type":1,"Name":"PCPage/项目首页"},{"State":1,"Type":1,"Name":"PCPage/项目标题"},{"State":2,"Type":6,"Name":"Pages/项目首页/子页面"},{"State":4,"Type":1,"Name":"PCPage/任务列表"},{"State":1,"Type":1,"Name":"PCPage/任务-侧栏"},{"State":1,"Type":9,"Name":"Theme"},{"State":1,"Type":12,"Name":"CustomLibrary"},{"State":1,"Type":15,"Name":"ServerCommand/新增工时"},{"State":1,"Type":15,"Name":"ServerCommand/新增任务"},{"State":1,"Type":15,"Name":"ServerCommand/变更任务状态"},{"State":1,"Type":1,"Name":"PCPage/参与成员管理"},{"State":1,"Type":15,"Name":"ServerCommand/移除任务成员"},{"State":4,"Type":1,"Name":"PCPage/项目工时"},{"State":3,"Type":6,"Name":"Pages/项目首页/项目首页子页面"},{"State":3,"Type":1,"Name":"PCPage/项目概况"},{"State":3,"Type":1,"Name":"PCPage/项目成员统计"},{"State":3,"Type":7,"Name":"Table/项目动态"},{"State":3,"Type":23,"Name":"TableView/View_项目统计信息"},{"State":3,"Type":1,"Name":"PCPage/项目概况-关键数据"}],"Version":"v1"}

This commit is contained in:
SHAMUSPC\NINGMEI
2024-03-04 13:10:35 +08:00
parent 94f07d10f5
commit 6b4044d628
23 changed files with 2561 additions and 685 deletions

View File

@@ -51,7 +51,7 @@
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "任务ID",
"GUID": "5fb317c6-8101-48cd-893d-2758d549729f"
"GUID": "bf631fc5-2aea-4f67-8c3e-5687fcd17db1"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -63,7 +63,7 @@
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行人",
"GUID": "0a8199b6-268c-4a4e-87da-1c4bd4dbf6ea"
"GUID": "2a652f1e-a4f3-4c21-83cf-0e8546ac250c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -74,7 +74,7 @@
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "795cb7cd430945c68dbd04d92fbf1bf4"
"ID": "779d1a620e1f4c5fb9e69747944b537b"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -93,49 +93,197 @@
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务成员表",
"UpdateType": "delete",
"ShowConfirm": true,
"ConfirmText": "您确定要删除吗?",
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务信息",
"TableValue": {
"TableName": "任务表",
"TableValueType": 1,
"BindingInfos": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "00ffba4f-9904-4623-bd2e-206d3b8d3614"
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "项目ID",
"GUID": "f86b2436-5824-47c8-80e9-7deaa1385b6b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
"ColumnName": "项目ID"
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "参与人",
"GUID": "d107675e-70ed-47fd-b145-f99afe00253c"
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务名称",
"GUID": "85d6de7c-6adf-4725-bfea-d450b404f74e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=成员用户名"
}
"ColumnName": "任务名称"
}
]
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "5f9bb9c4-f177-4206-9975-eaeb99acc1de"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
"TopCount": "1"
},
"ID": "8174cfc9dc9c4c6e990ea8a6e0cc7dd4"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "移除成功"
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息"
}
},
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "成员全名",
"TableValue": {
"TableName": "用户信息视图",
"OnlyGetValue": true,
"TableValueType": 0,
"BindingInfos": [
{
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "全名",
"GUID": "9dd6b21a-caef-4226-9747-b359dea02e9b"
},
"ColumnName": "全名"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "用户名",
"GUID": "d91c3fdb-7b4a-4a6c-81e5-2e83e3d1f3b9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=成员用户名"
}
},
"TopCount": "1"
},
"ID": "c3a79e37337f461e92466b13d96434af"
},
{
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务成员表",
"UpdateType": "delete",
"ShowConfirm": true,
"ConfirmText": "您确定要删除吗?",
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "17bed3eb-36f7-46c3-b030-c125facc33ec"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "参与人",
"GUID": "a66e269f-657c-4cd7-b545-5b61dc9ed8c8"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=成员用户名"
}
}
]
}
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目动态",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "项目ID",
"GUID": "16af2943-b274-4526-a1a1-1d0b184df4e5"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息.项目ID"
}
},
{
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "项目动态",
"GUID": "00834ae4-957a-482a-91f9-fdd15fef7b25"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"任务[\"&任务信息.任务名称&\"]将\"&成员全名&\"移除\""
}
},
{
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "执行人",
"GUID": "1b67fbcf-23b4-4e5b-a3a0-c9a49cb17903"
},
"Value": "%CurrentUser%"
}
]
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "移除成功"
}
],
"ID": "9dcb7de5-d631-419a-9738-73fd00ef7534"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "任务不存在"
}
],
"ID": "c9324acc-950d-47c9-894e-9bb14eb9a90a"
}
]
}
],
"ID": "b54a97c5-6bad-4d9f-b704-8a73e3ce8cbd"
"ID": "8201f684-7b40-4039-be3c-7b3cbef6c74d"
},
{
"CommandList": [
@@ -145,7 +293,7 @@
"Message": "该成员存在报工记录,无法移除!"
}
],
"ID": "e0a62269-f13b-4e6d-b0e2-97a5e424162e"
"ID": "482a94d6-200b-4bf9-adad-32b14cd7d24c"
}
]
}