2023-12-02 16:31:05 +08:00
|
|
|
import{B as ce,C as me,Q as _e,R as Fe,w as Ce,D as De,I as fe,L as Ee,_ as ye,b as ge,M as ve,J as be,a1 as ke,a2 as he,N as Be}from"./element-plus.7a22678c.js";import{_ as xe}from"./index.vue_vue_type_script_setup_true_lang.cabb2d32.js";import{_ as Ae}from"./index.vue_vue_type_script_setup_true_lang.4e44db35.js";import{_ as Ve}from"./index.vue_vue_type_script_setup_true_lang.f8debc0c.js";import{u as we}from"./vue-router.ed788fee.js";import{u as Te}from"./usePaging.2a59f422.js";import{t as Ue,k as Ie,f as Se}from"./index.bb590457.js";import{a as Le}from"./useDictOptions.eb677e88.js";import{_ as Pe,a as $e,b as qe,c as Re}from"./edit.vue_vue_type_script_setup_true_name_landPlantEdit_lang.2d0d54c2.js";import{d as X,s as Ne,r as P,_ as v,a3 as ze,ae as Me,o as n,c as C,a as D,T as t,K as u,L as A,u as r,J as f,Q as W,U as b,a6 as V,R as c,S as F,j as Je,n as je}from"./@vue.108c970a.js";import"./@vueuse.d3d080b7.js";import"./@element-plus.d6eabd08.js";import"./lodash-es.29c53eac.js";import"./dayjs.ff93117e.js";import"./axios.eb055ccc.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.ec5da75f.js";import"./pinia.eff1ffd5.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.31dc130b.js";import"./color.b6d632a4.js";import"./clone.7a47b02c.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.3a33898e.js";import"./ms.a9ae1d6d.js";import"./nprogress.fa64f2fc.js";import"./vue-clipboard3.be0dfeee.js";import"./clipboard.824ba320.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.241b9b5d.js";import"./picker.4eaaf2e9.js";import"./index.3956bbcf.js";import"./index.efeb5098.js";import"./index.3eeb6b50.js";import"./index.27064586.js";import"./index.vue_vue_type_script_setup_true_lang.aa7eacaa.js";import"./vue3-video-play.5aacf00d.js";import"./vuedraggable.0b47cde1.js";import"./vue.118acae4.js";import"./sortablejs.9ffc750f.js";const Oe=c("\u67E5\u8BE2"),Qe=c("\u91CD\u7F6E"),Ke={class:"mt-4"},Ge=c(" \u7F16\u8F91 "),He=c(" \u6EAF\u6E90\u4FE1\u606F "),We=c(" \u79CD\u690D\u56FE\u7247 "),Xe=c(" \u79CD\u690D\u64CD\u4F5C "),Ye=c(" \u5220\u9664 "),Ze={class:"flex mt-4 justify-end"},et={class:"overflow-y-auto",style:{height:"500px"}},tt=c("\u54C1\u7C7B\u4FE1\u606F"),at={class:"mb-2 text-xl text-tx-gray"},ut={class:"mb-2 text-xl text-tx-gray"},lt={class:"mb-2 text-xl text-tx-gray"},ot={class:"mb-2 text-xl text-tx-gray"},nt=X({name:"landPlantLists"}),la=X({...nt,setup(st){const{query:Y}=we(),$=Ne(),q=P(!1);let R=Y.land_id;typeof R>"u"&&(R="");const l=v({user_id:"",land_id:R,kind:"",breed:"",user:"",status:"",plant_date:"",start_time:"",end_time:""}),Z=P([]),ee=m=>{Z.value=m.map(({id:a})=>a)},{dictData:N}=Le("plant_status"),{pager:k,getLists:w,resetParams:te,resetPage:ae}=Te({fetchFun:$e,params:l}),z=P(!1),M=P(!1),h=v({picData:[]}),ue=m=>{h.picData=[];const a=JSON.parse(m.pic);for(const i in a)h.picData.unshift(a[i]);z.value=!0},O=v({1:{kind:"\u80A5\u6599\u79CD\u7C7B",breed:"\u80A5\u6599\u54C1\u724C",dosage:"\u80A5\u6599\u7528\u91CF",start_date:"\u5F00\u59CB\u65E5\u671F",end_date:"\u7ED3\u675F\u65E5\u671F",area:"\u65BD\u80A5\u9762\u79EF",user:"\u53C2\u4E0E\u4EBA",pic:"\u65BD\u80A5\u56FE\u7247",remark:"\u5907\u6CE8\u4FE1\u606F"},2:{kind:"\u9664\u8349\u5242\u79CD\u7C7B",breed:"\u9664\u8349\u5242\u54C1\u724C",dosage:"\u9664\u8349\u5242\u7528\u91CF",start_date:"\u5F00\u59CB\u65E5\u671F",end_date:"\u7ED3\u675F\u65E5\u671F",area:"\u4F5C\u4E1A\u9762\u79EF",user:"\u53C2\u4E0E\u4EBA",pic:"\u9664\u8349\u56FE\u7247",remark:"\u5907\u6CE8\u4FE1\u606F"},3:{type:"\u704C\u6E89\u7C7B\u578B",start_date:"\u5F00\u59CB\u65E5\u671F",end_date:"\u7ED3\u675F\u65E5\u671F",area:"\u704C\u6E89\u9762\u79EF",user:"\u53C2\u4E0E\u4EBA",pic:"\u704C\u6E89\u56FE\u7247",remark:"\u5907\u6CE8\u4FE1\u606F"},4:{kind:"\u6740\u866B\u5242\u7
|