diff --git a/src/api/basic/inputsInfo.js b/src/api/basic/inputsInfo.js
deleted file mode 100644
index a1f6cd1..0000000
--- a/src/api/basic/inputsInfo.js
+++ /dev/null
@@ -1,71 +0,0 @@
-import request from '@/utils/request'
-
-// 创建农资
-export function createInputsInfo(data) {
- return request({
- url: '/basic/inputs-info/create',
- method: 'post',
- data: data
- })
-}
-
-// 更新农资
-export function updateInputsInfo(data) {
- return request({
- url: '/basic/inputs-info/update',
- method: 'put',
- data: data
- })
-}
-
-// 删除农资
-export function deleteInputsInfo(id) {
- return request({
- url: '/basic/inputs-info/delete?id=' + id,
- method: 'delete'
- })
-}
-
-// 获得农资
-export function getInputsInfo(id) {
- return request({
- url: '/basic/inputs-info/get?id=' + id,
- method: 'get'
- })
-}
-
-// 获得农资分页
-export function getInputsInfoPage(query) {
- return request({
- url: '/basic/inputs-info/page',
- method: 'get',
- params: query
- })
-}
-
-// 获得农资
-export function queryListOfMiniResult(query) {
- return request({
- url: '/basic/inputs-info/queryListOfMiniResult',
- method: 'get',
- params: query,
- })
-}
-
-// 获得所有农资信息
-export function getInputsInfoInputsInfoList(params) {
- return request({
- url: '/basic/inputs-info/getInputsInfoInputsInfoList',
- method: 'get',
- params,
- })
-}
-
-// 根据指定的商户id 获取所有名下多个农资
-export function getInputsInfoListByBelongBusinessId(query) {
- return request({
- url: '/basic/inputs-info/getInputsInfoListByBelongBusinessId',
- method: 'get',
- params: query
- })
-}
diff --git a/src/api/configure/traceCert.js b/src/api/configure/traceCert.js
deleted file mode 100644
index e8b5f3d..0000000
--- a/src/api/configure/traceCert.js
+++ /dev/null
@@ -1,53 +0,0 @@
-import request from '@/utils/request'
-
-// 创建溯源链证书配置
-export function createTraceCert(data) {
- return request({
- url: '/configure/trace-cert/create',
- method: 'post',
- data: data
- })
-}
-
-// 更新溯源链证书配置
-export function updateTraceCert(data) {
- return request({
- url: '/configure/trace-cert/update',
- method: 'put',
- data: data
- })
-}
-
-// 删除溯源链证书配置
-export function deleteTraceCert(id) {
- return request({
- url: '/configure/trace-cert/delete?id=' + id,
- method: 'delete'
- })
-}
-
-// 获得溯源链证书配置
-export function getByBelongBusinessId(belongBusinessId) {
- return request({
- url: '/configure/trace-cert/getByBelongBusinessId?belongBusinessId=' + belongBusinessId,
- method: 'get'
- })
-}
-
-// 获得溯源链证书配置
-// export function getTraceCert(id) {
-// return request({
-// url: '/configure/trace-cert/get?id=' + id,
-// method: 'get'
-// })
-// }
-
-// 获得溯源链证书配置分页
-// export function getTraceCertPage(query) {
-// return request({
-// url: '/configure/trace-cert/page',
-// method: 'get',
-// params: query
-// })
-// }
-
diff --git a/src/api/material/inputsBatch.js b/src/api/material/inputsBatch.js
deleted file mode 100644
index fa90a5c..0000000
--- a/src/api/material/inputsBatch.js
+++ /dev/null
@@ -1,73 +0,0 @@
-import request from '@/utils/request'
-// 创建农资批次
-export function createInputsBatch(data) {
- return request({
- url: '/product/inputs-batch/create',
- method: 'post',
- data: data
- })
-}
-
-// 更新农资批次
-export function updateInputsBatch(data) {
- return request({
- url: '/product/inputs-batch/update',
- method: 'put',
- data: data
- })
-}
-
-// 删除农资批次
-export function deleteInputsBatch(id) {
- return request({
- url: '/product/inputs-batch/delete?id=' + id,
- method: 'delete'
- })
-}
-
-// 获得农资批次
-export function getInputsBatch(id) {
- return request({
- url: '/product/inputs-batch/get?id=' + id,
- method: 'get'
- })
-}
-
-// 获得农资批次分页
-export function getInputsBatchPage(query) {
- return request({
- url: '/product/inputs-batch/page',
- method: 'get',
- params: query
- })
-}
-
-// 导出农资批次 Excel
-export function exportInputsBatchExcel(query) {
- return request({
- url: '/product/inputs-batch/export-excel',
- method: 'get',
- params: query,
- responseType: 'blob'
- })
-}
-
-// 获得农资批次编号
-export function getInputsBatchNumberList(count) {
- return request({
- url: '/product/inputs-batch/getInputsBatchNumberList?count=' + count,
- method: 'get'
- })
-}
-
-// 批量删除农资批次
-export function deleteBatch(params) {
- return request({
- url: '/product/inputs-batch/deleteBatch?' + Object.keys(params).map(key => key + '=' + params[key]).join('&'),
- method: 'delete',
- })
-}
-
-
-
-
diff --git a/src/api/material/inputsBuy.js b/src/api/material/inputsBuy.js
deleted file mode 100644
index c564dfc..0000000
--- a/src/api/material/inputsBuy.js
+++ /dev/null
@@ -1,96 +0,0 @@
-import request from '@/utils/request'
-// 创建农资采购
-export function createInputsBuy(data) {
- return request({
- url: '/product/inputs-buy/create',
- method: 'post',
- data: data
- })
-}
-
-// 更新农资采购
-export function updateInputsBuy(data) {
- return request({
- url: '/product/inputs-buy/update',
- method: 'put',
- data: data
- })
-}
-
-// 删除农资采购
-export function deleteInputsBuy(id) {
- return request({
- url: '/product/inputs-buy/delete?id=' + id,
- method: 'delete'
- })
-}
-
-// 获得农资采购
-export function getInputsBuy(id) {
- return request({
- url: '/product/inputs-buy/get?id=' + id,
- method: 'get'
- })
-}
-
-// 获得农资采购分页
-export function getInputsBuyPage(query) {
- return request({
- url: '/product/inputs-buy/page',
- method: 'get',
- params: query
- })
-}
-
-// 导出农资采购 Excel
-export function exportInputsBuyExcel(query) {
- return request({
- url: '/product/inputs-buy/export-excel',
- method: 'get',
- params: query,
- responseType: 'blob'
- })
-}
-
-// 获得农资采购单号
-export function getInputsBuyNumberList(count) {
- return request({
- url: '/product/inputs-buy/getInputsBuyNumberList?count=' + count,
- method: 'get'
- })
-}
-
-// 获得农资采购(通过出库单号,用于新增)
-export function getInputsBuyByOutbound(query) {
- return request({
- url: '/product/inputs-buy/getInputsBuyByOutbound',
- method: 'get',
- params: query,
- })
-}
-
-// 冻结
-export function getInputsBuyFreeze(id) {
- return request({
- url: '/product/inputs-buy/freeze?id='+id,
- method: 'put',
- })
-}
-
-// 激活
-export function getInputsBuyActive(id) {
- return request({
- url: '/product/inputs-buy/active?id='+id,
- method: 'put',
- })
-}
-
-// 上链
-export function getInputsBuyUpChain(id) {
- return request({
- url: '/product/inputs-buy/upChain?id='+id,
- method: 'put',
- })
-}
-
-
diff --git a/src/api/product/inputsBatch.js b/src/api/product/inputsBatch.js
deleted file mode 100644
index 021b583..0000000
--- a/src/api/product/inputsBatch.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import request from '@/utils/request'
-
-// 根据农资id获取所有农资批次
-export function getInputsBatchInputsBatchIdList(params) {
- return request({
- url: '/product/inputs-batch/getInputsBatchInputsBatchIdList',
- method: 'get',
- params,
- })
-}
diff --git a/src/api/product/landBlockState.js b/src/api/product/landBlockState.js
deleted file mode 100644
index 2a846e8..0000000
--- a/src/api/product/landBlockState.js
+++ /dev/null
@@ -1,63 +0,0 @@
-import request from '@/utils/request'
-
-// 创建地块状态
-export function createLandBlockState(data) {
- return request({
- url: '/product/land-block-state/create',
- method: 'post',
- data: data
- })
-}
-
-// 更新地块状态
-export function updateLandBlockState(data) {
- return request({
- url: '/product/land-block-state/update',
- method: 'put',
- data: data
- })
-}
-
-// 删除地块状态
-export function deleteLandBlockState(id) {
- return request({
- url: '/product/land-block-state/delete?id=' + id,
- method: 'delete'
- })
-}
-
-// 获得地块状态
-export function getLandBlockState(id) {
- return request({
- url: '/product/land-block-state/get?id=' + id,
- method: 'get'
- })
-}
-
-// 获得地块状态分页
-export function getLandBlockStatePage(query) {
- return request({
- url: '/product/land-block-state/page',
- method: 'get',
- params: query
- })
-}
-
-// 导出地块状态 Excel
-export function exportLandBlockStateExcel(query) {
- return request({
- url: '/product/land-block-state/export-excel',
- method: 'get',
- params: query,
- responseType: 'blob'
- })
-}
-
-// 根据商户ID获取所有地块状态
-export function getBusinessInfoByListLandBlockState(query) {
- return request({
- url: '/product/land-block-state/getBusinessInfoByListLandBlockState',
- method: 'get',
- params: query
- })
- }
\ No newline at end of file
diff --git a/src/api/product/landInfo.js b/src/api/product/landInfo.js
deleted file mode 100644
index cd7427b..0000000
--- a/src/api/product/landInfo.js
+++ /dev/null
@@ -1,73 +0,0 @@
-import request from '@/utils/request'
-
-// 创建农事土地信息
-export function createLandInfo(data) {
- return request({
- url: '/product/land-info/create',
- method: 'post',
- data: data
- })
-}
-
-// 更新农事土地信息
-export function updateLandInfo(data) {
- return request({
- url: '/product/land-info/update',
- method: 'put',
- data: data
- })
-}
-
-// 删除农事土地信息
-export function deleteLandInfo(id) {
- return request({
- url: '/product/land-info/delete?id=' + id,
- method: 'delete'
- })
-}
-
-// 获得农事土地信息
-export function getLandInfo(id) {
- return request({
- url: '/product/land-info/get?id=' + id,
- method: 'get'
- })
-}
-
-// 获得农事土地信息分页
-export function getLandInfoPage(query) {
- return request({
- url: '/product/land-info/page',
- method: 'get',
- params: query
- })
-}
-
-// 导出农事土地信息 Excel
-export function exportLandInfoExcel(query) {
- return request({
- url: '/product/land-info/export-excel',
- method: 'get',
- params: query,
- responseType: 'blob'
- })
-}
-
-// 获得所有地块名称
-export function getLandInfoLandNameList(query) {
- return request({
- url: '/product/land-info/nameList',
- method: 'get',
- params: query
- })
-}
-
-// 根据商户名称获取所有地块昵称
-export function getBusinessNamesByLandId(query) {
- return request({
- url: '/product/land-info/getByBusinessId',
- method: 'get',
- params: query
- })
-}
-
diff --git a/src/api/product/landInfoType.js b/src/api/product/landInfoType.js
deleted file mode 100644
index 009ee32..0000000
--- a/src/api/product/landInfoType.js
+++ /dev/null
@@ -1,63 +0,0 @@
-import request from '@/utils/request'
-
-// 创建地块类型
-export function createLandInfoType(data) {
- return request({
- url: '/product/land-info-type/create',
- method: 'post',
- data: data
- })
-}
-
-// 更新地块类型
-export function updateLandInfoType(data) {
- return request({
- url: '/product/land-info-type/update',
- method: 'put',
- data: data
- })
-}
-
-// 删除地块类型
-export function deleteLandInfoType(id) {
- return request({
- url: '/product/land-info-type/delete?id=' + id,
- method: 'delete'
- })
-}
-
-// 获得地块类型
-export function getLandInfoType(id) {
- return request({
- url: '/product/land-info-type/get?id=' + id,
- method: 'get'
- })
-}
-
-// 获得地块类型分页
-export function getLandInfoTypePage(query) {
- return request({
- url: '/product/land-info-type/page',
- method: 'get',
- params: query
- })
-}
-
-// 导出地块类型 Excel
-export function exportLandInfoTypeExcel(query) {
- return request({
- url: '/product/land-info-type/export-excel',
- method: 'get',
- params: query,
- responseType: 'blob'
- })
-}
-
-// 根据belongBusinessId商户id获取所有地块类型
-export function getByBusinessInfoId(params) {
- return request({
- url: '/product/land-info-type/getByBusinessInfoId',
- method: 'get',
- params
- })
-}
diff --git a/src/api/product/landJob.js b/src/api/product/landJob.js
deleted file mode 100644
index ddca2d4..0000000
--- a/src/api/product/landJob.js
+++ /dev/null
@@ -1,87 +0,0 @@
-import request from '@/utils/request'
-
-// 创建种植/养殖/畜牧作业
-export function createLandJob(data) {
- return request({
- url: '/product/land-job/create',
- method: 'post',
- data: data
- })
-}
-
-// 更新种植/养殖/畜牧作业
-export function updateLandJob(data) {
- return request({
- url: '/product/land-job/update',
- method: 'put',
- data: data
- })
-}
-
-// 删除种植/养殖/畜牧作业
-export function deleteLandJob(id) {
- return request({
- url: '/product/land-job/delete?id=' + id,
- method: 'delete'
- })
-}
-
-// 获得种植/养殖/畜牧作业
-export function getLandJob(id) {
- return request({
- url: '/product/land-job/get?id=' + id,
- method: 'get'
- })
-}
-
-// 获得种植/养殖/畜牧作业分页
-export function getLandJobPage(query) {
- return request({
- url: '/product/land-job/page',
- method: 'get',
- params: query
- })
-}
-
-// 导出种植/养殖/畜牧作业 Excel
-export function exportLandJobExcel(query) {
- return request({
- url: '/product/land-job/export-excel',
- method: 'get',
- params: query,
- responseType: 'blob'
- })
-}
-
-// 批量新增作业计划
-export function createLandJobBatch(data) {
- return request({
- url: '/product/land-job/LandJobBatch',
- method: 'post',
- data: data
- })
-}
-
-// 上链
-export function landJobUpChain(id) {
- return request({
- url: '/product/land-job/upChain?id='+id,
- method: 'put',
- })
-}
-
-// 冻结
-export function landJobFreeze(id) {
- return request({
- url: '/product/land-job/freeze?id='+id,
- method: 'put',
- })
-}
-
-// 激活
-export function landJobActive(id) {
- return request({
- url: '/product/land-job/active?id='+id,
- method: 'put',
- })
-}
diff --git a/src/api/product/landJobInputs.js b/src/api/product/landJobInputs.js
deleted file mode 100644
index 9b11492..0000000
--- a/src/api/product/landJobInputs.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import request from '@/utils/request'
-
-// 删除地块作业农资
-export function deleteLandJobInputs(id) {
- return request({
- url: '/product/land-job-inputs/delete?id=' + id,
- method: 'delete',
- })
-}
diff --git a/src/api/product/landJobType.js b/src/api/product/landJobType.js
deleted file mode 100644
index c762fdf..0000000
--- a/src/api/product/landJobType.js
+++ /dev/null
@@ -1,72 +0,0 @@
-import request from '@/utils/request'
-
-// 创建作业类型
-export function createLandJobType(data) {
- return request({
- url: '/product/land-job-type/create',
- method: 'post',
- data: data
- })
-}
-
-// 更新作业类型
-export function updateLandJobType(data) {
- return request({
- url: '/product/land-job-type/update',
- method: 'put',
- data: data
- })
-}
-
-// 删除作业类型
-export function deleteLandJobType(id) {
- return request({
- url: '/product/land-job-type/delete?id=' + id,
- method: 'delete'
- })
-}
-
-// 获得作业类型
-export function getLandJobType(id) {
- return request({
- url: '/product/land-job-type/get?id=' + id,
- method: 'get'
- })
-}
-
-// 获得作业类型分页
-export function getLandJobTypePage(query) {
- return request({
- url: '/product/land-job-type/page',
- method: 'get',
- params: query
- })
-}
-
-// 导出作业类型 Excel
-export function exportLandJobTypeExcel(query) {
- return request({
- url: '/product/land-job-type/export-excel',
- method: 'get',
- params: query,
- responseType: 'blob'
- })
-}
-
-// 根据belongBusinessName获取所以地块类型
-export function getLandJobTypesByBelongBusinessName(params) {
- return request({
- url: '/product/land-job-type/getLandJobTypesByBelongBusinessName',
- method: 'get',
- params,
- })
-}
-
-// 根据商户ID获得作业类型
-export function getByBusinessInfoId(params) {
- return request({
- url: '/product/land-job-type/getByBusinessInfoId',
- method: 'get',
- params,
- })
-}
diff --git a/src/api/product/landPlan.js b/src/api/product/landPlan.js
deleted file mode 100644
index c7ebdef..0000000
--- a/src/api/product/landPlan.js
+++ /dev/null
@@ -1,81 +0,0 @@
-import request from '@/utils/request'
-
-// 创建地块作业计划
-export function createLandPlan(data) {
- return request({
- url: '/product/land-plan/create',
- method: 'post',
- data: data
- })
-}
-
-// 更新地块作业计划
-export function updateLandPlan(data) {
- return request({
- url: '/product/land-plan/update',
- method: 'put',
- data: data
- })
-}
-
-// 删除地块作业计划
-export function deleteLandPlan(id) {
- return request({
- url: '/product/land-plan/delete?id=' + id,
- method: 'delete'
- })
-}
-
-// 获得地块作业计划
-export function getLandPlan(id) {
- return request({
- url: '/product/land-plan/get?id=' + id,
- method: 'get'
- })
-}
-
-// 获得地块作业计划分页
-export function getLandPlanPage(query) {
- return request({
- url: '/product/land-plan/page',
- method: 'get',
- params: query
- })
-}
-
-// 导出地块作业计划 Excel
-export function exportLandPlanExcel(query) {
- return request({
- url: '/product/land-plan/export-excel',
- method: 'get',
- params: query,
- responseType: 'blob'
- })
-}
-
-// 获得地块作业计划列表
-export function getLandPlanByGoodsId(params) {
- return request({
- url: '/product/land-plan/getLandPlanByGoodsId',
- method: 'get',
- params,
- })
-}
-
-// 批量创建地块作业计划
-export function createLandPlanList(data) {
- return request({
- url: '/product/land-plan/createList',
- method: 'post',
- data: data
- })
-}
-
-// 获得地块作业计划列表,用于农事活动配置
-export function getLandFarmingConfig(params) {
- return request({
- url: '/product/land-plan/getLandPlanForFarmingConfig',
- method: 'get',
- params,
- })
-}
diff --git a/src/views/basic/inputsInfo/index.vue b/src/views/basic/inputsInfo/index.vue
deleted file mode 100644
index 8692a0e..0000000
--- a/src/views/basic/inputsInfo/index.vue
+++ /dev/null
@@ -1,468 +0,0 @@
-
- 农资管理
-
-
- 溯源链证书配置
-
-