diff --git a/pages/massif/pestRecord.vue b/pages/massif/pestRecord.vue index 5249283..0be253c 100644 --- a/pages/massif/pestRecord.vue +++ b/pages/massif/pestRecord.vue @@ -32,7 +32,7 @@ export default { pestSite:{label:"病虫害部位",type:"checkBox",value:[],columns:[{label:"根",value:"根"},{label:"茎",value:"茎"},{label:"叶",value:"叶"}]}, growthProcess:{label:"作物生长过程",type:"select-tab",dictCode:"growth_process"}, symptom:{label:"显著症状",type:"select-tab",dictCode:"symptom"}, - pestType:{label:"病虫害类型",type:"select",columns:[[{label:"病害",value:"病害"},{label:"虫害",value:"虫害"}]],value:['虫害']}, + pestType:{label:"病虫害类型",type:"radio",columns:[{label:"病害",value:"病害"},{label:"虫害",value:"虫害"}],value:['虫害']}, pestName:{label:()=>`${this.formData.pestType}名称`,type:"navigate",value:"",btnFun:()=>uni.navigateTo({ url:`/pages/massif/pestType?type=${({"病害":"disease","虫害":"pestis"})[this.formData.pestType]}`, events:{type:e=>{