From be12ee7ef0d458107dc5436dc6216b7b2ef9075b Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Mon, 24 Mar 2025 09:09:52 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82=E8=AE=A1=E5=88=92=E6=92=A4?= =?UTF-8?q?=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 51 +++++++++++++++++++- js/aq_demand_plan/apply_plan_list.js | 5 +- js/aq_demand_plan/child/apply_plan_detail.js | 42 +++++++++++++++- 3 files changed, 94 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index d36954f..fadce1e 100644 --- a/index.html +++ b/index.html @@ -163,6 +163,7 @@ window.history.pushState({}, 0, url); } initPage(miniAdmin); + sessionStorage.setItem('us', JSON.stringify(result.data)); } else if (result.code === 401) { closeWindowOpen(); } @@ -224,10 +225,56 @@ // 登录获取token let login_url = dataUrl + 'login/userLogin' const params = { - "username": 'bns', + "username": 'sa', + // "password": '3NBzZK7qxhMhrmvi63FnuQ==', + "password": 'ebbd6ea34bbab2b0813afcf59c8c9556', + } + /* const params = { + "username": 'fgs-check-001', // "password": '3NBzZK7qxhMhrmvi63FnuQ==', "password": '1769fb2837e10e9d22c1c25add76355a', - } + } */ + /* const params = { + "username": 'fgs-check-002', + // "password": '3NBzZK7qxhMhrmvi63FnuQ==', + "password": '1769fb2837e10e9d22c1c25add76355a', + } */ + /* const params = { + "username": 'fgs-check-003', + // "password": '3NBzZK7qxhMhrmvi63FnuQ==', + "password": '1769fb2837e10e9d22c1c25add76355a', + } */ + /* const params = { + "username": 'xgzx-check-001', + // "password": '3NBzZK7qxhMhrmvi63FnuQ==', + "password": '1769fb2837e10e9d22c1c25add76355a', + } */ + /* const params = { + "username": 'xgzx-check-002', + // "password": '3NBzZK7qxhMhrmvi63FnuQ==', + "password": '1769fb2837e10e9d22c1c25add76355a', + } */ + /* const params = { + "username": 'xgzx-check-003', + // "password": '3NBzZK7qxhMhrmvi63FnuQ==', + "password": '1769fb2837e10e9d22c1c25add76355a', + } */ + /* const params = { + "username": 'jj-check-001', + // "password": '3NBzZK7qxhMhrmvi63FnuQ==', + "password": '1769fb2837e10e9d22c1c25add76355a', + } */ + /* const params = { + "username": 'jj-check-002', + // "password": '3NBzZK7qxhMhrmvi63FnuQ==', + "password": '1769fb2837e10e9d22c1c25add76355a', + } */ + /* const params = { + "username": 'jj-check-003', + // "password": '3NBzZK7qxhMhrmvi63FnuQ==', + "password": '1769fb2837e10e9d22c1c25add76355a', + } */ + // alert(params.username); ajaxRequest(login_url, "POST", params, true, function () { }, function (result) { console.log(result); diff --git a/js/aq_demand_plan/apply_plan_list.js b/js/aq_demand_plan/apply_plan_list.js index e7af8da..ec70789 100644 --- a/js/aq_demand_plan/apply_plan_list.js +++ b/js/aq_demand_plan/apply_plan_list.js @@ -171,7 +171,7 @@ function initTable() { let status = getCheckStatus(d.statusType, d.status); let html = ""; html += "详情"; - if (status.indexOf('驳回') > -1) { + if (status.indexOf('驳回') > -1 || status.indexOf('已撤回') > -1) { html += "