fffsfd
This commit is contained in:
BIN
0.jpg
BIN
0.jpg
Binary file not shown.
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 164 KiB |
BIN
1.jpg
BIN
1.jpg
Binary file not shown.
|
Before Width: | Height: | Size: 914 B After Width: | Height: | Size: 7.1 KiB |
6
tesxt.py
6
tesxt.py
@@ -1,5 +1 @@
|
||||
for _, i in enumerate(range(5, 19)):
|
||||
print(_, i)
|
||||
break
|
||||
else:
|
||||
print(9999)
|
||||
print(max(1 - 1,1))
|
||||
|
||||
Binary file not shown.
@@ -8,5 +8,5 @@
|
||||
"top_topics_and_observing_domains": [ ]
|
||||
} ],
|
||||
"hex_encoded_hmac_key": "6528882227050806CC3E140DB85BA1122D97F8C6474D639280C80542BFF9F9AC",
|
||||
"next_scheduled_calculation_time": "13409827649889033"
|
||||
"next_scheduled_calculation_time": "13409827649889040"
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,3 @@
|
||||
2025/12/08-15:55:18.975 1b48 Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\GCM Store/MANIFEST-000001
|
||||
2025/12/08-15:55:18.975 1b48 Recovering log #3
|
||||
2025/12/08-15:55:18.975 1b48 Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\GCM Store/000003.log
|
||||
2025/12/08-18:06:51.296 7654 Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\GCM Store/MANIFEST-000001
|
||||
2025/12/08-18:06:51.296 7654 Recovering log #3
|
||||
2025/12/08-18:06:51.296 7654 Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\GCM Store/000003.log
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
2025/12/08-15:33:36.262 585c Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\GCM Store/MANIFEST-000001
|
||||
2025/12/08-15:33:36.263 585c Recovering log #3
|
||||
2025/12/08-15:33:36.263 585c Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\GCM Store/000003.log
|
||||
2025/12/08-15:55:18.975 1b48 Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\GCM Store/MANIFEST-000001
|
||||
2025/12/08-15:55:18.975 1b48 Recovering log #3
|
||||
2025/12/08-15:55:18.975 1b48 Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\GCM Store/000003.log
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
本田/user_data/Default/Local Storage/leveldb/000007.log
Normal file
BIN
本田/user_data/Default/Local Storage/leveldb/000007.log
Normal file
Binary file not shown.
BIN
本田/user_data/Default/Local Storage/leveldb/000008.ldb
Normal file
BIN
本田/user_data/Default/Local Storage/leveldb/000008.ldb
Normal file
Binary file not shown.
@@ -1,3 +1,5 @@
|
||||
2025/12/08-15:55:14.462 70ec Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Local Storage\leveldb/MANIFEST-000001
|
||||
2025/12/08-15:55:14.465 70ec Recovering log #4
|
||||
2025/12/08-15:55:14.468 70ec Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Local Storage\leveldb/000004.log
|
||||
2025/12/08-18:06:46.875 7148 Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Local Storage\leveldb/MANIFEST-000001
|
||||
2025/12/08-18:06:46.879 7148 Recovering log #4
|
||||
2025/12/08-18:06:46.882 7148 Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Local Storage\leveldb/000004.log
|
||||
2025/12/08-18:43:24.102 7148 Level-0 table #8: started
|
||||
2025/12/08-18:43:24.109 7148 Level-0 table #8: 10070 bytes OK
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
2025/12/08-15:33:32.850 69a0 Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Local Storage\leveldb/MANIFEST-000001
|
||||
2025/12/08-15:33:32.854 69a0 Recovering log #4
|
||||
2025/12/08-15:33:32.857 69a0 Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Local Storage\leveldb/000004.log
|
||||
2025/12/08-15:55:14.462 70ec Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Local Storage\leveldb/MANIFEST-000001
|
||||
2025/12/08-15:55:14.465 70ec Recovering log #4
|
||||
2025/12/08-15:55:14.468 70ec Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Local Storage\leveldb/000004.log
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -1 +1 @@
|
||||
{"sts":[{"expiry":1794367683.669108,"host":"QHmcOtWNciYWgaUm7kK89Oz/OYDHh4m0+XEP26MRoKw=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1762831683.669111},{"expiry":1794367683.00156,"host":"UNj4iZH3GJWyB7RtLws/rKiZc00pYxOsyIZdnbc6TRI=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1762831683.001563},{"expiry":1776066917.139603,"host":"dERK8Ko+SPll3fI4ktOXyGETlPtRvoHIttvQhh3OR68=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1765180517.139606},{"expiry":1794367682.371475,"host":"iQOYhZwOYQ5ne0JQfULdlc/9gJunbLPfJn9yzktttyE=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1762831682.371478},{"expiry":1794367621.193716,"host":"kra9msM0jtUgd5BDOjtKLx8ggSb4PcnpdWlqbWE4iGg=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1762831621.193718},{"expiry":1794367683.157687,"host":"xx7JL0TPjNT9/50nstatSS71QZJwalnz2Ru9yOCXuNs=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1762831683.157689},{"expiry":1794367682.810686,"host":"yIP5EgxK5v1lbJLhZbAKp4cNSTcYa9Qg8Bvkn8ef9yQ=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1762831682.810688},{"expiry":1794367683.308968,"host":"zR1mFxMYQopPt9xPiMwhnBtTCD7IkqxcvjWtmtURdXA=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1762831683.308971},{"expiry":1796716515.274885,"host":"5EdUoB7YUY9zZV+2DkgVXgho8WUvp+D+6KpeUOhNQIM=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1765180515.274887},{"expiry":1794367683.151011,"host":"8an1eyalKXfid19zDjgq2n/7+cFLlwNp6NYlYIuN2pI=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1762831683.151013},{"expiry":1796716515.055267,"host":"8/RrMmQlCD2Gsp14wUCE1P8r7B2C5+yE0+g79IPyRsc=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1765180515.05527},{"expiry":1794625961.79943,"host":"+ccWXqaoHJ9hfuXbleKV6FQUrBlyXAJ31BdqjNQJpHs=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1763089961.799434}],"version":2}
|
||||
{"sts":[{"expiry":1794367683.669108,"host":"QHmcOtWNciYWgaUm7kK89Oz/OYDHh4m0+XEP26MRoKw=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1762831683.669111},{"expiry":1794367683.00156,"host":"UNj4iZH3GJWyB7RtLws/rKiZc00pYxOsyIZdnbc6TRI=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1762831683.001563},{"expiry":1776074808.821633,"host":"dERK8Ko+SPll3fI4ktOXyGETlPtRvoHIttvQhh3OR68=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1765188408.821636},{"expiry":1794367682.371475,"host":"iQOYhZwOYQ5ne0JQfULdlc/9gJunbLPfJn9yzktttyE=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1762831682.371478},{"expiry":1794367621.193716,"host":"kra9msM0jtUgd5BDOjtKLx8ggSb4PcnpdWlqbWE4iGg=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1762831621.193718},{"expiry":1794367683.157687,"host":"xx7JL0TPjNT9/50nstatSS71QZJwalnz2Ru9yOCXuNs=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1762831683.157689},{"expiry":1794367682.810686,"host":"yIP5EgxK5v1lbJLhZbAKp4cNSTcYa9Qg8Bvkn8ef9yQ=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1762831682.810688},{"expiry":1794367683.308968,"host":"zR1mFxMYQopPt9xPiMwhnBtTCD7IkqxcvjWtmtURdXA=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1762831683.308971},{"expiry":1796724407.508614,"host":"5EdUoB7YUY9zZV+2DkgVXgho8WUvp+D+6KpeUOhNQIM=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1765188407.508616},{"expiry":1794367683.151011,"host":"8an1eyalKXfid19zDjgq2n/7+cFLlwNp6NYlYIuN2pI=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1762831683.151013},{"expiry":1796724407.31291,"host":"8/RrMmQlCD2Gsp14wUCE1P8r7B2C5+yE0+g79IPyRsc=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1765188407.312913},{"expiry":1794625961.79943,"host":"+ccWXqaoHJ9hfuXbleKV6FQUrBlyXAJ31BdqjNQJpHs=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1763089961.799434}],"version":2}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
||||
2025/12/08-15:55:14.397 7484 Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Service Worker\Database/MANIFEST-000001
|
||||
2025/12/08-15:55:14.403 7484 Recovering log #3
|
||||
2025/12/08-15:55:14.404 7484 Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Service Worker\Database/000003.log
|
||||
2025/12/08-18:06:46.792 6c08 Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Service Worker\Database/MANIFEST-000001
|
||||
2025/12/08-18:06:46.799 6c08 Recovering log #3
|
||||
2025/12/08-18:06:46.799 6c08 Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Service Worker\Database/000003.log
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
2025/12/08-15:33:32.787 a90 Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Service Worker\Database/MANIFEST-000001
|
||||
2025/12/08-15:33:32.792 a90 Recovering log #3
|
||||
2025/12/08-15:33:32.793 a90 Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Service Worker\Database/000003.log
|
||||
2025/12/08-15:55:14.397 7484 Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Service Worker\Database/MANIFEST-000001
|
||||
2025/12/08-15:55:14.403 7484 Recovering log #3
|
||||
2025/12/08-15:55:14.404 7484 Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Service Worker\Database/000003.log
|
||||
|
||||
Binary file not shown.
BIN
本田/user_data/Default/Session Storage/000004.log
Normal file
BIN
本田/user_data/Default/Session Storage/000004.log
Normal file
Binary file not shown.
BIN
本田/user_data/Default/Session Storage/000005.ldb
Normal file
BIN
本田/user_data/Default/Session Storage/000005.ldb
Normal file
Binary file not shown.
@@ -1,3 +1,6 @@
|
||||
2025/12/08-15:55:14.554 70ec Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Session Storage/MANIFEST-000001
|
||||
2025/12/08-15:55:14.555 70ec Recovering log #3
|
||||
2025/12/08-15:55:14.558 70ec Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Session Storage/000003.log
|
||||
2025/12/08-18:06:46.971 7148 Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Session Storage/MANIFEST-000001
|
||||
2025/12/08-18:06:46.972 7148 Recovering log #3
|
||||
2025/12/08-18:06:46.976 7148 Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Session Storage/000003.log
|
||||
2025/12/08-18:28:57.884 7af8 Level-0 table #5: started
|
||||
2025/12/08-18:28:57.888 7af8 Level-0 table #5: 11471 bytes OK
|
||||
2025/12/08-18:28:57.890 7af8 Delete type=0 #3
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
2025/12/08-15:33:32.939 69a0 Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Session Storage/MANIFEST-000001
|
||||
2025/12/08-15:33:32.940 69a0 Recovering log #3
|
||||
2025/12/08-15:33:32.945 69a0 Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Session Storage/000003.log
|
||||
2025/12/08-15:55:14.554 70ec Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Session Storage/MANIFEST-000001
|
||||
2025/12/08-15:55:14.555 70ec Recovering log #3
|
||||
2025/12/08-15:55:14.558 70ec Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Session Storage/000003.log
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,3 @@
|
||||
2025/12/08-15:55:14.404 c30 Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Site Characteristics Database/MANIFEST-000001
|
||||
2025/12/08-15:55:14.405 c30 Recovering log #9
|
||||
2025/12/08-15:55:14.407 c30 Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Site Characteristics Database/000009.log
|
||||
2025/12/08-18:06:46.791 60b8 Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Site Characteristics Database/MANIFEST-000001
|
||||
2025/12/08-18:06:46.798 60b8 Recovering log #9
|
||||
2025/12/08-18:06:46.799 60b8 Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Site Characteristics Database/000009.log
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
2025/12/08-15:33:32.792 3734 Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Site Characteristics Database/MANIFEST-000001
|
||||
2025/12/08-15:33:32.793 3734 Recovering log #9
|
||||
2025/12/08-15:33:32.794 3734 Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Site Characteristics Database/000009.log
|
||||
2025/12/08-15:55:14.404 c30 Reusing MANIFEST C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Site Characteristics Database/MANIFEST-000001
|
||||
2025/12/08-15:55:14.405 c30 Recovering log #9
|
||||
2025/12/08-15:55:14.407 c30 Reusing old log C:\Users\27942\Desktop\aichebao-automation-project\本田\user_data\Default\Site Characteristics Database/000009.log
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,3 @@
|
||||
<08>㵀 B :
|
||||
|
||||
"0010<10>9<07>F<EFBFBD>B"
|
||||
|
||||
"0010<10>9<0C>-!mB"
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
本田/user_data/Safe Browsing/UrlMalware.store.4_13409662115599854
Normal file
BIN
本田/user_data/Safe Browsing/UrlMalware.store.4_13409662115599854
Normal file
Binary file not shown.
BIN
本田/user_data/Safe Browsing/UrlMalware.store.4_13409663909825052
Normal file
BIN
本田/user_data/Safe Browsing/UrlMalware.store.4_13409663909825052
Normal file
Binary file not shown.
@@ -1,3 +1,3 @@
|
||||
<08>㵀 C :
|
||||
|
||||
"0010<10><><0C>e(;B"
|
||||
|
||||
"0010<10><><0C><1B><>B"
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,3 @@
|
||||
<08>㵀 C :
|
||||
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,3 @@
|
||||
<08>㵀 C :
|
||||
|
||||
"0010<10><>&<26>B"
|
||||
|
||||
"0010<10><><EFBFBD>LƶB"
|
||||
Binary file not shown.
Binary file not shown.
BIN
本田/user_data/Safe Browsing/UrlUws.store.4_13409662115602944
Normal file
BIN
本田/user_data/Safe Browsing/UrlUws.store.4_13409662115602944
Normal file
Binary file not shown.
BIN
本田/user_data/Safe Browsing/UrlUws.store.4_13409663909827829
Normal file
BIN
本田/user_data/Safe Browsing/UrlUws.store.4_13409663909827829
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
450
本田注入.py
450
本田注入.py
@@ -257,7 +257,8 @@ class Acb:
|
||||
xx_ele.click()
|
||||
time.sleep(1)
|
||||
|
||||
xx_ele = tab.ele('x:(//div[@aria-label="当前活动"]//span[normalize-space(text()) = "确认"])[last()]')
|
||||
xx_ele = tab.ele('x:(//div[@aria-label="当前活动"]//span[normalize-space(text()) = "确认"])[last()]',
|
||||
timeout=10)
|
||||
if xx_ele:
|
||||
try:
|
||||
xx_ele.click()
|
||||
@@ -341,7 +342,47 @@ class Acb:
|
||||
if not xx_ele.attrs.get('disabled', ""):
|
||||
xx_ele.input(vals=self.a["送修人电话"], clear=True)
|
||||
|
||||
# 维修套餐
|
||||
# # 维修套餐
|
||||
# 维修套餐 = self.a.get("维修套餐")
|
||||
# if 维修套餐:
|
||||
# tab.ele('x:(//span[text() = "维修套餐"])[last()]').click()
|
||||
# time.sleep(3)
|
||||
# tab.ele('x:(//input[@labelname="套餐名称"])').input(维修套餐["套餐名称"])
|
||||
# time.sleep(3)
|
||||
# tab.ele('x://*[@aria-label="维修套餐"]//span[text() = "查询"]').click()
|
||||
# time.sleep(3)
|
||||
# tab.ele(f'x:(//span[normalize-space(text()) = "{维修套餐["套餐编号"]}"])[last()]').click()
|
||||
# time.sleep(3)
|
||||
# tab.ele('x://*[@aria-label="维修套餐"]//span[text() = "确认"]').click()
|
||||
# time.sleep(5)
|
||||
#
|
||||
# wxxm_eles = tab.eles(f'x://*[@id="MicroAppMain"]/div/div[1]/div[7]/div[3]/table/tbody/tr')
|
||||
# for i in 维修套餐["项目"]:
|
||||
# for _, wxxm_ele in enumerate(wxxm_eles):
|
||||
# print(wxxm_ele.ele('x:./td[6]').text)
|
||||
# if wxxm_ele.ele('x:./td[6]').text == i.get('零部件代码'):
|
||||
# tab.actions.scroll(on_ele=f"text={_ + 1}")
|
||||
# time.sleep(1)
|
||||
# tab.actions.scroll(on_ele=f"text=销售材料")
|
||||
# time.sleep(1)
|
||||
# wxxm_ele.ele('x:./td[8]/div/div/input').input(i["数量"], clear=True)
|
||||
# break
|
||||
#
|
||||
# if wxxm_ele.ele('x:./td[6]').text == i.get(
|
||||
# '车型分组代码'):
|
||||
# tab.actions.scroll(on_ele=f"text={_ + 1}")
|
||||
# time.sleep(1)
|
||||
# tab.actions.scroll(on_ele=f"text=销售材料")
|
||||
# time.sleep(1)
|
||||
# wxxm_ele.ele('x:./td[8]/div/div/input').input(i["数量"], clear=True)
|
||||
# time.sleep(1)
|
||||
# wxxm_ele.ele('x:./td[10]/div/div/div/input').click()
|
||||
# time.sleep(1)
|
||||
# tab.ele(f'x:(//span[normalize-space(text()) = "{i["工时单价"]}"])[last()]').click()
|
||||
# break
|
||||
# else:
|
||||
# self.a["项目"].append(i)
|
||||
|
||||
维修套餐 = self.a.get("维修套餐")
|
||||
if 维修套餐:
|
||||
tab.ele('x:(//span[text() = "维修套餐"])[last()]').click()
|
||||
@@ -356,20 +397,26 @@ class Acb:
|
||||
time.sleep(5)
|
||||
|
||||
wxxm_eles = tab.eles(f'x://*[@id="MicroAppMain"]/div/div[1]/div[7]/div[3]/table/tbody/tr')
|
||||
for i in 维修套餐["项目"]:
|
||||
for _, wxxm_ele in enumerate(wxxm_eles):
|
||||
n = 1
|
||||
|
||||
while n <= len(wxxm_eles):
|
||||
wxxm_eles = tab.eles(f'x://*[@id="MicroAppMain"]/div/div[1]/div[7]/div[3]/table/tbody/tr')
|
||||
wxxm_ele = wxxm_eles[n - 1]
|
||||
for i in 维修套餐["项目"]:
|
||||
print(wxxm_ele.ele('x:./td[6]').text)
|
||||
if wxxm_ele.ele('x:./td[6]').text == i.get('零部件代码'):
|
||||
tab.actions.scroll(on_ele=f"text={_ + 1}")
|
||||
tab.actions.scroll(on_ele=f"text={n}")
|
||||
time.sleep(1)
|
||||
tab.actions.scroll(on_ele=f"text=销售材料")
|
||||
time.sleep(1)
|
||||
wxxm_ele.ele('x:./td[8]/div/div/input').input(i["数量"], clear=True)
|
||||
|
||||
n += 1
|
||||
break
|
||||
|
||||
if wxxm_ele.ele('x:./td[6]').text == i.get(
|
||||
'车型分组代码'):
|
||||
tab.actions.scroll(on_ele=f"text={_ + 1}")
|
||||
tab.actions.scroll(on_ele=f"text={n}")
|
||||
time.sleep(1)
|
||||
tab.actions.scroll(on_ele=f"text=销售材料")
|
||||
time.sleep(1)
|
||||
@@ -378,9 +425,18 @@ class Acb:
|
||||
wxxm_ele.ele('x:./td[10]/div/div/div/input').click()
|
||||
time.sleep(1)
|
||||
tab.ele(f'x:(//span[normalize-space(text()) = "{i["工时单价"]}"])[last()]').click()
|
||||
|
||||
n += 1
|
||||
break
|
||||
else:
|
||||
self.a["项目"].append(i)
|
||||
tab.actions.scroll(on_ele=f"text={n}")
|
||||
time.sleep(1)
|
||||
tab.actions.scroll(on_ele=f"text=销售材料")
|
||||
time.sleep(1)
|
||||
wxxm_ele.ele(f'x:.//span[normalize-space(text()) = "删除"]').click()
|
||||
n = max(n - 1, 1)
|
||||
|
||||
time.sleep(1)
|
||||
|
||||
wxxm_eles = tab.eles(f'x://*[@id="MicroAppMain"]/div/div[1]/div[7]/div[3]/table/tbody/tr')
|
||||
# 维修项目
|
||||
@@ -596,195 +652,195 @@ if __name__ == "__main__":
|
||||
with open(config_file, 'w') as f:
|
||||
config.write(f)
|
||||
|
||||
# a = {
|
||||
# "工单类型": "维修",
|
||||
# "VIN码": "LVHFE468XP6000197",
|
||||
# "车牌号": "京CQR336",
|
||||
# "维修类型": "一般维修",
|
||||
# "二级维修类型": "",
|
||||
# "进厂行驶里程": 154546,
|
||||
# "出厂行驶里程": 1578164,
|
||||
# "预计交车时间": "2025-11-15 15:35",
|
||||
# "送修保险公司": "太平财险",
|
||||
# "报案号": "2025111301",
|
||||
# "是否全钣喷": "是",
|
||||
# "三日电访时间": "下午",
|
||||
# "换表里程": "",
|
||||
# "累计换表里程": "",
|
||||
# "发动机编号": "AS77879ACB",
|
||||
# "电机号": "",
|
||||
# "动力类型": "混动",
|
||||
# "是否本公司购车": "",
|
||||
# "开始日期": "",
|
||||
# "结束日期": "",
|
||||
# "销售顾问": "郑喜峰",
|
||||
# "车主手机号": "13910921511",
|
||||
# "车主名称": "金克程",
|
||||
# "车主性质": "个人",
|
||||
# "性别": "男性",
|
||||
# "地址": "空",
|
||||
# "送修人": "金克程",
|
||||
# "送修人性别": "男性",
|
||||
# "送修人电话": "18108230647",
|
||||
# "维修套餐": {
|
||||
# "套餐名称": "FA1-20000公里保养",
|
||||
# "套餐编号": "FA1A2",
|
||||
# "项目": [
|
||||
# {
|
||||
# "项目类型": "材料",
|
||||
# "维修项目": "放油口垫",
|
||||
# "数量": 4.5,
|
||||
# "零部件代码": "94109-14000."
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "材料",
|
||||
# "维修项目": "发动机保护剂",
|
||||
# "数量": 4.5,
|
||||
# "零部件代码": "08CH2-ADC-YW1"
|
||||
# },
|
||||
#
|
||||
# {
|
||||
# "项目类型": "材料",
|
||||
# "维修项目": "大黑桶全合成机油0W20日石4L",
|
||||
# "数量": 0.5,
|
||||
# "零部件代码": "08235-W99-A4PJ3"
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "材料",
|
||||
# "维修项目": "机油滤清器(MAHLE)",
|
||||
# "数量": 0.5,
|
||||
# "零部件代码": "15400-R5G-H01"
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "材料",
|
||||
# "维修项目": "化油器清洗剂",
|
||||
# "数量": 0.5,
|
||||
# "零部件代码": "TLY-HQ"
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "材料",
|
||||
# "维修项目": "发动机缸压恢复剂",
|
||||
# "数量": 0.5,
|
||||
# "零部件代码": "YJ-G0119"
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "工时",
|
||||
# "维修项目": "轮胎交叉换位(含动平衡)",
|
||||
# "数量": 1,
|
||||
# "工时单价": 100,
|
||||
# "车型分组代码": "FA1"
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "工时",
|
||||
# "维修项目": "常规保养检查",
|
||||
# "数量": 1,
|
||||
# "工时单价": 100,
|
||||
# "车型分组代码": "FA1"
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "工时",
|
||||
# "维修项目": "10000KM间隔保养",
|
||||
# "数量": 1,
|
||||
# "工时单价": 100,
|
||||
# "车型分组代码": "FA1"
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "工时",
|
||||
# "维修项目": "*拆装清洗节气门体",
|
||||
# "数量": 1,
|
||||
# "工时单价": 100,
|
||||
# "车型分组代码": "FA1"
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "工时",
|
||||
# "维修项目": "*检查前刹车片、后刹车片",
|
||||
# "数量": 1,
|
||||
# "工时单价": 100,
|
||||
# "车型分组代码": "FA1"
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "工时",
|
||||
# "维修项目": "已告知预存保养费尊享工时折扣",
|
||||
# "数量": 1,
|
||||
# "工时单价": 100,
|
||||
# "车型分组代码": "FA1"
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "工时",
|
||||
# "维修项目": "已告知微信预约绿色通道专享",
|
||||
# "数量": 1,
|
||||
# "工时单价": 100,
|
||||
# "车型分组代码": "FA1"
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "工时",
|
||||
# "维修项目": "说明:本工单所有项目为建议维保内容",
|
||||
# "数量": 1,
|
||||
# "工时单价": 100,
|
||||
# "车型分组代码": "FA1"
|
||||
# }
|
||||
# ]
|
||||
# },
|
||||
# "项目": [
|
||||
# {
|
||||
# "项目类型": "材料",
|
||||
# "维修项目": "发动机机油SN0W20 4L日石",
|
||||
# "数量": 0.5,
|
||||
# "零部件代码": "08234-W99-A4PJ3"
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "工时",
|
||||
# "维修项目": "点烟器总成 - 更换",
|
||||
# "数量": 1,
|
||||
# "工时单价": 100,
|
||||
# "车型分组代码": "CU2"
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "工时",
|
||||
# "维修项目": "拆装侧踏",
|
||||
# "数量": 1,
|
||||
# "工时单价": 100,
|
||||
# "车型分组代码": "RD5"
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "工时",
|
||||
# "维修项目": "两轮轮胎动平衡-调整",
|
||||
# "数量": 1,
|
||||
# "工时单价": 100,
|
||||
# "车型分组代码": "CU2"
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "工时",
|
||||
# "维修项目": "仪表灯泡- 更换",
|
||||
# "数量": 1,
|
||||
# "工时单价": 100,
|
||||
# "车型分组代码": "CU2"
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "工时",
|
||||
# "维修项目": "驻车制动器-调整",
|
||||
# "数量": 1,
|
||||
# "工时单价": 100,
|
||||
# "车型分组代码": "RD7"
|
||||
# },
|
||||
# {
|
||||
# "项目类型": "工时",
|
||||
# "维修项目": "室内干洗",
|
||||
# "数量": 1,
|
||||
# "工时单价": 100,
|
||||
# "车型分组代码": "RE2"
|
||||
# }
|
||||
# ]
|
||||
# }
|
||||
#
|
||||
# Acb(
|
||||
# a=a,
|
||||
# ).action()
|
||||
a = {
|
||||
"工单类型": "维修",
|
||||
"VIN码": "LVHFE468XP6000197",
|
||||
"车牌号": "京CQR336",
|
||||
"维修类型": "一般维修",
|
||||
"二级维修类型": "",
|
||||
"进厂行驶里程": 154546,
|
||||
"出厂行驶里程": 1578164,
|
||||
"预计交车时间": "2025-11-15 15:35",
|
||||
"送修保险公司": "太平财险",
|
||||
"报案号": "2025111301",
|
||||
"是否全钣喷": "是",
|
||||
"三日电访时间": "下午",
|
||||
"换表里程": "",
|
||||
"累计换表里程": "",
|
||||
"发动机编号": "AS77879ACB",
|
||||
"电机号": "",
|
||||
"动力类型": "混动",
|
||||
"是否本公司购车": "",
|
||||
"开始日期": "",
|
||||
"结束日期": "",
|
||||
"销售顾问": "郑喜峰",
|
||||
"车主手机号": "13910921511",
|
||||
"车主名称": "金克程",
|
||||
"车主性质": "个人",
|
||||
"性别": "男性",
|
||||
"地址": "空",
|
||||
"送修人": "金克程",
|
||||
"送修人性别": "男性",
|
||||
"送修人电话": "18108230647",
|
||||
"维修套餐": {
|
||||
"套餐名称": "FA1-20000公里保养",
|
||||
"套餐编号": "FA1A2",
|
||||
"项目": [
|
||||
{
|
||||
"项目类型": "材料",
|
||||
"维修项目": "放油口垫",
|
||||
"数量": 4.5,
|
||||
"零部件代码": "94109-14000."
|
||||
},
|
||||
{
|
||||
"项目类型": "材料",
|
||||
"维修项目": "发动机保护剂",
|
||||
"数量": 4.5,
|
||||
"零部件代码": "08CH2-ADC-YW1"
|
||||
},
|
||||
|
||||
try:
|
||||
acb = Acb()
|
||||
acb.take_over_browser()
|
||||
except Exception as e:
|
||||
logger.warning(f"初始化浏览器控制失败: {e}")
|
||||
{
|
||||
"项目类型": "材料",
|
||||
"维修项目": "大黑桶全合成机油0W20日石4L",
|
||||
"数量": 0.5,
|
||||
"零部件代码": "08235-W99-A4PJ3"
|
||||
},
|
||||
{
|
||||
"项目类型": "材料",
|
||||
"维修项目": "机油滤清器(MAHLE)",
|
||||
"数量": 0.5,
|
||||
"零部件代码": "15400-R5G-H01"
|
||||
},
|
||||
{
|
||||
"项目类型": "材料",
|
||||
"维修项目": "化油器清洗剂",
|
||||
"数量": 0.5,
|
||||
"零部件代码": "TLY-HQ"
|
||||
},
|
||||
{
|
||||
"项目类型": "材料",
|
||||
"维修项目": "发动机缸压恢复剂",
|
||||
"数量": 0.5,
|
||||
"零部件代码": "YJ-G0119"
|
||||
},
|
||||
{
|
||||
"项目类型": "工时",
|
||||
"维修项目": "轮胎交叉换位(含动平衡)",
|
||||
"数量": 1,
|
||||
"工时单价": 100,
|
||||
"车型分组代码": "FA1"
|
||||
},
|
||||
{
|
||||
"项目类型": "工时",
|
||||
"维修项目": "常规保养检查",
|
||||
"数量": 1,
|
||||
"工时单价": 100,
|
||||
"车型分组代码": "FA1"
|
||||
},
|
||||
{
|
||||
"项目类型": "工时",
|
||||
"维修项目": "10000KM间隔保养",
|
||||
"数量": 1,
|
||||
"工时单价": 100,
|
||||
"车型分组代码": "FA1"
|
||||
},
|
||||
{
|
||||
"项目类型": "工时",
|
||||
"维修项目": "*拆装清洗节气门体",
|
||||
"数量": 1,
|
||||
"工时单价": 100,
|
||||
"车型分组代码": "FA1"
|
||||
},
|
||||
{
|
||||
"项目类型": "工时",
|
||||
"维修项目": "*检查前刹车片、后刹车片",
|
||||
"数量": 1,
|
||||
"工时单价": 100,
|
||||
"车型分组代码": "FA1"
|
||||
},
|
||||
{
|
||||
"项目类型": "工时",
|
||||
"维修项目": "已告知预存保养费尊享工时折扣",
|
||||
"数量": 1,
|
||||
"工时单价": 100,
|
||||
"车型分组代码": "FA1"
|
||||
},
|
||||
{
|
||||
"项目类型": "工时",
|
||||
"维修项目": "已告知微信预约绿色通道专享",
|
||||
"数量": 1,
|
||||
"工时单价": 100,
|
||||
"车型分组代码": "FA1"
|
||||
},
|
||||
{
|
||||
"项目类型": "工时",
|
||||
"维修项目": "说明:本工单所有项目为建议维保内容",
|
||||
"数量": 1,
|
||||
"工时单价": 100,
|
||||
"车型分组代码": "FA1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"项目": [
|
||||
{
|
||||
"项目类型": "材料",
|
||||
"维修项目": "发动机机油SN0W20 4L日石",
|
||||
"数量": 0.5,
|
||||
"零部件代码": "08234-W99-A4PJ3"
|
||||
},
|
||||
{
|
||||
"项目类型": "工时",
|
||||
"维修项目": "点烟器总成 - 更换",
|
||||
"数量": 1,
|
||||
"工时单价": 100,
|
||||
"车型分组代码": "CU2"
|
||||
},
|
||||
{
|
||||
"项目类型": "工时",
|
||||
"维修项目": "拆装侧踏",
|
||||
"数量": 1,
|
||||
"工时单价": 100,
|
||||
"车型分组代码": "RD5"
|
||||
},
|
||||
{
|
||||
"项目类型": "工时",
|
||||
"维修项目": "两轮轮胎动平衡-调整",
|
||||
"数量": 1,
|
||||
"工时单价": 100,
|
||||
"车型分组代码": "CU2"
|
||||
},
|
||||
{
|
||||
"项目类型": "工时",
|
||||
"维修项目": "仪表灯泡- 更换",
|
||||
"数量": 1,
|
||||
"工时单价": 100,
|
||||
"车型分组代码": "CU2"
|
||||
},
|
||||
{
|
||||
"项目类型": "工时",
|
||||
"维修项目": "驻车制动器-调整",
|
||||
"数量": 1,
|
||||
"工时单价": 100,
|
||||
"车型分组代码": "RD7"
|
||||
},
|
||||
{
|
||||
"项目类型": "工时",
|
||||
"维修项目": "室内干洗",
|
||||
"数量": 1,
|
||||
"工时单价": 100,
|
||||
"车型分组代码": "RE2"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
app.run(host="0.0.0.0", port=5000, )
|
||||
Acb(
|
||||
a=a,
|
||||
).action()
|
||||
|
||||
# try:
|
||||
# acb = Acb()
|
||||
# acb.take_over_browser()
|
||||
# except Exception as e:
|
||||
# logger.warning(f"初始化浏览器控制失败: {e}")
|
||||
#
|
||||
# app.run(host="0.0.0.0", port=5000, )
|
||||
|
||||
Reference in New Issue
Block a user