WokerTask/public/admin/assets/plant.2ae843d4.js

2 lines
10 KiB
JavaScript

import{C as w,D as c,a2 as B,N as z,O as v,H as x,I,a3 as k,F as S,J as N}from"./element-plus.74337649.js";import{d as O,r as R,o as p,P as E,Q as e,W as a,a as m,U as s,V as f,c as g,F as q,a9 as L,u as P,T,bg as j,bf as G}from"./@vue.f8dfc830.js";import{d as H}from"./index.59d2be02.js";import"./lodash-es.a73406b7.js";import"./@vueuse.a2e59ee9.js";import"./@element-plus.0374639c.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./lodash.3e731b89.js";import"./axios.c2babb35.js";import"./vue-router.6d4cf914.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.3a7f085f.js";import"./color.5ae3e2dd.js";import"./clone.7bcb5228.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.37836f15.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.79024f1a.js";const b=l=>(j("data-v-971b5d30"),l=l(),G(),l),J={class:"tit"},Q={class:"time"},W={key:0},K=b(()=>m("p",{class:"tit"}," \u5546\u673A\u5206\u6790",-1)),M=b(()=>m("br",null,null,-1)),X=b(()=>m("br",null,null,-1)),Y=b(()=>m("br",null,null,-1)),Z=O({__name:"plant",props:{datas:{type:Object,defualt:function(){return{cultivated_area:"",planning:"",breeding_training:"",breeding_company:"",notes:"",breeding_type:"",breeding_time:"",mature_time:"",yield:"",estimated_income:"",farm_tools:"",ecological_farming:"",modernization:"",pre_price:"",method_sales:"",processing_storage:"",promote:"",transportation:"",expand_business_needs:"",demand:"",policy_subsidies:""}}},update_time:{type:String,defualt:""}},setup(l){const F=R(["\u81EA\u5DF1\u79CD","\u51FA\u79DF","\u4EE3\u79CD","\u79DF\u66F4\u591A\u5730\u6269\u5927\u79CD\u690D"]);return(V,d)=>{const i=w,u=c,o=B,y=z,C=v,n=x,r=I,D=k,A=S,U=N;return p(),E(U,{style:{"margin-top":"16px"}},{default:e(()=>[a(A,{ref:"elForm",disabled:!0,model:V.formData,size:"mini","label-width":"180px"},{default:e(()=>[m("div",J,[s(" \u79CD\u690D\u4FE1\u606F "),m("span",Q,"\u66F4\u65B0\u4E8E:"+f(l.update_time),1)]),a(D,null,{default:e(()=>[a(o,{span:8},{default:e(()=>[a(u,{label:"\u571F\u5730\u603B\u9762\u79EF(\u4EA9)",prop:"cultivated_area"},{default:e(()=>[a(i,{modelValue:l.datas.datas.cultivated_area,"onUpdate:modelValue":d[0]||(d[0]=t=>l.datas.datas.cultivated_area=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u571F\u5730\u89C4\u5212",prop:"cultivated_area"},{default:e(()=>[a(C,{disabled:V.isCheck,modelValue:l.datas.datas.planning,"onUpdate:modelValue":d[1]||(d[1]=t=>l.datas.datas.planning=t),clearable:"",style:{width:"100%"}},{default:e(()=>[(p(!0),g(q,null,L(P(F),(t,_)=>(p(),E(y,{key:_,label:t,value:_+""},null,8,["label","value"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u6709\u65E0\u79CD\u690D\u57F9\u8BAD",prop:"breeding_training"},{default:e(()=>[a(r,{modelValue:l.datas.datas.breeding_training,"onUpdate:modelValue":d[2]||(d[2]=t=>l.datas.datas.breeding_training=t),size:"medium"},{default:e(()=>[a(n,{label:"1"},{default:e(()=>[s("\u6709")]),_:1}),a(n,{label:"0"},{default:e(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u6709\u65E0\u6CE8\u518C\u6210\u7ACB\u79CD\u690D\u516C\u53F8",prop:"planting_company"},{default:e(()=>[a(r,{modelValue:l.datas.datas.planting_company,"onUpdate:modelValue":d[3]||(d[3]=t=>l.datas.datas.planting_company=t),size:"medium"},{default:e(()=>[a(n,{label:"1"},{default:e(()=>[s("\u6709")]),_:1}),a(n,{label:"0"},{default:e(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u5907\u6CE8",prop:"notes"},{default:e(()=>[a(i,{modelValue:l.datas.datas.notes,"onUpdate:modelValue":d[4]||(d[4]=t=>l.datas.datas.notes=t),clearable:"",autosize:"",type:"textarea",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u79CD\u690D\u7C7B\u578B",prop:"breeding_type"},{default:e(()=>[a(i,{modelValue:l.datas.datas.breeding_type,"onUpdate:modelValue":d[5]||(d[5]=t=>l.datas.datas.breeding_type=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u79CD\u690D\u9762\u79EF(\u4EA9)",prop:"area"},{default:e(()=>[a(i,{modelValue:l.datas.datas.area,"onUpdate:modelValue":d[6]||(d[6]=t=>l.datas.datas.area=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u5F00\u59CB\u65F6\u95F4",prop:"breeding_time"},{default:e(()=>[a(i,{modelValue:l.datas.datas.breeding_time,"onUpdate:modelValue":d[7]||(d[7]=t=>l.datas.datas.breeding_time=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u4E0A\u5E02\u65F6\u95F4",prop:"mature_time"},{default:e(()=>[a(i,{modelValue:l.datas.datas.mature_time,"onUpdate:modelValue":d[8]||(d[8]=t=>l.datas.datas.mature_time=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u4EA7\u91CF(\u65A4)",prop:"yield"},{default:e(()=>[a(i,{modelValue:l.datas.datas.yield,"onUpdate:modelValue":d[9]||(d[9]=t=>l.datas.datas.yield=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u9884\u8BA1\u6536\u76CA(\u5143)",prop:"estimated_income"},{default:e(()=>[a(i,{modelValue:l.datas.datas.estimated_income,"onUpdate:modelValue":d[10]||(d[10]=t=>l.datas.datas.estimated_income=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u519C\u8D44\u519C\u5177\u4F7F\u7528\u60C5\u51B5","label-width":"180px",prop:"farm_tools"},{default:e(()=>[a(i,{modelValue:l.datas.datas.farm_tools,"onUpdate:modelValue":d[11]||(d[11]=t=>l.datas.datas.farm_tools=t),clearable:"",autosize:"",type:"textarea",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u662F\u5426\u751F\u6001\u79CD\u690D",prop:"ecological_farming"},{default:e(()=>[a(r,{modelValue:l.datas.datas.ecological_farming,"onUpdate:modelValue":d[12]||(d[12]=t=>l.datas.datas.ecological_farming=t),size:"medium"},{default:e(()=>[a(n,{label:"1"},{default:e(()=>[s("\u6709")]),_:1}),a(n,{label:"0"},{default:e(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u73B0\u4EE3\u5316\u7A0B\u5EA6(%)",prop:"modernization"},{default:e(()=>[a(i,{modelValue:l.datas.datas.modernization,"onUpdate:modelValue":d[13]||(d[13]=t=>l.datas.datas.modernization=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u9884\u552E\u5356\u4EF7\u683C(\u5143/500g)",prop:"pre_price"},{default:e(()=>[a(i,{modelValue:l.datas.datas.pre_price,"onUpdate:modelValue":d[14]||(d[14]=t=>l.datas.datas.pre_price=t),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u9500\u552E\u65B9\u5F0F",prop:"method_sales"},{default:e(()=>[a(r,{modelValue:l.datas.datas.method_sales,"onUpdate:modelValue":d[15]||(d[15]=t=>l.datas.datas.method_sales=t),size:"medium"},{default:e(()=>[a(n,{label:"1"},{default:e(()=>[s("\u6709")]),_:1}),a(n,{label:"0"},{default:e(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u6709\u65E0\u52A0\u5DE5\u4ED3\u50A8",prop:"processing_storage"},{default:e(()=>[a(r,{modelValue:l.datas.datas.processing_storage,"onUpdate:modelValue":d[16]||(d[16]=t=>l.datas.datas.processing_storage=t),size:"medium"},{default:e(()=>[a(n,{label:"1"},{default:e(()=>[s("\u6709")]),_:1}),a(n,{label:"0"},{default:e(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u6709\u65E0\u5BA3\u4F20\u63A8\u5E7F",prop:"promote"},{default:e(()=>[a(r,{modelValue:l.datas.datas.promote,"onUpdate:modelValue":d[17]||(d[17]=t=>l.datas.datas.promote=t),size:"medium"},{default:e(()=>[a(n,{label:"1"},{default:e(()=>[s("\u6709")]),_:1}),a(n,{label:"0"},{default:e(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u6709\u65E0\u8FD0\u8F93",prop:"transportation"},{default:e(()=>[a(r,{modelValue:l.datas.datas.transportation,"onUpdate:modelValue":d[18]||(d[18]=t=>l.datas.datas.transportation=t),size:"medium"},{default:e(()=>[a(n,{label:"1"},{default:e(()=>[s("\u6709")]),_:1}),a(n,{label:"0"},{default:e(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u662F\u5426\u6709\u6269\u5927\u7ECF\u8425\u9700\u6C42",prop:"expand_business_needs"},{default:e(()=>[a(r,{modelValue:l.datas.datas.expand_business_needs,"onUpdate:modelValue":d[19]||(d[19]=t=>l.datas.datas.expand_business_needs=t),size:"medium"},{default:e(()=>[a(n,{label:"1"},{default:e(()=>[s("\u6709")]),_:1}),a(n,{label:"0"},{default:e(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u9700\u6C42\u63CF\u8FF0",prop:"demand"},{default:e(()=>[a(i,{modelValue:l.datas.datas.demand,"onUpdate:modelValue":d[20]||(d[20]=t=>l.datas.datas.demand=t),clearable:"",autosize:"",type:"textarea",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),a(o,{span:8},{default:e(()=>[a(u,{label:"\u653F\u7B56\u8865\u52A9",prop:"policy_subsidies"},{default:e(()=>[a(i,{modelValue:l.datas.datas.policy_subsidies,"onUpdate:modelValue":d[21]||(d[21]=t=>l.datas.datas.policy_subsidies=t),clearable:"",autosize:"",type:"textarea",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),l.datas.ai_question?(p(),g("div",W,[K,m("div",null,[m("div",null,"AI\u63D0\u95EE\uFF1A"+f(l.datas.ai_question),1),M,m("div",null,"AI\u56DE\u7B54\uFF1A"+f(l.datas.ai_aianalyse),1),X,Y])])):T("",!0)]),_:1})}}});const Oa=H(Z,[["__scopeId","data-v-971b5d30"]]);export{Oa as default};