verify.js
上传用户:yunfeng252
上传日期:2022-07-23
资源大小:12403k
文件大小:2k
- function AdminListMenuShow() {
- var select = document.getElementById("GuComm").value;
- if (select == "CommSortAsSort") {
- document.getElementById("Admin_List_Sort").style.display = "";
- document.getElementById("Admin_List_AsSort").style.display = "";
- document.getElementById("Admin_List_Ar_DateTime").style.display = "none";
- document.getElementById("Admin_List_Ar_Commend").style.display = "none";
- } else {
- if (select == "CommDateTime") {
- document.getElementById("Admin_List_Ar_DateTime").style.display = "";
- document.getElementById("Admin_List_Sort").style.display = "none";
- document.getElementById("Admin_List_AsSort").style.display = "none";
- document.getElementById("Admin_List_Ar_Commend").style.display = "none";
- } else {
- if (select == "CommCommend") {
- document.getElementById("Admin_List_Ar_Commend").style.display = "";
- document.getElementById("Admin_List_Ar_DateTime").style.display = "none";
- document.getElementById("Admin_List_Sort").style.display = "none";
- document.getElementById("Admin_List_AsSort").style.display = "none";
- } else {
- document.getElementById("Admin_List_Sort").style.display = "none";
- document.getElementById("Admin_List_AsSort").style.display = "none";
- document.getElementById("Admin_List_Ar_DateTime").style.display = "none";
- document.getElementById("Admin_List_Ar_Commend").style.display = "none";
- }
- }
- }
- }
- function Sort_Select() {
- $.get("AjaxServlet?sort_id=" + $("#SortID_Select").val(), null, function (data) {
- $("#Admin_List_AsSort").html(data);
- });
- }
- function Admin_List_Check() {
- var count = 0;
- for (var i = 0; i < document.Admin_List.GuResourceID.length; i++) {
- if (document.Admin_List.GuResourceID[i].checked == false) {
- count++;
- }
- }
- if (count == document.Admin_List.GuResourceID.length || document.getElementById("GuComm").value == "") {
- document.getElementById("GuComm").focus();
- return false;
- } else {
- return true;
- }
- }
- function Admin_Type_Show() {
- document.getElementById("Admin_List_Sort").style.display = "none";
- document.getElementById("Admin_List_AsSort").style.display = "none";
- document.getElementById("Admin_List_Ar_DateTime").style.display = "none";
- document.getElementById("Admin_List_Ar_Commend").style.display = "none";
- }