{"id":9,"date":"2026-05-21T09:26:09","date_gmt":"2026-05-21T01:26:09","guid":{"rendered":"http:\/\/supenguin.asuscomm.com:8080\/?page_id=9"},"modified":"2026-10-04T21:43:42","modified_gmt":"2026-10-04T13:43:42","slug":"%e5%bb%ba%e7%ab%8b%e5%a0%b1%e4%bf%ae%e5%96%ae","status":"publish","type":"page","link":"https:\/\/supenguin.com\/?page_id=9","title":{"rendered":"\u5efa\u7acb\u5831\u4fee\u55ae"},"content":{"rendered":"\n<div class=\"ticket-container\">\n    <h2>\ud83d\udcdd \u5efa\u7acb\u5168\u65b0\u5831\u4fee\u55ae<\/h2>\n    \n    <div class=\"search-section\">\n        <label class=\"main-label\">\u8acb\u8f38\u5165 \u8a2d\u5099\u8ca1\u7522\u7de8\u865f \u6216 \u96fb\u8166\u540d\u7a31 *<\/label>\n        <div class=\"search-group\">\n            <input type=\"text\" id=\"tk_search_keyword\" placeholder=\"\u4f8b\u5982: PC-2026-0001 \u6216 IT-MIN-DESKTOP\">\n            <button type=\"button\" id=\"btn_fetch_device\" onclick=\"fetchDeviceData()\">\u26a1 \u4e00\u9375\u5e36\u51fa\u500b\u4eba\u8207\u8a2d\u5099\u8cc7\u6599<\/button>\n        <\/div>\n        <div id=\"device_results_wrapper\" style=\"display:none;\">\n            <p style=\"margin: 5px 0 10px 0; font-size:14px; color:#ffb100; font-weight: bold;\">\u26a0\ufe0f \u627e\u5230\u591a\u53f0\u76f8\u4f3c\u8a2d\u5099\uff0c\u8acb\u9ede\u9078\u76ee\u6a19\u9032\u884c\u7dad\u8b77\uff1a<\/p>\n            <ul id=\"device_results_list\"><\/ul>\n        <\/div>\n    <\/div>\n    \n    <div id=\"loading_status\" style=\"display:none; color:#5bc0de; font-weight:bold; margin-bottom:10px;\">\ud83d\udd0d \u6b63\u5728\u8abf\u53d6\u7cfb\u7d71\u8cc7\u6599\u4e2d&#8230;<\/div>\n    \n    <hr>\n    \n    <fieldset class=\"info-fieldset\">\n        <legend>\ud83d\udc64 \u5831\u4fee\u4eba\u8207\u8a2d\u5099\u57fa\u672c\u8cc7\u6599 (\u81ea\u52d5\u5e36\u51fa)<\/legend>\n        \n        <div class=\"grid-2\">\n            <div class=\"form-group\">\n                <label>\u8a2d\u5099\u8ca1\u7522\u7de8\u865f<\/label>\n                <input type=\"text\" id=\"real_property_id\" readonly=\"\" style=\"color: #ffb100; font-weight: bold;\" placeholder=\"\u7531\u7cfb\u7d71\u5e36\u51fa\">\n            <\/div>\n            <div class=\"form-group\">\n                <label>\u96fb\u8166\u540d\u7a31 (\u82e5\u975e\u96fb\u8166\u8a2d\u5099\u5247\u986f\u793a\u7a7a\u767d)<\/label>\n                <input type=\"text\" id=\"tk_computer_name\" readonly=\"\" placeholder=\"\u7531\u7cfb\u7d71\u5e36\u51fa\">\n            <\/div>\n        <\/div>\n        \n        <div class=\"grid-2\">\n            <div class=\"form-group\">\n                <label>\u54e1\u5de5\u59d3\u540d<\/label>\n                <input type=\"text\" id=\"tk_emp_name\" readonly=\"\" placeholder=\"\u7531\u7cfb\u7d71\u5e36\u51fa\">\n            <\/div>\n            <div class=\"form-group\">\n                <label>\u54e1\u5de5\u5de5\u865f<\/label>\n                <input type=\"text\" id=\"tk_emp_id\" readonly=\"\" placeholder=\"\u7531\u7cfb\u7d71\u5e36\u51fa\">\n            <\/div>\n        <\/div>\n\n        <div class=\"grid-2\">\n            <div class=\"form-group\">\n                <label>\u90e8\u9580\u55ae\u4f4d<\/label>\n                <input type=\"text\" id=\"tk_department\" readonly=\"\" placeholder=\"\u7531\u7cfb\u7d71\u5e36\u51fa\">\n            <\/div>\n            <div class=\"form-group\">\n                <label>\u5206\u6a5f\u865f\u78bc<\/label>\n                <input type=\"text\" id=\"tk_extension\" readonly=\"\" placeholder=\"\u7531\u7cfb\u7d71\u5e36\u51fa\">\n            <\/div>\n        <\/div>\n\n        <div class=\"grid-2\">\n            <div class=\"form-group\">\n                <label>\u96fb\u5b50\u90f5\u4ef6 (Email)<\/label>\n                <input type=\"text\" id=\"tk_email\" readonly=\"\" placeholder=\"\u7531\u7cfb\u7d71\u5e36\u51fa\">\n            <\/div>\n            <div class=\"form-group\">\n                <label>\u6240\u5728\u4f4d\u7f6e (\u5ee0\u5340)<\/label>\n                <input type=\"text\" id=\"tk_plants\" readonly=\"\" style=\"color: #5bc0de; font-weight: bold;\" placeholder=\"\u7531\u7cfb\u7d71\u5e36\u51fa\">\n            <\/div>\n        <\/div>\n    <\/fieldset>\n\n    <hr>\n\n    <div class=\"form-group\">\n        <label class=\"main-label\">\u554f\u984c\u985e\u578b *<\/label>\n        <select id=\"tk_issue_type\">\n            <option value=\"\">&#8212; \u8acb\u9078\u64c7\u554f\u984c\u5206\u985e &#8212;<\/option>\n            <option value=\"\u786c\u9ad4\u6545\u969c\">\ud83d\udcbb \u786c\u9ad4\u6545\u969c (\u5982\u87a2\u5e55\u4e0d\u4eae\u3001\u7121\u6cd5\u958b\u6a5f\u3001\u85cd\u5c4f)<\/option>\n            <option value=\"\u8edf\u9ad4\u8207\u7cfb\u7d71\">\ud83d\udcbf \u8edf\u9ad4\u8207\u7cfb\u7d71 (\u5982\u7cfb\u7d71\u640d\u58de\u3001\u5bc6\u78bc\u904e\u671f\u3001\u7121\u6cd5\u767b\u5165)<\/option>\n            <option value=\"\u7db2\u8def\u9023\u7dda\">\ud83c\udf10 \u7db2\u8def\u9023\u7dda (\u5982\u65b7\u7db2\u3001\u7121\u6cd5\u9023\u81f3\u516c\u53f8\u7db2\u57df\/NAS)<\/option>\n            <option value=\"\u6388\u6b0a\u8207\u91d1\u9470\">\ud83d\udd11 \u6388\u6b0a\u8207\u91d1\u9470 (\u5982Office\u8df3\u51fa\u672a\u555f\u7528\u3001\u8996\u7a97\u53cd\u767d)<\/option>\n            <option value=\"\u5468\u908a\u8a2d\u5099\">\ud83d\udda8\ufe0f \u5468\u908a\u8a2d\u5099 (\u5982\u5370\u8868\u6a5f\u5361\u7d19\u3001\u6ed1\u9f20\u9375\u76e4\u640d\u58de)<\/option>\n            <option value=\"\u5176\u4ed6\u554f\u984c\">\u2753 \u5176\u4ed6\u554f\u984c<\/option>\n        <\/select>\n    <\/div>\n\n    <div class=\"form-group\">\n        <label class=\"main-label\">\u554f\u984c\u8a73\u7d30\u63cf\u8ff0 *<\/label>\n        <textarea id=\"tk_issue_desc\" rows=\"4\" placeholder=\"\u8acb\u8a73\u7d30\u8aaa\u660e\u60a8\u7684\u6545\u969c\u72c0\u6cc1\uff08\u4f8b\u5982\uff1a\u958b\u6a5f\u6642\u756b\u9762\u5168\u9ed1\uff0c\u4f46\u4e3b\u6a5f\u98a8\u6247\u6709\u8f49\uff09...\"><\/textarea>\n    <\/div>\n\n    <div class=\"form-group\">\n        <label class=\"main-label\">\u554f\u984c\u5099\u8a3b (\u9078\u586b)<\/label>\n        <input type=\"text\" id=\"tk_issue_remarks\" placeholder=\"\u4f8b\u5982\uff1a\u6025\u4ef6\uff0c\u4e0b\u5348\u9700\u8981\u958b\u6703\u7c21\u5831\u4f7f\u7528\">\n    <\/div>\n\n    <button type=\"button\" class=\"btn-submit-ticket\" onclick=\"submitTicket()\">\ud83d\ude80 \u9001\u51fa\u5831\u4fee\u55ae<\/button>\n    \n    <div id=\"ticket_msg\" class=\"msg-box\" style=\"display:none;\"><\/div>\n<\/div>\n\n<style>\n.ticket-container { background: #1e1e1e; color: #fff; padding: 30px; border-radius: 8px; max-width: 800px; margin: 20px auto; font-family: sans-serif; border: 1px solid #333; }\nh2 { margin-top: 0; color: #fff; border-bottom: 2px solid #0073aa; padding-bottom: 10px; }\n.main-label { font-size: 16px; font-weight: bold; color: #ffb100; margin-bottom: 8px; display: block; }\n.search-section { background: #2a2a2a; padding: 15px; border-radius: 6px; margin-bottom: 20px; border: 1px solid #444; }\n.search-group { display: flex; gap: 10px; margin-bottom: 10px; }\n.search-group input { flex: 1; padding: 10px; border: 1px solid #555; background: #333; color: #fff; border-radius: 4px; font-size: 16px; }\n.search-group button { background: #0073aa; color: white; border: none; padding: 0 20px; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 14px; }\n.search-group button:hover { background: #008ec2; }\n\n\/* \ud83d\udca1 \u5b8c\u7f8e\u5c0d\u9f4a\uff1a\u9ad8\u7d1a\u611f\u9ec3\u6846\u6e05\u55ae CSS \u8a2d\u8a08 *\/\n#device_results_wrapper { background: #1a1a1a; border: 1px solid #ffb100; padding: 15px; border-radius: 6px; margin-top: 15px; }\n#device_results_list { list-style: none; padding: 0; margin: 0; }\n#device_results_list li { padding: 12px 15px; background: #262626; margin-bottom: 8px; border-radius: 4px; cursor: pointer; border: 1px solid #3d3d3d; font-size: 14px; color: #ddd; transition: all 0.2s ease-in-out; display: flex; align-items: center; gap: 5px; }\n#device_results_list li:last-child { margin-bottom: 0; }\n#device_results_list li:hover { background: #ffb100; color: #000; border-color: #ffb100; font-weight: bold; transform: translateX(2px); }\n\n.info-fieldset { border: 1px solid #444; border-radius: 6px; padding: 15px; margin-bottom: 20px; background: #252525; }\n.info-fieldset legend { color: #aaa; padding: 0 10px; font-size: 14px; font-weight: bold; }\n.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 10px; }\n.form-group { display: flex; flex-direction: column; margin-bottom: 15px; }\n.form-group label { font-size: 13px; color: #bbb; margin-bottom: 5px; }\n.form-group input, .form-group select, .form-group textarea { padding: 8px; background: #2d2d2d; border: 1px solid #555; color: #fff; border-radius: 4px; }\n.form-group input[readonly] { background: #222; color: #e0e0e0; border-color: #333; cursor: not-allowed; }\n.btn-submit-ticket { width: 100%; background: #28a745; color: white; border: none; padding: 12px; border-radius: 4px; font-size: 16px; font-weight: bold; cursor: pointer; margin-top: 10px; }\n.btn-submit-ticket:hover { background: #218838; }\n.msg-box { margin-top: 15px; padding: 12px; border-radius: 4px; font-weight: bold; text-align: center; }\n.success-box { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }\n.error-box { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }\nhr { border: 0; border-top: 1px solid #444; margin: 20px 0; }\n\n\/* \ud83d\udcf1 \u624b\u6a5f\u97ff\u61c9\u5f0f\u9632\u7834\u7248\u8207\u6b04\u4f4d\u81ea\u52d5\u5f80\u4e0b\u6389\u4fee\u6b63\uff08\u901a\u7528\u7248\uff09 *\/\n@media (max-width: 768px) {\n    \/* 1. \u5f37\u5236\u6240\u6709\u5143\u7d20\u3001\u6846\u7dda\u3001\u5167\u8ddd\u90fd\u5305\u542b\u5728\u5bec\u5ea6\u5167\uff0c\u7d55\u4e0d\u5411\u53f3\u8dd1\u51fa\u53bb *\/\n    *, *:before, *:after {\n        box-sizing: border-box !important;\n    }\n\n    \/* 2. \u8b93\u4e3b\u5bb9\u5668\u8207\u5340\u584a\u5bec\u5ea6\u767e\u5206\u6bd4\u8cbc\u9f4a\u624b\u6a5f\u87a2\u5e55\uff0c\u6e05\u9664\u591a\u9918\u5de6\u53f3\u908a\u8ddd *\/\n    .dev-manager-container, \n    .ticket-container, \n    .search-center-container {\n        padding: 10px !important;\n        margin: 5px !important;\n        max-width: 100% !important;\n        width: 100% !important;\n        overflow-x: hidden !important;\n    }\n\n    \/* 3. \u5c07\u4e0a\u65b9\u7684\u641c\u5c0b\u5217\u6216\u7fa4\u7d44\u6539\u70ba\u4e0a\u4e0b\u5806\u758a *\/\n    .search-box, .search-group, .input-group {\n        flex-direction: column !important;\n        width: 100% !important;\n    }\n    .search-box button, .search-box input, \n    .search-group button, .search-group input, \n    .input-group button, .input-group input {\n        width: 100% !important;\n    }\n\n    \/* 4. \u5c07\u591a\u6b04\u6392\u7248\u5f37\u5236\u6539\u70ba\u55ae\u6b04\u5782\u76f4\u6392\u5217\uff0c\u78ba\u4fdd\u5bec\u5ea6 100% *\/\n    .grid-2, .grid-3, div[style*=\"grid-template-columns\"] {\n        display: flex !important;\n        flex-direction: column !important;\n        gap: 12px !important;\n        width: 100% !important;\n    }\n\n    \/* 5. \u78ba\u4fdd\u6240\u6709\u7684\u8868\u55ae\u7fa4\u7d44\u3001\u8f38\u5165\u6846\u3001\u4e0b\u62c9\u9078\u55ae\u3001\u6587\u5b57\u5340\u57df\u7d55\u4e0d\u8d85\u51fa\u756b\u9762 *\/\n    .form-group, \n    .license-fieldset, \n    input[type=\"text\"], \n    input[type=\"date\"], \n    input[type=\"number\"], \n    input[type=\"password\"],\n    select, \n    textarea {\n        width: 100% !important;\n        max-width: 100% !important;\n        min-width: 0 !important;\n    }\n}\n\n<\/style>\n\n<script>\nconst ajaxUrl = (window.wp && window.wp.ajax) ? window.wp.ajax.settings.url : (window.location.protocol + '\/\/' + window.location.host + '\/wp-admin\/admin-ajax.php');\nlet globalDeviceList = [];\n\nfunction fetchDeviceData() {\n    const keyword = document.getElementById('tk_search_keyword').value.trim();\n    if(!keyword) {\n        alert('\u8acb\u5148\u8f38\u5165\u8ca1\u7522\u7de8\u865f\u6216\u96fb\u8166\u540d\u7a31\uff01');\n        return;\n    }\n    \n    document.getElementById('loading_status').style.display = 'block';\n    document.getElementById('device_results_wrapper').style.display = 'none';\n    hideMsg();\n    \n    const formData = new URLSearchParams();\n    formData.append('action', 'query_device_and_user'); \n    formData.append('property_id', keyword);\n    \n    fetch(ajaxUrl, {\n        method: 'POST',\n        headers: {\n            'Content-Type': 'application\/x-www-form-urlencoded; charset=UTF-8'\n        },\n        body: formData.toString()\n    })\n    .then(res => {\n        if (!res.ok) throw new Error('\u7db2\u8def\u56de\u61c9\u7570\u5e38');\n        return res.json();\n    })\n    .then(response => {\n        document.getElementById('loading_status').style.display = 'none';\n        \n        if(response.success) {\n            globalDeviceList = response.data;\n            \n            \/\/ \ud83c\udfaf \u60c5\u6cc1 A\uff1a\u525b\u597d\u53ea\u6709\u4e00\u7b46\u8cc7\u6599\n            if(globalDeviceList.length === 1) {\n                fillTicketDeviceForm(0);\n                showMsg('\u2705 \u6210\u529f\u81ea\u52d5\u8f09\u5165\u60a8\u7684\u500b\u4eba\u8207\u8a2d\u5099\u57fa\u672c\u8cc7\u6599\uff01', 'success');\n            } \n            \/\/ \ud83c\udfaf \u60c5\u6cc1 B\uff1a\u6a21\u7cca\u67e5\u8a62\u5230\u591a\u7b46\u8cc7\u6599 (\u6e32\u67d3\u6f02\u4eae\u9ec3\u6846)\n            else if (globalDeviceList.length > 1) {\n                const listUl = document.getElementById('device_results_list');\n                listUl.innerHTML = '';\n                \n                globalDeviceList.forEach((dev, index) => {\n                    const li = document.createElement('li');\n                    \/\/ \u7cbe\u6e96\u5c0d\u63a5\uff1a\u4f9d\u64da\u8cc7\u6599\u5eab\u7d50\u69cb\u7d44\u88dd\u6587\u5b57\u8207\u5c08\u696d\u5716\u6a19\n                    li.innerHTML = `\u2699\ufe0f [${dev.plants || '\u8a2d\u5099'}] \uff5c \ud83c\udff7\ufe0f \u8ca1\u7de8\uff1a${dev.property_id} \uff5c \ud83d\udcbb \u540d\u7a31\uff1a${dev.computer_name || '(\u7121)'} \uff5c \ud83d\udc64 \u4fdd\u7ba1\u4eba\uff1a${dev.employee_name || '\u672a\u914d\u7f6e'}`;\n                    \n                    li.addEventListener('click', function() {\n                        fillTicketDeviceForm(index);\n                        showMsg(`\u2705 \u5df2\u9078\u53d6\u8a2d\u5099\uff1a${dev.property_id} (${dev.employee_name || '\u7121\u4eba\u4fdd\u7ba1'})\uff0c\u57fa\u672c\u8cc7\u6599\u586b\u5beb\u5b8c\u7562\uff01`, 'success');\n                    });\n                    listUl.appendChild(li);\n                });\n                document.getElementById('device_results_wrapper').style.display = 'block';\n                showMsg('\ud83d\udca1 \u7cfb\u7d71\u627e\u5230\u591a\u53f0\u7b26\u5408\u7684\u76f8\u4f3c\u8a2d\u5099\uff0c\u8acb\u5728\u9ec3\u6846\u6e05\u55ae\u4e2d\u9ede\u9078\u6b63\u78ba\u7684\u76ee\u6a19\u3002', 'success');\n            } else {\n                clearDeviceFields();\n                showMsg('\u274c \u627e\u4e0d\u5230\u76f8\u95dc\u8a2d\u5099\u8cc7\u6599\uff0c\u8acb\u91cd\u65b0\u8f38\u5165\u3002', 'error');\n            }\n        } else {\n            clearDeviceFields();\n            showMsg(response.data || '\u627e\u4e0d\u5230\u76f8\u95dc\u8a2d\u5099\u8cc7\u6599', 'error');\n        }\n    })\n    .catch(error => {\n        document.getElementById('loading_status').style.display = 'none';\n        showMsg('\u7cfb\u7d71\u9023\u7dda\u5931\u6557\uff0c\u8acb\u806f\u7d61 IT \u8cc7\u8a0a\u90e8\uff08\u5206\u6a5f #888\uff09\u3002', 'error');\n        console.error('Error:', error);\n    });\n}\n\nfunction fillTicketDeviceForm(index) {\n    const data = globalDeviceList[index];\n    if(!data) return;\n    document.getElementById('real_property_id').value = data.property_id || '';\n    document.getElementById('tk_computer_name').value = data.computer_name || '';\n    document.getElementById('tk_emp_name').value = data.employee_name || '\u672a\u914d\u7f6e\u4fdd\u7ba1\u4eba';\n    document.getElementById('tk_emp_id').value = data.user_emp_id || '\u7121\u5de5\u865f\u8cc7\u6599';\n    document.getElementById('tk_department').value = data.department || '\u7121\u90e8\u9580\u8cc7\u6599';\n    document.getElementById('tk_extension').value = data.extension || '\u7121\u5206\u6a5f';\n    document.getElementById('tk_email').value = data.email || '\u7121\u96fb\u5b50\u90f5\u4ef6';\n    document.getElementById('tk_plants').value = data.plants || '\u672a\u8a2d\u5b9a\u5ee0\u5340';\n    document.getElementById('device_results_wrapper').style.display = 'none';\n}\n\nfunction clearDeviceFields() {\n    document.getElementById('real_property_id').value = '';\n    document.getElementById('tk_computer_name').value = '';\n    document.getElementById('tk_emp_name').value = '';\n    document.getElementById('tk_emp_id').value = '';\n    document.getElementById('tk_department').value = '';\n    document.getElementById('tk_extension').value = '';\n    document.getElementById('tk_email').value = '';\n    document.getElementById('tk_plants').value = '';\n}\n\nfunction submitTicket() {\n    const realPropId = document.getElementById('real_property_id').value.trim();\n    const computerName = document.getElementById('tk_computer_name').value.trim();\n    const empName = document.getElementById('tk_emp_name').value.trim();\n    const empId = document.getElementById('tk_emp_id').value.trim();\n    const dept = document.getElementById('tk_department').value.trim();\n    const ext = document.getElementById('tk_extension').value.trim();\n    const email = document.getElementById('tk_email').value.trim();\n    const plant = document.getElementById('tk_plants').value.trim();\n    const issueType = document.getElementById('tk_issue_type').value;\n    const issueDesc = document.getElementById('tk_issue_desc').value.trim();\n    const remarks = document.getElementById('tk_issue_remarks').value.trim();\n    \n    if(!realPropId || !empId || !issueType || !issueDesc) {\n        showMsg('\u274c \u8acb\u5148\u5b8c\u6210\u300c\u4e00\u9375\u5e36\u51fa\u300d\u4e26\u9078\u64c7\u8a2d\u5099\uff0c\u4e26\u586b\u5beb\u554f\u984c\u985e\u578b\u8207\u8a73\u7d30\u63cf\u8ff0\uff01', 'error');\n        return;\n    }\n    \n    const submitBtn = document.querySelector('.btn-submit-ticket');\n    submitBtn.disabled = true;\n    submitBtn.innerText = '\u23f3 \u6b63\u5728\u70ba\u60a8\u5efa\u7acb\u5831\u4fee\u55ae\uff0c\u8acb\u7a0d\u5019...';\n    showMsg('\u6b63\u5728\u9023\u7dda\u4f3a\u670d\u5668\u4e26\u7522\u751f\u670d\u52d9\u7de8\u865f...', 'success');\n\n    const formData = new URLSearchParams();\n    formData.append('action', 'submit_new_repair_ticket'); \n    formData.append('property_id', realPropId);\n    formData.append('computer_name', computerName);\n    formData.append('emp_name', empName);\n    formData.append('emp_id', empId);\n    formData.append('department', dept);\n    formData.append('extension', ext);\n    formData.append('email', email);\n    formData.append('plants', plant);\n    formData.append('issue_type', issueType);\n    formData.append('issue_desc', issueDesc);\n    formData.append('remarks', remarks);\n\n    fetch(ajaxUrl, {\n        method: 'POST',\n        headers: {\n            'Content-Type': 'application\/x-www-form-urlencoded; charset=UTF-8'\n        },\n        body: formData.toString()\n    })\n    .then(res => {\n        if (!res.ok) throw new Error('\u7db2\u8def\u56de\u61c9\u7570\u5e38');\n        return res.json();\n    })\n    .then(response => {\n        if(response.success) {\n            const newTicketNo = response.data.ticket_no; \n            showMsg(`\ud83c\udf89 \u5831\u4fee\u6210\u529f\uff01\u60a8\u7684\u670d\u52d9\u7de8\u865f\u70ba\uff1a${newTicketNo}\u3002\u7db2\u9801\u5373\u5c07\u8df3\u8f49\u9032\u5ea6\u9801...`, 'success');\n            setTimeout(function() {\n                window.location.href = window.location.origin + '\/?page_id=43&ticket=' + encodeURIComponent(newTicketNo);\n            }, 1500);\n        } else {\n            showMsg('\u274c \u5efa\u55ae\u5931\u6557\uff1a' + (response.data || '\u672a\u77e5\u932f\u8aa4'), 'error');\n            submitBtn.disabled = false;\n            submitBtn.innerText = '\ud83d\ude80 \u9001\u51fa\u5831\u4fee\u55ae';\n        }\n    })\n    .catch(error => {\n        showMsg('\u274c \u4f3a\u670d\u5668\u901a\u8a0a\u7570\u5e38\uff0c\u8acb\u91cd\u8a66\u6216\u806f\u7d61\u8cc7\u8a0a\u90e8\u3002', 'error');\n        submitBtn.disabled = false;\n        submitBtn.innerText = '\ud83d\ude80 \u9001\u51fa\u5831\u4fee\u55ae';\n        console.error('Error:', error);\n    });\n}\n\nfunction showMsg(text, type) {\n    const box = document.getElementById('ticket_msg');\n    box.innerText = text;\n    box.style.display = 'block';\n    box.className = 'msg-box ' + (type === 'success' ? 'success-box' : 'error-box');\n}\n\nfunction hideMsg() {\n    const box = document.getElementById('ticket_msg');\n    if (box) box.style.display = 'none';\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udcdd \u5efa\u7acb\u5168\u65b0\u5831\u4fee\u55ae \u8acb\u8f38\u5165 \u8a2d\u5099\u8ca1\u7522\u7de8\u865f \u6216 \u96fb\u8166\u540d\u7a31 * \u26a1 \u4e00\u9375\u5e36\u51fa\u500b\u4eba\u8207\u8a2d\u5099\u8cc7\u6599 \u26a0\ufe0f \u627e\u5230\u591a\u53f0\u76f8\u4f3c\u8a2d\u5099 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/supenguin.com\/index.php?rest_route=\/wp\/v2\/pages\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/supenguin.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/supenguin.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/supenguin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/supenguin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9"}],"version-history":[{"count":17,"href":"https:\/\/supenguin.com\/index.php?rest_route=\/wp\/v2\/pages\/9\/revisions"}],"predecessor-version":[{"id":138,"href":"https:\/\/supenguin.com\/index.php?rest_route=\/wp\/v2\/pages\/9\/revisions\/138"}],"wp:attachment":[{"href":"https:\/\/supenguin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}