429 lines
16 KiB
JSON
429 lines
16 KiB
JSON
{
|
|
"Name": "任务工时表",
|
|
"ShowBuiltInFields": true,
|
|
"PermissionData": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.DataPermissionData, Forguncy.RbacPermission.Core",
|
|
"permissionResource": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.DataPermissionResource, Forguncy.RbacPermission.Core",
|
|
"enabledTypes": 2,
|
|
"isExternal": true,
|
|
"detailTables": []
|
|
},
|
|
"permissionBindings": [
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.DataPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"config": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.RowBindingConfig, Forguncy.RbacPermission.Core",
|
|
"operationTypes": 13,
|
|
"dataFilter": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.RowFilter, Forguncy.RbacPermission.Core"
|
|
}
|
|
},
|
|
"dataPermissionType": 2,
|
|
"roleNames": [
|
|
"Administrator",
|
|
"财务",
|
|
"客服总监",
|
|
"商务总监",
|
|
"项目总监"
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.DataPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"config": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.RowBindingConfig, Forguncy.RbacPermission.Core",
|
|
"operationTypes": 13,
|
|
"dataFilter": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.RowFilter, Forguncy.RbacPermission.Core",
|
|
"userFieldName": "执行人",
|
|
"filterType": 4,
|
|
"condition": {
|
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
|
"SubConditions": [
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "执行人",
|
|
"GUID": "080ff6d7-1f57-4264-9fc3-578ad59cca9c"
|
|
},
|
|
"Value": "%CurrentUser.UserName%"
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess",
|
|
"CompareType": 6,
|
|
"ColumnBindingInfo": {
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "执行人",
|
|
"GUID": "421d1ff1-a216-4483-bdfc-09c9147f5729",
|
|
"AttachType": {
|
|
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
|
|
"UserColumnAttachType": 8
|
|
}
|
|
},
|
|
"Value": "%CurrentUser.UserName%"
|
|
}
|
|
],
|
|
"RelationType": 1
|
|
}
|
|
}
|
|
},
|
|
"dataPermissionType": 2,
|
|
"roleNames": [
|
|
"FGC_LoginUser"
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.DataPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"config": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.RowBindingConfig, Forguncy.RbacPermission.Core",
|
|
"operationTypes": 1,
|
|
"dataFilter": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.RowFilter, Forguncy.RbacPermission.Core",
|
|
"userFieldName": "执行人"
|
|
}
|
|
},
|
|
"dataPermissionType": 2,
|
|
"roleNames": [
|
|
"FGC_LoginUser"
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.DataPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"config": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.CreateRecordBindingConfig, Forguncy.RbacPermission.Core",
|
|
"dataFilter": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.CreateRecordFilter, Forguncy.RbacPermission.Core"
|
|
}
|
|
},
|
|
"dataPermissionType": 1,
|
|
"roleNames": [
|
|
"FGC_LoginUser"
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.DataPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"config": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.FieldBindingConfig, Forguncy.RbacPermission.Core",
|
|
"fieldOperations": {
|
|
"ID": 1,
|
|
"上报工时": 5,
|
|
"任务ID": 5,
|
|
"工时": 5,
|
|
"工时日期": 5,
|
|
"工时类型": 5,
|
|
"平均时薪": 5,
|
|
"总工时": 5,
|
|
"执行人": 5,
|
|
"执行内容": 5,
|
|
"提成系数": 5,
|
|
"收益求和": 5,
|
|
"日期文本": 5,
|
|
"时薪单价": 5,
|
|
"时薪来源": 5,
|
|
"结算状态": 5,
|
|
"行数": 5,
|
|
"请款单ID": 5,
|
|
"项目ID": 5,
|
|
"预算收益": 5
|
|
},
|
|
"subTableOperations": {},
|
|
"dataFilter": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.FieldFilter, Forguncy.RbacPermission.Core"
|
|
}
|
|
},
|
|
"dataPermissionType": 4,
|
|
"roleNames": [
|
|
"Administrator"
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.DataPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"config": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.FieldBindingConfig, Forguncy.RbacPermission.Core",
|
|
"fieldOperations": {
|
|
"ID": 1,
|
|
"上报工时": 5,
|
|
"任务ID": 5,
|
|
"工时": 5,
|
|
"工时日期": 5,
|
|
"工时类型": 5,
|
|
"平均时薪": 5,
|
|
"总工时": 5,
|
|
"执行人": 5,
|
|
"执行内容": 5,
|
|
"提成系数": 5,
|
|
"收益求和": 5,
|
|
"日期文本": 5,
|
|
"时薪单价": 5,
|
|
"时薪来源": 5,
|
|
"结算状态": 5,
|
|
"行数": 5,
|
|
"请款单ID": 5,
|
|
"项目ID": 5,
|
|
"预算收益": 5
|
|
},
|
|
"subTableOperations": {},
|
|
"dataFilter": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.FieldFilter, Forguncy.RbacPermission.Core"
|
|
}
|
|
},
|
|
"dataPermissionType": 4,
|
|
"roleNames": [
|
|
"FGC_LoginUser"
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.DataPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"config": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.FieldBindingConfig, Forguncy.RbacPermission.Core",
|
|
"fieldOperations": {
|
|
"ID": 1,
|
|
"上报工时": 5,
|
|
"任务ID": 5,
|
|
"工时": 5,
|
|
"工时日期": 5,
|
|
"工时类型": 5,
|
|
"平均时薪": 5,
|
|
"总工时": 5,
|
|
"执行人": 5,
|
|
"执行内容": 5,
|
|
"提成系数": 5,
|
|
"收益求和": 5,
|
|
"日期文本": 5,
|
|
"时薪单价": 5,
|
|
"时薪来源": 5,
|
|
"结算状态": 5,
|
|
"行数": 5,
|
|
"请款单ID": 5,
|
|
"项目ID": 5,
|
|
"预算收益": 5
|
|
},
|
|
"subTableOperations": {},
|
|
"dataFilter": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.FieldFilter, Forguncy.RbacPermission.Core"
|
|
}
|
|
},
|
|
"dataPermissionType": 4,
|
|
"roleNames": [
|
|
"FGC_Anonymous"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Columns": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"Required": true,
|
|
"Unique": true,
|
|
"AutoIncrement": true,
|
|
"DatabaseColumnType": "bigint",
|
|
"MaxLength": -1,
|
|
"Name": "ID",
|
|
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"DatabaseColumnType": "bigint",
|
|
"MaxLength": -1,
|
|
"Name": "项目ID",
|
|
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"DatabaseColumnType": "bigint",
|
|
"MaxLength": -1,
|
|
"Name": "任务ID",
|
|
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"DatabaseColumnType": "datetime",
|
|
"MaxLength": -1,
|
|
"Name": "工时日期",
|
|
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"DatabaseColumnType": "nvarchar",
|
|
"MaxLength": -1,
|
|
"Name": "工时类型",
|
|
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.UserBindingColumnSaveData, ServerDesignerCommon",
|
|
"DatabaseColumnType": "nvarchar",
|
|
"MaxLength": -1,
|
|
"Name": "执行人",
|
|
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"DatabaseColumnType": "nvarchar",
|
|
"MaxLength": -1,
|
|
"Name": "执行内容",
|
|
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"DatabaseColumnType": "nvarchar",
|
|
"MaxLength": -1,
|
|
"Name": "时薪来源",
|
|
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"DatabaseColumnType": "float",
|
|
"MaxLength": -1,
|
|
"Name": "工时",
|
|
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
|
|
"Comment": "实际核定的工时\r\n"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"DatabaseColumnType": "float",
|
|
"MaxLength": -1,
|
|
"Name": "上报工时",
|
|
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"DatabaseColumnType": "float",
|
|
"MaxLength": -1,
|
|
"Name": "时薪单价",
|
|
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"DatabaseColumnType": "float",
|
|
"MaxLength": -1,
|
|
"Name": "提成系数",
|
|
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"DefaultValue": 0,
|
|
"DatabaseColumnType": "bigint",
|
|
"MaxLength": -1,
|
|
"Name": "结算状态",
|
|
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"DatabaseColumnType": "bigint",
|
|
"MaxLength": -1,
|
|
"Name": "请款单ID",
|
|
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.StatisticColumnSaveData, ServerDesignerCommon",
|
|
"AggregateFunction": 4,
|
|
"DataColumnName": "工时",
|
|
"Name": "总工时",
|
|
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.StatisticColumnSaveData, ServerDesignerCommon",
|
|
"DataColumnName": "时薪单价",
|
|
"Name": "平均时薪",
|
|
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.FormulaColumnSaveData, ServerDesignerCommon",
|
|
"Formula": "[时薪单价]*[提成系数]*[工时]",
|
|
"Name": "预算收益",
|
|
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.StatisticColumnSaveData, ServerDesignerCommon",
|
|
"BindingInfo": {
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "ID",
|
|
"GUID": "0715a5f1-9996-4ab6-9938-97788f3c0581"
|
|
},
|
|
"AggregateFunction": 1,
|
|
"DataColumnName": "ID",
|
|
"Name": "行数",
|
|
"ColumnType": "System.Int32, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.StatisticColumnSaveData, ServerDesignerCommon",
|
|
"BindingInfo": {
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "预算收益",
|
|
"GUID": "89bcd620-d57c-4587-a53f-37447e4e2e06"
|
|
},
|
|
"AggregateFunction": 4,
|
|
"DataColumnName": "预算收益",
|
|
"Name": "收益求和",
|
|
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.FormulaColumnSaveData, ServerDesignerCommon",
|
|
"Formula": "YEAR([工时日期])&\"-\"&MONTH([工时日期])&\"-\"&DAY([工时日期])",
|
|
"Name": "日期文本",
|
|
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.UserExtraBingingColumnSaveData, ServerDesignerCommon",
|
|
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
|
|
"Name": "FGC_Creator"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.DateExtraBingingColumnSaveData, ServerDesignerCommon",
|
|
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
|
|
"Name": "FGC_CreateDate"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.UserExtraBingingColumnSaveData, ServerDesignerCommon",
|
|
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
|
|
"Name": "FGC_LastModifier"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.DateExtraBingingColumnSaveData, ServerDesignerCommon",
|
|
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
|
|
"Name": "FGC_LastModifyDate"
|
|
}
|
|
],
|
|
"ExternalDatabaseInfo": {
|
|
"DataBaseType": "6db454c0-531c-4395-9122-921a18942902",
|
|
"AllowModifySchema": true,
|
|
"ConnectionId": "业务表",
|
|
"SourceTableName": "任务工时表",
|
|
"SourceTableSchema": "dbo"
|
|
},
|
|
"PrimaryKey": [
|
|
"ID"
|
|
],
|
|
"Relations": [
|
|
{
|
|
"PrimaryTable": "项目表",
|
|
"PrimaryColumn": "ID",
|
|
"ForeignTable": "任务工时表",
|
|
"ForeignColumn": "项目ID",
|
|
"IsDetailTableRelation": true
|
|
},
|
|
{
|
|
"PrimaryTable": "任务平行视图",
|
|
"PrimaryColumn": "ID",
|
|
"ForeignTable": "任务工时表",
|
|
"ForeignColumn": "任务ID",
|
|
"IsDetailTableRelation": true
|
|
},
|
|
{
|
|
"PrimaryTable": "收益请款单表",
|
|
"PrimaryColumn": "ID",
|
|
"ForeignTable": "任务工时表",
|
|
"ForeignColumn": "请款单ID",
|
|
"IsDetailTableRelation": true
|
|
},
|
|
{
|
|
"PrimaryTable": "工时结算状态",
|
|
"PrimaryColumn": "状态码",
|
|
"ForeignTable": "任务工时表",
|
|
"ForeignColumn": "结算状态",
|
|
"IsDetailTableRelation": true
|
|
}
|
|
],
|
|
"Indexes": []
|
|
} |