{"Message":"变更客户管理及字段","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/客户表"},{"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":1,"Type":1,"Name":"PCPage/客户基本信息"},{"State":1,"Type":1,"Name":"PCPage/客户部门管理"},{"State":3,"Type":20,"Name":"ServerCommands/客户"},{"State":3,"Type":15,"Name":"ServerCommand/删除客户"},{"State":3,"Type":7,"Name":"Table/客户分组"}],"Version":"v1"}

This commit is contained in:
超哥
2024-07-04 15:27:41 +08:00
parent 3ee13cc854
commit 6bbee6b629
11 changed files with 1049 additions and 327 deletions

View File

@@ -413,7 +413,7 @@
"1,1": "%PageTitle%",
"1,31": "客户信息子页面",
"3,1": "关键字",
"5,1": "税号",
"5,1": "分组",
"5,16": "负责人",
"7,1": "查询",
"7,4": "重置"
@@ -498,7 +498,7 @@
}
}
],
"ID": "c1edbc47-1acc-4ea5-b1fe-a2430fcc377d"
"ID": "4314a155-3db2-4433-bf50-5d22b787a8d5"
}
]
}
@@ -560,13 +560,13 @@
}
],
"type": "text",
"placeholder": "支持客户名称、地址、邮箱",
"placeholder": "支持客户名称、税号、地址",
"resize": "none"
}
},
"5,4": {
"CellType": {
"$type": "ElementUI.InputCellType, ElementUI",
"$type": "ElementUI.SelectCellType, ElementUI",
"CommandList": [],
"UIPermissions": [
{
@@ -580,17 +580,63 @@
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 4,
"AllowRoles": [
"FGC_Anonymous"
]
}
],
"type": "text",
"placeholder": "输入关键字",
"resize": "none"
"useBinding": true,
"options": [
{
"value": "黄金糕",
"label": "黄金糕"
},
{
"value": "双皮奶",
"label": "双皮奶"
},
{
"value": "蚵仔煎",
"label": "蚵仔煎"
},
{
"value": "龙须面",
"label": "龙须面"
},
{
"value": "北京烤鸭",
"label": "北京烤鸭"
}
],
"bindingOptions": {
"$type": "ServerDesignerCommon.Model.BindingDataSourceModel, ServerDesignerCommon",
"TableName": "客户分组",
"BindingInfos": [
{
"GUID": "32f0c2a8-3239-40e9-bf34-34447349605d",
"BindingInfo": {
"TableName": "客户分组",
"ColumnName": "ID",
"GUID": "86720105-c0cc-4525-b197-a7929198035d"
},
"ColumnName": "value"
},
{
"GUID": "fb78aa1a-ad55-42de-801f-547fa52bb994",
"BindingInfo": {
"TableName": "客户分组",
"ColumnName": "分组",
"GUID": "8571bd4a-7fb0-4d9b-97da-ff26b223b68c"
},
"ColumnName": "label"
}
],
"CustomColumns": []
},
"placeholder": "请选择",
"noDataText": "无数据",
"filterInServerOptions": {
"matchMethod": "contains",
"loadingText": "加载中"
},
"noMatchText": "无匹配数据"
}
},
"5,19": {
@@ -806,7 +852,7 @@
}
}
],
"ID": "9ce8a30f-fb43-4f0f-9d70-aaad44c46aa6"
"ID": "60fd2491-dab0-468c-b205-81e17d4b0bfb"
}
]
}
@@ -872,12 +918,91 @@
"GUID": "a7cc5a3b-566c-4b9b-ac09-d1c490581d44",
"BindingInfo": {
"TableName": "客户表",
"ColumnName": "邮箱",
"GUID": "b7a012e3-3d6a-4484-b745-31c0cb4d92fb"
"ColumnName": "分组",
"GUID": "0d3bf12e-9360-4139-8179-34a8c4a094a8",
"RelationBinding": {
"RelatedTable": "客户分组",
"RelatedColumn": "ID",
"DisplayColumn": "分组"
}
},
"ColumnName": "邮箱"
"ColumnName": "分组"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"CompareType": 1,
"ColumnBindingInfo": {
"TableName": "客户表",
"ColumnName": "删除",
"GUID": "c799c6cc-42a5-4200-8ea9-ff600d09383d"
},
"Value": "1"
},
{
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess",
"CompareType": 6,
"ColumnBindingInfo": {
"TableName": "客户表",
"ColumnName": "客户名称",
"GUID": "b8b8ae65-2702-4f5d-8ca3-c114d157303f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=客户管理!E4"
},
"LeftBracket": 1
},
{
"$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess",
"CompareType": 6,
"ColumnBindingInfo": {
"TableName": "客户表",
"ColumnName": "客户税号",
"GUID": "47cb22a5-b2bc-44e6-935c-7f454b5cb241"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=客户管理!E4"
},
"RightBracket": 1
}
],
"RelationType": 1
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "客户表",
"ColumnName": "客户经理",
"GUID": "0ca3c81b-3e61-42c1-a9b8-92759fccd122"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=客户管理!T6"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "客户表",
"ColumnName": "分组",
"GUID": "06cac1aa-03c0-473c-8cd4-31fd497a660a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=客户管理!E6"
}
}
]
},
"NullFormulaValueQueryPolicy": 1,
"OrderBySqlCondition": {
"OrderByColumns": [
{
@@ -903,9 +1028,20 @@
"align": "center",
"headerAlign": "center",
"colfixed": "false",
"type": "Default",
"tagType": "info",
"imgType": "cover",
"resizable": false,
"hide": true,
"key": "1f09a71b-598c-47f0-b9f2-cf89f328d1d3"
"key": "1f09a71b-598c-47f0-b9f2-cf89f328d1d3",
"UIPermissions": [
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
}
]
},
{
"$type": "ElementUI.ColumnSetting, ElementUI",
@@ -915,10 +1051,21 @@
"align": "left",
"headerAlign": "left",
"colfixed": "false",
"type": "Default",
"tagType": "info",
"imgType": "cover",
"filter": true,
"multipleFilter": true,
"showOverflowTooltip": true,
"key": "2d7515df-edb9-4559-bf4a-251b90bdbb9b"
"showOverflowTooltip": false,
"key": "2d7515df-edb9-4559-bf4a-251b90bdbb9b",
"UIPermissions": [
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
}
]
},
{
"$type": "ElementUI.ColumnSetting, ElementUI",
@@ -928,10 +1075,21 @@
"align": "left",
"headerAlign": "left",
"colfixed": "false",
"type": "Default",
"tagType": "info",
"imgType": "cover",
"filter": true,
"multipleFilter": true,
"showOverflowTooltip": true,
"key": "45746e6f-369f-4d36-9723-f89d604c9b49"
"showOverflowTooltip": false,
"key": "45746e6f-369f-4d36-9723-f89d604c9b49",
"UIPermissions": [
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
}
]
},
{
"$type": "ElementUI.ColumnSetting, ElementUI",
@@ -941,29 +1099,64 @@
"align": "left",
"headerAlign": "left",
"colfixed": "false",
"type": "Default",
"tagType": "info",
"imgType": "cover",
"filter": true,
"multipleFilter": true,
"showOverflowTooltip": true,
"key": "4f5be512-0f2f-4d94-a5d6-6491c7186d68"
"key": "4f5be512-0f2f-4d94-a5d6-6491c7186d68",
"UIPermissions": [
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
}
]
},
{
"$type": "ElementUI.ColumnSetting, ElementUI",
"dataColumnName": "邮箱",
"dataColumnName": "分组",
"sortable": true,
"label": "邮箱",
"label": "分组",
"align": "left",
"headerAlign": "left",
"colfixed": "false",
"type": "Tag",
"tagType": "info",
"imgType": "cover",
"filter": true,
"multipleFilter": true,
"showOverflowTooltip": true,
"key": "38bdec15-07f8-4af0-926b-435d3823d86d"
"showOverflowTooltip": false,
"key": "38bdec15-07f8-4af0-926b-435d3823d86d",
"UIPermissions": [
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
}
]
}
],
"showActionButtons": true,
"actionButtons": [
{
"$type": "ElementUI.ActionButton, ElementUI",
"UIPermissions": [
{
"Scope": 2,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
}
],
"type": "button",
"Name": "详情",
"styleType": "Accent 1 0",
@@ -1021,7 +1214,7 @@
}
}
],
"ID": "561a2838-914f-4741-a639-79245c132402"
"ID": "51791c2a-bfc5-4d26-a68c-c71fa775d6ea"
}
]
}
@@ -1041,6 +1234,20 @@
},
{
"$type": "ElementUI.ActionButton, ElementUI",
"UIPermissions": [
{
"Scope": 2,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
}
],
"type": "button",
"Name": "删除",
"styleType": "Accent 5",
@@ -1049,19 +1256,186 @@
"$type": "GrapeCity.Forguncy.Commands.CustomCommandObject, Forguncy.Commands",
"Commands": [
{
"$type": "SetCurrentRowCommand.SetCurrentRowCommand, SetCurrentRowCommand",
"CurrentRowInfo": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "客户表",
"ColumnName": "ID",
"GUID": "fc1c30de-7b67-4ecc-a387-2703694f36c2"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=客户管理!行数据.ID"
"$type": "ElementUI.Commands.ShowMessageBox, ElementUI",
"Title": "标题",
"Message": "是否删除该客户?",
"Type": "warning",
"ConfirmButtonText": "确定",
"ShowCancelButton": true,
"CancelButtonText": "取消",
"ShowClose": false,
"DialogResult": "按钮结果",
"AdvancedSettings": {}
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=按钮结果"
}
]
},
"value": "confrim"
},
"CommandList": [
{
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
"Title": "加载中"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "项目数量",
"TableValue": {
"TableName": "项目表",
"TableValueType": 3,
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目表",
"ColumnName": "所属客户",
"GUID": "2ca00b1a-94aa-4668-9f03-c115f720f746"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=客户管理!行数据.ID"
}
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "87d10f3d78504c60b6cdd1818f9c3e85"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=项目数量"
}
]
},
"value": "0"
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "客户表",
"UpdateType": "delete",
"ShowConfirm": false,
"ReloadAfterSucceed": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "客户表",
"ColumnName": "ID",
"GUID": "0df6010f-d1eb-4f9a-9cce-20c32fb08b0d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=客户管理!行数据.ID"
}
},
"NextUpdateDataTableCommand": {
"TableName": "客户部门表",
"UpdateType": "delete",
"ShowConfirm": false,
"ReloadAfterSucceed": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "客户部门表",
"ColumnName": "ID",
"GUID": "fa576f7b-ecd7-4263-9fc2-0085cadd075c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=客户管理!行数据.ID"
}
}
}
},
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"Message": "已删除成功"
}
],
"ID": "c1f73417-6446-4f8f-8bc9-f17ff56f556d"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "客户表",
"ShowConfirm": false,
"CheckDataValidation": false,
"ReloadAfterSucceed": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "客户表",
"ColumnName": "ID",
"GUID": "0df6010f-d1eb-4f9a-9cce-20c32fb08b0d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=客户管理!行数据.ID"
}
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "客户表",
"ColumnName": "删除",
"GUID": "e28fc907-efdc-4c1f-bfd1-53b183e17276"
},
"Value": "1"
}
]
},
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"Message": "已设置为删除标记(因有项目已经使用)"
}
],
"ID": "c8c9efed-b002-4b23-9738-a60343b8ea6f"
}
]
},
{
"$type": "Forguncy.Model.OperateCellTypeCommand, ServerDesignerCommon",
"TargetPageElement": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=客户管理!B11"
},
"TargetType": "ElementUI.TableCellType, ElementUI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e50995ee76bfe560",
"MethodName": "ResetTable",
"ParameterValues": {
"clearSort": true,
"clearFilter": true
}
},
{
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
"FunctionName": "remove",
"Title": "加载中"
}
],
"ID": "5f2e9a6f-9f4d-4d30-95a7-ddb4117b2eac"
}
}
]
}
],
"ParamProperties": {
@@ -1413,7 +1787,6 @@
"1,31,26,10",
"7,1,1,2",
"7,4,1,2",
"5,4,1,11",
"5,16,1,3",
"30,1,1,4",
"3,1,1,2",
@@ -1422,7 +1795,8 @@
"1,18,1,12",
"5,19,1,10",
"28,1,1,29",
"3,4,1,26"
"3,4,1,26",
"5,4,1,11"
],
"PageInfo": {
"$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon",
@@ -1466,4 +1840,4 @@
"Formula": "客户管理!$B$31"
}
]
}//yXnG9qp/u1341l7mFxLUUBZhGMU2NJpG43pns0qRFSLxXclZxoytENUE/VT1rxbwsTf0P8CXr7oR5pA7j5+CrhZh2saMwfSdVaV2GTV7xkj6ScwTsTJ+UOUBpCJmxLOWd8fMIhTRxOi0yAvVGh5XkWEROwr9Cscvg9n229A3YLkxAgvibxwhKrL78mcOr194FS+6P3cj8AweHDhQONpkCkRdIzs06Yb31zyvLERnO/pBYXeF2ubsPb4Ya+C6rCK1CS4HlO7bfPPKzDYxynAY9WSf7to9fNK4mwkcodiCyJK3Y2pznlWYIuViS1TLJsrPmm1B+a+MxSrNc8TlzS+/mcMTv1b1dKFmazBxkHWeZBehEld3yMCRc8gHjFgoK/e5L7R04GMouSf2dCek1sWmZo/aOHJUQgKM03ml/JrpeckuadwZO4CqgY62sSF30bdy7EEb7mA7LfJaFHV/rVdhW8fHSzttiKIzFoDA5Hkq5Wb/LU1g51A3z/Mho2hLwuedyQGSw5E9P6sO6ys0iYw8C+xR9qBJABtVRN0thTyV3LghkqzXVNzObdT9X0b3DVIVPr8iGAe8h+VOvOxR4h0NG6Ef6BQZ0v+ebLIlJWzzitIp/5n2tH7d1oUSpmKrCLNCce+xQgiVEzBTrIjUPTe6fQVCT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