diff --git a/admin/src/api/land_plant_action.ts b/admin/src/api/land_plant_action.ts index 67721338..d4f3f83f 100644 --- a/admin/src/api/land_plant_action.ts +++ b/admin/src/api/land_plant_action.ts @@ -1,5 +1,10 @@ import request from '@/utils/request' +// 用户列表 +export function getUserList(params: any) { + return request.get({ url: '/user.user/lists', params }, { ignoreCancelToken: true }) +} + // 土地种植表列表 export function apiLandPlantLists(params: any) { return request.get({ url: '/land.land_plant/lists', params }) diff --git a/admin/src/views/land_plant/edit.vue b/admin/src/views/land_plant/edit.vue index dc132b8a..1cb0a161 100644 --- a/admin/src/views/land_plant/edit.vue +++ b/admin/src/views/land_plant/edit.vue @@ -10,7 +10,7 @@ > - + 名称: {{ row.title }} - - - - - + + + + + @@ -142,7 +142,7 @@ const editRef = shallowRef>() // 是否显示编辑框 const showEdit = ref(false) -var land_id = query.land_id +let land_id = query.land_id if (typeof(land_id) == 'undefined') { land_id = '' } @@ -156,6 +156,8 @@ const queryParams = reactive({ user: '', status: '', plant_date: '', + start_time: '', + end_time: '', }) // 选中数据 diff --git a/admin/src/views/land_plant_action/edit.vue b/admin/src/views/land_plant_action/edit.vue index a3d7e163..8e2c5e39 100644 --- a/admin/src/views/land_plant_action/edit.vue +++ b/admin/src/views/land_plant_action/edit.vue @@ -9,6 +9,25 @@ @close="handleClose" > + + + + + + @@ -54,7 +73,7 @@