개정판 95e6fe93
-autoapproval 수정
Change-Id: Ic1d2983e9bfacfa5fd6bd8a284a5641978a2a098
KCOM_API_AutoStamping/AutoApprovalTest.aspx | ||
---|---|---|
5 | 5 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
6 | 6 |
<head runat="server"> |
7 | 7 |
<title>All Approval Page</title> |
8 |
<script type="text/javascript" >
|
|
9 |
|
|
10 |
</script>
|
|
8 |
<script src="js/alertify.min.js"></script>
|
|
9 |
<link rel="stylesheet" href="themes/alertify.core.css" /> |
|
10 |
<link rel="stylesheet" href="themes/alertify.default.css" id="toggleCSS" />
|
|
11 | 11 |
</head> |
12 | 12 |
<body> |
13 | 13 |
<form id="form1" runat="server"> |
14 |
|
|
14 |
<input type="hidden" id="hdnNode" runat="server" /> |
|
15 |
<input type="hidden" id="hdnSiteid" runat="server" /> |
|
16 |
<input type="hidden" id="hdnWebid" runat="server" /> |
|
17 |
<input type="hidden" id="hdnpjtno" runat="server" /> |
|
15 | 18 |
<div> |
16 |
<table> |
|
17 |
<tr> |
|
18 |
<td>Project No :</td> |
|
19 |
<td> |
|
20 |
<%-- <asp:TextBox ID="txtproject_no" runat="server"></asp:TextBox>--%> |
|
21 |
<asp:DropDownList ID="PROJECT_LIST" runat="server" AutoPostBack="true"></asp:DropDownList> |
|
22 |
</td> |
|
23 |
<td> |
|
24 |
<%-- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
|
|
19 |
<table>
|
|
20 |
<tr>
|
|
21 |
<td>Project No :</td>
|
|
22 |
<td>
|
|
23 |
<%-- <asp:TextBox ID="txtproject_no" runat="server"></asp:TextBox>--%>
|
|
24 |
<asp:DropDownList ID="PROJECT_LIST" runat="server" AutoPostBack="true"></asp:DropDownList>
|
|
25 |
</td>
|
|
26 |
<%--<td>
|
|
27 |
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" |
|
25 | 28 |
ControlToValidate="txtproject_no" ErrorMessage="Project No required" ForeColor="Red"></asp:RequiredFieldValidator> |
26 | 29 |
</td>--%> |
27 |
</tr> |
|
28 |
<tr> |
|
29 |
<td>Slip No :</td> |
|
30 |
<td> |
|
31 |
<asp:TextBox ID="txtslip_no" runat="server"></asp:TextBox> |
|
32 |
</td> |
|
33 |
<td> |
|
34 |
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" |
|
35 |
ControlToValidate="txtslip_no" ErrorMessage="Slip No required" ForeColor="Red"></asp:RequiredFieldValidator> |
|
36 |
</td> |
|
37 |
</tr> |
|
38 |
</tr> |
|
39 |
<tr> |
|
40 |
<td>User ID :</td> |
|
41 |
<td> |
|
42 |
<asp:TextBox ID="txtuser_id" AutoPostBack="true" runat="server"></asp:TextBox> |
|
43 |
</td> |
|
44 |
<td> |
|
45 |
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" |
|
46 |
ControlToValidate="txtuser_id" ErrorMessage="User ID required" ForeColor="Red"></asp:RequiredFieldValidator> |
|
47 |
</td> |
|
48 |
</tr> |
|
49 |
</table> |
|
30 |
</tr> |
|
31 |
<tr> |
|
32 |
<td>Slip No :</td> |
|
33 |
<td> |
|
34 |
<asp:TextBox ID="txtslip_no" runat="server"></asp:TextBox> |
|
35 |
</td> |
|
36 |
<td> |
|
37 |
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" |
|
38 |
ControlToValidate="txtslip_no" ErrorMessage="Slip No required" ForeColor="Red"></asp:RequiredFieldValidator> |
|
39 |
</td> |
|
40 |
</tr> |
|
41 |
<tr> |
|
42 |
<td>User ID :</td> |
|
43 |
<td> |
|
44 |
<asp:TextBox ID="txtuser_id" AutoPostBack="true" runat="server"></asp:TextBox> |
|
45 |
</td> |
|
46 |
<td> |
|
47 |
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" |
|
48 |
ControlToValidate="txtuser_id" ErrorMessage="User ID required" ForeColor="Red"></asp:RequiredFieldValidator> |
|
49 |
</td> |
|
50 |
</tr> |
|
51 |
</table> |
|
50 | 52 |
</div> |
51 | 53 |
<p> |
52 |
<asp:Button ID="Button1" runat="server" Text="All Approval" |
|
53 |
onclick="Button1_Click" /> |
|
54 |
<%-- <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> |
|
55 |
<asp:UpdatePanel ID="up1" runat="server"> |
|
56 |
<ContentTemplate>--%> |
|
57 |
<asp:Button runat="server" ID="BtnHiddenYes" ClientIDMode="Static" Style="display: none;" /> |
|
58 |
<asp:Button ID="Button2" runat="server" Text="All Approval" CausesValidation="true" OnClientClick=" jsConfirm(); return false;"/> |
|
59 |
<%--<input id="Button1" type="button" runat="server" value="All Approval" onclick="Confirm(); return false;" />--%> |
|
60 |
<%-- </ContentTemplate> |
|
61 |
</asp:UpdatePanel>--%> |
|
54 | 62 |
</p> |
55 | 63 |
</form> |
64 |
<script> |
|
65 |
|
|
66 |
var confirm_value = document.createElement("INPUT"); |
|
67 |
confirm_value.type = "hidden"; |
|
68 |
confirm_value.name = "confirm_value"; |
|
69 |
|
|
70 |
function jsConfirm() { |
|
71 |
// A confirm dialog |
|
72 |
|
|
73 |
alertify.set({ buttonReverse: true }); |
|
74 |
<%-- alertify.set({ |
|
75 |
confirm : function () { |
|
76 |
"<%if(!IsPostBack)Page.Validate();%>" |
|
77 |
} |
|
78 |
});--%> |
|
79 |
|
|
80 |
alertify.confirm("VP에 Comment가 있어도 이를 무시하고 Approval stamp만 찍고 Merged PDF를 생성합니다.<br>그래도 작업하시겠습니까 ?<br>Even if there is a comment in the VP, ignore it and take only the approval stamp and create a Merged PDF.<br>Would you like to work anyway ? ", function (e) { |
|
81 |
if (e) { |
|
82 |
document.getElementById("BtnHiddenYes").click(); |
|
83 |
confirm_value.value = "Yes"; |
|
84 |
} else { |
|
85 |
confirm_value.value = "No"; |
|
86 |
} |
|
87 |
}); |
|
88 |
} |
|
89 |
</script> |
|
56 | 90 |
</body> |
57 |
</html> |
|
91 |
</html> |
내보내기 Unified diff