diff --git a/pages/baseMana/formReacord.vue b/pages/baseMana/formReacord.vue
index 6d54217..d6d12ed 100644
--- a/pages/baseMana/formReacord.vue
+++ b/pages/baseMana/formReacord.vue
@@ -17,11 +17,15 @@
line-height: 60rpx;
text-align:center;
position:relative;
+ color:#333;
&:before{
transform: rotate(90deg);
position:absolute;
right:10rpx;
}
+ &.noData{
+ color:#999;
+ }
}
}
@@ -75,10 +79,12 @@
-
+
- 请选择开始时间 ~ 请选择结束时间
+ {{searchVal.startTime||"请选择开始时间"}}
+ ~
+ {{searchVal.endTime||"请选择结束时间"}}
@@ -90,6 +96,7 @@
负责人:{{v.principal}} 记录时间:{{v.time}}
+
@@ -100,6 +107,7 @@ import request from '@/common/request.js'
return{
searchVal:{
search:"",
+ value:"",
pageNo:1,
pageSize:6,
plotId:"",
diff --git a/pages/massif/add_farming.vue b/pages/massif/add_farming.vue
index d8def27..e12491d 100644
--- a/pages/massif/add_farming.vue
+++ b/pages/massif/add_farming.vue
@@ -106,7 +106,8 @@
农事类型
- 自定义+
+ {{v.label}}
+ 自定义+
@@ -141,6 +142,7 @@ import request from '@/common/request'
export default {
data(){
return{
+ typeList:[],
fields:{
people:{label:"操作人",styleType:"parallel"},
date:{label:"操作日期",styleType:"parallel",type:"calendar"},
@@ -173,9 +175,22 @@ export default {
}
},
onLoad(options){
+ this.init()
this.getMassifDetail(options.plotId)
},
methods:{
+ async init(){
+ var res=await request("/api/plantFarming/listFarmName")
+ if(res.statu){
+ this.typeList=res.data
+ }else{
+ uni.showModal({
+ title:"提示",
+ content:res.msg||"获取农事类型失败!",
+ showCancel:false,
+ })
+ }
+ },
async getMassifDetail(id){
var res=await request("/api/plantPlot/queryById",{
params:{id}
diff --git a/uni_modules/d-search/components/d-search/d-search.vue b/uni_modules/d-search/components/d-search/d-search.vue
index 98abdfe..b458d65 100644
--- a/uni_modules/d-search/components/d-search/d-search.vue
+++ b/uni_modules/d-search/components/d-search/d-search.vue
@@ -87,13 +87,13 @@
-
-
+
+
猜你想搜
- {{v.label}}
+ {{v.label}}
@@ -109,7 +109,11 @@ export default {
list:{
type:Array,
default:()=>[]
- }
+ },
+ selectVal:{
+ type:[String,Number],
+ default:''
+ },
},
data(){
return{