WokerTask/public/admin/assets/breeding.fa17243a.js

2 lines
9.1 KiB
JavaScript

import{G as y,H as F,C as B,a1 as C,B as U,a2 as A,D as w,I as z}from"./element-plus.10e48c93.js";import{d as c,o as f,K as x,L as a,U as e,a as m,R as s,S as b,c as D,Q as v,bf as I,be as S}from"./@vue.51d7f2d8.js";import{d as k}from"./index.8604d989.js";import"./@vueuse.ec90c285.js";import"./@element-plus.c80b8015.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.08438971.js";import"./axios.105476b3.js";import"./vue-router.9f65afb1.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.7ac6f233.js";import"./color.44a05936.js";import"./clone.0afcbf90.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.86067895.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.40d5feba.js";const p=l=>(I("data-v-00fb214b"),l=l(),S(),l),N={class:"tit"},R={class:"time"},q={key:0},G=p(()=>m("p",{class:"tit"}," \u5546\u673A\u5206\u6790",-1)),j=p(()=>m("br",null,null,-1)),H=p(()=>m("br",null,null,-1)),K=p(()=>m("br",null,null,-1)),L=c({__name:"breeding",props:{datas:{type:Object,defualt:function(){return{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){return(_,t)=>{const i=y,r=F,u=B,o=C,n=U,V=A,g=w,E=z;return f(),x(E,{style:{"margin-top":"16px"}},{default:a(()=>[e(g,{ref:"elForm",disabled:!0,model:_.formData,size:"mini","label-width":"180px"},{default:a(()=>[m("div",N,[s(" \u517B\u6B96\u4FE1\u606F "),m("span",R,"\u66F4\u65B0\u4E8E:"+b(l.update_time),1)]),e(V,null,{default:a(()=>[e(o,{span:8},{default:a(()=>[e(u,{label:"\u6709\u65E0\u517B\u6B96\u57F9\u8BAD",prop:"breeding_training"},{default:a(()=>[e(r,{modelValue:l.datas.datas.breeding_training,"onUpdate:modelValue":t[0]||(t[0]=d=>l.datas.datas.breeding_training=d),size:"medium"},{default:a(()=>[e(i,{label:"1"},{default:a(()=>[s("\u6709")]),_:1}),e(i,{label:"0"},{default:a(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u6709\u65E0\u6CE8\u518C\u6210\u7ACB\u517B\u6B96\u516C\u53F8",prop:"breeding_company"},{default:a(()=>[e(r,{modelValue:l.datas.datas.breeding_company,"onUpdate:modelValue":t[1]||(t[1]=d=>l.datas.datas.breeding_company=d),size:"medium"},{default:a(()=>[e(i,{label:"1"},{default:a(()=>[s("\u6709")]),_:1}),e(i,{label:"0"},{default:a(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u5907\u6CE8",prop:"notes"},{default:a(()=>[e(n,{modelValue:l.datas.notes,"onUpdate:modelValue":t[2]||(t[2]=d=>l.datas.notes=d),clearable:"",autosize:"",type:"textarea",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u517B\u6B96\u7C7B\u578B",prop:"breeding_type"},{default:a(()=>[e(n,{modelValue:l.datas.datas.breeding_type,"onUpdate:modelValue":t[3]||(t[3]=d=>l.datas.datas.breeding_type=d),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u5F00\u59CB\u65F6\u95F4",prop:"breeding_time"},{default:a(()=>[e(n,{modelValue:l.datas.datas.breeding_time,"onUpdate:modelValue":t[4]||(t[4]=d=>l.datas.datas.breeding_time=d),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u4E0A\u5E02\u65F6\u95F4",prop:"mature_time"},{default:a(()=>[e(n,{modelValue:l.datas.datas.mature_time,"onUpdate:modelValue":t[5]||(t[5]=d=>l.datas.datas.mature_time=d),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u4EA7\u91CF(\u65A4)",prop:"yield"},{default:a(()=>[e(n,{modelValue:l.datas.datas.yield,"onUpdate:modelValue":t[6]||(t[6]=d=>l.datas.datas.yield=d),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u9884\u8BA1\u6536\u76CA(\u5143)",prop:"estimated_income"},{default:a(()=>[e(n,{modelValue:l.datas.datas.estimated_income,"onUpdate:modelValue":t[7]||(t[7]=d=>l.datas.datas.estimated_income=d),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u519C\u8D44\u519C\u5177\u4F7F\u7528\u60C5\u51B5","label-width":"180px",prop:"farm_tools"},{default:a(()=>[e(n,{modelValue:l.datas.datas.farm_tools,"onUpdate:modelValue":t[8]||(t[8]=d=>l.datas.datas.farm_tools=d),clearable:"",autosize:"",type:"textarea",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u662F\u5426\u751F\u6001\u517B\u6B96",prop:"ecological_farming"},{default:a(()=>[e(r,{modelValue:l.datas.ecological_farming,"onUpdate:modelValue":t[9]||(t[9]=d=>l.datas.ecological_farming=d),size:"medium"},{default:a(()=>[e(i,{label:"1"},{default:a(()=>[s("\u6709")]),_:1}),e(i,{label:"0"},{default:a(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u73B0\u4EE3\u5316\u7A0B\u5EA6(%)",prop:"modernization"},{default:a(()=>[e(n,{modelValue:l.datas.datas.modernization,"onUpdate:modelValue":t[10]||(t[10]=d=>l.datas.datas.modernization=d),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u9884\u552E\u5356\u4EF7\u683C(\u5143/500g)",prop:"pre_price"},{default:a(()=>[e(n,{modelValue:l.datas.datas.pre_price,"onUpdate:modelValue":t[11]||(t[11]=d=>l.datas.datas.pre_price=d),clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u9500\u552E\u65B9\u5F0F",prop:"method_sales"},{default:a(()=>[e(r,{modelValue:l.datas.datas.method_sales,"onUpdate:modelValue":t[12]||(t[12]=d=>l.datas.datas.method_sales=d),size:"medium"},{default:a(()=>[e(i,{label:"1"},{default:a(()=>[s("\u6709")]),_:1}),e(i,{label:"0"},{default:a(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u6709\u65E0\u52A0\u5DE5\u4ED3\u50A8",prop:"processing_storage"},{default:a(()=>[e(r,{modelValue:l.datas.datas.processing_storage,"onUpdate:modelValue":t[13]||(t[13]=d=>l.datas.datas.processing_storage=d),size:"medium"},{default:a(()=>[e(i,{label:"1"},{default:a(()=>[s("\u6709")]),_:1}),e(i,{label:"0"},{default:a(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u6709\u65E0\u5BA3\u4F20\u63A8\u5E7F",prop:"promote"},{default:a(()=>[e(r,{modelValue:l.datas.datas.promote,"onUpdate:modelValue":t[14]||(t[14]=d=>l.datas.datas.promote=d),size:"medium"},{default:a(()=>[e(i,{label:"1"},{default:a(()=>[s("\u6709")]),_:1}),e(i,{label:"0"},{default:a(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u6709\u65E0\u8FD0\u8F93",prop:"transportation"},{default:a(()=>[e(r,{modelValue:l.datas.datas.transportation,"onUpdate:modelValue":t[15]||(t[15]=d=>l.datas.datas.transportation=d),size:"medium"},{default:a(()=>[e(i,{label:"1"},{default:a(()=>[s("\u6709")]),_:1}),e(i,{label:"0"},{default:a(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u662F\u5426\u6709\u6269\u5927\u7ECF\u8425\u9700\u6C42",prop:"expand_business_needs"},{default:a(()=>[e(r,{modelValue:l.datas.datas.expand_business_needs,"onUpdate:modelValue":t[16]||(t[16]=d=>l.datas.datas.expand_business_needs=d),size:"medium"},{default:a(()=>[e(i,{label:"1"},{default:a(()=>[s("\u6709")]),_:1}),e(i,{label:"0"},{default:a(()=>[s("\u65E0")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u9700\u6C42\u63CF\u8FF0",prop:"demand"},{default:a(()=>[e(n,{modelValue:l.datas.datas.demand,"onUpdate:modelValue":t[17]||(t[17]=d=>l.datas.datas.demand=d),clearable:"",autosize:"",type:"textarea",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:8},{default:a(()=>[e(u,{label:"\u653F\u7B56\u8865\u52A9",prop:"policy_subsidies"},{default:a(()=>[e(n,{modelValue:l.datas.datas.policy_subsidies,"onUpdate:modelValue":t[18]||(t[18]=d=>l.datas.datas.policy_subsidies=d),clearable:"",autosize:"",type:"textarea",disabled:!0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),l.datas.ai_question?(f(),D("div",q,[G,m("div",null,[m("div",null,"AI\u63D0\u95EE\uFF1A"+b(l.datas.ai_question),1),j,m("div",null,"AI\u56DE\u7B54\uFF1A"+b(l.datas.ai_aianalyse),1),H,K])])):v("",!0)]),_:1})}}});const Ce=k(L,[["__scopeId","data-v-00fb214b"]]);export{Ce as default};