diff --git a/.idea/misc.xml b/.idea/misc.xml index 89ee753..4e0c0aa 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,3 @@ - diff --git a/browser_login/fetch_receipt_details_full.py b/browser_login/fetch_receipt_details_full.py index 96accb7..a87aa61 100644 --- a/browser_login/fetch_receipt_details_full.py +++ b/browser_login/fetch_receipt_details_full.py @@ -39,8 +39,8 @@ def fetch_receipt_details_full(): menus = [ ("第一层: 业务统计报表", 'xpath://*[@id="app"]/div/div[1]/div[1]/div[2]/div/div[1]/div/div[10]/div/p'), - ("第二层: 采购业务报表", 'xpath:/html/body/div[7]/div/div[1]/div/div[4]/div/p'), - ("第三层: 财务收货明细报表", 'xpath:/html/body/div[8]/div/div[1]/div/div[4]/div/p') + ("第二层: 财务业务报表", 'text:财务业务报表'), + ("第三层: 财务收货明细报表", 'text:财务收货明细报表') ] log("INFO", "开始模拟人工点击左侧导航菜单...") diff --git a/web_ui/templates/home.html b/web_ui/templates/home.html index b0c33c5..0df49d9 100644 --- a/web_ui/templates/home.html +++ b/web_ui/templates/home.html @@ -222,7 +222,7 @@ :disabled="isSystemBusy" @click="syncReceipts" round> - +