recordTask.vue 49 KB

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