farmDynamics.vue 49 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394
  1. <template>
  2. <div class="farm-dynamics">
  3. <div class="record-filter">
  4. <div
  5. class="filter-item"
  6. v-for="(item, index) in filterType"
  7. :key="index"
  8. @click="handlePlanClick(index)"
  9. :class="{ active: activePlanIndex === index }"
  10. >
  11. {{ item }}
  12. </div>
  13. </div>
  14. <div class="task-content">
  15. <!-- <div class="plan-menu">
  16. <el-anchor :container="containerRef" direction="vertical" type="default" @click="handleClick">
  17. <el-menu :default-active="defaultActive" class="el-menu-vertical-demo">
  18. <el-sub-menu v-for="(menu, index) in menuData" :key="index" :index="String(menu.id)">
  19. <template #title>
  20. <img class="menu-icon" :src="require(`@/assets/img/gallery/icon-${index}.png`)" />
  21. <span class="menu-text">{{ menu.title }}</span>
  22. </template>
  23. <el-menu-item v-for="item in menu.children" :key="item.id" :index="`${menu.id}-${item.id}`">
  24. <el-anchor-link :href="item.href" :title="item.title" />
  25. </el-menu-item>
  26. </el-sub-menu>
  27. </el-menu>
  28. </el-anchor>
  29. </div> -->
  30. <div class="expert-content" ref="containerRef">
  31. <div v-for="(section, index) in contentData" :key="index" class="content-section">
  32. <div class="section-id" :id="section.targetId"></div>
  33. <record-item :record-item-data="section" :onlyRecipeName="true" class="recipe-item">
  34. <template #title>
  35. <div class="box-title">
  36. <div class="title-l">
  37. {{ section.title }}
  38. <span class="parent-text">{{ section.parentTitle || "秋梢期" }}</span>
  39. </div>
  40. <div class="title-r">
  41. <span class="r-dot"></span>
  42. 2区
  43. </div>
  44. </div>
  45. </template>
  46. <template #footer>
  47. <div class="info-item" v-if="activePlanIndex === 1">
  48. 农资执行:
  49. <span class="info-val">农资农资组织</span>
  50. </div>
  51. <div class="action-group">
  52. <div class="action-l">查看详情</div>
  53. <div class="action-r" v-if="section.orderStatus === 0">
  54. <div class="action-item second-item">拍照识别</div>
  55. <div class="action-item primary-item">去确认</div>
  56. </div>
  57. <div class="action-r" v-if="activePlanIndex === 0">
  58. <div class="action-item primary-item">确认完成</div>
  59. </div>
  60. <div class="action-r" v-if="activePlanIndex === 1">
  61. <div class="action-item warning-item" @click="handleApply">发起需求</div>
  62. <div class="action-item primary-item">去复核</div>
  63. </div>
  64. </div>
  65. </template>
  66. </record-item>
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. <!-- 需求发送成功弹窗 -->
  72. <popup v-model:show="showApplyPopup" round class="apply-popup">
  73. <img class="check-icon" src="@/assets/img/home/right.png" alt="">
  74. <div class="apply-text">需求发送成功</div>
  75. <div class="apply-btn" @click="showApplyPopup = false">我知道了</div>
  76. </popup>
  77. </template>
  78. <script setup>
  79. import { ref } from "vue";
  80. import recordItem from "@/components/recordItem.vue";
  81. import { Popup } from "vant";
  82. const showApplyPopup = ref(false);
  83. const filterType = ref(["待执行", "已完成"]);
  84. const activePlanIndex = ref(0);
  85. const handlePlanClick = (index) => {
  86. activePlanIndex.value = index;
  87. };
  88. const containerRef = ref(null);
  89. const handleClick = (e) => {
  90. e.preventDefault();
  91. };
  92. // 菜单
  93. const defaultActive = ref("1-1");
  94. const menuData = [
  95. {
  96. id: 1,
  97. title: "秋梢期",
  98. children: [
  99. { id: 1, title: "巡园农事", href: "#part1" },
  100. { id: 2, title: "梢期防虫", href: "#part2" },
  101. { id: 3, title: "梢期营养", href: "#part3" },
  102. ],
  103. },
  104. {
  105. id: 2,
  106. title: "开花期",
  107. children: [
  108. { id: 1, title: "巡园农事", href: "#part4" },
  109. { id: 2, title: "摇花吹花", href: "#part5" },
  110. { id: 3, title: "花期防治", href: "#part6" },
  111. ],
  112. },
  113. ];
  114. const handleApply = () => {
  115. showApplyPopup.value = true;
  116. };
  117. const contentData = ref([
  118. {
  119. targetId: "part1",
  120. title: "巡园农事",
  121. parentTitle: "秋梢期",
  122. isExpanded: false, // 添加展开状态
  123. reCheckText: "本次农事复核成效优异,作物产量潜力实现大幅增长,虫害风险控制优异,未发现虫害风险",
  124. expert: 91356,
  125. orderStatus: 3,
  126. activeStatus: 0,
  127. regionId: 2,
  128. speciesId: "1",
  129. speciesName: "荔枝",
  130. farmWorkId: "699343457474318336",
  131. farmWorkLibId: "699343457474318336",
  132. farmWorkLibName: "梢期防虫",
  133. farmWorkName: "梢期防虫",
  134. expertIcon:
  135. "https://birdseye-img.sysuimars.com/birdseye-look-vue/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20250411150343.png",
  136. expertName: "韦帮稳",
  137. icon: 4,
  138. beforeExecuteDate: "2025-08-01",
  139. executeDate: "2025-08-15",
  140. code: "BZ-BC-04-SQFC-20",
  141. expertPrescription: "",
  142. condition: "单树嫩叶率大于20.0%",
  143. defaultFarmWork: 0,
  144. farmWorkType: 3,
  145. farmWorkTypeName: "病虫",
  146. usageMode: "叶面施",
  147. serviceMain: "广州泽秾丰农资有限公司",
  148. updateDate6: null,
  149. confirmPicture: [],
  150. executeMain: "广州泽秾丰农资有限公司",
  151. storeShortName: "泽秾丰",
  152. serviceRegion: "广州市从化区荔枝博览园",
  153. prescriptionList: [
  154. {
  155. name: "营养",
  156. pesticideFertilizerList: [
  157. {
  158. defaultDroneRatio: null,
  159. defaultName: "尿素",
  160. defaultRatio: 0,
  161. id: null,
  162. muPrice: null,
  163. muUsage: 15000.0,
  164. muUsage2: 15000.0,
  165. ratio: 0,
  166. ratio2: 0,
  167. remark: "",
  168. usageMode: "",
  169. usageModeList: ["叶面施、根部施"],
  170. orderId: null,
  171. pesticideFertilizerCode: "1001",
  172. pesticideFertilizerId: "1",
  173. pesticideFertilizerName: "尿素",
  174. brand: "山东联盟",
  175. typeName: "营养",
  176. price: 132,
  177. unit: "g",
  178. executeStyle: null,
  179. },
  180. {
  181. defaultDroneRatio: null,
  182. defaultName: "15-15-15复合肥",
  183. defaultRatio: 0,
  184. id: null,
  185. muPrice: null,
  186. muUsage: 45000.0,
  187. muUsage2: 45000.0,
  188. ratio: 0,
  189. ratio2: 0,
  190. remark: "",
  191. usageMode: "",
  192. usageModeList: ["根部施"],
  193. orderId: null,
  194. pesticideFertilizerCode: "1002",
  195. pesticideFertilizerId: "2",
  196. pesticideFertilizerName: "15-15-15复合肥",
  197. brand: "金正大",
  198. typeName: "营养",
  199. price: 220,
  200. unit: "g",
  201. executeStyle: null,
  202. },
  203. ],
  204. },
  205. ],
  206. },
  207. {
  208. targetId: "part2",
  209. title: "梢期防虫",
  210. parentTitle: "秋梢期",
  211. isExpanded: false, // 添加展开状态
  212. consequenceText: "如果不做本次农事,会导致您的产量、质量下降30%,管理得分降低10分",
  213. id: "274654",
  214. reCheckText: "本次农事复核成效优异,作物产量潜力实现大幅增长,树体营养较充足,土壤肥力增加",
  215. farmName: "荔枝博览园",
  216. farmPoint: "POINT(113.61702297075017 23.584863449735067)",
  217. orderId: "745923632567422976",
  218. area: 2.719998598098755,
  219. expert: 91356,
  220. orderStatus: 4,
  221. activeStatus: 0,
  222. farmId: 766,
  223. regionId: 2,
  224. speciesId: "1",
  225. speciesName: "荔枝",
  226. agriculturalId: 24,
  227. farmWorkId: "699343457444958208",
  228. farmWorkLibId: "699343457444958208",
  229. farmWorkLibName: "梢期营养",
  230. farmWorkName: "梢期营养",
  231. expertIcon:
  232. "https://birdseye-img.sysuimars.com/birdseye-look-vue/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20250411150343.png",
  233. expertName: "韦帮稳",
  234. expertUserIcon: "",
  235. expertUserName: "韦帮稳",
  236. icon: 4,
  237. indexChart: [],
  238. indexName: "",
  239. beforeExecuteDate: "2025-05-26",
  240. checkDate: null,
  241. executeDate: "2025-08-01",
  242. indexJson: "",
  243. code: "BZ-YY-04-SQYY-20",
  244. expertPrescription: "",
  245. condition: "园区叶芽率大于20.0%",
  246. solarName: "",
  247. reCheck: null,
  248. executeBlueZones: [
  249. {
  250. id: "ws0y1m6x7cjz",
  251. level: null,
  252. },
  253. {
  254. id: "ws0y1md9v3ht",
  255. level: null,
  256. },
  257. {
  258. id: "ws0y1mdspbk7",
  259. level: null,
  260. },
  261. {
  262. id: "ws0y1mdvvdsz",
  263. level: null,
  264. },
  265. {
  266. id: "ws0y1me545tg",
  267. level: null,
  268. },
  269. ],
  270. menu: 1,
  271. isEdit: 0,
  272. isMaster: null,
  273. num: null,
  274. purpose: "",
  275. selfExec: null,
  276. defaultFarmWork: 0,
  277. farmWorkType: 2,
  278. farmWorkTypeName: "营养",
  279. type: 1,
  280. execute: 4,
  281. updateDate0: "2025-08-20",
  282. updateDate1: null,
  283. updateDate2: null,
  284. updateDate3: null,
  285. updateDate4: null,
  286. updateDate5: null,
  287. usageMode: "根部施",
  288. serviceMain: "广州泽秾丰农资有限公司",
  289. updateDate6: null,
  290. confirmPicture: [],
  291. executeMain: "广州泽秾丰农资有限公司",
  292. storeShortName: "泽秾丰",
  293. weatherWarningMsg: "",
  294. executeEvidence: [],
  295. userEvaluation: null,
  296. reviewDate: null,
  297. reviewDate2: null,
  298. reviewImage: [],
  299. reviewImage2: [],
  300. serviceRegion: "广州市从化区荔枝博览园",
  301. users: [
  302. {
  303. id: null,
  304. orderId: null,
  305. serviceType: null,
  306. userType: null,
  307. userId: 81881,
  308. joinStatus: null,
  309. icon: "https://birdseye-img.sysuimars.com/birdseye-look-mini/Group%201321316260.png",
  310. userName: "飞鸟种植助手",
  311. area: "",
  312. point: "",
  313. farmName: "",
  314. selected: null,
  315. },
  316. ],
  317. cost: null,
  318. prescriptionList: [
  319. {
  320. name: "营养",
  321. pesticideFertilizerList: [
  322. {
  323. defaultDroneRatio: null,
  324. defaultName: "尿素",
  325. defaultRatio: 0,
  326. id: null,
  327. muPrice: null,
  328. muUsage: 15000.0,
  329. muUsage2: 15000.0,
  330. ratio: 0,
  331. ratio2: 0,
  332. remark: "",
  333. usageMode: "",
  334. usageModeList: ["叶面施、根部施"],
  335. orderId: null,
  336. pesticideFertilizerCode: "1001",
  337. pesticideFertilizerId: "1",
  338. pesticideFertilizerName: "尿素",
  339. brand: "山东联盟",
  340. typeName: "营养",
  341. price: 132,
  342. unit: "g",
  343. executeStyle: null,
  344. },
  345. {
  346. defaultDroneRatio: null,
  347. defaultName: "15-15-15复合肥",
  348. defaultRatio: 0,
  349. id: null,
  350. muPrice: null,
  351. muUsage: 45000.0,
  352. muUsage2: 45000.0,
  353. ratio: 0,
  354. ratio2: 0,
  355. remark: "",
  356. usageMode: "",
  357. usageModeList: ["根部施"],
  358. orderId: null,
  359. pesticideFertilizerCode: "1002",
  360. pesticideFertilizerId: "2",
  361. pesticideFertilizerName: "15-15-15复合肥",
  362. brand: "金正大",
  363. typeName: "营养",
  364. price: 220,
  365. unit: "g",
  366. executeStyle: null,
  367. },
  368. ],
  369. },
  370. ],
  371. conditionList: [
  372. {
  373. index: "1-2-001-02-02-02-01-0008",
  374. name: "园区叶芽率",
  375. type: 1,
  376. value: "0.2",
  377. },
  378. ],
  379. },
  380. {
  381. targetId: "part3",
  382. title: "梢期营养",
  383. isExpanded: false, // 添加展开状态
  384. consequenceText: "如果不做本次农事,会导致您的产量、质量下降5%,管理得分降低2分",
  385. reCheckText: "本次农事复核成效优异,作物产量潜力实现大幅增长,树体营养较充足,转色速度非常稳定,转色率超过80%",
  386. farmName: "荔枝博览园",
  387. farmPoint: "POINT(113.61702297075017 23.584863449735067)",
  388. orderId: "745923697054846976",
  389. area: 2.719998598098755,
  390. expert: 91356,
  391. orderStatus: 2,
  392. activeStatus: 0,
  393. farmId: 766,
  394. regionId: 2,
  395. speciesId: "1",
  396. speciesName: "荔枝",
  397. agriculturalId: 24,
  398. farmWorkId: "699343457482706947",
  399. farmWorkLibId: "699343457482706947",
  400. farmWorkLibName: "转色营养",
  401. farmWorkName: "转色营养",
  402. expertIcon:
  403. "https://birdseye-img.sysuimars.com/birdseye-look-vue/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20250411150343.png",
  404. expertName: "韦帮稳",
  405. expertUserIcon: "",
  406. expertUserName: "韦帮稳",
  407. icon: 0,
  408. indexChart: [],
  409. indexName: "",
  410. beforeExecuteDate: "2025-05-26",
  411. checkDate: null,
  412. executeDate: "2025-05-26",
  413. indexJson: "",
  414. code: "BZ-YY-06-ZSYY-100",
  415. expertPrescription: "",
  416. condition: "园区转色率大于20.0%",
  417. solarName: "",
  418. reCheck: null,
  419. executeBlueZones: [
  420. {
  421. id: "ws0y1m6x7cjz",
  422. level: null,
  423. },
  424. {
  425. id: "ws0y1md9v3ht",
  426. level: null,
  427. },
  428. {
  429. id: "ws0y1mdspbk7",
  430. level: null,
  431. },
  432. {
  433. id: "ws0y1mdvvdsz",
  434. level: null,
  435. },
  436. {
  437. id: "ws0y1me545tg",
  438. level: null,
  439. },
  440. ],
  441. menu: 1,
  442. isEdit: 0,
  443. isMaster: null,
  444. num: null,
  445. purpose: "",
  446. selfExec: null,
  447. defaultFarmWork: 0,
  448. farmWorkType: 2,
  449. farmWorkTypeName: "营养",
  450. type: 1,
  451. execute: 4,
  452. updateDate0: "2025-08-20",
  453. updateDate1: null,
  454. updateDate2: null,
  455. updateDate3: null,
  456. updateDate4: null,
  457. updateDate5: null,
  458. usageMode: "根部施",
  459. serviceMain: "广州泽秾丰农资有限公司",
  460. updateDate6: null,
  461. confirmPicture: [],
  462. executeMain: "广州泽秾丰农资有限公司",
  463. storeShortName: "泽秾丰",
  464. weatherWarningMsg: "",
  465. executeEvidence: [],
  466. userEvaluation: null,
  467. reviewDate: null,
  468. reviewDate2: null,
  469. reviewImage: [],
  470. reviewImage2: [],
  471. serviceRegion: "广州市从化区荔枝博览园",
  472. users: [
  473. {
  474. id: null,
  475. orderId: null,
  476. serviceType: null,
  477. userType: null,
  478. userId: 81881,
  479. joinStatus: null,
  480. icon: "https://birdseye-img.sysuimars.com/birdseye-look-mini/Group%201321316260.png",
  481. userName: "飞鸟种植助手",
  482. area: "",
  483. point: "",
  484. farmName: "",
  485. selected: null,
  486. },
  487. ],
  488. cost: null,
  489. prescriptionList: [
  490. {
  491. name: "营养",
  492. pesticideFertilizerList: [
  493. {
  494. defaultDroneRatio: null,
  495. defaultName: "矿源黄腐酸钾",
  496. defaultRatio: 2000,
  497. id: null,
  498. muPrice: null,
  499. muUsage: 4.0,
  500. muUsage2: 4.0,
  501. ratio: 2000,
  502. ratio2: 200,
  503. remark: "",
  504. usageMode: "",
  505. usageModeList: ["叶面施、根部施"],
  506. orderId: null,
  507. pesticideFertilizerCode: "1166",
  508. pesticideFertilizerId: "166",
  509. pesticideFertilizerName: "矿源黄腐酸钾",
  510. brand: "广州大炎",
  511. typeName: "营养",
  512. price: 15000,
  513. unit: "g",
  514. executeStyle: null,
  515. },
  516. {
  517. defaultDroneRatio: null,
  518. defaultName: "有机质水溶肥",
  519. defaultRatio: 5000,
  520. id: null,
  521. muPrice: null,
  522. muUsage: 10.0,
  523. muUsage2: 10.0,
  524. ratio: 5000,
  525. ratio2: 500,
  526. remark: "",
  527. usageMode: "",
  528. usageModeList: ["叶面施"],
  529. orderId: null,
  530. pesticideFertilizerCode: "1167",
  531. pesticideFertilizerId: "167",
  532. pesticideFertilizerName: "有机质水溶肥",
  533. brand: "广州大炎",
  534. typeName: "营养",
  535. price: 10000,
  536. unit: "g",
  537. executeStyle: null,
  538. },
  539. {
  540. defaultDroneRatio: null,
  541. defaultName: "磷酸二氢钾",
  542. defaultRatio: 5000,
  543. id: null,
  544. muPrice: null,
  545. muUsage: 10.0,
  546. muUsage2: 10.0,
  547. ratio: 5000,
  548. ratio2: 500,
  549. remark: "",
  550. usageMode: "",
  551. usageModeList: ["叶面施、根部施"],
  552. orderId: null,
  553. pesticideFertilizerCode: "1168",
  554. pesticideFertilizerId: "168",
  555. pesticideFertilizerName: "磷酸二氢钾",
  556. brand: "广州大炎",
  557. typeName: "营养",
  558. price: 12000,
  559. unit: "g",
  560. executeStyle: null,
  561. },
  562. {
  563. defaultDroneRatio: null,
  564. defaultName: "高钾复合肥",
  565. defaultRatio: 5000,
  566. id: null,
  567. muPrice: null,
  568. muUsage: 10.0,
  569. muUsage2: 10.0,
  570. ratio: 5000,
  571. ratio2: 500,
  572. remark: "",
  573. usageMode: "",
  574. usageModeList: ["根部施"],
  575. orderId: null,
  576. pesticideFertilizerCode: "1169",
  577. pesticideFertilizerId: "169",
  578. pesticideFertilizerName: "高钾复合肥",
  579. brand: "未知",
  580. typeName: "营养",
  581. price: 245,
  582. unit: "g",
  583. executeStyle: null,
  584. },
  585. {
  586. defaultDroneRatio: null,
  587. defaultName: "红牛硫酸钾",
  588. defaultRatio: 5000,
  589. id: null,
  590. muPrice: null,
  591. muUsage: 10.0,
  592. muUsage2: 10.0,
  593. ratio: 5000,
  594. ratio2: 500,
  595. remark: "",
  596. usageMode: "",
  597. usageModeList: ["根部施"],
  598. orderId: null,
  599. pesticideFertilizerCode: "1170",
  600. pesticideFertilizerId: "170",
  601. pesticideFertilizerName: "红牛硫酸钾",
  602. brand: "广州大炎",
  603. typeName: "营养",
  604. price: 230,
  605. unit: "g",
  606. executeStyle: null,
  607. },
  608. ],
  609. },
  610. ],
  611. conditionList: [
  612. {
  613. index: "1-2-016-02-02-02-01-0008",
  614. name: "园区转色率",
  615. type: 1,
  616. value: "0.2",
  617. },
  618. ],
  619. },
  620. {
  621. targetId: "part4",
  622. title: "巡园农事",
  623. parentTitle: "开花期",
  624. isExpanded: false, // 添加展开状态
  625. consequenceText: "如果不做本次农事,会导致您的产量、质量下降20%,管理得分降低8分",
  626. id: "274672",
  627. reCheckText: "本次农事复核成效优异,作物产量潜力实现大幅增长,病虫害基数得到大幅下降,未发现病虫害风险",
  628. farmName: "荔枝博览园",
  629. farmPoint: "POINT(113.61702297075017 23.584863449735067)",
  630. orderId: "745923690209742848",
  631. area: 2.719998598098755,
  632. expert: 91356,
  633. orderStatus: 3,
  634. activeStatus: 0,
  635. farmId: 766,
  636. regionId: 2,
  637. speciesId: "1",
  638. speciesName: "荔枝",
  639. agriculturalId: 24,
  640. farmWorkId: "699343457478512646",
  641. farmWorkLibId: "699343457478512646",
  642. farmWorkLibName: "果期防治II",
  643. farmWorkName: "果期防治II",
  644. expertIcon:
  645. "https://birdseye-img.sysuimars.com/birdseye-look-vue/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20250411150343.png",
  646. expertName: "韦帮稳",
  647. expertUserIcon: "",
  648. expertUserName: "韦帮稳",
  649. icon: 1,
  650. indexChart: [],
  651. indexName: "",
  652. beforeExecuteDate: "2025-05-06",
  653. checkDate: null,
  654. executeDate: "2025-05-12",
  655. indexJson: "",
  656. code: "BZ-BC-06-GQFZ2-100",
  657. expertPrescription: "",
  658. condition: "园区膨果率大于20.0%",
  659. solarName: "",
  660. reCheck: null,
  661. executeBlueZones: [
  662. {
  663. id: "ws0y1m6x7cjz",
  664. level: null,
  665. },
  666. {
  667. id: "ws0y1md9v3ht",
  668. level: null,
  669. },
  670. {
  671. id: "ws0y1mdspbk7",
  672. level: null,
  673. },
  674. {
  675. id: "ws0y1mdvvdsz",
  676. level: null,
  677. },
  678. {
  679. id: "ws0y1me545tg",
  680. level: null,
  681. },
  682. ],
  683. menu: 1,
  684. isEdit: 0,
  685. isMaster: null,
  686. num: null,
  687. purpose: "",
  688. selfExec: null,
  689. defaultFarmWork: 0,
  690. farmWorkType: 3,
  691. farmWorkTypeName: "病虫",
  692. type: 1,
  693. execute: 4,
  694. updateDate0: "2025-08-20",
  695. updateDate1: null,
  696. updateDate2: null,
  697. updateDate3: null,
  698. updateDate4: null,
  699. updateDate5: null,
  700. usageMode: "叶面施",
  701. serviceMain: "广州泽秾丰农资有限公司",
  702. updateDate6: null,
  703. confirmPicture: [],
  704. executeMain: "广州泽秾丰农资有限公司",
  705. storeShortName: "泽秾丰",
  706. weatherWarningMsg: "",
  707. executeEvidence: [],
  708. userEvaluation: null,
  709. reviewDate: null,
  710. reviewDate2: null,
  711. reviewImage: [],
  712. reviewImage2: [],
  713. serviceRegion: "广州市从化区荔枝博览园",
  714. users: [
  715. {
  716. id: null,
  717. orderId: null,
  718. serviceType: null,
  719. userType: null,
  720. userId: 81881,
  721. joinStatus: null,
  722. icon: "https://birdseye-img.sysuimars.com/birdseye-look-mini/Group%201321316260.png",
  723. userName: "飞鸟种植助手",
  724. area: "",
  725. point: "",
  726. farmName: "",
  727. selected: null,
  728. },
  729. ],
  730. cost: null,
  731. prescriptionList: [
  732. {
  733. name: "病虫",
  734. pesticideFertilizerList: [
  735. {
  736. defaultDroneRatio: null,
  737. defaultName: "威远.绿凯",
  738. defaultRatio: 150000,
  739. id: null,
  740. muPrice: null,
  741. muUsage: 150.0,
  742. muUsage2: 150.0,
  743. ratio: 150000,
  744. ratio2: 15000,
  745. remark: "",
  746. usageMode: "",
  747. usageModeList: ["叶面施"],
  748. orderId: null,
  749. pesticideFertilizerCode: "1147",
  750. pesticideFertilizerId: "147",
  751. pesticideFertilizerName: "威远.绿凯",
  752. brand: "利民控股绿凯",
  753. typeName: "病虫",
  754. price: 90,
  755. unit: "g",
  756. executeStyle: null,
  757. },
  758. {
  759. defaultDroneRatio: null,
  760. defaultName: "微量元素益元液",
  761. defaultRatio: 150000,
  762. id: null,
  763. muPrice: null,
  764. muUsage: 300.0,
  765. muUsage2: 300.0,
  766. ratio: 150000,
  767. ratio2: 15000,
  768. remark: "",
  769. usageMode: "",
  770. usageModeList: ["叶面施"],
  771. orderId: null,
  772. pesticideFertilizerCode: "1174",
  773. pesticideFertilizerId: "174",
  774. pesticideFertilizerName: "微量元素益元液",
  775. brand: "广州大炎",
  776. typeName: "营养",
  777. price: 60,
  778. unit: "ml",
  779. executeStyle: null,
  780. },
  781. {
  782. defaultDroneRatio: null,
  783. defaultName: "中量元素益元液",
  784. defaultRatio: 150000,
  785. id: null,
  786. muPrice: null,
  787. muUsage: 300.0,
  788. muUsage2: 300.0,
  789. ratio: 150000,
  790. ratio2: 15000,
  791. remark: "",
  792. usageMode: "",
  793. usageModeList: ["叶面施"],
  794. orderId: null,
  795. pesticideFertilizerCode: "1175",
  796. pesticideFertilizerId: "175",
  797. pesticideFertilizerName: "中量元素益元液",
  798. brand: "广州大炎",
  799. typeName: "营养",
  800. price: 30,
  801. unit: "ml",
  802. executeStyle: null,
  803. },
  804. {
  805. defaultDroneRatio: null,
  806. defaultName: "济南中科翠剑",
  807. defaultRatio: 150000,
  808. id: null,
  809. muPrice: null,
  810. muUsage: 150.0,
  811. muUsage2: 150.0,
  812. ratio: 150000,
  813. ratio2: 15000,
  814. remark: "",
  815. usageMode: "",
  816. usageModeList: ["叶面施"],
  817. orderId: null,
  818. pesticideFertilizerCode: "1149",
  819. pesticideFertilizerId: "149",
  820. pesticideFertilizerName: "吡唑醚菌酯",
  821. brand: "济南中科翠剑",
  822. typeName: "病虫",
  823. price: 60,
  824. unit: "g",
  825. executeStyle: null,
  826. },
  827. {
  828. defaultDroneRatio: null,
  829. defaultName: "佳果天成",
  830. defaultRatio: 150000,
  831. id: null,
  832. muPrice: null,
  833. muUsage: 300.0,
  834. muUsage2: 300.0,
  835. ratio: 150000,
  836. ratio2: 15000,
  837. remark: "",
  838. usageMode: "",
  839. usageModeList: ["叶面施"],
  840. orderId: null,
  841. pesticideFertilizerCode: "1171",
  842. pesticideFertilizerId: "171",
  843. pesticideFertilizerName: "佳果天成",
  844. brand: "广州大炎",
  845. typeName: "营养",
  846. price: 120,
  847. unit: "ml",
  848. executeStyle: null,
  849. },
  850. {
  851. defaultDroneRatio: null,
  852. defaultName: "高效氟氯氰菊酯",
  853. defaultRatio: 150000,
  854. id: null,
  855. muPrice: null,
  856. muUsage: 150.0,
  857. muUsage2: 150.0,
  858. ratio: 150000,
  859. ratio2: 15000,
  860. remark: "",
  861. usageMode: "",
  862. usageModeList: ["叶面施"],
  863. orderId: null,
  864. pesticideFertilizerCode: "1155",
  865. pesticideFertilizerId: "155",
  866. pesticideFertilizerName: "高效氟氯氰菊酯",
  867. brand: "广东立威.立功",
  868. typeName: "病虫",
  869. price: 50,
  870. unit: "ml",
  871. executeStyle: null,
  872. },
  873. {
  874. defaultDroneRatio: null,
  875. defaultName: "联苯噻虫嗪",
  876. defaultRatio: 150000,
  877. id: null,
  878. muPrice: null,
  879. muUsage: 150.0,
  880. muUsage2: 150.0,
  881. ratio: 150000,
  882. ratio2: 15000,
  883. remark: "",
  884. usageMode: "",
  885. usageModeList: ["叶面施"],
  886. orderId: null,
  887. pesticideFertilizerCode: "1156",
  888. pesticideFertilizerId: "156",
  889. pesticideFertilizerName: "联苯噻虫嗪",
  890. brand: "青岛金正飞灵",
  891. typeName: "病虫",
  892. price: 60,
  893. unit: "ml",
  894. executeStyle: null,
  895. },
  896. ],
  897. },
  898. ],
  899. conditionList: [
  900. {
  901. index: "1-2-014-02-02-02-01-0008",
  902. name: "园区膨果率",
  903. type: 1,
  904. value: "0.2",
  905. },
  906. ],
  907. },
  908. {
  909. id: "part5",
  910. title: "摇花吹花",
  911. parentTitle: "开花期",
  912. isExpanded: false, // 添加展开状态
  913. consequenceText: "如果不做本次农事,会导致您的产量、质量下降15%,管理得分降低5分",
  914. id: "274671",
  915. reCheckText: "本次农事复核成效优异,作物产量潜力实现大幅增长,树体营养较充足,膨果速度非常稳定,膨果率超过80%",
  916. farmName: "荔枝博览园",
  917. farmPoint: "POINT(113.61702297075017 23.584863449735067)",
  918. orderId: "745923686854299648",
  919. area: 2.719998598098755,
  920. expert: 91356,
  921. orderStatus: 1,
  922. activeStatus: 0,
  923. farmId: 766,
  924. regionId: 2,
  925. speciesId: "1",
  926. speciesName: "荔枝",
  927. agriculturalId: 24,
  928. farmWorkId: "699343457482706944",
  929. farmWorkLibId: "699343457482706944",
  930. farmWorkLibName: "膨果营养",
  931. farmWorkName: "膨果营养",
  932. expertIcon:
  933. "https://birdseye-img.sysuimars.com/birdseye-look-vue/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20250411150343.png",
  934. expertName: "韦帮稳",
  935. expertUserIcon: "",
  936. expertUserName: "韦帮稳",
  937. icon: 2,
  938. indexChart: [],
  939. indexName: "",
  940. beforeExecuteDate: "2025-05-01",
  941. checkDate: null,
  942. executeDate: "2025-05-06",
  943. indexJson: "",
  944. code: "BZ-YY-06-PGYY-100",
  945. expertPrescription: "",
  946. condition: "园区膨果率大于10.0%",
  947. solarName: "",
  948. reCheck: null,
  949. executeBlueZones: [
  950. {
  951. id: "ws0y1m6x7cjz",
  952. level: null,
  953. },
  954. {
  955. id: "ws0y1md9v3ht",
  956. level: null,
  957. },
  958. {
  959. id: "ws0y1mdspbk7",
  960. level: null,
  961. },
  962. {
  963. id: "ws0y1mdvvdsz",
  964. level: null,
  965. },
  966. {
  967. id: "ws0y1me545tg",
  968. level: null,
  969. },
  970. ],
  971. menu: 1,
  972. isEdit: 0,
  973. isMaster: null,
  974. num: null,
  975. purpose: "",
  976. selfExec: null,
  977. defaultFarmWork: 0,
  978. farmWorkType: 2,
  979. farmWorkTypeName: "营养",
  980. type: 1,
  981. execute: 4,
  982. updateDate0: "2025-08-20",
  983. updateDate1: null,
  984. updateDate2: null,
  985. updateDate3: null,
  986. updateDate4: null,
  987. updateDate5: null,
  988. usageMode: "根部施",
  989. serviceMain: "广州泽秾丰农资有限公司",
  990. updateDate6: null,
  991. confirmPicture: [],
  992. executeMain: "广州泽秾丰农资有限公司",
  993. storeShortName: "泽秾丰",
  994. weatherWarningMsg: "",
  995. executeEvidence: [],
  996. userEvaluation: null,
  997. reviewDate: null,
  998. reviewDate2: null,
  999. reviewImage: [],
  1000. reviewImage2: [],
  1001. serviceRegion: "广州市从化区荔枝博览园",
  1002. users: [
  1003. {
  1004. id: null,
  1005. orderId: null,
  1006. serviceType: null,
  1007. userType: null,
  1008. userId: 81881,
  1009. joinStatus: null,
  1010. icon: "https://birdseye-img.sysuimars.com/birdseye-look-mini/Group%201321316260.png",
  1011. userName: "飞鸟种植助手",
  1012. area: "",
  1013. point: "",
  1014. farmName: "",
  1015. selected: null,
  1016. },
  1017. ],
  1018. cost: null,
  1019. prescriptionList: [
  1020. {
  1021. name: "营养",
  1022. pesticideFertilizerList: [
  1023. {
  1024. defaultDroneRatio: null,
  1025. defaultName: "硝酸铵钙",
  1026. defaultRatio: 0,
  1027. id: null,
  1028. muPrice: null,
  1029. muUsage: 15000.0,
  1030. muUsage2: 15000.0,
  1031. ratio: 0,
  1032. ratio2: 0,
  1033. remark: "",
  1034. usageMode: "",
  1035. usageModeList: ["根部施"],
  1036. orderId: null,
  1037. pesticideFertilizerCode: "1162",
  1038. pesticideFertilizerId: "162",
  1039. pesticideFertilizerName: "硝酸铵钙",
  1040. brand: "未知",
  1041. typeName: "营养",
  1042. price: 2000,
  1043. unit: "g",
  1044. executeStyle: null,
  1045. },
  1046. {
  1047. defaultDroneRatio: null,
  1048. defaultName: "氯化钾",
  1049. defaultRatio: 0,
  1050. id: null,
  1051. muPrice: null,
  1052. muUsage: 15000.0,
  1053. muUsage2: 15000.0,
  1054. ratio: 0,
  1055. ratio2: 0,
  1056. remark: "",
  1057. usageMode: "",
  1058. usageModeList: ["根部施"],
  1059. orderId: null,
  1060. pesticideFertilizerCode: "1163",
  1061. pesticideFertilizerId: "163",
  1062. pesticideFertilizerName: "氯化钾",
  1063. brand: "未知",
  1064. typeName: "营养",
  1065. price: 4500,
  1066. unit: "g",
  1067. executeStyle: null,
  1068. },
  1069. {
  1070. defaultDroneRatio: null,
  1071. defaultName: "高氮水溶肥",
  1072. defaultRatio: 5000,
  1073. id: null,
  1074. muPrice: null,
  1075. muUsage: 10.0,
  1076. muUsage2: 10.0,
  1077. ratio: 5000,
  1078. ratio2: 500,
  1079. remark: "",
  1080. usageMode: "",
  1081. usageModeList: ["叶面施"],
  1082. orderId: null,
  1083. pesticideFertilizerCode: "1165",
  1084. pesticideFertilizerId: "165",
  1085. pesticideFertilizerName: "高氮水溶肥",
  1086. brand: "广州大炎",
  1087. typeName: "营养",
  1088. price: 8500,
  1089. unit: "g",
  1090. executeStyle: null,
  1091. },
  1092. {
  1093. defaultDroneRatio: null,
  1094. defaultName: "矿源黄腐酸钾",
  1095. defaultRatio: 2000,
  1096. id: null,
  1097. muPrice: null,
  1098. muUsage: 4.0,
  1099. muUsage2: 4.0,
  1100. ratio: 2000,
  1101. ratio2: 200,
  1102. remark: "",
  1103. usageMode: "",
  1104. usageModeList: ["叶面施、根部施"],
  1105. orderId: null,
  1106. pesticideFertilizerCode: "1166",
  1107. pesticideFertilizerId: "166",
  1108. pesticideFertilizerName: "矿源黄腐酸钾",
  1109. brand: "广州大炎",
  1110. typeName: "营养",
  1111. price: 15000,
  1112. unit: "g",
  1113. executeStyle: null,
  1114. },
  1115. ],
  1116. },
  1117. ],
  1118. conditionList: [
  1119. {
  1120. index: "1-2-014-02-02-02-01-0008",
  1121. name: "园区膨果率",
  1122. type: 1,
  1123. value: "0.1",
  1124. },
  1125. ],
  1126. },
  1127. ]);
  1128. </script>
  1129. <style lang="scss" scoped>
  1130. .farm-dynamics {
  1131. width: 100%;
  1132. height: 100vh;
  1133. background: #f5f7fb;
  1134. .record-filter {
  1135. display: flex;
  1136. justify-content: center;
  1137. align-items: center;
  1138. background: #fff;
  1139. padding: 5px 0;
  1140. .filter-item {
  1141. color: rgba(0, 0, 0, 0.5);
  1142. padding: 0 12px;
  1143. height: 28px;
  1144. line-height: 28px;
  1145. border-radius: 20px;
  1146. border: 1px solid transparent;
  1147. &.active {
  1148. background: rgba(33, 153, 248, 0.1);
  1149. color: #2199f8;
  1150. border: 1px solid #2199f8;
  1151. }
  1152. }
  1153. .filter-item + .filter-item {
  1154. margin-left: 10px;
  1155. }
  1156. }
  1157. .task-content {
  1158. display: flex;
  1159. padding-top: 10px;
  1160. height: calc(100% - 140px);
  1161. // .plan-menu {
  1162. // width: 90px;
  1163. // height: 100%;
  1164. // padding: 10px 0;
  1165. // box-sizing: border-box;
  1166. // background: #fff;
  1167. // border-radius: 0 10px 10px 0;
  1168. // .menu-icon {
  1169. // width: 13px;
  1170. // }
  1171. // .menu-text {
  1172. // padding: 0 4px;
  1173. // }
  1174. // ::v-deep {
  1175. // .el-anchor {
  1176. // height: 100%;
  1177. // background: none;
  1178. // }
  1179. // .el-anchor__marker {
  1180. // display: none;
  1181. // }
  1182. // .el-menu {
  1183. // background: none;
  1184. // border: none;
  1185. // .el-sub-menu__title {
  1186. // background: none;
  1187. // padding: 0 2px;
  1188. // justify-content: center;
  1189. // }
  1190. // .el-sub-menu__title {
  1191. // height: 32px;
  1192. // }
  1193. // .el-sub-menu .el-sub-menu__icon-arrow {
  1194. // position: static;
  1195. // padding-top: 6px;
  1196. // }
  1197. // .el-sub-menu {
  1198. // margin-bottom: 16px;
  1199. // &.is-opened {
  1200. // .el-sub-menu__icon-arrow {
  1201. // padding-bottom: 6px;
  1202. // padding-top: 0;
  1203. // }
  1204. // }
  1205. // .el-menu-item {
  1206. // height: 32px;
  1207. // line-height: 32px;
  1208. // margin: 4px 8px;
  1209. // padding: 0 2px;
  1210. // justify-content: center;
  1211. // background: none;
  1212. // }
  1213. // .el-menu-item.is-active {
  1214. // background: none;
  1215. // color: #fff;
  1216. // }
  1217. // .el-anchor__item {
  1218. // width: 100%;
  1219. // text-align: center;
  1220. // }
  1221. // .el-anchor__link {
  1222. // color: #666666;
  1223. // }
  1224. // .el-anchor__link.is-active {
  1225. // background: linear-gradient(180deg, #70bffe, #2199f8);
  1226. // border-radius: 20px;
  1227. // color: #fff;
  1228. // }
  1229. // }
  1230. // }
  1231. // .el-anchor__list {
  1232. // padding-left: 0;
  1233. // }
  1234. // }
  1235. // }
  1236. .expert-content {
  1237. width: 100%;
  1238. height: 100%;
  1239. overflow: auto;
  1240. padding-bottom: 10px;
  1241. box-sizing: border-box;
  1242. .content-section {
  1243. position: relative;
  1244. .section-id {
  1245. position: absolute;
  1246. top: 0;
  1247. width: 100%;
  1248. height: 1px;
  1249. }
  1250. .recipe-item {
  1251. border: 1px solid rgba(0, 0, 0, 0.1);
  1252. }
  1253. }
  1254. .box-title {
  1255. display: flex;
  1256. align-items: center;
  1257. justify-content: space-between;
  1258. padding-bottom: 8px;
  1259. .title-l {
  1260. font-size: 16px;
  1261. font-weight: 600;
  1262. color: #000;
  1263. .parent-text {
  1264. margin-left: 5px;
  1265. font-size: 12px;
  1266. font-weight: normal;
  1267. padding: 4px 6px;
  1268. border-radius: 14px;
  1269. background: rgba(119, 119, 119, 0.1);
  1270. }
  1271. }
  1272. .title-btn {
  1273. width: 24px;
  1274. height: 24px;
  1275. border-radius: 50%;
  1276. background: #2199f8;
  1277. display: flex;
  1278. align-items: center;
  1279. justify-content: center;
  1280. }
  1281. .title-r {
  1282. display: flex;
  1283. align-items: center;
  1284. color: #ff8a2a;
  1285. font-size: 12px;
  1286. .r-dot {
  1287. width: 6px;
  1288. height: 6px;
  1289. border-radius: 50%;
  1290. background: #ff8a2a;
  1291. margin-right: 5px;
  1292. }
  1293. }
  1294. }
  1295. .action-r{
  1296. color: #1D2129;
  1297. }
  1298. .info-item{
  1299. font-size: 12px;
  1300. color: #BBBBBB;
  1301. .info-val{
  1302. color: #666666;
  1303. }
  1304. }
  1305. .action-group {
  1306. display: flex;
  1307. align-items: center;
  1308. justify-content: space-between;
  1309. padding-top: 8px;
  1310. margin-top: 8px;
  1311. border-top: 1px solid #f5f5f5;
  1312. .action-l {
  1313. font-size: 12px;
  1314. }
  1315. }
  1316. .action-group {
  1317. .action-r {
  1318. display: flex;
  1319. align-items: center;
  1320. .action-item {
  1321. padding: 0 11px;
  1322. height: 30px;
  1323. line-height: 30px;
  1324. border-radius: 20px;
  1325. font-size: 12px;
  1326. &.second-item {
  1327. border: 1px solid #2199f8;
  1328. color: #2199f8;
  1329. }
  1330. &.primary-item {
  1331. background: #2199f8;
  1332. color: #fff;
  1333. }
  1334. &.warning-item {
  1335. background: rgba(255, 131, 29, 0.1);
  1336. color: #ff831d;
  1337. }
  1338. &.cancel-item {
  1339. color: #676767;
  1340. border: 1px solid rgba(103, 103, 103, 0.2);
  1341. }
  1342. }
  1343. .action-item + .action-item {
  1344. margin-left: 5px;
  1345. }
  1346. }
  1347. .apply-action {
  1348. justify-content: flex-end;
  1349. .default-item {
  1350. border: 1px solid rgba(0, 0, 0, 0.4);
  1351. color: rgba(0, 0, 0, 0.4);
  1352. }
  1353. }
  1354. }
  1355. }
  1356. }
  1357. }
  1358. .apply-popup {
  1359. width: 75%;
  1360. padding: 28px 28px 20px;
  1361. display: flex;
  1362. flex-direction: column;
  1363. align-items: center;
  1364. justify-content: center;
  1365. .check-icon{
  1366. width: 68px;
  1367. height: 68px;
  1368. margin-bottom: 12px;
  1369. }
  1370. .apply-text{
  1371. font-size: 24px;
  1372. font-weight: 500;
  1373. margin-bottom: 32px;
  1374. text-align: center;
  1375. }
  1376. .apply-btn{
  1377. width: 100%;
  1378. box-sizing: border-box;
  1379. padding: 8px;
  1380. border-radius: 25px;
  1381. font-size: 16px;
  1382. background: #2199F8;
  1383. color: #fff;
  1384. text-align: center;
  1385. }
  1386. }
  1387. </style>