You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
374 lines
10 KiB
374 lines
10 KiB
4 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Web;
|
||
|
using System.Web.Mvc;
|
||
|
using System.Web.Mvc.Html;
|
||
|
using QMAPP.Web;
|
||
|
using QMFrameWork.WebUI;
|
||
|
using QMFrameWork.WebUI.Attribute;
|
||
|
|
||
|
namespace QMAPP.Web.Models.Sys
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 支持交互问题类型模型
|
||
|
/// 创建者:韩磊
|
||
|
/// 创建日期:2014.12.22
|
||
|
/// </summary>
|
||
|
public class SupportInteractionModel : QDGModel
|
||
|
{
|
||
|
public SupportInteractionModel()
|
||
|
{
|
||
|
this.propertyParameter = new Dictionary<string, string>();
|
||
|
this.propertyParameter.Add("onClickCell", "function (rowIndex, field, value) { return ViewDealList(rowIndex, field, value); } ");
|
||
|
}
|
||
|
|
||
|
#region 业务逻辑表属性
|
||
|
|
||
|
/// <summary>
|
||
|
/// 主键
|
||
|
/// </summary>
|
||
|
[Description("主键")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
||
|
[InputType(inputType.hidden)]
|
||
|
[DGColumn(Hidden = true, PrimaryKey = true)]
|
||
|
public string PID { get; set; }
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
/// 问题编号
|
||
|
/// </summary>
|
||
|
[Description("问题编号")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50, required = true)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(Hidden = false,frozenColumns=true, Sortable = true, Width = 100,Linked=true, DataAlign = DataAlign.left)]
|
||
|
public Int32 PSequ
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 问题类型
|
||
|
/// </summary>
|
||
|
[Description("问题类型")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50, required = true)]
|
||
|
[InputType(inputType.combobox)]
|
||
|
public string PType
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 问题类型名称
|
||
|
/// </summary>
|
||
|
[Description("问题类型")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50, required = true)]
|
||
|
[InputType(inputType.combobox)]
|
||
|
[DGColumn(Hidden = false, frozenColumns = true, Sortable = true, Width = 150, DataAlign = DataAlign.left)]
|
||
|
public string PTypeName
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 问题描述
|
||
|
/// </summary>
|
||
|
[Description("问题描述")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50, required = true, Width = 480,Height=90)]
|
||
|
[InputType(inputType.textArea)]
|
||
|
[DGColumn(Hidden = false, Sortable = true, Width = 150, DataAlign = DataAlign.left)]
|
||
|
public string PDesp
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
/// 是否提交
|
||
|
/// </summary>
|
||
|
[Description("是否提交")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50, required = true)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(Hidden = true, Sortable = true, Width = 150, DataAlign = DataAlign.left)]
|
||
|
public string SubmitFlag
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 处理方法
|
||
|
/// </summary>
|
||
|
[Description("处理方法")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50, Width = 480, Height = 90)]
|
||
|
[InputType(inputType.textArea)]
|
||
|
[DGColumn(Hidden = false, Sortable = true, Width = 150, DataAlign = DataAlign.left)]
|
||
|
public string Solve
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
/// 处理机构
|
||
|
/// </summary>
|
||
|
[Description("处理机构")]
|
||
|
[HTMLInput(UpdateRead = false,required=true, MaxLength = 50, JsonUtl = "/User/GetOrgaList", multiple = false, Width = 155)]
|
||
|
[InputType(inputType.combobox)]
|
||
|
public string SDept
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 处理机构
|
||
|
/// </summary>
|
||
|
[Description("处理机构")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50, required = true, Width = 155)]
|
||
|
[InputType(inputType.combobox)]
|
||
|
[DGColumn(Hidden = false, Sortable = true, Width = 150, DataAlign = DataAlign.left)]
|
||
|
public string SOrgaDesc { get; set; }
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
/// 处理人员
|
||
|
/// </summary>
|
||
|
[Description("处理人员")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50)]
|
||
|
[InputType(inputType.combobox)]
|
||
|
public string SUser
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 处理人员姓名
|
||
|
/// </summary>
|
||
|
[Description("处理人员")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 100, Width = 155)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(Hidden = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
||
|
public string SUserName { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
///处理天数
|
||
|
/// </summary>
|
||
|
[Description("处理天数")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(Hidden = false, Sortable = true, Width = 60, DataAlign = DataAlign.right)]
|
||
|
public decimal SDays
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
///是否有参照处理方法
|
||
|
/// </summary>
|
||
|
[Description("是否有参照处理方法")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
public string IsRefer
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
///参照处理方法
|
||
|
/// </summary>
|
||
|
[Description("参照处理方法")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50, Width = 480, Height = 90)]
|
||
|
[InputType(inputType.textArea)]
|
||
|
public string Refer
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
///解决关闭标识
|
||
|
/// </summary>
|
||
|
[Description("解决关闭标识")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(Hidden = true, Sortable = true, Width = 200, DataAlign = DataAlign.left)]
|
||
|
public string Ecind
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
///未解决关闭标识
|
||
|
/// </summary>
|
||
|
[Description("未解决关闭标识")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(Hidden = true, Sortable = true, Width = 200, DataAlign = DataAlign.left)]
|
||
|
public string Ncind
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
///关闭日期
|
||
|
/// </summary>
|
||
|
[Description("关闭日期")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50)]
|
||
|
[InputType(inputType.datebox)]
|
||
|
[DGColumn(Hidden = true, Sortable = true, Width = 200, DataAlign = DataAlign.left)]
|
||
|
public DateTime CDate
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
///删除标识
|
||
|
/// </summary>
|
||
|
[Description("删除标识")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
public string FlgDel
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
///删除日期
|
||
|
/// </summary>
|
||
|
[Description("删除日期")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
public DateTime Deldate
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
///附件名称
|
||
|
/// </summary>
|
||
|
[Description("附件名称")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
public string AttachFileName
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
///附件
|
||
|
/// </summary>
|
||
|
[Description("附件")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
public string AttachFile
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 问题处理记录
|
||
|
/// </summary>
|
||
|
[Description("处理记录")]
|
||
|
[DGColumn(Sortable = true, Width = 60, DataAlign = DataAlign.center, Linked = true)]
|
||
|
public string DealList
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 问题状态
|
||
|
/// </summary>
|
||
|
[Description("问题状态")]
|
||
|
[HTMLInput(UpdateRead = false, JsonUtl = "/SupportInteraction/GetPStatusList", required = true, MaxLength = 50)]
|
||
|
[InputType(inputType.combobox)]
|
||
|
[DGColumn(Hidden = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
||
|
public string PStatus { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
///搜索关键字
|
||
|
/// </summary>
|
||
|
[Description("搜索关键字")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
||
|
public string Shkey
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 创建人
|
||
|
/// </summary>
|
||
|
[Description("创建人")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50, required = true)]
|
||
|
[InputType(inputType.hidden)]
|
||
|
public string CreateUser
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 创建姓名
|
||
|
/// </summary>
|
||
|
[Description("创建人")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50, required = true)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
||
|
public string CUserName
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
/// 创建日期
|
||
|
/// </summary>
|
||
|
[Description("创建日期")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 50, required = true)]
|
||
|
[InputType(inputType.hidden)]
|
||
|
[DGColumn(Sortable = true, Width = 200, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
|
||
|
public DateTime CreateDate
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
#endregion
|
||
|
|
||
|
#region 非业务表属性
|
||
|
|
||
|
/// <summary>
|
||
|
///是否有参照处理方法
|
||
|
/// </summary>
|
||
|
public bool IsReferMethod
|
||
|
{
|
||
|
get;
|
||
|
set;
|
||
|
}
|
||
|
|
||
|
#endregion
|
||
|
}
|
||
|
}
|