2151 lines
147 KiB
Plaintext
2151 lines
147 KiB
Plaintext
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master"
|
|
AutoEventWireup="true" CodeBehind="講師基本資料.aspx.cs" Inherits="Education.Forms.基本資料.講師基本資料" %>
|
|
<%@ Register Src="~/Forms/領據系統/付款設定.ascx" TagPrefix="uc1" TagName="PaymentSettings" %>
|
|
<%@ Register Assembly="WebLib" Namespace="WebLib" TagPrefix="weblib" %>
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
|
<script>
|
|
function show_hide_export_columns()
|
|
{
|
|
if ($("#<%=hfCanExport.ClientID%>").val() == "Y") {
|
|
if ($("#export_columns").hasClass("hide"))
|
|
$("#export_columns").removeClass("hide");
|
|
else
|
|
$("#export_columns").addClass("hide");
|
|
} else {
|
|
alert("您沒有匯出的權限");
|
|
}
|
|
}
|
|
|
|
function toggle_export_all(checked)
|
|
{
|
|
if (checked == true)
|
|
$("input[type=checkbox][id^=<%=cblExport.ClientID%>]").prop("checked", true);
|
|
else
|
|
$("input[type=checkbox][id^=<%=cblExport.ClientID%>]").prop("checked", false);
|
|
}
|
|
|
|
function toggle_keyword_all(checked)
|
|
{
|
|
if (checked == true)
|
|
$("input[type=checkbox][id^=<%=cbl關鍵字.ClientID%>]").prop("checked", true);
|
|
else
|
|
$("input[type=checkbox][id^=<%=cbl關鍵字.ClientID%>]").prop("checked", false);
|
|
}
|
|
|
|
function DeleteTeacherEval(evalid)
|
|
{
|
|
if (confirm("是否確定刪除此筆講師評鑑資料?"))
|
|
{
|
|
$.ajax({
|
|
type: "POST",
|
|
url: "<%= ResolveClientUrl("~/Forms/辦訓狀況/講師評鑑.aspx/DeleteOne") %>",
|
|
contentType: "application/json; charset=utf-8",
|
|
data: "{ id:\"" + evalid + "\"}",
|
|
dataType: "json",
|
|
success: function (response)
|
|
{
|
|
if (response && response.d)
|
|
{
|
|
__doPostBack("ctl00$__RefreshPage__", "");
|
|
}
|
|
},
|
|
error: function (error)
|
|
{
|
|
console.log(error)
|
|
}
|
|
});
|
|
}
|
|
}
|
|
|
|
</script>
|
|
<style>
|
|
.maxwidth400 {
|
|
max-width: 400px;
|
|
}
|
|
</style>
|
|
</asp:Content>
|
|
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
|
|
runat="server">
|
|
|
|
<asp:ObjectDataSource ID="dsGrid" runat="server"
|
|
OldValuesParameterFormatString="original_{0}"
|
|
EnablePaging="true"
|
|
SelectMethod="查詢作業"
|
|
SelectCountMethod="查詢作業Count"
|
|
TypeName="Education.DAC_講師"
|
|
OnSelecting="dsGrid_Selecting">
|
|
<SelectParameters>
|
|
<asp:Parameter DefaultValue="true" Name="noInputReturnAll" Type="Boolean" />
|
|
<asp:ControlParameter ControlID="txt講師姓名" Name="姓名"
|
|
PropertyName="Text" Type="String" />
|
|
<asp:ControlParameter ControlID="ddl講師地區" Name="地區"
|
|
PropertyName="SelectedValue" Type="String" DefaultValue="" />
|
|
<asp:ControlParameter ControlID="ddl授課專長領域Search" Name="授課專長領域"
|
|
PropertyName="SelectedValue" Type="String" />
|
|
<asp:ControlParameter ControlID="ddl講師學歷" Name="學歷"
|
|
PropertyName="SelectedValue" Type="String" />
|
|
<asp:Parameter Name="滿意度1" Type="Int32" DefaultValue="0" />
|
|
<asp:Parameter Name="滿意度2" Type="Int32" DefaultValue="0" />
|
|
<asp:ControlParameter ControlID="txt講師評鑑1" Name="講師評鑑1" PropertyName="Text"
|
|
Type="Int32" />
|
|
<asp:ControlParameter ControlID="txt講師評鑑2" Name="講師評鑑2" PropertyName="Text"
|
|
Type="Int32" />
|
|
<asp:ControlParameter ControlID="ddl合作狀態_search" Name="合作狀態" PropertyName="Text"
|
|
Type="String" />
|
|
<asp:ControlParameter ControlID="ddl推薦授課主題Search" Name="推薦授課主題"
|
|
PropertyName="SelectedValue" Type="String" />
|
|
<asp:ControlParameter ControlID="txt關鍵字" Name="關鍵字" PropertyName="Text"
|
|
Type="String" />
|
|
<asp:Parameter Name="關鍵字欄位" Type="String" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<asp:ObjectDataSource ID="dsForm" runat="server"
|
|
DataObjectTypeName="Education.講師" DeleteMethod="DeleteOne"
|
|
InsertMethod="InsertOne"
|
|
OldValuesParameterFormatString="original_{0}"
|
|
SelectMethod="SelectOne" TypeName="Education.DAC_講師"
|
|
UpdateMethod="UpdateOne" OnObjectCreating="dsForm_ObjectCreating">
|
|
<SelectParameters>
|
|
<asp:ControlParameter ControlID="GridView1" Name="編號"
|
|
PropertyName="SelectedValue" Type="Int32" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<asp:ObjectDataSource ID="ds學歷" runat="server"
|
|
OldValuesParameterFormatString="original_{0}"
|
|
SelectMethod="Get類別資料By大類ForDropDown" TypeName="Education.DAC_BCLS">
|
|
<SelectParameters>
|
|
<asp:Parameter DefaultValue="BPSNSTP" Name="大類" Type="String" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<asp:ObjectDataSource ID="ds授課區域" runat="server"
|
|
OldValuesParameterFormatString="original_{0}" SelectMethod="Get類別資料By大類ForList"
|
|
TypeName="Education.DAC_BCLS">
|
|
<SelectParameters>
|
|
<asp:Parameter DefaultValue="授課區域" Name="大類" Type="String" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<asp:ObjectDataSource ID="ds授課區域0" runat="server"
|
|
OldValuesParameterFormatString="original_{0}"
|
|
SelectMethod="Get類別資料By大類ForDropDown" TypeName="Education.DAC_BCLS">
|
|
<SelectParameters>
|
|
<asp:Parameter DefaultValue="授課區域" Name="大類" Type="String" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<asp:ObjectDataSource ID="ds片語合作狀態" runat="server"
|
|
TypeName="Education.DAC_片語" SelectMethod="SelectBy適用欄位">
|
|
<SelectParameters>
|
|
<asp:Parameter DefaultValue="合作狀態" Name="適用欄位" Type="String" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<asp:ObjectDataSource ID="ds片語合作方式" runat="server"
|
|
TypeName="Education.DAC_片語" SelectMethod="SelectBy適用欄位">
|
|
<SelectParameters>
|
|
<asp:Parameter DefaultValue="合作方式" Name="適用欄位" Type="String" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<asp:ObjectDataSource ID="ds片語證照資料" runat="server"
|
|
TypeName="Education.DAC_片語" SelectMethod="SelectBy適用欄位">
|
|
<SelectParameters>
|
|
<asp:Parameter DefaultValue="證照資料" Name="適用欄位" Type="String" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<asp:ObjectDataSource ID="ds片語異常標註" runat="server"
|
|
TypeName="Education.DAC_片語" SelectMethod="SelectBy適用欄位">
|
|
<SelectParameters>
|
|
<asp:Parameter DefaultValue="異常標註" Name="適用欄位" Type="String" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<asp:ObjectDataSource ID="ds片語講師來源" runat="server"
|
|
TypeName="Education.DAC_片語" SelectMethod="SelectBy適用欄位">
|
|
<SelectParameters>
|
|
<asp:Parameter DefaultValue="講師來源" Name="適用欄位" Type="String" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<asp:ObjectDataSource ID="ds片語推薦授課主題" runat="server"
|
|
TypeName="Education.DAC_片語" SelectMethod="SelectBy適用欄位">
|
|
<SelectParameters>
|
|
<asp:Parameter DefaultValue="推薦授課主題" Name="適用欄位" Type="String" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<asp:ObjectDataSource ID="ds片語授課專長領域" runat="server"
|
|
TypeName="Education.DAC_片語" SelectMethod="SelectBy適用欄位">
|
|
<SelectParameters>
|
|
<asp:Parameter DefaultValue="授課專長領域" Name="適用欄位" Type="String" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<asp:ObjectDataSource ID="ds片語推薦授課主題Search" runat="server"
|
|
TypeName="Education.DAC_片語" SelectMethod="SelectSearchBy適用欄位">
|
|
<SelectParameters>
|
|
<asp:Parameter DefaultValue="推薦授課主題" Name="適用欄位" Type="String" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<asp:ObjectDataSource ID="ds片語授課專長領域Search" runat="server"
|
|
TypeName="Education.DAC_片語" SelectMethod="SelectSearchBy適用欄位">
|
|
<SelectParameters>
|
|
<asp:Parameter DefaultValue="授課專長領域" Name="適用欄位" Type="String" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<asp:ObjectDataSource ID="ds講師合作狀態" runat="server"
|
|
TypeName="Education.DAC_講師" SelectMethod="Select講師合作狀態ForEdit">
|
|
</asp:ObjectDataSource>
|
|
|
|
<asp:LinkButton ID="btnTab1" runat="server"
|
|
CssClass="tabButtonSelected">講師資料查詢</asp:LinkButton>
|
|
<asp:LinkButton ID="btnTab2" runat="server"
|
|
CssClass="tabButton">講師資料處理</asp:LinkButton>
|
|
<asp:LinkButton ID="btnTab3" runat="server"
|
|
CssClass="tabButton">講師評鑑</asp:LinkButton>
|
|
<asp:LinkButton ID="btnTab4" runat="server"
|
|
CssClass="tabButton">帳戶/扣繳資料</asp:LinkButton>
|
|
|
|
<div style="border-top: solid 1px gray;">
|
|
<asp:MultiView ID="MultiView1" runat="server"
|
|
ActiveViewIndex="0">
|
|
<asp:View ID="View查詢" runat="server">
|
|
|
|
<table>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label3" runat="server" Text="講師姓名"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="3">
|
|
<asp:TextBox ID="txt講師姓名" runat="server" CssClass="inputFull"></asp:TextBox>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label19" runat="server" Text="授課地區"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="3">
|
|
<weblib:WDropDownList ID="ddl講師地區" runat="server" CssClass="inputFull"
|
|
DataSourceID="ds授課區域0" DataTextField="Name" DataValueField="Value">
|
|
</weblib:WDropDownList>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label21" runat="server" Text="授課專長領域"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="3">
|
|
<weblib:WDropDownList ID="ddl授課專長領域Search" runat="server" CssClass="inputFull"
|
|
DataSourceID="ds片語授課專長領域Search" DataTextField="Name" DataValueField="Value">
|
|
</weblib:WDropDownList>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label22" runat="server" Text="學歷"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="3">
|
|
<weblib:WDropDownList ID="ddl講師學歷" runat="server" CssClass="inputFull"
|
|
DataSourceID="ds學歷" DataTextField="Name" DataValueField="Value">
|
|
</weblib:WDropDownList>
|
|
</td>
|
|
</tr>
|
|
<%-- <tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label20" runat="server" Text="滿意度"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="3">
|
|
<asp:TextBox ID="txt講師滿意度1" runat="server" placeholder="最高100分"></asp:TextBox>
|
|
至
|
|
<asp:TextBox ID="txt講師滿意度2" runat="server" placeholder="最高100分"></asp:TextBox>
|
|
</td>
|
|
</tr>--%>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label11" runat="server" Text="合作狀態"></asp:Label>
|
|
</td>
|
|
<td class="datainput">
|
|
<weblib:WDropDownList ID="ddl合作狀態_search" runat="server" CssClass="inputFull"
|
|
DataSourceID="ds講師合作狀態" DataTextField="Name" DataValueField="Value">
|
|
<%-- <asp:ListItem Value="" Text="(請選擇)"></asp:ListItem>
|
|
<asp:ListItem Value="C" Text="收服務費"></asp:ListItem>
|
|
<asp:ListItem Value="F" Text="不收服務費"></asp:ListItem>
|
|
<asp:ListItem Value="X" Text="不合作"></asp:ListItem>
|
|
<asp:ListItem Value="B" Text="暫不排課"></asp:ListItem>--%>
|
|
</weblib:WDropDownList>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label13" runat="server" Text="講師評鑑(跟課)"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="3">
|
|
<asp:TextBox ID="txt講師評鑑1" runat="server" placeholder="最高100分"></asp:TextBox>
|
|
至
|
|
<asp:TextBox ID="txt講師評鑑2" runat="server" placeholder="最高100分"></asp:TextBox>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label15" runat="server" Text="推薦授課主題"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="3">
|
|
<weblib:WDropDownList ID="ddl推薦授課主題Search" runat="server" CssClass="inputFull"
|
|
DataSourceID="ds片語推薦授課主題Search" DataTextField="Name" DataValueField="Value">
|
|
</weblib:WDropDownList>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption" style="vertical-align:top; padding-top: 6px">
|
|
<asp:Label ID="Label12" runat="server" Text="關鍵字查詢"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="3">
|
|
<asp:TextBox ID="txt關鍵字" runat="server" CssClass="inputFull" placeholder="以空白分隔多個關鍵字,必須出現的關鍵字前方加上 "+" 號"></asp:TextBox><br/>
|
|
<button type="button" class="button gray60" onclick="toggle_keyword_all(true)">全選</button>
|
|
<button type="button" class="button gray60" onclick="toggle_keyword_all(false)">全不選</button>
|
|
<br />
|
|
<asp:CheckBoxList ID="cbl關鍵字" runat="server" RepeatLayout="Table" RepeatDirection="Horizontal" RepeatColumns="5">
|
|
<asp:ListItem Selected="True" Text="現職" Value="現職"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="學歷(學校)" Value="最高學歷學校"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="學歷(科系)" Value="最高學歷科系"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="授課專長領域" Value="授課專長領域"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="授課經歷概述" Value="授課經歷概述"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="重要經歷" Value="重要經歷"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="重要研究與著作" Value="重要研究與著作"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="合作狀態說明" Value="合作狀態說明"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="合作方式" Value="合作方式"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="證照資料" Value="證照資料"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="異常標註" Value="異常標註"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="講師來源" Value="講師來源"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="推薦授課主題" Value="推薦授課主題"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="居住地區" Value="居住地區"></asp:ListItem>
|
|
</asp:CheckBoxList>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="datainput" colspan="4">
|
|
<asp:LinkButton ID="btnSearch" runat="server" CssClass="button blue80"
|
|
OnClick="btnSearch_Click">查詢</asp:LinkButton>
|
|
<asp:LinkButton ID="btnClear" runat="server" CssClass="button orange80"
|
|
OnClick="btnClear_Click">清除</asp:LinkButton>
|
|
<button type="button" class="button gray80" onclick="show_hide_export_columns()">匯出</button>
|
|
<asp:HiddenField runat="server" ID="hfCanExport" Value="N" />
|
|
<br />
|
|
<asp:Label ID="lbMessage" runat="server" CssClass="ErrorMessage"
|
|
EnableViewState="False"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr class="hide" id="export_columns">
|
|
<td class="caption" style="vertical-align:top; padding-top: 6px" >
|
|
匯出欄位
|
|
</td>
|
|
<td colspan="3">
|
|
<button type="button" class="button gray60" onclick="toggle_export_all(true)">全選</button>
|
|
<button type="button" class="button gray60" onclick="toggle_export_all(false)">全不選</button>
|
|
<asp:LinkButton ID="btnExport" runat="server" CssClass="button purple120"
|
|
OnClick="btnExport_Click">匯出檔案</asp:LinkButton>
|
|
<asp:CheckBoxList ID="cblExport" runat="server" RepeatLayout="Table" RepeatDirection="Horizontal" RepeatColumns="5">
|
|
<asp:ListItem Selected="True" Text="姓名" Value="姓名"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="出生日期" Value="出生日期"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="性別" Value="性別"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="身份證字號" Value="身份證字號"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="電話" Value="電話"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="手機" Value="手機"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="電子郵件" Value="電子郵件"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="戶籍地址" Value="戶籍地址"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="居住地址" Value="居住地址"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="現職" Value="現職"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="最高學歷" Value="最高學歷"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="授課區域" Value="授課區域"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="授課專長領域" Value="授課專長領域"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="授課經歷概述" Value="授課經歷概述"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="重要經歷" Value="重要經歷"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="重要研究與著作" Value="重要研究與著作"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="合作狀態" Value="合作狀態"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="合作方式" Value="合作方式"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="證照資料" Value="證照資料"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="異常標註" Value="異常標註"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="講師來源" Value="講師來源"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="推薦授課主題" Value="推薦授課主題"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="TTQS滿意度" Value="TTQS滿意度"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="講師評鑑(跟課)" Value="講師評鑑(跟課)"></asp:ListItem>
|
|
<asp:ListItem Selected="True" Text="講師評鑑(學員)" Value="講師評鑑(學員)"></asp:ListItem>
|
|
</asp:CheckBoxList>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<asp:GridView ID="GridView1" runat="server"
|
|
AutoGenerateColumns="False" DataKeyNames="編號"
|
|
DataSourceID="dsGrid" EnableModelValidation="True"
|
|
AllowPaging="True" EnableViewState="True" Width="100%">
|
|
<Columns>
|
|
<asp:TemplateField HeaderText="編號" SortExpression="編號">
|
|
<ItemTemplate>
|
|
<asp:Label ID="lb編號" runat="server"
|
|
Text='<%# Bind("編號", "{0:0000}") %>'></asp:Label>
|
|
<asp:LinkButton ID="LinkButton1" runat="server"
|
|
CausesValidation="False" CommandName="Select" Text=""></asp:LinkButton>
|
|
</ItemTemplate>
|
|
<ItemStyle HorizontalAlign="Center" Width="3em" />
|
|
</asp:TemplateField>
|
|
<asp:BoundField DataField="姓名" HeaderText="姓名"
|
|
SortExpression="姓名">
|
|
<ItemStyle HorizontalAlign="Center" Width="5em" />
|
|
</asp:BoundField>
|
|
<asp:TemplateField HeaderText="合作狀態" SortExpression="合作狀態">
|
|
<ItemTemplate>
|
|
<%# Eval("合作狀態TXT") %>
|
|
</ItemTemplate>
|
|
<ItemStyle HorizontalAlign="Center" Width="5em" />
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="授課區域" SortExpression="授課區域">
|
|
<ItemTemplate>
|
|
<asp:Label ID="lb授課區域" runat="server" Text='<%# Eval("授課區域TXT") %>'></asp:Label>
|
|
</ItemTemplate>
|
|
<ItemStyle />
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="異常標註" SortExpression="異常標註" ItemStyle-HorizontalAlign="Center">
|
|
<ItemTemplate>
|
|
<%# !string.IsNullOrEmpty(Eval("異常標註", "{0}")) ? "★" : "" %>
|
|
</ItemTemplate>
|
|
<ItemStyle HorizontalAlign="Center" Width="5em" />
|
|
</asp:TemplateField>
|
|
<asp:BoundField DataField="現職" HeaderText="現職"
|
|
SortExpression="現職">
|
|
<ItemStyle />
|
|
</asp:BoundField>
|
|
<asp:TemplateField HeaderText="學歷" SortExpression="學歷">
|
|
<ItemTemplate>
|
|
<%# Eval("最高學歷TXT") %>
|
|
</ItemTemplate>
|
|
<ItemStyle Width="5em" />
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="講師評鑑(跟課)" SortExpression="講師評鑑" ItemStyle-HorizontalAlign="Center">
|
|
<ItemTemplate>
|
|
<%# Eval("講師評鑑", "{0:###.00;;-}") %>
|
|
</ItemTemplate>
|
|
<ItemStyle Width="7em" />
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="講師評鑑(學員)" SortExpression="學員滿意度" ItemStyle-HorizontalAlign="Center">
|
|
<ItemTemplate>
|
|
<%# Eval("學員滿意度", "{0:###.00;;-}") %>
|
|
</ItemTemplate>
|
|
<ItemStyle Width="7em" />
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="TTQS滿意度" SortExpression="平均滿意度" ItemStyle-HorizontalAlign="Center">
|
|
<ItemTemplate>
|
|
<%# Eval("平均滿意度", "{0:###.00;;-}") %>
|
|
</ItemTemplate>
|
|
<ItemStyle Width="7em" />
|
|
</asp:TemplateField>
|
|
<%--
|
|
<asp:BoundField DataField="出生日期"
|
|
DataFormatString="{0:yyyyMMdd}" HeaderText="出生日期"
|
|
SortExpression="出生日期">
|
|
<ItemStyle HorizontalAlign="Center" CssClass="minwidth80" />
|
|
</asp:BoundField>
|
|
<asp:TemplateField HeaderText="性別" SortExpression="性別">
|
|
<ItemTemplate>
|
|
<asp:Label ID="lb性別" runat="server"
|
|
Text='<%# Eval("性別", "{0}") == "M" ? "男" : "女" %>'></asp:Label>
|
|
</ItemTemplate>
|
|
<ItemStyle HorizontalAlign="Center" />
|
|
</asp:TemplateField>
|
|
<asp:BoundField DataField="身份證字號" HeaderText="身份證字號"
|
|
SortExpression="身份證字號" />
|
|
<asp:BoundField DataField="電話" HeaderText="電話"
|
|
SortExpression="電話" />
|
|
<asp:BoundField DataField="手機" HeaderText="手機"
|
|
SortExpression="手機" />
|
|
<asp:BoundField DataField="電子郵件" HeaderText="電子郵件"
|
|
SortExpression="電子郵件" />--%>
|
|
</Columns>
|
|
<PagerTemplate>
|
|
<weblib:GridViewPager ID="GridViewPager1" runat="server" />
|
|
</PagerTemplate>
|
|
</asp:GridView>
|
|
|
|
</asp:View>
|
|
|
|
<asp:View ID="View處理" runat="server">
|
|
<asp:FormView ID="FormView1" runat="server"
|
|
DataKeyNames="編號,DB_APPNO" DataSourceID="dsForm"
|
|
EnableModelValidation="True" EnableViewState="False"
|
|
OnItemCommand="FormView1_ItemCommand">
|
|
<ItemTemplate>
|
|
<div>
|
|
<asp:LinkButton ID="btnInsert" runat="server" Text="新增" CommandName="New"
|
|
CssClass="button blue80" />
|
|
<%--
|
|
<asp:LinkButton ID="btnInsert" runat="server" CssClass="button blue80"
|
|
OnClick="btnInsert_Click">新增</asp:LinkButton>--%>
|
|
<asp:LinkButton ID="btnUpdate" runat="server" Text="更正" CommandName="Edit"
|
|
CssClass="button green80" />
|
|
<asp:LinkButton ID="btnDelete" runat="server" Text="刪除" CommandName="Delete"
|
|
CssClass="button red80" OnClientClick="return confirm("是否確定刪除此筆資料?");" />
|
|
</div>
|
|
<table border="0" style="table-layout: fixed; float: left; max-width: 840px;">
|
|
<tr>
|
|
<td colspan="1" class="widthcontrol" style="max-width: 100px; min-width: 60px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="max-width: 180px; min-width: 100px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="max-width: 100px; min-width: 60px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="max-width: 180px; min-width: 100px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="max-width: 100px; min-width: 60px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="max-width: 180px; min-width: 100px;"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb編號Label" runat="server" Text="編號"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1">
|
|
<asp:Label ID="lb編號" runat="server" Text='<%# Bind("編號", "{0:0000}") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb姓名Label" runat="server" Text="姓名"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1">
|
|
<asp:Label ID="lb姓名" runat="server" Text='<%# Bind("姓名") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb出生日期Label" runat="server" Text="出生日期"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1">
|
|
<asp:Label ID="lb出生日期" runat="server" Text='<%# Eval("出生日期", "{0:yyyyMMdd}") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb性別Label" runat="server" Text="性別"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1">
|
|
<asp:Label ID="lb性別" runat="server" Text='<%# Eval("性別", "{0}") == "M" ? "男" : "女" %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb身份證字號Label" runat="server" Text="身份證字號"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1">
|
|
<asp:Label ID="lb身份證字號" runat="server" Text='<%# Bind("身份證字號") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb電話Label" runat="server" Text="電話"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1">
|
|
<asp:Label ID="lb電話" runat="server" Text='<%# Bind("電話") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb手機Label" runat="server" Text="手機"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1">
|
|
<asp:Label ID="lb手機" runat="server" Text='<%# Bind("手機") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb電子郵件Label" runat="server" Text="電子郵件"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="3">
|
|
<asp:Label ID="lb電子郵件" runat="server" Text='<%# Bind("電子郵件") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb戶籍地址Label" runat="server" Text="戶籍地址"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5">
|
|
<asp:Label ID="lb戶籍地址_郵編" runat="server" Text='<%# Bind("戶籍地址_郵編") %>'
|
|
CssClass="input"></asp:Label>
|
|
<asp:Label ID="lb戶籍地址_縣市" runat="server" Text='<%# Bind("戶籍地址_縣市") %>'
|
|
CssClass="input"></asp:Label>
|
|
<asp:Label ID="lb戶籍地址_鄉鎮市區" runat="server" Text='<%# Bind("戶籍地址_鄉鎮市區") %>'
|
|
CssClass="input"></asp:Label>
|
|
<asp:Label ID="lb戶籍地址_街道地址" runat="server" Text='<%# Bind("戶籍地址_街道地址") %>'
|
|
CssClass="input"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb居住地址Label" runat="server" Text="居住地址"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5">
|
|
<asp:Label ID="lb居住地址_郵編" runat="server" Text='<%# Bind("居住地址_郵編") %>'
|
|
CssClass="input"></asp:Label>
|
|
<asp:Label ID="lb居住地址_縣市" runat="server" Text='<%# Bind("居住地址_縣市") %>'
|
|
CssClass="input"></asp:Label>
|
|
<asp:Label ID="lb居住地址_鄉鎮市區" runat="server" Text='<%# Bind("居住地址_鄉鎮市區") %>'
|
|
CssClass="input"></asp:Label>
|
|
<asp:Label ID="lb居住地址_街道地址" runat="server" Text='<%# Bind("居住地址_街道地址") %>'
|
|
CssClass="input"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb現職Label" runat="server" Text="現職"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5">
|
|
<asp:Label ID="lb現職" runat="server" Text='<%# Bind("現職") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb學歷Label" runat="server" Text="學歷"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5">
|
|
<asp:Label ID="lb學歷" runat="server" CssClass="inputFull"
|
|
Text='<%# String.Format("[{0}] {1}{2}", Get類別名稱("BPSNSTP", Eval("最高學歷")), Eval("最高學歷學校"), Eval("最高學歷科系")) %>'></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb授課區域Label" runat="server" Text="授課區域"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5">
|
|
<asp:Label ID="lb授課區域" runat="server" CssClass="inputFull"
|
|
Text='<%# Eval("授課區域TXT") %>'></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb授課專長領域Label" runat="server" Text="授課專長領域"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5">
|
|
<asp:Label ID="lb授課專長領域" runat="server" Text='<%# Eval("授課專長領域", "{0}").Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label10" runat="server" Text="推薦授課主題"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5">
|
|
<asp:Label ID="lb推薦授課主題" runat="server" Text='<%# Eval("推薦授課主題", "{0}").Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb授課經歷概述Label" runat="server" Text="授課經歷概述"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5">
|
|
<asp:Label ID="lb授課經歷概述" runat="server" Text='<%# Eval("授課經歷概述", "{0}").Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb重要經歷Label" runat="server" Text="重要經歷"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5">
|
|
<asp:Label ID="lb重要經歷" runat="server" Text='<%# Eval("重要經歷", "{0}").Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb重要研究與著作Label" runat="server" Text="重要研究與著作"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5">
|
|
<asp:Label ID="lb重要研究與著作" runat="server" Text='<%# Eval("重要研究與著作", "{0}").Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label4" runat="server" Text="合作狀態"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5">
|
|
<asp:Label ID="lb合作狀態TXT" runat="server" Text='<%# Eval("合作狀態TXT", "{0}") %>'
|
|
CssClass="inputFull"></asp:Label><br />
|
|
<asp:Label ID="lb合作狀態說明" runat="server" Text='<%# Eval("合作狀態說明", "{0}").Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label5" runat="server" Text="合作方式"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5">
|
|
<asp:Label ID="lb合作方式" runat="server" Text='<%# Eval("合作方式", "{0}").Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label6" runat="server" Text="證照資料"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5">
|
|
<asp:Label ID="lb證照資料" runat="server" Text='<%# Eval("證照資料", "{0}").Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label7" runat="server" Text="異常標註"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5">
|
|
<asp:Label ID="lb異常標註" runat="server" Text='<%# Eval("異常標註", "{0}").Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label8" runat="server" Text="講師來源"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5">
|
|
<asp:Label ID="lb講師來源" runat="server" Text='<%# Eval("講師來源", "{0}").Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label16" runat="server" Text="備註"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5">
|
|
<asp:Label ID="Label17" runat="server" Text='<%# Eval("備註", "{0}").Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>") %>'
|
|
CssClass="inputFull"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div style="float: left; max-width: 490px; margin-left: 5px;">
|
|
<div style="text-align: center">
|
|
<asp:Image ID="Image1" runat="server" EnableViewState="False"
|
|
ImageUrl='<%# Education.PublicVariable.講師照片路徑 + "T_" + Eval("編號", "{0:000000}") + ".jpg?now=" + DateTime.UtcNow.AddHours(8).Ticks.ToString() %>' />
|
|
</div>
|
|
<div>
|
|
<div>
|
|
<asp:FileUpload ID="fu照片" runat="server" CssClass="inputfull" /><br />
|
|
<asp:LinkButton ID="btnUploadPhoto" runat="server"
|
|
CommandArgument='<%# Eval("編號") %>' CommandName="上傳照片" CssClass="button gray80">上傳照片</asp:LinkButton>
|
|
<asp:LinkButton ID="LinkButton3" runat="server"
|
|
CommandArgument='<%# Eval("編號") %>' CommandName="刪除照片" CssClass="button red80"
|
|
OnClientClick="return confirm("是否確定刪除照片?");">刪除照片</asp:LinkButton>
|
|
<asp:Label ID="Label9" runat="server" Text="(檔案大小 5MB 之內的照片檔案)"></asp:Label>
|
|
</div>
|
|
<asp:Label ID="lbMessage" runat="server" CssClass="ErrorMessage"
|
|
EnableViewState="False"></asp:Label>
|
|
</div>
|
|
<div style="margin-top: 1em; padding-top: 5px; border-top: solid 1px #ddd">
|
|
<strong>講師評鑑(外部課程)</strong>
|
|
</div>
|
|
<table style="margin: 0; margin-top: 1em; table-layout:fixed; width:100%">
|
|
<tr>
|
|
<td style="width:5rem">
|
|
</td>
|
|
<td style="text-align: center; width:4rem" >
|
|
專業度
|
|
</td>
|
|
<td style="text-align: center; width:4rem">
|
|
授課技巧
|
|
</td>
|
|
<td style="text-align: center; width:4rem">
|
|
互動氛圍
|
|
</td>
|
|
<td style="text-align: center; width:4rem">
|
|
內容切題
|
|
</td>
|
|
<td style="text-align: center; width:4rem">
|
|
配合度
|
|
</td>
|
|
<td style="text-align: center; width:4rem">
|
|
總分
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption" >
|
|
跟課評分
|
|
</td>
|
|
<td class="datadisplay" style="text-align:center">
|
|
<asp:Label ID="lb講師評鑑_專業度" runat="server" Text=""></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" style="text-align:center">
|
|
<asp:Label ID="lb講師評鑑_授課技巧" runat="server" Text=""></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" style="text-align:center">
|
|
<asp:Label ID="lb講師評鑑_互動氛圍" runat="server" Text=""></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" style="text-align:center">
|
|
<asp:Label ID="lb講師評鑑_內容切題" runat="server" Text=""></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" style="text-align:center">
|
|
<asp:Label ID="lb講師評鑑_配合度" runat="server" Text=""></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" style="text-align:center">
|
|
<asp:Label ID="lb講師評鑑_總分" runat="server" Text=""></asp:Label>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table style="margin: 0; margin-top: 1em; table-layout:fixed;">
|
|
<tr>
|
|
<td style="width:5rem">
|
|
</td>
|
|
<td style="text-align:center">
|
|
講師表現平均分數
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
學員評分
|
|
</td>
|
|
<td class="datadisplay" style="text-align:center">
|
|
<asp:Label ID="lb講師評鑑_學員滿意度" runat="server" Text=""></asp:Label>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div style="margin-top: 1em; padding-top: 5px; border-top: solid 1px #ddd">
|
|
<strong>課程滿意度(TTQS課程)</strong>
|
|
</div>
|
|
<table style="margin: 0; margin-top: 1em; table-layout:fixed;">
|
|
<tr>
|
|
<td class="caption" rowspan="1" style="width:5rem;">
|
|
<asp:Label ID="Label30" runat="server" Text="滿意度"></asp:Label>
|
|
</td>
|
|
<td class="captionCenter" style="width: 3rem">
|
|
<asp:Label ID="Label25" runat="server" Text="非常<br/>滿意"></asp:Label>
|
|
</td>
|
|
<td class="captionCenter" style="width: 3rem">
|
|
<asp:Label ID="Label26" runat="server" Text="滿意"></asp:Label>
|
|
</td>
|
|
<td class="captionCenter" style="width: 3rem">
|
|
<asp:Label ID="Label27" runat="server" Text="普通"></asp:Label>
|
|
</td>
|
|
<td class="captionCenter" style="width: 3rem">
|
|
<asp:Label ID="Label28" runat="server" Text="不滿意"></asp:Label>
|
|
</td>
|
|
<td class="captionCenter" style="width: 3rem">
|
|
<asp:Label ID="Label29" runat="server" Text="非常<br/>不滿意"></asp:Label>
|
|
</td>
|
|
<td class="captionCenter" style="width: 3.5rem">
|
|
<asp:Label ID="Label31" runat="server" Text="小計"></asp:Label>
|
|
</td>
|
|
<td class="captionCenter" style="width: 3.5rem">
|
|
<asp:Label ID="Label2" runat="server" Text="總分"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label32" runat="server" Text="授課方式"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" style="text-align: center">
|
|
<asp:Label ID="lb授課5分" runat="server" Text="0"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" style="text-align: center">
|
|
<asp:Label ID="lb授課4分" runat="server" Text="0"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" style="text-align: center">
|
|
<asp:Label ID="lb授課3分" runat="server" Text="0"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" style="text-align: center">
|
|
<asp:Label ID="lb授課2分" runat="server" Text="0"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" style="text-align: center">
|
|
<asp:Label ID="lb授課1分" runat="server" Text="0"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" style="text-align: center">
|
|
<asp:Label ID="lb授課總分" runat="server" Text="0"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" rowspan="2" style="text-align: center">
|
|
<asp:Label ID="lb總分" runat="server" Text="0"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label33" runat="server" Text="專業知識"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" style="text-align: center">
|
|
<asp:Label ID="lb專業5分" runat="server" Text="0"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" style="text-align: center">
|
|
<asp:Label ID="lb專業4分" runat="server" Text="0"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" style="text-align: center">
|
|
<asp:Label ID="lb專業3分" runat="server" Text="0"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" style="text-align: center">
|
|
<asp:Label ID="lb專業2分" runat="server" Text="0"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" style="text-align: center">
|
|
<asp:Label ID="lb專業1分" runat="server" Text="0"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" style="text-align: center">
|
|
<asp:Label ID="lb專業總分" runat="server" Text="0"></asp:Label>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</ItemTemplate>
|
|
<EmptyDataTemplate>
|
|
<asp:LinkButton ID="btnInsert" runat="server"
|
|
CommandName="New" CssClass="button blue80" Text="新增" />
|
|
<table border="0" style="table-layout: fixed;">
|
|
<tr>
|
|
<td colspan="1" class="widthcontrol" style="max-width: 100px; min-width: 60px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="max-width: 180px; min-width: 100px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="max-width: 100px; min-width: 60px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="max-width: 180px; min-width: 100px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="max-width: 100px; min-width: 60px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="max-width: 180px; min-width: 100px;"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb編號Label" runat="server" Text="編號"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1"> </td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb姓名Label" runat="server" Text="姓名"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1"> </td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb出生日期Label" runat="server" Text="出生日期"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb性別Label" runat="server" Text="性別"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1"></td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb身份證字號Label" runat="server" Text="身份證字號"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1"> </td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb電話Label" runat="server" Text="電話"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb手機Label" runat="server" Text="手機"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1"> </td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb電子郵件Label" runat="server" Text="電子郵件"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="3"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb戶籍地址Label" runat="server" Text="戶籍地址"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb居住地址Label" runat="server" Text="居住地址"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb現職Label" runat="server" Text="現職"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1"> </td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb學歷Label" runat="server" Text="學歷"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1"> </td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb授課區域Label" runat="server" Text="授課區域"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb授課專長領域Label" runat="server" Text="授課專長領域"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb授課經歷概述Label" runat="server" Text="授課經歷概述"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb重要經歷Label" runat="server" Text="重要經歷"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb重要研究與著作Label" runat="server"
|
|
Text="重要研究與著作"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label4" runat="server" Text="合作狀態"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label5" runat="server" Text="合作方式"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label6" runat="server" Text="證照資料"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label7" runat="server" Text="異常標註"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label8" runat="server" Text="講師來源"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label10" runat="server" Text="推薦授課主題"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label18" runat="server" Text="講師來源"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="5"></td>
|
|
</tr>
|
|
</table>
|
|
</EmptyDataTemplate>
|
|
<InsertItemTemplate>
|
|
<asp:LinkButton ID="btnSave" runat="server" Text="存檔" CommandName="Insert"
|
|
CssClass="button blue80" />
|
|
<asp:LinkButton ID="btnCancel" runat="server" Text="取消" CommandName="Cancel"
|
|
CausesValidation="false" CssClass="button red80" OnClientClick="return confirm("是否確定取消新增?");" />
|
|
<table border="0"
|
|
style="table-layout: fixed; width: 100%;">
|
|
<tr>
|
|
<td colspan="1" class="widthcontrol" style="width: 120px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="width: 180px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="width: 100px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="width: 180px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="width: 100px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="width: 180px;"></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb編號Label0" runat="server" Text="編號"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1">
|
|
<asp:Label ID="lb編號" runat="server" CssClass="inputFull"
|
|
Text="(自動編號)"></asp:Label>
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb姓名Label0" runat="server" Text="姓名"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<asp:TextBox ID="txt姓名" runat="server" CssClass="inputFull"
|
|
MaxLength="30" Columns="1" Text='<%# Bind("姓名") %>'></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv姓名"
|
|
ControlToValidate="txt姓名" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb出生日期Label0" runat="server" Text="出生日期"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<weblib:DateTextBox ID="txt出生日期" runat="server"
|
|
CssClass="datainput" DateOrder="YMD" DateSeparator=""
|
|
Value='<%# Bind("出生日期") %>' />
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv出生日期"
|
|
ControlToValidate="txt出生日期" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb性別Label0" runat="server" Text="性別"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<asp:RadioButtonList ID="rbl性別" runat="server"
|
|
RepeatDirection="Horizontal"
|
|
SelectedValue='<%# Bind("性別") %>'>
|
|
<asp:ListItem Selected="True" Value="M">男</asp:ListItem>
|
|
<asp:ListItem Value="F">女</asp:ListItem>
|
|
</asp:RadioButtonList>
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb身份證字號Label0" runat="server" Text="身份證字號"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<asp:TextBox ID="txt身份證字號" runat="server"
|
|
CssClass="inputFull" MaxLength="12" Columns="1"
|
|
Text='<%# Bind("身份證字號") %>'></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv身份證字號"
|
|
ControlToValidate="txt身份證字號" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
<asp:CustomValidator runat="server" ID="cv身份證字號"
|
|
ControlToValidate="txt身份證字號" CssClass="ErrorMessage"
|
|
ErrorMessage="身份證字號已存在" Display="Dynamic" OnServerValidate="cv身份證字號_ServerValidate" />
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb電話Label0" runat="server" Text="電話"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<asp:TextBox ID="txt電話" runat="server" CssClass="inputFull"
|
|
MaxLength="20" Text='<%# Bind("電話") %>' Columns="1" placeholder="XX-XXX-XXXX#XXX"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv電話"
|
|
ControlToValidate="txt電話" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb手機Label0" runat="server" Text="手機"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<asp:TextBox ID="txt手機" runat="server" CssClass="inputFull"
|
|
MaxLength="20" Text='<%# Bind("手機") %>' Columns="1" placeholder="XXXX-XXX-XXX"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv手機"
|
|
ControlToValidate="txt手機" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb電子郵件Label0" runat="server" Text="電子郵件"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="3">
|
|
<asp:TextBox ID="txt電子郵件" runat="server"
|
|
CssClass="inputFull" MaxLength="30"
|
|
Text='<%# Bind("電子郵件") %>' Columns="1"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfc電子郵件"
|
|
ControlToValidate="txt電子郵件" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb戶籍地址Label" runat="server" Text="戶籍地址"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="5">
|
|
<weblib:AddressEditor ID="txt戶籍地址" runat="server"
|
|
County='<%# Bind("戶籍地址_縣市") %>'
|
|
CountyControlWidth="6em"
|
|
CssClass="inputFull"
|
|
ScriptFileName="../../utility/AddressEditor.js"
|
|
StreetAddress='<%# Bind("戶籍地址_街道地址") %>'
|
|
TownControlWidth="6em" Township='<%# Bind("戶籍地址_鄉鎮市區") %>'
|
|
ZipCode='<%# Bind("戶籍地址_郵編") %>'
|
|
ZipCodeControlWidth="4em" />
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv戶籍地址"
|
|
ControlToValidate="txt戶籍地址" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb居住地址Label" runat="server" Text="居住地址"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="5">
|
|
<weblib:AddressEditor ID="txt居住地址" runat="server"
|
|
County='<%# Bind("居住地址_縣市") %>'
|
|
CountyControlWidth="6em"
|
|
CssClass="inputFull"
|
|
ScriptFileName="../../utility/AddressEditor.js"
|
|
StreetAddress='<%# Bind("居住地址_街道地址") %>'
|
|
TownControlWidth="6em" Township='<%# Bind("居住地址_鄉鎮市區") %>'
|
|
ZipCode='<%# Bind("居住地址_郵編") %>'
|
|
ZipCodeControlWidth="4em" />
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv居住地址"
|
|
ControlToValidate="txt居住地址" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb現職Label0" runat="server" Text="現職"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="5">
|
|
<asp:TextBox ID="txt現職" runat="server" CssClass="inputFull"
|
|
MaxLength="50" Text='<%# Bind("現職") %>' Columns="1" placeholder="公司/職稱"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv現職"
|
|
ControlToValidate="txt現職" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb學歷Label0" runat="server" Text="最高學歷"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<weblib:WDropDownList ID="ddl最高學歷" runat="server" CssClass="inputFull"
|
|
DataSourceID="ds學歷" DataTextField="Name" DataValueField="Value"
|
|
SelectedValue='<%# Bind("最高學歷") %>'>
|
|
</weblib:WDropDownList>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv最高學歷"
|
|
ControlToValidate="ddl最高學歷" CssClass="ErrorMessage"
|
|
ErrorMessage="請選擇" Display="Dynamic" />
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb學歷Label1" runat="server" Text="學校"></asp:Label>
|
|
</td>
|
|
<td>
|
|
<asp:TextBox ID="txt學歷" runat="server" CssClass="inputFull" MaxLength="30"
|
|
Text='<%# Bind("最高學歷學校") %>'></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv學歷"
|
|
ControlToValidate="txt學歷" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb學歷Label2" runat="server" Text="科系"></asp:Label>
|
|
</td>
|
|
<td>
|
|
<asp:TextBox ID="txt學歷0" runat="server" CssClass="inputFull" MaxLength="30"
|
|
Text='<%# Bind("最高學歷科系") %>'></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv學歷0"
|
|
ControlToValidate="txt學歷0" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb授課區域Label0" runat="server" Text="授課區域"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:CheckBoxList ID="cbl授課區域" runat="server" DataSourceID="ds授課區域"
|
|
DataTextField="Name" DataValueField="Value" RepeatDirection="Horizontal">
|
|
</asp:CheckBoxList>
|
|
<asp:CustomValidator runat="server" ID="cv授課區域"
|
|
CssClass="ErrorMessage" ErrorMessage="請選擇" Display="Dynamic"
|
|
OnServerValidate="cv授課區域_ServerValidate" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb授課專長領域Label0" runat="server"
|
|
Text="授課專長領域"></asp:Label>
|
|
<div>
|
|
<button type="button" class="button floatRight gray40"
|
|
onclick="togglePhrase('div授課專長領域')">
|
|
片語</button>
|
|
</div>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt授課專長領域" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("授課專長領域") %>' Columns="1"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv授課專長領域"
|
|
ControlToValidate="txt授課專長領域" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
<div id="div授課專長領域" class="hide" style="width:100%">
|
|
<asp:Repeater runat="server" DataSourceID="ds片語授課專長領域">
|
|
<ItemTemplate>
|
|
<span runat="server" class="phraselink"
|
|
onclick='<%# GetPhraseClientClick("txt授課專長領域", Eval("片語內容", "{0}")) %>'>
|
|
<%# Eval("片語內容") %>
|
|
</span>
|
|
</ItemTemplate>
|
|
</asp:Repeater>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label10" runat="server" Text="推薦授課主題"></asp:Label>
|
|
<div>
|
|
<button type="button" class="button floatRight gray40"
|
|
onclick="togglePhrase('div推薦授課主題')">
|
|
片語</button>
|
|
</div>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt推薦授課主題" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("推薦授課主題") %>' Columns="1"
|
|
placeholder="推薦人/授課主題"></asp:TextBox>
|
|
<div id="div推薦授課主題" class="hide">
|
|
<asp:Repeater runat="server" DataSourceID="ds片語推薦授課主題">
|
|
<ItemTemplate>
|
|
<span runat="server" class="phraselink" onclick='<%# GetPhraseClientClick("txt推薦授課主題", Eval("片語內容", "{0}")) %>'>
|
|
<%# Eval("片語內容") %>
|
|
</span>
|
|
</ItemTemplate>
|
|
</asp:Repeater>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb授課經歷概述Label0" runat="server"
|
|
Text="授課經歷概述"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt授課經歷概述" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("授課經歷概述") %>' Columns="1"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv授課經歷概述"
|
|
ControlToValidate="txt授課經歷概述" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb重要經歷Label0" runat="server" Text="重要經歷"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt重要經歷" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("重要經歷") %>' Columns="1"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv重要經歷"
|
|
ControlToValidate="txt重要經歷" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb重要研究與著作Label0" runat="server"
|
|
Text="重要研究與著作"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt重要研究與著作" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("重要研究與著作") %>' Columns="1"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv重要研究與著作"
|
|
ControlToValidate="txt重要研究與著作" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label4" runat="server" Text="合作狀態"></asp:Label>
|
|
<div>
|
|
<button type="button" class="button floatRight gray40"
|
|
onclick="togglePhrase('div合作狀態')">
|
|
片語</button>
|
|
</div>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<weblib:WDropDownList ID="rbl合作狀態" runat="server" SelectedValue='<%# Bind("合作狀態") %>'
|
|
DataSourceID="ds講師合作狀態" DataTextField="Name" DataValueField="Value">
|
|
<%-- <asp:ListItem Value="" Text="(請選擇)"></asp:ListItem>
|
|
<asp:ListItem Value="C" Text="收服務費"></asp:ListItem>
|
|
<asp:ListItem Value="F" Text="不收服務費"></asp:ListItem>
|
|
<asp:ListItem Value="X" Text="不合作"></asp:ListItem>
|
|
<asp:ListItem Value="B" Text="暫不排課"></asp:ListItem>--%>
|
|
</weblib:WDropDownList><br />
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv合作狀態"
|
|
ControlToValidate="rbl合作狀態" CssClass="ErrorMessage"
|
|
ErrorMessage="請選擇" Display="Dynamic" />
|
|
<asp:TextBox ID="txt合作狀態說明" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("合作狀態說明") %>' Columns="1"
|
|
placeholder="年月/姓名洽談/合作狀態(例:100.09/大明洽談/老師同意收服務費 or 老師不同意收服務費但合作)"></asp:TextBox>
|
|
<div id="div合作狀態" class="hide">
|
|
<asp:Repeater runat="server" DataSourceID="ds片語合作狀態">
|
|
<ItemTemplate>
|
|
<span runat="server" class="phraselink" onclick='<%# GetPhraseClientClick("txt合作狀態說明", Eval("片語內容", "{0}")) %>'>
|
|
<%# Eval("片語內容") %>
|
|
</span>
|
|
</ItemTemplate>
|
|
</asp:Repeater>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label5" runat="server" Text="合作方式"></asp:Label>
|
|
<div>
|
|
<button type="button" class="button floatRight gray40"
|
|
onclick="togglePhrase('div合作方式')">
|
|
片語</button>
|
|
</div>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt合作方式" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("合作方式") %>' Columns="1"
|
|
placeholder="地區/課程類型/服務費收取方式,約%/單據形式(例:桃竹苗/一般就促/8,000收2,000,約25%/簽領據)"></asp:TextBox>
|
|
<div id="div合作方式" class="hide">
|
|
<asp:Repeater runat="server" DataSourceID="ds片語合作方式">
|
|
<ItemTemplate>
|
|
<span runat="server" class="phraselink" onclick='<%# GetPhraseClientClick("txt合作方式", Eval("片語內容", "{0}")) %>'>
|
|
<%# Eval("片語內容") %>
|
|
</span>
|
|
</ItemTemplate>
|
|
</asp:Repeater>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label6" runat="server" Text="證照資料"></asp:Label>
|
|
<div>
|
|
<button type="button" class="button floatRight gray40"
|
|
onclick="togglePhrase('div證照資料')">
|
|
片語</button>
|
|
</div>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt證照資料" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("證照資料") %>' Columns="1"
|
|
placeholder="證照名稱/證號/效期"></asp:TextBox>
|
|
<div id="div證照資料" class="hide">
|
|
<asp:Repeater runat="server" DataSourceID="ds片語證照資料">
|
|
<ItemTemplate>
|
|
<span runat="server" class="phraselink" onclick='<%# GetPhraseClientClick("txt證照資料", Eval("片語內容", "{0}")) %>'>
|
|
<%# Eval("片語內容") %>
|
|
</span>
|
|
</ItemTemplate>
|
|
</asp:Repeater>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label7" runat="server" Text="異常標註"></asp:Label>
|
|
<div>
|
|
<button type="button" class="button floatRight gray40"
|
|
onclick="togglePhrase('div異常標註')">
|
|
片語</button>
|
|
</div>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt異常標註" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("異常標註") %>' Columns="1"></asp:TextBox>
|
|
<div id="div異常標註" class="hide">
|
|
<asp:Repeater runat="server" DataSourceID="ds片語異常標註">
|
|
<ItemTemplate>
|
|
<span runat="server" class="phraselink" onclick='<%# GetPhraseClientClick("txt異常標註", Eval("片語內容", "{0}")) %>'>
|
|
<%# Eval("片語內容") %>
|
|
</span>
|
|
</ItemTemplate>
|
|
</asp:Repeater>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label8" runat="server" Text="講師來源"></asp:Label>
|
|
<div>
|
|
<button type="button" class="button floatRight gray40"
|
|
onclick="togglePhrase('div講師來源')">
|
|
片語</button>
|
|
</div>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt講師來源" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("講師來源") %>' Columns="1"></asp:TextBox>
|
|
<div id="div講師來源" class="hide">
|
|
<asp:Repeater runat="server" DataSourceID="ds片語講師來源">
|
|
<ItemTemplate>
|
|
<span runat="server" class="phraselink" onclick='<%# GetPhraseClientClick("txt講師來源", Eval("片語內容", "{0}")) %>'>
|
|
<%# Eval("片語內容") %>
|
|
</span>
|
|
</ItemTemplate>
|
|
</asp:Repeater>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label14" runat="server" Text="備註"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt備註" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("備註") %>' Columns="1"></asp:TextBox>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</InsertItemTemplate>
|
|
<EditItemTemplate>
|
|
<asp:LinkButton ID="btnSave" runat="server" Text="存檔" CommandName="Update"
|
|
CssClass="button blue80" />
|
|
<asp:LinkButton ID="btnCancel" runat="server" Text="取消" CommandName="Cancel"
|
|
CausesValidation="false" CssClass="button red80" OnClientClick="return confirm("是否確定取消更正?");" />
|
|
<table border="0"
|
|
style="table-layout: fixed; width: 100%;">
|
|
<tr>
|
|
<td colspan="1" class="widthcontrol" style="width: 120px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="width: 180px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="width: 100px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="width: 180px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="width: 100px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="width: 180px;"></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb編號Label0" runat="server" Text="編號"></asp:Label>
|
|
</td>
|
|
<td class="datadisplay" colspan="1">
|
|
<asp:Label ID="lb編號" runat="server" CssClass="inputFull"
|
|
Text='<%# Bind("編號", "{0:0000}") %>'></asp:Label>
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb姓名Label0" runat="server" Text="姓名"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<asp:TextBox ID="txt姓名" runat="server" CssClass="inputFull"
|
|
MaxLength="30" Text='<%# Bind("姓名") %>' Columns="1"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv姓名"
|
|
ControlToValidate="txt姓名" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb出生日期Label0" runat="server" Text="出生日期"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<weblib:DateTextBox ID="txt出生日期" runat="server"
|
|
CssClass="datainput" DateOrder="YMD" DateSeparator=""
|
|
Value='<%# Bind("出生日期") %>' />
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv出生日期"
|
|
ControlToValidate="txt出生日期" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb性別Label0" runat="server" Text="性別"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<asp:RadioButtonList ID="rbl性別" runat="server"
|
|
RepeatDirection="Horizontal"
|
|
SelectedValue='<%# Bind("性別") %>'>
|
|
<asp:ListItem Selected="True" Value="M">男</asp:ListItem>
|
|
<asp:ListItem Value="F">女</asp:ListItem>
|
|
</asp:RadioButtonList>
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb身份證字號Label0" runat="server" Text="身份證字號"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<asp:TextBox ID="txt身份證字號" runat="server"
|
|
CssClass="inputFull" MaxLength="12"
|
|
Text='<%# Bind("身份證字號") %>' Columns="1"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv身份證字號"
|
|
ControlToValidate="txt身份證字號" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
<asp:CustomValidator runat="server" ID="cv身份證字號"
|
|
ControlToValidate="txt身份證字號" CssClass="ErrorMessage"
|
|
ErrorMessage="身份證字號已存在" Display="Dynamic" OnServerValidate="cv身份證字號_ServerValidate"/>
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb電話Label0" runat="server" Text="電話"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<asp:TextBox ID="txt電話" runat="server" CssClass="inputFull"
|
|
MaxLength="20" Text='<%# Bind("電話") %>' Columns="1" placeholder="XX-XXX-XXXX#XXX"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv電話"
|
|
ControlToValidate="txt電話" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb手機Label0" runat="server" Text="手機"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<asp:TextBox ID="txt手機" runat="server" CssClass="inputFull"
|
|
MaxLength="20" Text='<%# Bind("手機") %>' Columns="1" placeholder="XXXX-XXX-XXX"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv手機"
|
|
ControlToValidate="txt手機" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb電子郵件Label0" runat="server" Text="電子郵件"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="3">
|
|
<asp:TextBox ID="txt電子郵件" runat="server"
|
|
CssClass="inputFull" MaxLength="30"
|
|
Text='<%# Bind("電子郵件") %>' Columns="1"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfc電子郵件"
|
|
ControlToValidate="txt電子郵件" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb戶籍地址Label" runat="server" Text="戶籍地址"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="5">
|
|
<weblib:AddressEditor ID="txt戶籍地址" runat="server"
|
|
County='<%# Bind("戶籍地址_縣市") %>'
|
|
CountyControlWidth="6em"
|
|
CssClass="inputFull"
|
|
ScriptFileName="../../utility/AddressEditor.js"
|
|
StreetAddress='<%# Bind("戶籍地址_街道地址") %>'
|
|
TownControlWidth="6em" Township='<%# Bind("戶籍地址_鄉鎮市區") %>'
|
|
ZipCode='<%# Bind("戶籍地址_郵編") %>'
|
|
ZipCodeControlWidth="4em" />
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv戶籍地址"
|
|
ControlToValidate="txt戶籍地址" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb居住地址Label" runat="server" Text="居住地址"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="5">
|
|
<weblib:AddressEditor ID="txt居住地址" runat="server"
|
|
County='<%# Bind("居住地址_縣市") %>'
|
|
CountyControlWidth="6em"
|
|
CssClass="inputFull"
|
|
ScriptFileName="../../utility/AddressEditor.js"
|
|
StreetAddress='<%# Bind("居住地址_街道地址") %>'
|
|
TownControlWidth="6em" Township='<%# Bind("居住地址_鄉鎮市區") %>'
|
|
ZipCode='<%# Bind("居住地址_郵編") %>'
|
|
ZipCodeControlWidth="4em" />
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv居住地址"
|
|
ControlToValidate="txt居住地址" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb現職Label0" runat="server" Text="現職"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="5">
|
|
<asp:TextBox ID="txt現職" runat="server" CssClass="inputFull"
|
|
MaxLength="50" Text='<%# Bind("現職") %>' Columns="1" placeholder="公司/職稱"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv現職"
|
|
ControlToValidate="txt現職" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb學歷Label0" runat="server" Text="最高學歷"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<weblib:WDropDownList ID="ddl最高學歷" runat="server" CssClass="inputFull"
|
|
DataSourceID="ds學歷" DataTextField="Name" DataValueField="Value"
|
|
SelectedValue='<%# Bind("最高學歷") %>'>
|
|
</weblib:WDropDownList>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv最高學歷"
|
|
ControlToValidate="ddl最高學歷" CssClass="ErrorMessage"
|
|
ErrorMessage="請選擇" Display="Dynamic" />
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb學歷Label1" runat="server" Text="學校"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<asp:TextBox ID="txt學歷" runat="server" CssClass="inputFull" MaxLength="30"
|
|
Text='<%# Bind("最高學歷學校") %>'></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv學歷"
|
|
ControlToValidate="txt學歷" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
<td class="caption">
|
|
<asp:Label ID="lb學歷Label2" runat="server" Text="科系"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<asp:TextBox ID="txt學歷0" runat="server" CssClass="inputFull" MaxLength="30"
|
|
Text='<%# Bind("最高學歷科系") %>'></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv學歷0"
|
|
ControlToValidate="txt學歷0" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb授課區域Label0" runat="server" Text="授課區域"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="5">
|
|
<asp:CheckBoxList ID="cbl授課區域" runat="server" DataSourceID="ds授課區域"
|
|
DataTextField="Name" DataValueField="Value" RepeatDirection="Horizontal">
|
|
</asp:CheckBoxList>
|
|
<asp:CustomValidator runat="server" ID="cv授課區域"
|
|
CssClass="ErrorMessage" ErrorMessage="請選擇" Display="Dynamic"
|
|
OnServerValidate="cv授課區域_ServerValidate" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb授課專長領域Label0" runat="server"
|
|
Text="授課專長領域"></asp:Label>
|
|
<div>
|
|
<button type="button" class="button floatRight gray40"
|
|
onclick="togglePhrase('div授課專長領域')">
|
|
片語</button>
|
|
</div>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt授課專長領域" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("授課專長領域") %>' Columns="1"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv授課專長領域"
|
|
ControlToValidate="txt授課專長領域" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
<div id="div授課專長領域" class="hide">
|
|
<asp:Repeater runat="server" DataSourceID="ds片語授課專長領域">
|
|
<ItemTemplate>
|
|
<span runat="server" class="phraselink" onclick='<%# GetPhraseClientClick("txt授課專長領域", Eval("片語內容", "{0}")) %>'>
|
|
<%# Eval("片語內容") %>
|
|
</span>
|
|
</ItemTemplate>
|
|
</asp:Repeater>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label10" runat="server" Text="推薦授課主題"></asp:Label>
|
|
<div>
|
|
<button type="button" class="button floatRight gray40"
|
|
onclick="togglePhrase('div推薦授課主題')">
|
|
片語</button>
|
|
</div>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt推薦授課主題" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("推薦授課主題") %>' Columns="1"
|
|
placeholder="推薦人/授課主題"></asp:TextBox>
|
|
<div id="div推薦授課主題" class="hide">
|
|
<asp:Repeater runat="server" DataSourceID="ds片語推薦授課主題">
|
|
<ItemTemplate>
|
|
<span runat="server" class="phraselink" onclick='<%# GetPhraseClientClick("txt推薦授課主題", Eval("片語內容", "{0}")) %>'>
|
|
<%# Eval("片語內容") %>
|
|
</span>
|
|
</ItemTemplate>
|
|
</asp:Repeater>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb授課經歷概述Label0" runat="server"
|
|
Text="授課經歷概述"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt授課經歷概述" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("授課經歷概述") %>' Columns="1"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv授課經歷概述"
|
|
ControlToValidate="txt授課經歷概述" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb重要經歷Label0" runat="server" Text="重要經歷"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt重要經歷" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("重要經歷") %>' Columns="1"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv重要經歷"
|
|
ControlToValidate="txt重要經歷" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb重要研究與著作Label0" runat="server"
|
|
Text="重要研究與著作"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt重要研究與著作" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("重要研究與著作") %>' Columns="1"></asp:TextBox>
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv重要研究與著作"
|
|
ControlToValidate="txt重要研究與著作" CssClass="ErrorMessage"
|
|
ErrorMessage="請輸入" Display="Dynamic" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label4" runat="server" Text="合作狀態"></asp:Label>
|
|
<div>
|
|
<button type="button" class="button floatRight gray40"
|
|
onclick="togglePhrase('div合作狀態')">
|
|
片語</button>
|
|
</div>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<weblib:WDropDownList ID="rbl合作狀態" runat="server" SelectedValue='<%# Bind("合作狀態") %>'
|
|
DataSourceID="ds講師合作狀態" DataTextField="Name" DataValueField="Value">
|
|
<%-- <asp:ListItem Value="" Text="(請選擇)"></asp:ListItem>
|
|
<asp:ListItem Value="C" Text="收服務費"></asp:ListItem>
|
|
<asp:ListItem Value="F" Text="不收服務費"></asp:ListItem>
|
|
<asp:ListItem Value="X" Text="不合作"></asp:ListItem>
|
|
<asp:ListItem Value="B" Text="暫不排課"></asp:ListItem>--%>
|
|
</weblib:WDropDownList><br />
|
|
<asp:RequiredFieldValidator runat="server" ID="rfv合作狀態"
|
|
ControlToValidate="rbl合作狀態" CssClass="ErrorMessage"
|
|
ErrorMessage="請選擇" Display="Dynamic" />
|
|
<asp:TextBox ID="txt合作狀態說明" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("合作狀態說明") %>' Columns="1"
|
|
placeholder="年月/姓名洽談/合作狀態(例:100.09/大明洽談/老師同意收服務費 or 老師不同意收服務費但合作)"></asp:TextBox>
|
|
<div id="div合作狀態" class="hide">
|
|
<asp:Repeater runat="server" DataSourceID="ds片語合作狀態">
|
|
<ItemTemplate>
|
|
<span runat="server" class="phraselink" onclick='<%# GetPhraseClientClick("txt合作狀態說明", Eval("片語內容", "{0}")) %>'>
|
|
<%# Eval("片語內容") %>
|
|
</span>
|
|
</ItemTemplate>
|
|
</asp:Repeater>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label5" runat="server" Text="合作方式"></asp:Label>
|
|
<div>
|
|
<button type="button" class="button floatRight gray40"
|
|
onclick="togglePhrase('div合作方式')">
|
|
片語</button>
|
|
</div>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt合作方式" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("合作方式") %>' Columns="1"
|
|
placeholder="地區/課程類型/服務費收取方式,約%/單據形式(例:桃竹苗/一般就促/8,000收2,000,約25%/簽領據)"></asp:TextBox>
|
|
<div id="div合作方式" class="hide">
|
|
<asp:Repeater runat="server" DataSourceID="ds片語合作方式">
|
|
<ItemTemplate>
|
|
<span runat="server" class="phraselink" onclick='<%# GetPhraseClientClick("txt合作方式", Eval("片語內容", "{0}")) %>'>
|
|
<%# Eval("片語內容") %>
|
|
</span>
|
|
</ItemTemplate>
|
|
</asp:Repeater>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label6" runat="server" Text="證照資料"></asp:Label>
|
|
<div>
|
|
<button type="button" class="button floatRight gray40"
|
|
onclick="togglePhrase('div證照資料')">
|
|
片語</button>
|
|
</div>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt證照資料" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("證照資料") %>' Columns="1"
|
|
placeholder="證照名稱/證號/效期"></asp:TextBox>
|
|
<div id="div證照資料" class="hide">
|
|
<asp:Repeater runat="server" DataSourceID="ds片語證照資料">
|
|
<ItemTemplate>
|
|
<span runat="server" class="phraselink" onclick='<%# GetPhraseClientClick("txt證照資料", Eval("片語內容", "{0}")) %>'>
|
|
<%# Eval("片語內容") %>
|
|
</span>
|
|
</ItemTemplate>
|
|
</asp:Repeater>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label7" runat="server" Text="異常標註"></asp:Label>
|
|
<div>
|
|
<button type="button" class="button floatRight gray40"
|
|
onclick="togglePhrase('div異常標註')">
|
|
片語</button>
|
|
</div>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt異常標註" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("異常標註") %>' Columns="1"></asp:TextBox>
|
|
<div id="div異常標註" class="hide">
|
|
<asp:Repeater runat="server" DataSourceID="ds片語異常標註">
|
|
<ItemTemplate>
|
|
<span runat="server" class="phraselink" onclick='<%# GetPhraseClientClick("txt異常標註", Eval("片語內容", "{0}")) %>'>
|
|
<%# Eval("片語內容") %>
|
|
</span>
|
|
</ItemTemplate>
|
|
</asp:Repeater>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label8" runat="server" Text="講師來源"></asp:Label>
|
|
<div>
|
|
<button type="button" class="button floatRight gray40"
|
|
onclick="togglePhrase('div講師來源')">
|
|
片語</button>
|
|
</div>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt講師來源" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("講師來源") %>' Columns="1"></asp:TextBox>
|
|
<div id="div講師來源" class="hide">
|
|
<asp:Repeater runat="server" DataSourceID="ds片語講師來源">
|
|
<ItemTemplate>
|
|
<span runat="server" class="phraselink" onclick='<%# GetPhraseClientClick("txt講師來源", Eval("片語內容", "{0}")) %>'>
|
|
<%# Eval("片語內容") %>
|
|
</span>
|
|
</ItemTemplate>
|
|
</asp:Repeater>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="Label14" runat="server" Text="備註"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="6">
|
|
<asp:TextBox ID="txt備註" runat="server"
|
|
CssClass="inputFull" MaxLength="500" TextMode="MultiLine" Rows="5"
|
|
Text='<%# Bind("備註") %>' Columns="1"></asp:TextBox>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</EditItemTemplate>
|
|
</asp:FormView>
|
|
</asp:View>
|
|
|
|
<asp:View ID="View講師評鑑" runat="server">
|
|
<div id="search">
|
|
<table border="0" cellpadding="3" cellspacing="2" style="table-layout: fixed;">
|
|
<tr>
|
|
<td colspan="1" class="widthcontrol" style="width: 90px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="width: 120px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="width: 40px;"></td>
|
|
<td colspan="1" class="widthcontrol" style="width: 120px;"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">講師
|
|
</td>
|
|
<td class="datadisplay" colspan="3">
|
|
<%= DataBinder.Eval(FormView1.DataItem, "編號", "{0:0000}") %> <%= DataBinder.Eval(FormView1.DataItem, "姓名") %>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb日期Label" runat="server" Text="日期"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<weblib:DateTextBox ID="txt日期_1_Search" runat="server" DateOrder="YMD" DateSeparator="" CssClass="inputFull"></weblib:DateTextBox>
|
|
</td>
|
|
<td style="text-align: center;">至
|
|
</td>
|
|
<td>
|
|
<weblib:DateTextBox ID="txt日期_2_Search" runat="server" DateOrder="YMD" DateSeparator="" CssClass="inputFull"></weblib:DateTextBox>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb地點Label" runat="server" Text="地點"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="3">
|
|
<asp:TextBox ID="txt地點_Search" runat="server" Text="" MaxLength="100" CssClass="inputFull"></asp:TextBox>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb人數Label" runat="server" Text="人數"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="1">
|
|
<asp:TextBox ID="txt人數_1_Search" runat="server" Text="" MaxLength="0" CssClass="inputFull"></asp:TextBox>
|
|
</td>
|
|
<td style="text-align: center;">至
|
|
</td>
|
|
<td>
|
|
<asp:TextBox ID="txt人數_2_Search" runat="server" Text="" MaxLength="0" CssClass="inputFull"></asp:TextBox>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb對象Label" runat="server" Text="對象"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="3">
|
|
<asp:TextBox ID="txt對象_Search" runat="server" Text="" MaxLength="100" CssClass="inputFull"></asp:TextBox>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="caption">
|
|
<asp:Label ID="lb課程名稱Label" runat="server" Text="課程名稱"></asp:Label>
|
|
</td>
|
|
<td class="datainput" colspan="3">
|
|
<asp:TextBox ID="txt課程名稱_Search" runat="server" Text="" MaxLength="100" CssClass="inputFull"></asp:TextBox>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div>
|
|
<asp:LinkButton ID="btn講師評鑑查詢" runat="server" Text="查詢" CssClass="button blue80" OnClick="btn講師評鑑查詢_Click" />
|
|
<asp:LinkButton ID="btn講師評鑑查詢清除" runat="server" Text="清除" CssClass="button red80" OnClick="btn講師評鑑查詢清除_Click" />
|
|
<button type="button" id="btn講師評鑑"
|
|
onclick='<%= GetOpenDialogJS("~/Forms/辦訓狀況/講師評鑑.aspx", "講師評鑑", 1000, 700, true, true, "mode", "new", "teacherid", DataBinder.Eval(FormView1.DataItem, "編號")) %>'
|
|
class="button blue80">
|
|
新增</button>
|
|
</div>
|
|
|
|
<asp:Label ID="lbMessageEval" runat="server" CssClass="ErrorMessage" EnableViewState="False"></asp:Label>
|
|
</div>
|
|
|
|
<div id="list">
|
|
<asp:GridView ID="gv講師外訓滿意度"
|
|
runat="server"
|
|
AutoGenerateColumns="False"
|
|
DataKeyNames="編號,DB_APPNO"
|
|
EnableModelValidation="True"
|
|
AllowPaging="True"
|
|
ShowFooter="True"
|
|
Width="100%"
|
|
ShowHeaderWhenEmpty="true"
|
|
DataSourceID="ds講師外訓滿意度Grid"
|
|
OnDataBound="gv講師外訓滿意度_DataBound" >
|
|
<Columns>
|
|
<asp:TemplateField>
|
|
<HeaderTemplate>
|
|
操作
|
|
</HeaderTemplate>
|
|
<ItemTemplate>
|
|
<asp:LinkButton runat="server" id="btn講師評鑑修改"
|
|
OnClientClick='<%# GetOpenDialogJS("~/Forms/辦訓狀況/講師評鑑.aspx", "講師評鑑", 1000, 700, true, true,
|
|
"mode", "edit",
|
|
"teacherid", DataBinder.Eval(FormView1.DataItem, "編號"),
|
|
"id", Eval("編號")) %>'
|
|
class="button green40">
|
|
修改</asp:LinkButton>
|
|
<asp:LinkButton runat="server" id="btn講師評鑑刪除"
|
|
OnClick='<%# string.Format("DeleteTeacherEval({0})", Eval("編號")) %>'
|
|
class="button red40">
|
|
刪除</asp:LinkButton>
|
|
</ItemTemplate>
|
|
<HeaderStyle Width="100px" />
|
|
<ItemStyle HorizontalAlign="Center" />
|
|
<FooterTemplate>
|
|
平均
|
|
</FooterTemplate>
|
|
<FooterStyle HorizontalAlign="Center" />
|
|
</asp:TemplateField>
|
|
<asp:BoundField DataField="日期" HeaderText="日期" SortExpression="日期" DataFormatString="{0:yyyyMMdd}">
|
|
<ItemStyle HorizontalAlign="Center" Width="6em" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="地點" HeaderText="地點" SortExpression="地點">
|
|
<ItemStyle HorizontalAlign="Left" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="人數" HeaderText="人數" SortExpression="人數">
|
|
<ItemStyle HorizontalAlign="Center" Width="4em" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="對象" HeaderText="對象" SortExpression="對象">
|
|
<ItemStyle HorizontalAlign="Left" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="課程名稱" HeaderText="課程名稱" SortExpression="課程名稱">
|
|
<ItemStyle HorizontalAlign="Left" />
|
|
</asp:BoundField>
|
|
<asp:TemplateField HeaderText="專業度" SortExpression="專業度">
|
|
<ItemTemplate>
|
|
<asp:Label ID="lb專業度" runat="server" Text='<%# Bind("專業度") %>'></asp:Label>
|
|
</ItemTemplate>
|
|
<ItemStyle HorizontalAlign="Center" Width="4em" />
|
|
<FooterTemplate>
|
|
<%= string.Format("{0:###.00}", avg專業度) %>
|
|
</FooterTemplate>
|
|
<FooterStyle HorizontalAlign="Center" />
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="授課技巧" SortExpression="授課技巧">
|
|
<ItemTemplate>
|
|
<asp:Label ID="lb授課技巧" runat="server" Text='<%# Bind("授課技巧") %>'></asp:Label>
|
|
</ItemTemplate>
|
|
<ItemStyle HorizontalAlign="Center" Width="4em" />
|
|
<FooterTemplate>
|
|
<%= string.Format("{0:###.00}", avg授課技巧) %>
|
|
</FooterTemplate>
|
|
<FooterStyle HorizontalAlign="Center" />
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="互動氛圍" SortExpression="互動氛圍">
|
|
<ItemTemplate>
|
|
<asp:Label ID="lb互動氛圍" runat="server" Text='<%# Bind("互動氛圍") %>'></asp:Label>
|
|
</ItemTemplate>
|
|
<ItemStyle HorizontalAlign="Center" Width="4em" />
|
|
<FooterTemplate>
|
|
<%= string.Format("{0:###.00}", avg互動氛圍) %>
|
|
</FooterTemplate>
|
|
<FooterStyle HorizontalAlign="Center" />
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="內容切題" SortExpression="內容切題">
|
|
<ItemTemplate>
|
|
<asp:Label ID="lb內容切題" runat="server" Text='<%# Bind("內容切題") %>'></asp:Label>
|
|
</ItemTemplate>
|
|
<ItemStyle HorizontalAlign="Center" Width="4em" />
|
|
<FooterTemplate>
|
|
<%= string.Format("{0:###.00}", avg內容切題) %>
|
|
</FooterTemplate>
|
|
<FooterStyle HorizontalAlign="Center" />
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="配合度" SortExpression="配合度">
|
|
<ItemTemplate>
|
|
<asp:Label ID="lb配合度" runat="server" Text='<%# Bind("配合度") %>'></asp:Label>
|
|
</ItemTemplate>
|
|
<ItemStyle HorizontalAlign="Center" Width="4em" />
|
|
<FooterTemplate>
|
|
<%= string.Format("{0:###.00}", avg配合度) %>
|
|
</FooterTemplate>
|
|
<FooterStyle HorizontalAlign="Center" />
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="合計">
|
|
<ItemTemplate>
|
|
<asp:Label ID="lb合計" runat="server" Text='<%# Bind("合計") %>'></asp:Label>
|
|
</ItemTemplate>
|
|
<ItemStyle HorizontalAlign="Center" Width="4em" />
|
|
<FooterTemplate>
|
|
<%= string.Format("{0:###.00}", avg合計) %>
|
|
</FooterTemplate>
|
|
<FooterStyle HorizontalAlign="Center" />
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="學員滿意度" SortExpression="學員滿意度">
|
|
<ItemTemplate>
|
|
<asp:Label ID="lb學員滿意度" runat="server" Text='<%# Bind("學員滿意度") %>'></asp:Label>
|
|
</ItemTemplate>
|
|
<ItemStyle HorizontalAlign="Center" Width="5em" />
|
|
<FooterTemplate>
|
|
<%= string.Format("{0:###.00}", avg學員滿意度) %>
|
|
</FooterTemplate>
|
|
<FooterStyle HorizontalAlign="Center" />
|
|
</asp:TemplateField>
|
|
</Columns>
|
|
<PagerTemplate>
|
|
<weblib:GridViewPager ID="GridViewPager1" runat="server" />
|
|
</PagerTemplate>
|
|
</asp:GridView>
|
|
</div>
|
|
|
|
<asp:ObjectDataSource ID="ds講師外訓滿意度Grid" runat="server" DataObjectTypeName="Education.講師外訓滿意度Item"
|
|
TypeName="Education.DAC_講師外訓滿意度" OldValuesParameterFormatString="original_{0}"
|
|
EnablePaging="true" SelectMethod="SelectPage" SelectCountMethod="SelectCount"
|
|
OnSelected="ds講師外訓滿意度Grid_Selected">
|
|
<SelectParameters>
|
|
<asp:Parameter Name="noInputReturnAll" Type="Boolean" DefaultValue="true" />
|
|
<asp:Parameter Name="orderBy" Type="String" DefaultValue="" />
|
|
<asp:Parameter Name="編號" Type="Int32"></asp:Parameter>
|
|
<asp:ControlParameter ControlID="GridView1" Name="講師編號" PropertyName="SelectedValue" Type="Int32"></asp:ControlParameter>
|
|
<asp:ControlParameter Name="日期_1" Type="DateTime" ControlID="txt日期_1_Search" PropertyName="Value"></asp:ControlParameter>
|
|
<asp:ControlParameter Name="日期_2" Type="DateTime" ControlID="txt日期_2_Search" PropertyName="Value"></asp:ControlParameter>
|
|
<asp:ControlParameter Name="地點" Type="String" ControlID="txt地點_Search" PropertyName="Text"></asp:ControlParameter>
|
|
<asp:ControlParameter Name="人數_1" Type="Int32" ControlID="txt人數_1_Search" PropertyName="Text"></asp:ControlParameter>
|
|
<asp:ControlParameter Name="人數_2" Type="Int32" ControlID="txt人數_2_Search" PropertyName="Text"></asp:ControlParameter>
|
|
<asp:ControlParameter Name="對象" Type="String" ControlID="txt對象_Search" PropertyName="Text"></asp:ControlParameter>
|
|
<asp:ControlParameter Name="課程名稱" Type="String" ControlID="txt課程名稱_Search" PropertyName="Text"></asp:ControlParameter>
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
</asp:View>
|
|
|
|
<asp:View ID="View付款設定" runat="server">
|
|
<uc1:PaymentSettings ID="Uc付款設定" runat="server" 人員類別="講師" />
|
|
</asp:View>
|
|
</asp:MultiView>
|
|
</div>
|
|
|
|
</asp:Content>
|