• 常用


    DECLARE @pt_retstatus INT
    DECLARE @pt_retvalue VARCHAR(200)

    execute App_System_spMakeExecuteInfo 'TrainErp_Financial_DailyRB',@pt_retstatus output,@pt_retvalue output
    print '=============================================华丽的分割线======================================================='
    execute App_System_spMakeQueryInfo 'TrainErp_vDailyRB','DailyRBCode', 'DailyRBId','wf006'



    --按钮
    @Html.ExButton("btnSure","确 定","positive")

    --列表查询
    @Html.ExButton("btnQuery","查 询","QueryFilter")


    @Html.ExInput("ClassroomConfigCode", DbService.DtV(curMainDataTable, "ClassroomConfigCode"),"w200px")  
    @Html.ExInputValid1("ClassroomConfigCode", DbService.DtV(curMainDataTable, "ClassroomConfigCode"),"w200px")   

    --隐藏域
    @Html.ExHidden("CreateUserCode", sysLoginInfo.User.UserCode)
    @Html.ExHidden("ModifyUserCode", sysLoginInfo.User.UserCode)
    @Html.ExHidden("DoCmd", sysDoCmd)

    --文本下拉框
    @Html.ExSelect("f_AllotStatus", "", "w100px", "--请选择--|未分配|已分配", "|0|1")
    @Html.ExSelect("Sex", DbService.DtV(curMainDataTable, "Sex"), "w100px", "--请选择--|男|女", "|0|1")
    --下拉框数据源
    @Html.ExDataTableSelect("f_PostCode","","w100px",curDtJobs,"JobsName", "JobsCode")

    --树状部门框
    @Html.ExDataTableSelectTree("ParentCode", DbService.DtV(curMainDataTable, "ParentCode"), "w200px", curDtClass, "DepartmentsName", "DepartmentsCode","ParentCode","","","root")

    @Html.ExValidInfo()  

    --菜单按钮权限判断
    if (AppService.CheckRoleModuleParam(sysRoleModuleParamList, "add", "1", ref sysRoleModuleParam))
                    {
                        @Html.ExButton(sysRoleModuleParam.ParamCode,sysRoleModuleParam.ModuleParam.ParamName,sysRoleModuleParam.ParamCode)
                    }

    --校区下拉框
    @Html.ExDataTableSelect("f_SchoolCode", "", "w100px", dtSchool, "SchoolName", "SchoolCode")

    --日期
    @Html.ExDateTime("Born",DbService.DtV(curMainDataTable, "Born"),"","dateFmt: 'yyyy-MM-dd'")

    @Html.ExButton("btnsave","保 存","save")
    @Html.ExButton("btnReturnList","返回列表","btnReturnList")

    @Html.ExButton("btnListRfresh","刷 新","ListRfresh")

    --编辑器
    @Html.ExCkEditor("Remark",DbService.DtV(curMainDataTable,"Remark"),"", 60, 8)

    --TextArea
    @Html.ExTextArea("Address", DbService.DtV(curMainDataTable, "Address"),"",4, 60)

    --数据字典选择
    @Html.ExDataTableSelect("ContractType",DbService.DtV(curMainDataTable, "ContractType"),"w100px",curDtSysConfigItems,"SysConfigItemsName", "SysConfigItemsCode")

    --上传
    @Html.ExInput("FileName", DbService.DtV(curMainDataTable, "FileName"), "")
    @Html.ExUploadButton("btnUpload","FileName","btnUpload w100px","/manage/upload/doupload")


    --表头信息

                <tr>
                <th class="w40px">选择</th>
                <th class="w80px">许可编号</th>
            <th class="w80px">商户名称</th>
                <th class="w80px">合同编号</th>
    <th class="w80px">施工单位</th>
    <th class="w80px">操作</th>
               </tr>
    --列表格式化
    {{
            {{each rows as record i}}
            <tr>
                <td><input type="checkbox" name="gridSel" value="{{record.PermitCode}}"/></td>
            <td>{{record.PermitCode}}</td>
            <td>{{record.BusinessName}}</td>
            <td>{{record.ContractCode}}</td>
    <td>{{record.ConstructionUnit}}</td>
    <td>
    <a href="/manage/app/LoadAppModule?ModuleCode=Permit&PermitCode={{record.PermitCode}}" target="打印安全书" style="color: #1e90ff" ">【打印施工许可证】</a>
    </td>
            </tr>
            {{/each}}
            }}


     {{
            {{each rows as record i}}
            <tr>
                <td><input type="checkbox" name="gridSel" v="{{record.HouseAddress}}" value="{{record.ContractCode}}"  datastep="{{record.Step}}" /></td>
                <td style="font-weight: bold;color: #00bfff;" class="select" data="{{record.ContractCode}}">{{record.ContractCode}}</td>        
                <td>{{record.OldContractCode}}</td>
               <td>{{record.CustomerName}}</td>
               <td>{{record.HouseAddress}}</td>
               <td>{{record.StartDate | dateFormat:'yyyy-MM-dd'}}</td>
               <td>{{record.EndDate | dateFormat:'yyyy-MM-dd'}}</td>
               <td>{{record.Statuss}}</td>
               <td>{{record.AuditStatuss}}</td>
               <td  >
               <a href="/manage/app/LoadAppModule?ModuleCode=ShopContract&data={{record.ContractCode}}" target="合同预览打印"  style="color: #1e90ff" class="sc" datasc="{{record.AuditStatus}}">【合同预览打印】</a>
               <a href="/manage/app/LoadAppModule?ModuleCode=Safety&data={{record.ContractCode}}" target="打印安全书" style="color: #1e90ff" class="ss" datass="{{record.AuditStatus}}">【打印安全书】</a>
    <a href="/manage/app/LoadAppModule?ModuleCode=RentScheme&ContractCode={{record.ContractCode}}" style="color: #1e90ff" class="">【收费计划】</a>
               </td>
            </tr>
            {{/each}}
            }}
    --列表页时间
    <td>{{record.MeetingStarDate | dateFormat:'yyyy-MM-dd'}}</td>
    --列表页下载文件
    <td><a href="/Upload/{{record.PPT}}">{{record.PPT}}</a></td>

    --列表页显示图片
    <td><a href="/Upload/{{record.ModelPic}}" target="_blank"><img src="/Upload/{{record.ModelPic}}"  style="74px;height:28px;" border="0" /></a></td>

    --选择单个人员(调用的是UserSelect)
     @Html.ExInputButtonDialog("ReceiveUserCode", DbService.DtV(curMainDataTable, "ReceiveUserCode"), DbService.DtV(curMainDataTable, "ReceiveUserName"), "w300px", AppService.GetAppModuleUrlForHxbx("UserSelect",""))


    --选择多个人员(调用的是UsersSelect)
     @Html.ExInputButtonDialog("ReceiveUserCode", DbService.DtV(curMainDataTable, "ReceiveUserCode"), DbService.DtV(curMainDataTable, "ReceiveUserName"), "w300px", AppService.GetAppModuleUrlForHxbx("UsersSelect",""))

    --机构
    @Html.ExInputButtonDialog("SchoolCode", DbService.DtV(curMainDataTable, "SchoolCode"), DbService.DtV(curMainDataTable, "SchoolName"), "w200px", AppService.GetAppModuleUrl("OrgSelect2",""))

    --岗位

    @Html.ExInputButtonDialog("PostCode", DbService.DtV(curMainDataTable, "PostCode"), DbService.DtV(curMainDataTable, "PostName"), "w80px", AppService.GetAppModuleUrl("PostSelect",""))

    --机构单选
    @Html.ExInputButtonDialog("DealOrgCode", DbService.DtV(curMainDataTable, "DealOrgCode"), DbService.DtV(curMainDataTable, "DealOrgName"), "w300px", AppService.GetAppModuleUrlForHxbx("OrgOnlySelect", ""))

    --机构包括部门多选
    @Html.ExInputButtonDialog("DeptCode", DbService.DtV(curMainDataTable, "DeptCode"), DbService.DtV(curMainDataTable, "OrgName"), "w200px", AppService.GetAppModuleUrl("OrgSelect", ""))
    --机构包括部门单选
    @Html.ExInputButtonDialog("DeptCode", DbService.DtV(curMainDataTable, "DeptCode"), DbService.DtV(curMainDataTable, "OrgName"), "w200px", AppService.GetAppModuleUrl("OrgSelect2", ""))


    --数据字典
    @Html.ExAppDicSelect("EducationalName", DbService.DtV(curMainDataTable, "EducationalName"), "input input-auto width200px", "Educational")

    --写死链接的地址
    /manage/app/LoadAppModule?ModuleCode=Building&data={{record.VillageCode}}


    --UM
    $.asB2BFormSetHidden("curForm", "SupplyDesc", UM.getEditor('SupplyDescs').getContent());

    @Html.ExUmEditor("SupplyDescs", DbService.DtV(curMainDataTable, "SupplyDesc"), "width100 height-250")
    @Html.ExHidden("SupplyDesc", DbService.DtV(curMainDataTable, "SupplyDesc"))
        

  • 相关阅读:
    对称二叉树
    显示图片路径问题
    爆炸的联赛模拟 8.24~8.25
    【Java基础总结】字符串
    pro、pre、test、dev环境
    开发环境、测试环境、预发布环境、生产环境的区别
    【IP】虚拟IP原理
    【版本】Spring Cloud 版本
    Zipkin
    【小笔记】小知识记录
  • 原文地址:https://www.cnblogs.com/howie/p/5001223.html
Copyright © 2020-2023  润新知