serviceOrder.js 72 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853
  1. const app = getApp()
  2. const util = require("../../../utils/util");
  3. const api = require('../../../api/api.js');
  4. const user = require('../../../utils/user.js');
  5. // const update = require('../../../api/update.js');
  6. import moment from 'moment'
  7. Page({
  8. data: {
  9. dayCalendar:{
  10. askForLeaveDTOS:[],
  11. workerOrderInfoDTOList:[],
  12. leaveNum:'',
  13. finishWorkerOrder:'',
  14. questionNum:'',
  15. looseOrder:'',
  16. looseOrderCount:'',
  17. cycleOrder:'',
  18. cycleOrderCount:'',
  19. rebuyNum:'',
  20. looseRebuyNum:'',
  21. cycleRebuyNum:'',
  22. },
  23. currentMonth:moment(new Date()).format('YYYY-MM'),
  24. calcendarFold:true,
  25. stickShow:false,
  26. today:util.formetdate(new Date()),
  27. currentDay:util.formetdate(new Date()),
  28. isLeaveFold:true,
  29. orderDisable:true,
  30. orderDisable1:false,
  31. activeTab:1,
  32. ticketList:[
  33. {},{}
  34. ],
  35. monthInfo:{
  36. finishWorkerOrder:0,
  37. orderBonus:0,
  38. questionNum:0,
  39. looseOrder:0,
  40. cycleOrder:0,
  41. rebuyBonus:0,
  42. looseRebuyNum:0,
  43. cycleRebuyNum:0,
  44. },
  45. workerDayInfoList:[],
  46. weekCalendar:[],
  47. wholeCalendar : [
  48. {
  49. "dayOfWeek": "周一",
  50. "weekOfYear": "40周",
  51. "workerDayTradeInfoList": [
  52. {
  53. itemType:'品类',
  54. "workerNo": "s0000004",
  55. "tradeNo": "13869171",
  56. "thisDay": "2022-09-26",
  57. "startTime": "08:00:00",
  58. "tradeType": "服务工单",
  59. "evaltionType": "好评",
  60. "tradeStatus": "服务已完成",
  61. "canEval": "0",
  62. "tradeSource": "盒马"
  63. },
  64. {
  65. "workerNo": "s0000004",
  66. "tradeNo": "17310180",
  67. "thisDay": "2022-09-26",
  68. "startTime": "13:00:00",
  69. "tradeType": "服务工单",
  70. "evaltionType": "好评",
  71. "tradeStatus": "服务已完成",
  72. "canEval": "1",
  73. "tradeSource": "盒马"
  74. },
  75. {
  76. "workerNo": "s0000004",
  77. "tradeNo": "17413047",
  78. "thisDay": "2022-09-26",
  79. "startTime": "17:30:00",
  80. "tradeType": "服务工单",
  81. "evaltionType": "好评",
  82. "tradeStatus": "服务已完成",
  83. "canEval": "1",
  84. "tradeSource": "盒马"
  85. }
  86. ],
  87. "day": "2022-11-11"
  88. },
  89. {
  90. "dayOfWeek": "周二",
  91. "weekOfYear": "40周",
  92. "workerDayTradeInfoList": [
  93. {
  94. "workerNo": "s0000004",
  95. "tradeNo": "15721076",
  96. "thisDay": "2022-09-27",
  97. "startTime": "08:00:00",
  98. "tradeType": "服务工单",
  99. "evaltionType": "",
  100. "tradeStatus": "服务已完成",
  101. "canEval": "0",
  102. "tradeSource": "盒马"
  103. },
  104. {
  105. "workerNo": "s0000004",
  106. "tradeNo": "16757318",
  107. "thisDay": "2022-09-27",
  108. "startTime": "13:00:00",
  109. "tradeType": "服务工单",
  110. "evaltionType": "",
  111. "tradeStatus": "服务已完成",
  112. "canEval": "0",
  113. "tradeSource": "盒马"
  114. },
  115. {
  116. "workerNo": "s0000004",
  117. "tradeNo": "17184474",
  118. "thisDay": "2022-09-27",
  119. "startTime": "17:30:00",
  120. "tradeType": "服务工单",
  121. "evaltionType": "",
  122. "tradeStatus": "服务已完成",
  123. "canEval": "0",
  124. "tradeSource": "盒马"
  125. }
  126. ],
  127. "day": "2022-09-27"
  128. },
  129. {
  130. "dayOfWeek": "周三",
  131. "weekOfYear": "40周",
  132. "workerDayTradeInfoList": [
  133. {
  134. itemType:'品类',
  135. "workerNo": "s0000004",
  136. "tradeNo": "",
  137. "thisDay": "2022-09-28",
  138. "startTime": "",
  139. "tradeType": "",
  140. "evaltionType": "",
  141. "tradeStatus": "",
  142. "canEval": "0",
  143. "tradeSource": ""
  144. }
  145. ],
  146. "day": "2022-09-28"
  147. },
  148. {
  149. "dayOfWeek": "周四",
  150. "weekOfYear": "40周",
  151. "workerDayTradeInfoList": [
  152. {
  153. "workerNo": "s0000004",
  154. "tradeNo": "13873191",
  155. "thisDay": "2022-09-29",
  156. "startTime": "08:00:00",
  157. "tradeType": "服务工单",
  158. "evaltionType": "差评",
  159. "tradeStatus": "服务已完成",
  160. "canEval": "0",
  161. "tradeSource": "盒马"
  162. },
  163. {
  164. "workerNo": "s0000004",
  165. "tradeNo": "15755358",
  166. "thisDay": "2022-09-29",
  167. "startTime": "13:00:00",
  168. "tradeType": "服务工单",
  169. "evaltionType": "",
  170. "tradeStatus": "服务已完成",
  171. "canEval": "0",
  172. "tradeSource": "盒马"
  173. },
  174. {
  175. "workerNo": "s0000004",
  176. "tradeNo": "17478201",
  177. "thisDay": "2022-09-29",
  178. "startTime": "17:30:00",
  179. "tradeType": "服务工单",
  180. "evaltionType": "",
  181. "tradeStatus": "服务已完成",
  182. "canEval": "1",
  183. "tradeSource": "盒马"
  184. }
  185. ],
  186. "day": "2022-09-29"
  187. },
  188. {
  189. "dayOfWeek": "周五",
  190. "weekOfYear": "40周",
  191. "workerDayTradeInfoList": [
  192. {
  193. "workerNo": "s0000004",
  194. "tradeNo": "16295527",
  195. "thisDay": "2022-09-30",
  196. "startTime": "08:00:00",
  197. "tradeType": "服务工单",
  198. "evaltionType": "差评",
  199. "tradeStatus": "服务已完成",
  200. "canEval": "0",
  201. "tradeSource": "盒马"
  202. },
  203. {
  204. "workerNo": "s0000004",
  205. "tradeNo": "15680806",
  206. "thisDay": "2022-09-30",
  207. "startTime": "17:30:00",
  208. "tradeType": "服务工单",
  209. "evaltionType": "好评",
  210. "tradeStatus": "服务已完成",
  211. "canEval": "0",
  212. "tradeSource": "盒马"
  213. }
  214. ],
  215. "day": "2022-09-30"
  216. },
  217. {
  218. "dayOfWeek": "周六",
  219. "weekOfYear": "40周",
  220. "workerDayTradeInfoList": [
  221. {
  222. "workerNo": "s0000004",
  223. "tradeNo": "17321148",
  224. "thisDay": "2022-10-01",
  225. "startTime": "08:00:00",
  226. "tradeType": "服务工单",
  227. "evaltionType": "好评",
  228. "tradeStatus": "服务已完成",
  229. "canEval": "1",
  230. "tradeSource": "盒马"
  231. },
  232. {
  233. "workerNo": "s0000004",
  234. "tradeNo": "15847925",
  235. "thisDay": "2022-10-01",
  236. "startTime": "13:00:00",
  237. "tradeType": "服务工单",
  238. "evaltionType": "",
  239. "tradeStatus": "服务已完成",
  240. "canEval": "0",
  241. "tradeSource": "盒马"
  242. }
  243. ],
  244. "day": "2022-10-01"
  245. },
  246. {
  247. "dayOfWeek": "周日",
  248. "weekOfYear": "40周",
  249. "workerDayTradeInfoList": [
  250. {
  251. "workerNo": "s0000004",
  252. "tradeNo": "17501174",
  253. "thisDay": "2022-10-02",
  254. "startTime": "08:00:00",
  255. "tradeType": "服务工单",
  256. "evaltionType": "",
  257. "tradeStatus": "服务已完成",
  258. "canEval": "1",
  259. "tradeSource": "盒马"
  260. },
  261. {
  262. "workerNo": "s0000004",
  263. "tradeNo": "17542008",
  264. "thisDay": "2022-10-02",
  265. "startTime": "13:00:00",
  266. "tradeType": "服务工单",
  267. "evaltionType": "",
  268. "tradeStatus": "服务已完成",
  269. "canEval": "1",
  270. "tradeSource": "盒马"
  271. },
  272. {
  273. "workerNo": "s0000004",
  274. "tradeNo": "16914369",
  275. "thisDay": "2022-10-02",
  276. "startTime": "17:30:00",
  277. "tradeType": "服务工单",
  278. "evaltionType": "",
  279. "tradeStatus": "服务已完成",
  280. "canEval": "0",
  281. "tradeSource": "盒马"
  282. }
  283. ],
  284. "day": "2022-10-02"
  285. },
  286. {
  287. "dayOfWeek": "周一",
  288. "weekOfYear": "41周",
  289. "workerDayTradeInfoList": [
  290. {
  291. "workerNo": "s0000004",
  292. "tradeNo": "13864121",
  293. "thisDay": "2022-10-03",
  294. "startTime": "08:00:00",
  295. "tradeType": "服务工单",
  296. "evaltionType": "",
  297. "tradeStatus": "服务已完成",
  298. "canEval": "0",
  299. "tradeSource": "盒马"
  300. },
  301. {
  302. "workerNo": "s0000004",
  303. "tradeNo": "16437024",
  304. "thisDay": "2022-10-03",
  305. "startTime": "13:00:00",
  306. "tradeType": "服务工单",
  307. "evaltionType": "",
  308. "tradeStatus": "服务已完成",
  309. "canEval": "0",
  310. "tradeSource": "盒马"
  311. },
  312. {
  313. "workerNo": "s0000004",
  314. "tradeNo": "17544918",
  315. "thisDay": "2022-10-03",
  316. "startTime": "17:30:00",
  317. "tradeType": "服务工单",
  318. "evaltionType": "",
  319. "tradeStatus": "服务已完成",
  320. "canEval": "1",
  321. "tradeSource": "盒马"
  322. }
  323. ],
  324. "day": "2022-10-03"
  325. },
  326. {
  327. "dayOfWeek": "周二",
  328. "weekOfYear": "41周",
  329. "workerDayTradeInfoList": [
  330. {
  331. "workerNo": "s0000004",
  332. "tradeNo": "17524458",
  333. "thisDay": "2022-10-04",
  334. "startTime": "08:00:00",
  335. "tradeType": "服务工单",
  336. "evaltionType": "",
  337. "tradeStatus": "服务已完成",
  338. "canEval": "1",
  339. "tradeSource": "盒马"
  340. },
  341. {
  342. "workerNo": "s0000004",
  343. "tradeNo": "16757320",
  344. "thisDay": "2022-10-04",
  345. "startTime": "13:00:00",
  346. "tradeType": "服务工单",
  347. "evaltionType": "差评",
  348. "tradeStatus": "服务已完成",
  349. "canEval": "0",
  350. "tradeSource": "盒马"
  351. },
  352. {
  353. "workerNo": "s0000004",
  354. "tradeNo": "17531510",
  355. "thisDay": "2022-10-04",
  356. "startTime": "17:30:00",
  357. "tradeType": "服务工单",
  358. "evaltionType": "",
  359. "tradeStatus": "服务已完成",
  360. "canEval": "1",
  361. "tradeSource": "盒马"
  362. }
  363. ],
  364. "day": "2022-10-04"
  365. },
  366. {
  367. "dayOfWeek": "周三",
  368. "weekOfYear": "41周",
  369. "workerDayTradeInfoList": [
  370. {
  371. "workerNo": "s0000004",
  372. "tradeNo": "",
  373. "thisDay": "2022-10-05",
  374. "startTime": "",
  375. "tradeType": "",
  376. "evaltionType": "",
  377. "tradeStatus": "",
  378. "canEval": "0",
  379. "tradeSource": ""
  380. }
  381. ],
  382. "day": "2022-10-05"
  383. },
  384. {
  385. "dayOfWeek": "周四",
  386. "weekOfYear": "41周",
  387. "workerDayTradeInfoList": [
  388. {
  389. "workerNo": "s0000004",
  390. "tradeNo": "13873192",
  391. "thisDay": "2022-10-06",
  392. "startTime": "08:00:00",
  393. "tradeType": "服务工单",
  394. "evaltionType": "",
  395. "tradeStatus": "服务已完成",
  396. "canEval": "0",
  397. "tradeSource": "盒马"
  398. },
  399. {
  400. "workerNo": "s0000004",
  401. "tradeNo": "15802311",
  402. "thisDay": "2022-10-06",
  403. "startTime": "13:00:00",
  404. "tradeType": "服务工单",
  405. "evaltionType": "",
  406. "tradeStatus": "服务已完成",
  407. "canEval": "0",
  408. "tradeSource": "盒马"
  409. },
  410. {
  411. "workerNo": "s0000004",
  412. "tradeNo": "17538486",
  413. "thisDay": "2022-10-06",
  414. "startTime": "17:30:00",
  415. "tradeType": "服务工单",
  416. "evaltionType": "",
  417. "tradeStatus": "服务已完成",
  418. "canEval": "1",
  419. "tradeSource": "盒马"
  420. }
  421. ],
  422. "day": "2022-10-06"
  423. },
  424. {
  425. "dayOfWeek": "周五",
  426. "weekOfYear": "41周",
  427. "workerDayTradeInfoList": [
  428. {
  429. "workerNo": "s0000004",
  430. "tradeNo": "16295529",
  431. "thisDay": "2022-10-07",
  432. "startTime": "08:00:00",
  433. "tradeType": "服务工单",
  434. "evaltionType": "差评",
  435. "tradeStatus": "服务已完成",
  436. "canEval": "0",
  437. "tradeSource": "盒马"
  438. },
  439. {
  440. "workerNo": "s0000004",
  441. "tradeNo": "16411303",
  442. "thisDay": "2022-10-07",
  443. "startTime": "13:00:00",
  444. "tradeType": "服务工单",
  445. "evaltionType": "差评",
  446. "tradeStatus": "服务已完成",
  447. "canEval": "0",
  448. "tradeSource": "盒马"
  449. },
  450. {
  451. "workerNo": "s0000004",
  452. "tradeNo": "17535581",
  453. "thisDay": "2022-10-07",
  454. "startTime": "17:30:00",
  455. "tradeType": "服务工单",
  456. "evaltionType": "差评",
  457. "tradeStatus": "服务已完成",
  458. "canEval": "0",
  459. "tradeSource": "盒马"
  460. }
  461. ],
  462. "day": "2022-10-07"
  463. },
  464. {
  465. "dayOfWeek": "周六",
  466. "weekOfYear": "41周",
  467. "workerDayTradeInfoList": [
  468. {
  469. "workerNo": "s0000004",
  470. "tradeNo": "17280949",
  471. "thisDay": "2022-10-08",
  472. "startTime": "08:00:00",
  473. "tradeType": "服务工单",
  474. "evaltionType": "",
  475. "tradeStatus": "服务已完成",
  476. "canEval": "0",
  477. "tradeSource": "盒马"
  478. },
  479. {
  480. "workerNo": "s0000004",
  481. "tradeNo": "15918017",
  482. "thisDay": "2022-10-08",
  483. "startTime": "13:00:00",
  484. "tradeType": "服务工单",
  485. "evaltionType": "",
  486. "tradeStatus": "服务已完成",
  487. "canEval": "0",
  488. "tradeSource": "盒马"
  489. },
  490. {
  491. "workerNo": "s0000004",
  492. "tradeNo": "17348630",
  493. "thisDay": "2022-10-08",
  494. "startTime": "17:30:00",
  495. "tradeType": "服务工单",
  496. "evaltionType": "",
  497. "tradeStatus": "服务已完成",
  498. "canEval": "0",
  499. "tradeSource": "盒马"
  500. }
  501. ],
  502. "day": "2022-10-08"
  503. },
  504. {
  505. "dayOfWeek": "周日",
  506. "weekOfYear": "41周",
  507. "workerDayTradeInfoList": [
  508. {
  509. "workerNo": "s0000004",
  510. "tradeNo": "17596563",
  511. "thisDay": "2022-10-09",
  512. "startTime": "08:00:00",
  513. "tradeType": "服务工单",
  514. "evaltionType": "",
  515. "tradeStatus": "服务已完成",
  516. "canEval": "1",
  517. "tradeSource": "盒马"
  518. },
  519. {
  520. "workerNo": "s0000004",
  521. "tradeNo": "17565164",
  522. "thisDay": "2022-10-09",
  523. "startTime": "13:00:00",
  524. "tradeType": "服务工单",
  525. "evaltionType": "好评",
  526. "tradeStatus": "服务已完成",
  527. "canEval": "1",
  528. "tradeSource": "盒马"
  529. },
  530. {
  531. "workerNo": "s0000004",
  532. "tradeNo": "16914371",
  533. "thisDay": "2022-10-09",
  534. "startTime": "17:30:00",
  535. "tradeType": "服务工单",
  536. "evaltionType": "",
  537. "tradeStatus": "服务已完成",
  538. "canEval": "0",
  539. "tradeSource": "盒马"
  540. }
  541. ],
  542. "day": "2022-10-09"
  543. },
  544. {
  545. "dayOfWeek": "周一",
  546. "weekOfYear": "42周",
  547. "workerDayTradeInfoList": [
  548. {
  549. "workerNo": "s0000004",
  550. "tradeNo": "13885065",
  551. "thisDay": "2022-10-10",
  552. "startTime": "08:00:00",
  553. "tradeType": "服务工单",
  554. "evaltionType": "",
  555. "tradeStatus": "服务已完成",
  556. "canEval": "0",
  557. "tradeSource": "盒马"
  558. },
  559. {
  560. "workerNo": "s0000004",
  561. "tradeNo": "17059795",
  562. "thisDay": "2022-10-10",
  563. "startTime": "13:00:00",
  564. "tradeType": "服务工单",
  565. "evaltionType": "",
  566. "tradeStatus": "服务已完成",
  567. "canEval": "0",
  568. "tradeSource": "盒马"
  569. },
  570. {
  571. "workerNo": "s0000004",
  572. "tradeNo": "11830616",
  573. "thisDay": "2022-10-10",
  574. "startTime": "17:30:00",
  575. "tradeType": "服务工单",
  576. "evaltionType": "",
  577. "tradeStatus": "服务已完成",
  578. "canEval": "0",
  579. "tradeSource": "盒马"
  580. }
  581. ],
  582. "day": "2022-10-10"
  583. },
  584. {
  585. "dayOfWeek": "周二",
  586. "weekOfYear": "42周",
  587. "workerDayTradeInfoList": [
  588. {
  589. "workerNo": "s0000004",
  590. "tradeNo": "15819063",
  591. "thisDay": "2022-10-11",
  592. "startTime": "08:00:00",
  593. "tradeType": "服务工单",
  594. "evaltionType": "",
  595. "tradeStatus": "服务已完成",
  596. "canEval": "0",
  597. "tradeSource": "盒马"
  598. },
  599. {
  600. "workerNo": "s0000004",
  601. "tradeNo": "16757322",
  602. "thisDay": "2022-10-11",
  603. "startTime": "13:00:00",
  604. "tradeType": "服务工单",
  605. "evaltionType": "",
  606. "tradeStatus": "服务已完成",
  607. "canEval": "0",
  608. "tradeSource": "盒马"
  609. },
  610. {
  611. "workerNo": "s0000004",
  612. "tradeNo": "17206061",
  613. "thisDay": "2022-10-11",
  614. "startTime": "17:30:00",
  615. "tradeType": "服务工单",
  616. "evaltionType": "",
  617. "tradeStatus": "服务已完成",
  618. "canEval": "0",
  619. "tradeSource": "盒马"
  620. }
  621. ],
  622. "day": "2022-10-11"
  623. },
  624. {
  625. "dayOfWeek": "周三",
  626. "weekOfYear": "42周",
  627. "workerDayTradeInfoList": [
  628. {
  629. "workerNo": "s0000004",
  630. "tradeNo": "",
  631. "thisDay": "2022-10-12",
  632. "startTime": "",
  633. "tradeType": "",
  634. "evaltionType": "",
  635. "tradeStatus": "",
  636. "canEval": "0",
  637. "tradeSource": ""
  638. }
  639. ],
  640. "day": "2022-10-12"
  641. },
  642. {
  643. "dayOfWeek": "周四",
  644. "weekOfYear": "42周",
  645. "workerDayTradeInfoList": [
  646. {
  647. "workerNo": "s0000004",
  648. "tradeNo": "13873193",
  649. "thisDay": "2022-10-13",
  650. "startTime": "08:00:00",
  651. "tradeType": "服务工单",
  652. "evaltionType": "",
  653. "tradeStatus": "服务已完成",
  654. "canEval": "0",
  655. "tradeSource": "盒马"
  656. },
  657. {
  658. "workerNo": "s0000004",
  659. "tradeNo": "15869747",
  660. "thisDay": "2022-10-13",
  661. "startTime": "13:00:00",
  662. "tradeType": "服务工单",
  663. "evaltionType": "",
  664. "tradeStatus": "服务已完成",
  665. "canEval": "0",
  666. "tradeSource": "盒马"
  667. },
  668. {
  669. "workerNo": "s0000004",
  670. "tradeNo": "15662980",
  671. "thisDay": "2022-10-13",
  672. "startTime": "17:30:00",
  673. "tradeType": "服务工单",
  674. "evaltionType": "",
  675. "tradeStatus": "服务已完成",
  676. "canEval": "0",
  677. "tradeSource": "盒马"
  678. }
  679. ],
  680. "day": "2022-10-13"
  681. },
  682. {
  683. "dayOfWeek": "周五",
  684. "weekOfYear": "42周",
  685. "workerDayTradeInfoList": [
  686. {
  687. "workerNo": "s0000004",
  688. "tradeNo": "16295531",
  689. "thisDay": "2022-10-14",
  690. "startTime": "08:00:00",
  691. "tradeType": "服务工单",
  692. "evaltionType": "",
  693. "tradeStatus": "服务已完成",
  694. "canEval": "0",
  695. "tradeSource": "盒马"
  696. },
  697. {
  698. "workerNo": "s0000004",
  699. "tradeNo": "17651735",
  700. "thisDay": "2022-10-14",
  701. "startTime": "13:00:00",
  702. "tradeType": "服务工单",
  703. "evaltionType": "",
  704. "tradeStatus": "服务已完成",
  705. "canEval": "0",
  706. "tradeSource": "盒马"
  707. },
  708. {
  709. "workerNo": "s0000004",
  710. "tradeNo": "17533574",
  711. "thisDay": "2022-10-14",
  712. "startTime": "17:30:00",
  713. "tradeType": "服务工单",
  714. "evaltionType": "",
  715. "tradeStatus": "服务已完成",
  716. "canEval": "0",
  717. "tradeSource": "盒马"
  718. }
  719. ],
  720. "day": "2022-10-14"
  721. },
  722. {
  723. "dayOfWeek": "周六",
  724. "weekOfYear": "42周",
  725. "workerDayTradeInfoList": [
  726. {
  727. "workerNo": "s0000004",
  728. "tradeNo": "17590573",
  729. "thisDay": "2022-10-15",
  730. "startTime": "08:00:00",
  731. "tradeType": "服务工单",
  732. "evaltionType": "",
  733. "tradeStatus": "服务已完成",
  734. "canEval": "0",
  735. "tradeSource": "盒马"
  736. },
  737. {
  738. "workerNo": "s0000004",
  739. "tradeNo": "15937512",
  740. "thisDay": "2022-10-15",
  741. "startTime": "13:00:00",
  742. "tradeType": "服务工单",
  743. "evaltionType": "",
  744. "tradeStatus": "服务已完成",
  745. "canEval": "0",
  746. "tradeSource": "盒马"
  747. },
  748. {
  749. "workerNo": "s0000004",
  750. "tradeNo": "17684074",
  751. "thisDay": "2022-10-15",
  752. "startTime": "17:30:00",
  753. "tradeType": "服务工单",
  754. "evaltionType": "",
  755. "tradeStatus": "服务已完成",
  756. "canEval": "1",
  757. "tradeSource": "盒马"
  758. }
  759. ],
  760. "day": "2022-10-15"
  761. },
  762. {
  763. "dayOfWeek": "周日",
  764. "weekOfYear": "42周",
  765. "workerDayTradeInfoList": [
  766. {
  767. "workerNo": "s0000004",
  768. "tradeNo": "17708152",
  769. "thisDay": "2022-10-16",
  770. "startTime": "08:00:00",
  771. "tradeType": "服务工单",
  772. "evaltionType": "",
  773. "tradeStatus": "服务已完成",
  774. "canEval": "1",
  775. "tradeSource": "盒马"
  776. },
  777. {
  778. "workerNo": "s0000004",
  779. "tradeNo": "17382734",
  780. "thisDay": "2022-10-16",
  781. "startTime": "13:00:00",
  782. "tradeType": "服务工单",
  783. "evaltionType": "",
  784. "tradeStatus": "服务已完成",
  785. "canEval": "0",
  786. "tradeSource": "盒马"
  787. },
  788. {
  789. "workerNo": "s0000004",
  790. "tradeNo": "16914373",
  791. "thisDay": "2022-10-16",
  792. "startTime": "17:30:00",
  793. "tradeType": "服务工单",
  794. "evaltionType": "",
  795. "tradeStatus": "服务已完成",
  796. "canEval": "0",
  797. "tradeSource": "盒马"
  798. }
  799. ],
  800. "day": "2022-10-16"
  801. },
  802. {
  803. "dayOfWeek": "周一",
  804. "weekOfYear": "43周",
  805. "workerDayTradeInfoList": [
  806. {
  807. "workerNo": "s0000004",
  808. "tradeNo": "13884215",
  809. "thisDay": "2022-10-17",
  810. "startTime": "08:00:00",
  811. "tradeType": "服务工单",
  812. "evaltionType": "",
  813. "tradeStatus": "服务已完成",
  814. "canEval": "0",
  815. "tradeSource": "盒马"
  816. },
  817. {
  818. "workerNo": "s0000004",
  819. "tradeNo": "16431132",
  820. "thisDay": "2022-10-17",
  821. "startTime": "13:00:00",
  822. "tradeType": "服务工单",
  823. "evaltionType": "",
  824. "tradeStatus": "服务已完成",
  825. "canEval": "0",
  826. "tradeSource": "盒马"
  827. },
  828. {
  829. "workerNo": "s0000004",
  830. "tradeNo": "15920637",
  831. "thisDay": "2022-10-17",
  832. "startTime": "17:30:00",
  833. "tradeType": "服务工单",
  834. "evaltionType": "",
  835. "tradeStatus": "服务已完成",
  836. "canEval": "0",
  837. "tradeSource": "盒马"
  838. }
  839. ],
  840. "day": "2022-10-17"
  841. },
  842. {
  843. "dayOfWeek": "周二",
  844. "weekOfYear": "43周",
  845. "workerDayTradeInfoList": [
  846. {
  847. "workerNo": "s0000004",
  848. "tradeNo": "15866418",
  849. "thisDay": "2022-10-18",
  850. "startTime": "08:00:00",
  851. "tradeType": "服务工单",
  852. "evaltionType": "",
  853. "tradeStatus": "服务已完成",
  854. "canEval": "0",
  855. "tradeSource": "盒马"
  856. },
  857. {
  858. "workerNo": "s0000004",
  859. "tradeNo": "16757324",
  860. "thisDay": "2022-10-18",
  861. "startTime": "13:00:00",
  862. "tradeType": "服务工单",
  863. "evaltionType": "",
  864. "tradeStatus": "服务已完成",
  865. "canEval": "0",
  866. "tradeSource": "盒马"
  867. },
  868. {
  869. "workerNo": "s0000004",
  870. "tradeNo": "17605354",
  871. "thisDay": "2022-10-18",
  872. "startTime": "17:30:00",
  873. "tradeType": "服务工单",
  874. "evaltionType": "",
  875. "tradeStatus": "服务已完成",
  876. "canEval": "1",
  877. "tradeSource": "盒马"
  878. }
  879. ],
  880. "day": "2022-10-18"
  881. },
  882. {
  883. "dayOfWeek": "周三",
  884. "weekOfYear": "43周",
  885. "workerDayTradeInfoList": [
  886. {
  887. "workerNo": "s0000004",
  888. "tradeNo": "",
  889. "thisDay": "2022-10-19",
  890. "startTime": "",
  891. "tradeType": "",
  892. "evaltionType": "",
  893. "tradeStatus": "",
  894. "canEval": "0",
  895. "tradeSource": ""
  896. }
  897. ],
  898. "day": "2022-10-19"
  899. },
  900. {
  901. "dayOfWeek": "周四",
  902. "weekOfYear": "43周",
  903. "workerDayTradeInfoList": [
  904. {
  905. "workerNo": "s0000004",
  906. "tradeNo": "13873194",
  907. "thisDay": "2022-10-20",
  908. "startTime": "08:00:00",
  909. "tradeType": "服务工单",
  910. "evaltionType": "",
  911. "tradeStatus": "服务已完成",
  912. "canEval": "0",
  913. "tradeSource": "盒马"
  914. },
  915. {
  916. "workerNo": "s0000004",
  917. "tradeNo": "15874918",
  918. "thisDay": "2022-10-20",
  919. "startTime": "13:00:00",
  920. "tradeType": "服务工单",
  921. "evaltionType": "",
  922. "tradeStatus": "服务已完成",
  923. "canEval": "0",
  924. "tradeSource": "盒马"
  925. },
  926. {
  927. "workerNo": "s0000004",
  928. "tradeNo": "17775096",
  929. "thisDay": "2022-10-20",
  930. "startTime": "17:30:00",
  931. "tradeType": "服务工单",
  932. "evaltionType": "",
  933. "tradeStatus": "服务已完成",
  934. "canEval": "0",
  935. "tradeSource": "盒马"
  936. }
  937. ],
  938. "day": "2022-10-20"
  939. },
  940. {
  941. "dayOfWeek": "周五",
  942. "weekOfYear": "43周",
  943. "workerDayTradeInfoList": [
  944. {
  945. "workerNo": "s0000004",
  946. "tradeNo": "17765789",
  947. "thisDay": "2022-10-21",
  948. "startTime": "08:00:00",
  949. "tradeType": "服务工单",
  950. "evaltionType": "",
  951. "tradeStatus": "服务已完成",
  952. "canEval": "1",
  953. "tradeSource": "盒马"
  954. },
  955. {
  956. "workerNo": "s0000004",
  957. "tradeNo": "17767073",
  958. "thisDay": "2022-10-21",
  959. "startTime": "13:00:00",
  960. "tradeType": "服务工单",
  961. "evaltionType": "",
  962. "tradeStatus": "服务已完成",
  963. "canEval": "0",
  964. "tradeSource": "盒马"
  965. },
  966. {
  967. "workerNo": "s0000004",
  968. "tradeNo": "17524470",
  969. "thisDay": "2022-10-21",
  970. "startTime": "17:30:00",
  971. "tradeType": "服务工单",
  972. "evaltionType": "",
  973. "tradeStatus": "服务已完成",
  974. "canEval": "0",
  975. "tradeSource": "盒马"
  976. }
  977. ],
  978. "day": "2022-10-21"
  979. },
  980. {
  981. "dayOfWeek": "周六",
  982. "weekOfYear": "43周",
  983. "workerDayTradeInfoList": [
  984. {
  985. "workerNo": "s0000004",
  986. "tradeNo": "16586779",
  987. "thisDay": "2022-10-22",
  988. "startTime": "08:00:00",
  989. "tradeType": "服务工单",
  990. "evaltionType": "",
  991. "tradeStatus": "服务已完成",
  992. "canEval": "0",
  993. "tradeSource": "盒马"
  994. },
  995. {
  996. "workerNo": "s0000004",
  997. "tradeNo": "16840267",
  998. "thisDay": "2022-10-22",
  999. "startTime": "13:00:00",
  1000. "tradeType": "服务工单",
  1001. "evaltionType": "",
  1002. "tradeStatus": "服务已完成",
  1003. "canEval": "0",
  1004. "tradeSource": "盒马"
  1005. },
  1006. {
  1007. "workerNo": "s0000004",
  1008. "tradeNo": "17824262",
  1009. "thisDay": "2022-10-22",
  1010. "startTime": "17:30:00",
  1011. "tradeType": "服务工单",
  1012. "evaltionType": "",
  1013. "tradeStatus": "服务已完成",
  1014. "canEval": "0",
  1015. "tradeSource": "盒马"
  1016. }
  1017. ],
  1018. "day": "2022-10-22"
  1019. },
  1020. {
  1021. "dayOfWeek": "周日",
  1022. "weekOfYear": "43周",
  1023. "workerDayTradeInfoList": [
  1024. {
  1025. "workerNo": "s0000004",
  1026. "tradeNo": "17231517",
  1027. "thisDay": "2022-10-23",
  1028. "startTime": "08:00:00",
  1029. "tradeType": "服务工单",
  1030. "evaltionType": "",
  1031. "tradeStatus": "服务已完成",
  1032. "canEval": "0",
  1033. "tradeSource": "盒马"
  1034. },
  1035. {
  1036. "workerNo": "s0000004",
  1037. "tradeNo": "13782003",
  1038. "thisDay": "2022-10-23",
  1039. "startTime": "13:00:00",
  1040. "tradeType": "服务工单",
  1041. "evaltionType": "",
  1042. "tradeStatus": "服务已完成",
  1043. "canEval": "0",
  1044. "tradeSource": "盒马"
  1045. },
  1046. {
  1047. "workerNo": "s0000004",
  1048. "tradeNo": "16914375",
  1049. "thisDay": "2022-10-23",
  1050. "startTime": "17:30:00",
  1051. "tradeType": "服务工单",
  1052. "evaltionType": "",
  1053. "tradeStatus": "服务已完成",
  1054. "canEval": "0",
  1055. "tradeSource": "盒马"
  1056. }
  1057. ],
  1058. "day": "2022-10-23"
  1059. },
  1060. {
  1061. "dayOfWeek": "周一",
  1062. "weekOfYear": "44周",
  1063. "workerDayTradeInfoList": [
  1064. {
  1065. "workerNo": "s0000004",
  1066. "tradeNo": "13859148",
  1067. "thisDay": "2022-10-24",
  1068. "startTime": "08:00:00",
  1069. "tradeType": "服务工单",
  1070. "evaltionType": "",
  1071. "tradeStatus": "服务已完成",
  1072. "canEval": "0",
  1073. "tradeSource": "盒马"
  1074. },
  1075. {
  1076. "workerNo": "s0000004",
  1077. "tradeNo": "17577359",
  1078. "thisDay": "2022-10-24",
  1079. "startTime": "13:00:00",
  1080. "tradeType": "服务工单",
  1081. "evaltionType": "",
  1082. "tradeStatus": "服务已完成",
  1083. "canEval": "0",
  1084. "tradeSource": "盒马"
  1085. },
  1086. {
  1087. "workerNo": "s0000004",
  1088. "tradeNo": "11830617",
  1089. "thisDay": "2022-10-24",
  1090. "startTime": "17:30:00",
  1091. "tradeType": "服务工单",
  1092. "evaltionType": "",
  1093. "tradeStatus": "服务已完成",
  1094. "canEval": "0",
  1095. "tradeSource": "盒马"
  1096. }
  1097. ],
  1098. "day": "2022-10-24"
  1099. },
  1100. {
  1101. "dayOfWeek": "周二",
  1102. "weekOfYear": "44周",
  1103. "workerDayTradeInfoList": [
  1104. {
  1105. "workerNo": "s0000004",
  1106. "tradeNo": "15877678",
  1107. "thisDay": "2022-10-25",
  1108. "startTime": "08:00:00",
  1109. "tradeType": "服务工单",
  1110. "evaltionType": "",
  1111. "tradeStatus": "服务已提供",
  1112. "canEval": "0",
  1113. "tradeSource": "盒马"
  1114. },
  1115. {
  1116. "workerNo": "s0000004",
  1117. "tradeNo": "17845489",
  1118. "thisDay": "2022-10-25",
  1119. "startTime": "13:00:00",
  1120. "tradeType": "服务工单",
  1121. "evaltionType": "",
  1122. "tradeStatus": "服务已提供",
  1123. "canEval": "1",
  1124. "tradeSource": "盒马"
  1125. },
  1126. {
  1127. "workerNo": "s0000004",
  1128. "tradeNo": "17257136",
  1129. "thisDay": "2022-10-25",
  1130. "startTime": "17:30:00",
  1131. "tradeType": "服务工单",
  1132. "evaltionType": "",
  1133. "tradeStatus": "服务已提供",
  1134. "canEval": "0",
  1135. "tradeSource": "盒马"
  1136. }
  1137. ],
  1138. "day": "2022-10-25"
  1139. },
  1140. {
  1141. "dayOfWeek": "周三",
  1142. "weekOfYear": "44周",
  1143. "workerDayTradeInfoList": [
  1144. {
  1145. "workerNo": "s0000004",
  1146. "tradeNo": "",
  1147. "thisDay": "2022-10-26",
  1148. "startTime": "",
  1149. "tradeType": "",
  1150. "evaltionType": "",
  1151. "tradeStatus": "",
  1152. "canEval": "0",
  1153. "tradeSource": ""
  1154. }
  1155. ],
  1156. "day": "2022-10-26"
  1157. },
  1158. {
  1159. "dayOfWeek": "周四",
  1160. "weekOfYear": "44周",
  1161. "workerDayTradeInfoList": [
  1162. {
  1163. "workerNo": "s0000004",
  1164. "tradeNo": "13873195",
  1165. "thisDay": "2022-10-27",
  1166. "startTime": "08:00:00",
  1167. "tradeType": "服务工单",
  1168. "evaltionType": "",
  1169. "tradeStatus": "待上门",
  1170. "canEval": "0",
  1171. "tradeSource": "盒马"
  1172. },
  1173. {
  1174. "workerNo": "s0000004",
  1175. "tradeNo": "15942005",
  1176. "thisDay": "2022-10-27",
  1177. "startTime": "13:00:00",
  1178. "tradeType": "服务工单",
  1179. "evaltionType": "",
  1180. "tradeStatus": "待上门",
  1181. "canEval": "0",
  1182. "tradeSource": "盒马"
  1183. },
  1184. {
  1185. "workerNo": "s0000004",
  1186. "tradeNo": "15744408",
  1187. "thisDay": "2022-10-27",
  1188. "startTime": "17:30:00",
  1189. "tradeType": "服务工单",
  1190. "evaltionType": "",
  1191. "tradeStatus": "待上门",
  1192. "canEval": "0",
  1193. "tradeSource": "盒马"
  1194. }
  1195. ],
  1196. "day": "2022-10-27"
  1197. },
  1198. {
  1199. "dayOfWeek": "周五",
  1200. "weekOfYear": "44周",
  1201. "workerDayTradeInfoList": [
  1202. {
  1203. "workerNo": "s0000004",
  1204. "tradeNo": "16295535",
  1205. "thisDay": "2022-10-28",
  1206. "startTime": "08:00:00",
  1207. "tradeType": "服务工单",
  1208. "evaltionType": "",
  1209. "tradeStatus": "待上门",
  1210. "canEval": "0",
  1211. "tradeSource": "盒马"
  1212. },
  1213. {
  1214. "workerNo": "s0000004",
  1215. "tradeNo": "17715504",
  1216. "thisDay": "2022-10-28",
  1217. "startTime": "13:00:00",
  1218. "tradeType": "服务工单",
  1219. "evaltionType": "",
  1220. "tradeStatus": "待上门",
  1221. "canEval": "0",
  1222. "tradeSource": "盒马"
  1223. },
  1224. {
  1225. "workerNo": "s0000004",
  1226. "tradeNo": "17842904",
  1227. "thisDay": "2022-10-28",
  1228. "startTime": "17:30:00",
  1229. "tradeType": "服务工单",
  1230. "evaltionType": "",
  1231. "tradeStatus": "待上门",
  1232. "canEval": "1",
  1233. "tradeSource": "盒马"
  1234. }
  1235. ],
  1236. "day": "2022-10-28"
  1237. },
  1238. {
  1239. "dayOfWeek": "周六",
  1240. "weekOfYear": "44周",
  1241. "workerDayTradeInfoList": [
  1242. {
  1243. "workerNo": "s0000004",
  1244. "tradeNo": "16840265",
  1245. "thisDay": "2022-10-29",
  1246. "startTime": "13:00:00",
  1247. "tradeType": "服务工单",
  1248. "evaltionType": "",
  1249. "tradeStatus": "待上门",
  1250. "canEval": "0",
  1251. "tradeSource": "盒马"
  1252. },
  1253. {
  1254. "workerNo": "s0000004",
  1255. "tradeNo": "15815608",
  1256. "thisDay": "2022-10-29",
  1257. "startTime": "17:30:00",
  1258. "tradeType": "服务工单",
  1259. "evaltionType": "",
  1260. "tradeStatus": "待上门",
  1261. "canEval": "0",
  1262. "tradeSource": "盒马"
  1263. }
  1264. ],
  1265. "day": "2022-10-29"
  1266. },
  1267. {
  1268. "dayOfWeek": "周日",
  1269. "weekOfYear": "44周",
  1270. "workerDayTradeInfoList": [
  1271. {
  1272. "workerNo": "s0000004",
  1273. "tradeNo": "16903498",
  1274. "thisDay": "2022-10-30",
  1275. "startTime": "08:00:00",
  1276. "tradeType": "服务工单",
  1277. "evaltionType": "",
  1278. "tradeStatus": "待上门",
  1279. "canEval": "0",
  1280. "tradeSource": "盒马"
  1281. },
  1282. {
  1283. "workerNo": "s0000004",
  1284. "tradeNo": "17378019",
  1285. "thisDay": "2022-10-30",
  1286. "startTime": "13:00:00",
  1287. "tradeType": "服务工单",
  1288. "evaltionType": "",
  1289. "tradeStatus": "待上门",
  1290. "canEval": "0",
  1291. "tradeSource": "盒马"
  1292. },
  1293. {
  1294. "workerNo": "s0000004",
  1295. "tradeNo": "16914378",
  1296. "thisDay": "2022-10-30",
  1297. "startTime": "17:30:00",
  1298. "tradeType": "服务工单",
  1299. "evaltionType": "",
  1300. "tradeStatus": "待上门",
  1301. "canEval": "0",
  1302. "tradeSource": "盒马"
  1303. }
  1304. ],
  1305. "day": "2022-10-30"
  1306. },
  1307. {
  1308. "dayOfWeek": "周一",
  1309. "weekOfYear": "45周",
  1310. "workerDayTradeInfoList": [
  1311. {
  1312. "workerNo": "s0000004",
  1313. "tradeNo": "13870090",
  1314. "thisDay": "2022-10-31",
  1315. "startTime": "08:00:00",
  1316. "tradeType": "服务工单",
  1317. "evaltionType": "",
  1318. "tradeStatus": "待上门",
  1319. "canEval": "0",
  1320. "tradeSource": "盒马"
  1321. },
  1322. {
  1323. "workerNo": "s0000004",
  1324. "tradeNo": "16431133",
  1325. "thisDay": "2022-10-31",
  1326. "startTime": "13:00:00",
  1327. "tradeType": "服务工单",
  1328. "evaltionType": "",
  1329. "tradeStatus": "待上门",
  1330. "canEval": "0",
  1331. "tradeSource": "盒马"
  1332. },
  1333. {
  1334. "workerNo": "s0000004",
  1335. "tradeNo": "15989079",
  1336. "thisDay": "2022-10-31",
  1337. "startTime": "17:30:00",
  1338. "tradeType": "服务工单",
  1339. "evaltionType": "",
  1340. "tradeStatus": "待上门",
  1341. "canEval": "0",
  1342. "tradeSource": "盒马"
  1343. }
  1344. ],
  1345. "day": "2022-10-31"
  1346. },
  1347. {
  1348. "dayOfWeek": "周二",
  1349. "weekOfYear": "45周",
  1350. "workerDayTradeInfoList": [
  1351. {
  1352. "workerNo": "s0000004",
  1353. "tradeNo": "15918469",
  1354. "thisDay": "2022-11-01",
  1355. "startTime": "08:00:00",
  1356. "tradeType": "服务工单",
  1357. "evaltionType": "",
  1358. "tradeStatus": "待上门",
  1359. "canEval": "0",
  1360. "tradeSource": "盒马"
  1361. },
  1362. {
  1363. "workerNo": "s0000004",
  1364. "tradeNo": "17856349",
  1365. "thisDay": "2022-11-01",
  1366. "startTime": "13:00:00",
  1367. "tradeType": "服务工单",
  1368. "evaltionType": "",
  1369. "tradeStatus": "待上门",
  1370. "canEval": "1",
  1371. "tradeSource": "盒马"
  1372. },
  1373. {
  1374. "workerNo": "s0000004",
  1375. "tradeNo": "17471298",
  1376. "thisDay": "2022-11-01",
  1377. "startTime": "17:30:00",
  1378. "tradeType": "服务工单",
  1379. "evaltionType": "",
  1380. "tradeStatus": "待上门",
  1381. "canEval": "0",
  1382. "tradeSource": "盒马"
  1383. }
  1384. ],
  1385. "day": "2022-11-01"
  1386. },
  1387. {
  1388. "dayOfWeek": "周三",
  1389. "weekOfYear": "45周",
  1390. "workerDayTradeInfoList": [
  1391. {
  1392. "workerNo": "s0000004",
  1393. "tradeNo": "",
  1394. "thisDay": "2022-11-02",
  1395. "startTime": "",
  1396. "tradeType": "",
  1397. "evaltionType": "",
  1398. "tradeStatus": "",
  1399. "canEval": "0",
  1400. "tradeSource": ""
  1401. }
  1402. ],
  1403. "day": "2022-11-02"
  1404. },
  1405. {
  1406. "dayOfWeek": "周四",
  1407. "weekOfYear": "45周",
  1408. "workerDayTradeInfoList": [
  1409. {
  1410. "workerNo": "s0000004",
  1411. "tradeNo": "13857160",
  1412. "thisDay": "2022-11-03",
  1413. "startTime": "08:00:00",
  1414. "tradeType": "服务工单",
  1415. "evaltionType": "",
  1416. "tradeStatus": "待上门",
  1417. "canEval": "0",
  1418. "tradeSource": "盒马"
  1419. },
  1420. {
  1421. "workerNo": "s0000004",
  1422. "tradeNo": "16142501",
  1423. "thisDay": "2022-11-03",
  1424. "startTime": "13:00:00",
  1425. "tradeType": "服务工单",
  1426. "evaltionType": "",
  1427. "tradeStatus": "待上门",
  1428. "canEval": "0",
  1429. "tradeSource": "盒马"
  1430. },
  1431. {
  1432. "workerNo": "s0000004",
  1433. "tradeNo": "15820295",
  1434. "thisDay": "2022-11-03",
  1435. "startTime": "17:30:00",
  1436. "tradeType": "服务工单",
  1437. "evaltionType": "",
  1438. "tradeStatus": "待上门",
  1439. "canEval": "0",
  1440. "tradeSource": "盒马"
  1441. }
  1442. ],
  1443. "day": "2022-11-03"
  1444. },
  1445. {
  1446. "dayOfWeek": "周五",
  1447. "weekOfYear": "45周",
  1448. "workerDayTradeInfoList": [
  1449. {
  1450. "workerNo": "s0000004",
  1451. "tradeNo": "16295537",
  1452. "thisDay": "2022-11-04",
  1453. "startTime": "08:00:00",
  1454. "tradeType": "服务工单",
  1455. "evaltionType": "",
  1456. "tradeStatus": "待上门",
  1457. "canEval": "0",
  1458. "tradeSource": "盒马"
  1459. },
  1460. {
  1461. "workerNo": "s0000004",
  1462. "tradeNo": "16702190",
  1463. "thisDay": "2022-11-04",
  1464. "startTime": "13:00:00",
  1465. "tradeType": "服务工单",
  1466. "evaltionType": "",
  1467. "tradeStatus": "待上门",
  1468. "canEval": "0",
  1469. "tradeSource": "盒马"
  1470. },
  1471. {
  1472. "workerNo": "s0000004",
  1473. "tradeNo": "17687062",
  1474. "thisDay": "2022-11-04",
  1475. "startTime": "17:30:00",
  1476. "tradeType": "服务工单",
  1477. "evaltionType": "",
  1478. "tradeStatus": "待上门",
  1479. "canEval": "0",
  1480. "tradeSource": "盒马"
  1481. }
  1482. ],
  1483. "day": "2022-11-04"
  1484. },
  1485. {
  1486. "dayOfWeek": "周六",
  1487. "weekOfYear": "45周",
  1488. "workerDayTradeInfoList": [
  1489. {
  1490. "workerNo": "s0000004",
  1491. "tradeNo": "16586780",
  1492. "thisDay": "2022-11-05",
  1493. "startTime": "08:00:00",
  1494. "tradeType": "服务工单",
  1495. "evaltionType": "",
  1496. "tradeStatus": "待上门",
  1497. "canEval": "0",
  1498. "tradeSource": "盒马"
  1499. },
  1500. {
  1501. "workerNo": "s0000004",
  1502. "tradeNo": "16840266",
  1503. "thisDay": "2022-11-05",
  1504. "startTime": "13:00:00",
  1505. "tradeType": "服务工单",
  1506. "evaltionType": "",
  1507. "tradeStatus": "待上门",
  1508. "canEval": "0",
  1509. "tradeSource": "盒马"
  1510. },
  1511. {
  1512. "workerNo": "s0000004",
  1513. "tradeNo": "17476211",
  1514. "thisDay": "2022-11-05",
  1515. "startTime": "17:30:00",
  1516. "tradeType": "服务工单",
  1517. "evaltionType": "",
  1518. "tradeStatus": "待上门",
  1519. "canEval": "0",
  1520. "tradeSource": "盒马"
  1521. }
  1522. ],
  1523. "day": "2022-11-05"
  1524. },
  1525. {
  1526. "dayOfWeek": "周日",
  1527. "weekOfYear": "45周",
  1528. "workerDayTradeInfoList": [
  1529. {
  1530. "workerNo": "s0000004",
  1531. "tradeNo": "17584655",
  1532. "thisDay": "2022-11-06",
  1533. "startTime": "08:00:00",
  1534. "tradeType": "服务工单",
  1535. "evaltionType": "",
  1536. "tradeStatus": "待上门",
  1537. "canEval": "0",
  1538. "tradeSource": "盒马"
  1539. },
  1540. {
  1541. "workerNo": "s0000004",
  1542. "tradeNo": "13764789",
  1543. "thisDay": "2022-11-06",
  1544. "startTime": "13:00:00",
  1545. "tradeType": "服务工单",
  1546. "evaltionType": "",
  1547. "tradeStatus": "待上门",
  1548. "canEval": "0",
  1549. "tradeSource": "盒马"
  1550. },
  1551. {
  1552. "workerNo": "s0000004",
  1553. "tradeNo": "15780193",
  1554. "thisDay": "2022-11-06",
  1555. "startTime": "17:30:00",
  1556. "tradeType": "服务工单",
  1557. "evaltionType": "",
  1558. "tradeStatus": "待上门",
  1559. "canEval": "0",
  1560. "tradeSource": "盒马"
  1561. }
  1562. ],
  1563. "day": "2022-11-06"
  1564. }
  1565. ]
  1566. },
  1567. onPageScroll(e) {
  1568. // console.log(e.scrollTop);
  1569. // if(e.scrollTop > 200){
  1570. // this.setData({
  1571. // stickShow: true
  1572. // });
  1573. // } else {
  1574. // this.setData({
  1575. // stickShow: false
  1576. // });
  1577. // }
  1578. },
  1579. leaveFold(){
  1580. let fold=this.data.isLeaveFold;
  1581. this.setData({
  1582. isLeaveFold:!fold
  1583. });
  1584. },
  1585. copyNum(e){
  1586. let bookno=e.currentTarget.dataset.bookno;
  1587. console.log(bookno);
  1588. wx.setClipboardData({
  1589. data: bookno,
  1590. success: function (res) {
  1591. wx.showToast({
  1592. title: '复制成功',
  1593. icon: 'none',
  1594. duration: 2000
  1595. });
  1596. }
  1597. })
  1598. },
  1599. callUp(e){
  1600. let status=e.currentTarget.dataset.status;
  1601. let phone=e.currentTarget.dataset.phone;
  1602. if(status=='待上门'){
  1603. wx.makePhoneCall({
  1604. phoneNumber: phone
  1605. });
  1606. }
  1607. },
  1608. openMap(e){//打开地图
  1609. let status=e.currentTarget.dataset.status;
  1610. let address=e.currentTarget.dataset.address;
  1611. if(status=='待上门'){
  1612. let lnglat=e.currentTarget.dataset.lnglat.split(',');
  1613. let lng='';
  1614. let lat="";
  1615. if (lnglat.length>0){
  1616. lng=Number(lnglat[0]);
  1617. lat=Number(lnglat[1]);
  1618. }
  1619. console.log(lng,lat);
  1620. wx.openLocation({
  1621. latitude: lat,
  1622. longitude: lng,
  1623. // name: address,
  1624. address:address,
  1625. scale: 28
  1626. }) ;
  1627. }
  1628. },
  1629. goSchedule(){
  1630. wx.navigateTo({
  1631. url: '/pages/upgrade/scheduleCalc/scheduleCalc',
  1632. })
  1633. },
  1634. goDetail(e){
  1635. let id=e.currentTarget.dataset.id;
  1636. wx.navigateTo({
  1637. url: '/pages/upgrade/ticketDetail/ticketDetail?bookTradeNo=' + id,
  1638. })
  1639. },
  1640. goProblemList(e) {
  1641. // this.setData({
  1642. // navigateType: 1
  1643. // })
  1644. let id=e.currentTarget.dataset.id;
  1645. wx.navigateTo({
  1646. url: '/pages/problem/list/list?bookTradeNo='+id,
  1647. })
  1648. },
  1649. /**
  1650. * 生命周期函数--监听页面加载
  1651. */
  1652. onLoad: function (options) {
  1653. // let current=this.data.wholeCalendar.filter(item=>{return item.day==this.data.currentDay});
  1654. // if(current.length==0){
  1655. // return false;
  1656. // }
  1657. // let week=current[0].weekOfYear;
  1658. // let weekCalendar=this.data.wholeCalendar.filter(item=>{
  1659. // return item.weekOfYear==week;
  1660. // });
  1661. // this.setData({
  1662. // workerDayInfoList:weekCalendar,
  1663. // weekCalendar:weekCalendar
  1664. // });
  1665. this.getMonthCalender(false,'first');
  1666. this.getDayCalendar();
  1667. },
  1668. getDayCalendar(){
  1669. wx.showLoading({
  1670. title: '加载中...',
  1671. });
  1672. util.request(api.dayCalender, {
  1673. date: this.data.currentDay,
  1674. }, 'GET').then(res=> {
  1675. wx.hideLoading();
  1676. if (res.errno === 0) {
  1677. console.log(res);
  1678. this.setData({
  1679. dayCalendar:res.data
  1680. });
  1681. }
  1682. }).catch(err=>{
  1683. wx.hideLoading();
  1684. });
  1685. },
  1686. getMonthCalender(flag,tag){
  1687. wx.showLoading({
  1688. title: '加载中...',
  1689. });
  1690. util.request(api.monthCalender, {
  1691. month: this.data.currentMonth,
  1692. }, 'GET').then(res=> {
  1693. wx.hideLoading();
  1694. if (res.errno === 0) {
  1695. console.log(res);
  1696. this.setData({
  1697. monthInfo:res.data,
  1698. wholeCalendar:res.data.workerDayInfoList
  1699. });
  1700. if(flag){
  1701. this.setData({
  1702. calcendarFold:false,
  1703. workerDayInfoList:this.data.wholeCalendar,
  1704. });
  1705. }
  1706. let current=this.data.wholeCalendar.filter(item=>{return item.day==this.data.currentDay});
  1707. if(current.length==0){
  1708. return false;
  1709. }
  1710. let week=current[0].weekOfYear;
  1711. let weekCalendar=this.data.wholeCalendar.filter(item=>{
  1712. return item.weekOfYear==week;
  1713. });
  1714. this.setData({
  1715. weekCalendar:weekCalendar
  1716. });
  1717. if(tag=='first'){
  1718. this.setData({
  1719. workerDayInfoList:weekCalendar,
  1720. });
  1721. }
  1722. }else{
  1723. wx.showToast({
  1724. title: res.errmsg,
  1725. duration: 3000,
  1726. icon:'none'
  1727. });
  1728. }
  1729. }).catch(err=>{
  1730. wx.hideLoading();
  1731. });
  1732. },
  1733. switchDay(e){
  1734. let day=e.currentTarget.dataset.day;
  1735. this.setData({
  1736. currentDay:day
  1737. });
  1738. this.getDayCalendar();
  1739. },
  1740. calcendarCollapse(){
  1741. let calcendarFold=this.data.calcendarFold;
  1742. if(calcendarFold){
  1743. this.setData({
  1744. workerDayInfoList:this.data.wholeCalendar,
  1745. calcendarFold:!calcendarFold
  1746. });
  1747. }else{
  1748. this.setData({
  1749. workerDayInfoList:this.data.weekCalendar,
  1750. calcendarFold:!calcendarFold
  1751. });
  1752. }
  1753. },
  1754. lastMonth(){
  1755. console.log(this.data);
  1756. let params=util.getYearMonth(this.data.currentMonth,'-');
  1757. this.setData({
  1758. currentMonth:params
  1759. });
  1760. this.getMonthCalender(true);
  1761. },
  1762. nextMonth(){
  1763. let params=util.getYearMonth(this.data.currentMonth,'+');
  1764. console.log(params);
  1765. this.setData({
  1766. currentMonth:params
  1767. });
  1768. this.getMonthCalender(true);
  1769. },
  1770. goIssueTicket(){
  1771. wx.navigateTo({
  1772. url: '/pages/upgrade/issueTicket/issueTicket',
  1773. })
  1774. },
  1775. onReachBottom() {
  1776. // if (this.data.totalPages > this.data.page) {
  1777. // this.setData({
  1778. // page: this.data.page + 1
  1779. // });
  1780. // this.getGoodsList();
  1781. // } else {
  1782. // wx.showToast({
  1783. // title: '没有更多商品了',
  1784. // icon: 'none',
  1785. // duration: 2000
  1786. // });
  1787. // return false;
  1788. // }
  1789. },
  1790. /**
  1791. * 生命周期函数--监听页面初次渲染完成
  1792. */
  1793. onReady: function () {
  1794. },
  1795. /**
  1796. * 生命周期函数--监听页面显示
  1797. */
  1798. onShow: function () {
  1799. },
  1800. onHide: function () {
  1801. },
  1802. onUnload: function () {
  1803. },
  1804. /**
  1805. * 页面相关事件处理函数--监听用户下拉动作
  1806. */
  1807. onPullDownRefresh: function () {
  1808. },
  1809. /**
  1810. * 页面上拉触底事件的处理函数
  1811. */
  1812. onReachBottom: function () {
  1813. },
  1814. /**
  1815. * 用户点击右上角分享
  1816. */
  1817. onShareAppMessage: function () {
  1818. },
  1819. })