diff --git a/main/.env.development b/main/.env.development index 3aa18c8..8ed46a0 100644 --- a/main/.env.development +++ b/main/.env.development @@ -17,5 +17,5 @@ VITE_APP_UPLOAD_API = '/uploadApis' # VITE_APP_UPLOAD_URL = 'http://47.109.205.240:9300' # 内网接口地址 VITE_APP_BASE_URL = 'http://192.168.18.99:8080' -VITE_APP_UPLOAD_URL = 'http://192.168.18.74:8080' +VITE_APP_UPLOAD_URL = 'http://192.168.18.99:8080' # VITE_APP_VIST_URL = 'http://192.168.18.99' diff --git a/new-digital-agriculture-screen/components.d.ts b/new-digital-agriculture-screen/components.d.ts index 694dcaa..ca0fa36 100644 --- a/new-digital-agriculture-screen/components.d.ts +++ b/new-digital-agriculture-screen/components.d.ts @@ -12,6 +12,7 @@ declare module 'vue' { 'CenterMap copy': typeof import('./src/components/centerMap copy.vue')['default'] CodeDialog: typeof import('./src/components/code-dialog/index.vue')['default'] Components: typeof import('./src/components/index.js')['default'] + copy: typeof import('./src/components/centerMap copy.vue')['default'] CurrentTime: typeof import('./src/components/currentTime.vue')['default'] CustomBack: typeof import('./src/components/customBack.vue')['default'] CustomCarouselPicture: typeof import('./src/components/custom-carousel-picture/index.vue')['default'] diff --git a/sub-government-affairs-service/.env.development b/sub-government-affairs-service/.env.development index 8b97e98..cdf02f5 100644 --- a/sub-government-affairs-service/.env.development +++ b/sub-government-affairs-service/.env.development @@ -10,8 +10,13 @@ VITE_APP_UPLOAD_API = '/uploadApis' # 阿里云接口地址 # VITE_APP_BASE_URL = 'http://47.109.205.240:8080' -# VITE_APP_UPLOAD_URL = 'http://47.109.205.240:9300' +# VITE_APP_UPLOAD_URL = 'http://47.109.205.240:9204' -# 内网接口地址 +# 内网测试库接口地址 VITE_APP_BASE_URL = 'http://192.168.18.99:8080' -VITE_APP_UPLOAD_URL = 'http://192.168.18.74:8080' +# VITE_APP_UPLOAD_URL = 'http://192.168.18.98:9204' +VITE_APP_UPLOAD_URL = 'http://192.168.18.99:8080' + +# 本地开发接口地址 +# VITE_APP_BASE_URL = 'http://192.168.18.74:8080' +# VITE_APP_UPLOAD_URL = 'http://192.168.18.74:8080' \ No newline at end of file diff --git a/sub-government-affairs-service/src/apis/land.js b/sub-government-affairs-service/src/apis/land.js index 95f9749..dcb23b4 100644 --- a/sub-government-affairs-service/src/apis/land.js +++ b/sub-government-affairs-service/src/apis/land.js @@ -248,8 +248,14 @@ export function exportlandInspection(params = {}) { // #region /* 查询土地违法处理 */ -export function getLandIllegal(params = {}) { - return request('land-resource/landViolation/page', { +// export function getLandIllegal(params = {}) { +// return request('land-resource/landViolation/page', { +// method: 'GET', +// params, +// }); +// } +export function getIllegalList(params = {}) { + return request('/land-resource/inspection/illegal/list', { method: 'GET', params, }); diff --git a/sub-government-affairs-service/src/apis/landResourceManagement/landManagement/index.js b/sub-government-affairs-service/src/apis/landResourceManagement/landManagement/index.js index 5800c7a..f6f1f7f 100644 --- a/sub-government-affairs-service/src/apis/landResourceManagement/landManagement/index.js +++ b/sub-government-affairs-service/src/apis/landResourceManagement/landManagement/index.js @@ -18,6 +18,13 @@ export function getLandList(params) { params, }); } +// 新增全部土地信息(POST) +export function createLand(data = {}) { + return request('/land-resource/landManage/v1/save', { + method: 'POST', + data, + }); +} /** * 保存土地基础信息 diff --git a/sub-government-affairs-service/src/assets/images/landBase/land1.png b/sub-government-affairs-service/src/assets/images/landBase/land1.png new file mode 100644 index 0000000..302ef75 Binary files /dev/null and b/sub-government-affairs-service/src/assets/images/landBase/land1.png differ diff --git a/sub-government-affairs-service/src/assets/images/landBase/land2.png b/sub-government-affairs-service/src/assets/images/landBase/land2.png new file mode 100644 index 0000000..daf7adc Binary files /dev/null and b/sub-government-affairs-service/src/assets/images/landBase/land2.png differ diff --git a/sub-government-affairs-service/src/assets/images/landBase/land3.png b/sub-government-affairs-service/src/assets/images/landBase/land3.png new file mode 100644 index 0000000..be7dfc6 Binary files /dev/null and b/sub-government-affairs-service/src/assets/images/landBase/land3.png differ diff --git a/sub-government-affairs-service/src/components/AreaCascader/index.vue b/sub-government-affairs-service/src/components/AreaCascader/index.vue index 25ff12c..81d74f2 100644 --- a/sub-government-affairs-service/src/components/AreaCascader/index.vue +++ b/sub-government-affairs-service/src/components/AreaCascader/index.vue @@ -120,6 +120,8 @@ const containerStyle = computed(() => ({ text-align: right; line-height: 32px; width: 120px; + box-sizing: border-box; + padding-right: 12px; } .controls { display: flex; diff --git a/sub-government-affairs-service/src/components/AreaSelect/index.vue b/sub-government-affairs-service/src/components/AreaSelect/index.vue index 82669c1..e087d9c 100644 --- a/sub-government-affairs-service/src/components/AreaSelect/index.vue +++ b/sub-government-affairs-service/src/components/AreaSelect/index.vue @@ -104,21 +104,6 @@ const fetchAreaData = async () => { // } // ); -// 内部更新 => 外部同步 -watch( - selectedAreaPath, - (val) => { - if (props.emitPath) { - // 期望数组模式,确保输出数组 - emit('update:modelValue', Array.isArray(val) ? val : []); - } else { - // 期望字符串模式,确保输出字符串 - emit('update:modelValue', typeof val === 'string' ? val : ''); - } - }, - { deep: true } -); - onMounted(() => { fetchAreaData(); }); diff --git a/sub-government-affairs-service/src/router/modules/inputSupplies/index.js b/sub-government-affairs-service/src/router/modules/inputSupplies/index.js index ec56f28..d891930 100644 --- a/sub-government-affairs-service/src/router/modules/inputSupplies/index.js +++ b/sub-government-affairs-service/src/router/modules/inputSupplies/index.js @@ -9,123 +9,36 @@ const inputSuppliesRoutes = [ redirect: '/sub-government-affairs-service/material/pesticide', meta: { title: '投入品管理', icon: 'FullScreen' }, children: [ + { + path: '/sub-government-affairs-service/material/annualPlans', + name: 'annualPlans', + component: () => import('@/views/inputSuppliesManage/material/annualPlan/index.vue'), + meta: { title: '农产品种植管理', icon: 'Timer' }, + }, { path: '/sub-government-affairs-service/material/pesticide', name: 'input-supplies-pesticide', component: () => import('@/views/inputSuppliesManage/material/pesticide/index.vue'), - meta: { title: '农药管理', icon: '' }, + meta: { title: '农药使用管理', icon: 'Orange' }, }, { path: '/sub-government-affairs-service/material/fertilizer', name: 'input-supplies-fertilizer', component: () => import('@/views/inputSuppliesManage/material/fertilizer/index.vue'), - meta: { title: '肥料管理', icon: '' }, + meta: { title: '肥料使用管理', icon: 'Grid' }, }, { path: '/sub-government-affairs-service/material/seed', name: 'input-supplies-seed', component: () => import('@/views/inputSuppliesManage/material/seed/index.vue'), - meta: { title: '种子使用监督管理', icon: '' }, + meta: { title: '种子使用管理', icon: 'Watermelon' }, }, { path: '/sub-government-affairs-service/material/others', name: 'input-supplies-others', component: () => import('@/views/inputSuppliesManage/material/others/index.vue'), - meta: { title: '其他投入品', icon: '' }, + meta: { title: '其他投入品', icon: 'TakeawayBox' }, }, - { - path: '/sub-government-affairs-service/material/annualPlans', - name: 'annualPlans', - component: () => import('@/views/inputSuppliesManage/material/annualPlan/index.vue'), - meta: { title: '种植进度网格化管理', icon: '' }, - }, - // { - // path: '/sub-government-affairs-service/materialManage', - // name: 'materialManage', - // component: Views, - // redirect: '/sub-government-affairs-service/material/pesticide', - // meta: { title: '投入品管理', icon: 'OfficeBuilding' }, - // children: [ - // { - // path: '/sub-government-affairs-service/material/pesticide', - // name: 'input-supplies-pesticide', - // component: () => import('@/views/inputSuppliesManage/material/pesticide/index.vue'), - // meta: { title: '农药管理', icon: '' }, - // }, - // { - // path: '/sub-government-affairs-service/material/fertilizer', - // name: 'input-supplies-fertilizer', - // component: () => import('@/views/inputSuppliesManage/material/fertilizer/index.vue'), - // meta: { title: '肥料管理', icon: '' }, - // }, - // // { - // // path: '/sub-government-affairs-service/material/pesticide', - // // name: 'input-supplies-pesticide', - // // component: () => import('@/views/inputSuppliesManage/material/pesticide/index.vue'), - // // meta: { title: '农药管理', icon: '' }, - // // }, - // // { - // // path: '/sub-government-affairs-service/material/ratPoison', - // // name: 'input-supplies-ratPoison', - // // component: () => import('@/views/inputSuppliesManage/material/ratPoison/index.vue'), - // // meta: { title: '兽药管理', icon: '' }, - // // }, - // { - // path: '/sub-government-affairs-service/material/seed', - // name: 'input-supplies-seed', - // component: () => import('@/views/inputSuppliesManage/material/seed/index.vue'), - // meta: { title: '种子管理', icon: '' }, - // }, - // // { - // // path: '/sub-government-affairs-service/material/farmMachinery', - // // name: 'input-supplies-farmMachinery', - // // component: () => import('@/views/inputSuppliesManage/material/farmMachinery/index.vue'), - // // meta: { title: '农机管理', icon: '' }, - // // }, - // ], - // }, - // { - // path: '/sub-government-affairs-service/productionDealer', - // name: 'productionDealer', - // component: () => import('@/views/inputSuppliesManage/productionDealer/index.vue'), - // meta: { title: '企业经销商管理', icon: '' }, - // }, - // { - // path: '/sub-government-affairs-service/enterpriseDealerCheck', - // name: 'enterpriseDealerCheck', - // component: () => import('@/views/inputSuppliesManage/enterpriseDealerCheck/index.vue'), - // meta: { title: '企业经销商抽检', icon: '' }, - // }, - // { - // path: '/sub-government-affairs-service/useSupervise', - // name: 'useSupervise', - // component: () => import('@/views/inputSuppliesManage/useSupervise/index.vue'), - // meta: { title: '使用监管', icon: '' }, - // }, - // { - // path: '/sub-government-affairs-service/leaseSupervise', - // name: 'leaseSupervise', - // component: () => import('@/views/inputSuppliesManage/leaseSupervise/index.vue'), - // meta: { title: '农机租赁监管', icon: '' }, - // }, - // { - // path: '/sub-government-affairs-service/redBlackRank', - // name: 'redBlackRank', - // component: () => import('@/views/inputSuppliesManage/redBlackRank/index.vue'), - // meta: { title: '企业红黑榜', icon: '' }, - // }, - // { - // path: '/sub-government-affairs-service/knowledgeManage', - // name: 'knowledgeManage', - // component: () => import('@/views/inputSuppliesManage/knowledgeManage/index.vue'), - // meta: { title: '知识库', icon: '' }, - // }, - // { - // path: '/sub-government-affairs-service/patrolCaseManage', - // name: 'patrolCaseManage', - // component: () => import('@/views/inputSuppliesManage/patrolCaseManage/index.vue'), - // meta: { title: '巡查与案件管理', icon: 'Document' }, - // }, ], }, ]; diff --git a/sub-government-affairs-service/src/router/modules/lands.js b/sub-government-affairs-service/src/router/modules/lands.js index 3022680..1f5ce16 100644 --- a/sub-government-affairs-service/src/router/modules/lands.js +++ b/sub-government-affairs-service/src/router/modules/lands.js @@ -9,12 +9,12 @@ const landsRoutes = [ redirect: '/sub-government-affairs-service/plantPlan', meta: { title: '土地管理', icon: 'Grape' }, children: [ - { - path: '/sub-government-affairs-service/landsManage', - name: 'landsManage', - component: () => import('@/views/landManage/component/landsManage/index.vue'), - meta: { title: '土地资源信息登记', icon: '' }, - }, + // { + // path: '/sub-government-affairs-service/landsManage', + // name: 'landsManage', + // component: () => import('@/views/landManage/component/landsManage/index.vue'), + // meta: { title: '土地资源信息登记', icon: '' }, + // }, // { // path: '/sub-government-affairs-service/plantPlan', // name: 'plantPlan', diff --git a/sub-government-affairs-service/src/router/modules/productOperateMain.js b/sub-government-affairs-service/src/router/modules/productOperateMain.js index 59f4b19..33f2adb 100644 --- a/sub-government-affairs-service/src/router/modules/productOperateMain.js +++ b/sub-government-affairs-service/src/router/modules/productOperateMain.js @@ -18,7 +18,7 @@ export default [ path: '/sub-government-affairs-service/individual', component: () => import('@/views/productOperateMain/individual/index.vue'), name: 'individual', - meta: { title: '农户管理', icon: '' }, + meta: { title: '农户管理', icon: 'Place' }, }, // { // path: '/sub-government-affairs-service/collective', @@ -30,7 +30,7 @@ export default [ path: '/sub-government-affairs-service/coop', component: () => import('@/views/productOperateMain/coOp/index.vue'), name: 'coop', - meta: { title: '企业管理', icon: '' }, + meta: { title: '企业管理', icon: 'Finished' }, }, // { // path: '/sub-government-affairs-service/enterprise', diff --git a/sub-government-affairs-service/src/router/modules/resource.js b/sub-government-affairs-service/src/router/modules/resource.js index 2055121..e825662 100644 --- a/sub-government-affairs-service/src/router/modules/resource.js +++ b/sub-government-affairs-service/src/router/modules/resource.js @@ -1,22 +1,57 @@ import Layout from '@/layouts/index.vue'; -// import annualplanRouters from './annualplan'; -import statisticsRoutes from './statisticAnalysis'; import landsRoutes from './lands'; -// import dictRoutes from './dict'; export default [ { path: '/sub-government-affairs-service/resource', name: 'resourceManagement', component: Layout, - redirect: '/sub-government-affairs-service/landCassification', + redirect: '/sub-government-affairs-service/resource/database/statistics', meta: { title: '土地资源管理', icon: 'icon-test' }, children: [ { - path: '/sub-government-affairs-service/landCassification', - name: 'landCassification', - component: () => import('@/views/dict/component/landCassification/index.vue'), - meta: { title: '土地分类', icon: '' }, + path: '/sub-government-affairs-service/resource/database', + name: 'landResourceDatabase', + redirect: '/sub-government-affairs-service/resource/database/statistics', + meta: { title: '土地资源库', icon: 'Connection' }, + children: [ + { + path: '/sub-government-affairs-service/resource/database/statistics', + name: 'landStatistics', + component: () => import('@/views/resource/database/Statistics.vue'), + meta: { title: '统计数据', icon: '' }, + }, + { + path: '/sub-government-affairs-service/resource/database/map', + name: 'landMap', + component: () => import('@/views/resource/database/LandMap.vue'), + meta: { title: '地块地图', icon: '' }, + }, + { + path: '/sub-government-affairs-service/resource/database/cultivated-land', + name: 'cultivatedLand', + component: () => import('@/views/resource/database/CultivatedLand.vue'), + meta: { title: '耕地', icon: '' }, + }, + { + path: '/sub-government-affairs-service/resource/database/orchard', + name: 'orchardLand', + component: () => import('@/views/resource/database/Orchard.vue'), + meta: { title: '园地', icon: '' }, + }, + { + path: '/sub-government-affairs-service/resource/database/forest', + name: 'forestLand', + component: () => import('@/views/resource/database/Forest.vue'), + meta: { title: '林地', icon: '' }, + }, + { + path: '/sub-government-affairs-service/resource/database/grassland', + name: 'grassLand', + component: () => import('@/views/resource/database/Grassland.vue'), + meta: { title: '草地', icon: '' }, + }, + ], }, { redirect: '/sub-government-affairs-service/add-grid', @@ -45,10 +80,7 @@ export default [ // }, ], }, - // ...annualplanRouters, ...landsRoutes, - // ...statisticsRoutes, - // ...dictRoutes, ], }, ]; diff --git a/sub-government-affairs-service/src/router/modules/trace.js b/sub-government-affairs-service/src/router/modules/trace.js index 9ddcd56..45323c1 100644 --- a/sub-government-affairs-service/src/router/modules/trace.js +++ b/sub-government-affairs-service/src/router/modules/trace.js @@ -55,20 +55,20 @@ export default [ path: '/sub-government-affairs-service/trace-search', name: 'trace-search', component: () => import('@/views/trace/search/index.vue'), - meta: { title: '溯源查询', icon: '' }, + meta: { title: '溯源查询', icon: 'Files' }, }, { path: '/sub-government-affairs-service/trace-info', name: 'trace-info', component: () => import('@/views/trace/search/info.vue'), - meta: { title: '溯源详情', icon: '' }, + meta: { title: '溯源详情', icon: 'DocumentCopy' }, hidden: true, }, { path: '/sub-government-affairs-service/trace-statistic', name: 'trace-statistic', component: () => import('@/views/trace/statistic/index.vue'), - meta: { title: '溯源统计', icon: '' }, + meta: { title: '溯源统计', icon: 'Filter' }, }, ], }, diff --git a/sub-government-affairs-service/src/views/landManage/component/illegalHandle/index.vue b/sub-government-affairs-service/src/views/landManage/component/illegalHandle/index.vue index be1de86..1f7ccf2 100644 --- a/sub-government-affairs-service/src/views/landManage/component/illegalHandle/index.vue +++ b/sub-government-affairs-service/src/views/landManage/component/illegalHandle/index.vue @@ -18,21 +18,11 @@ @cell-click="handleCellClick" > - - - - diff --git a/sub-government-affairs-service/src/views/productOperateMain/coOp/components/TabBasicInfo.vue b/sub-government-affairs-service/src/views/productOperateMain/coOp/components/TabBasicInfo.vue index 14f0296..4af8da8 100644 --- a/sub-government-affairs-service/src/views/productOperateMain/coOp/components/TabBasicInfo.vue +++ b/sub-government-affairs-service/src/views/productOperateMain/coOp/components/TabBasicInfo.vue @@ -13,19 +13,7 @@ - - - - + @@ -47,18 +35,6 @@ - @@ -67,14 +43,7 @@ diff --git a/sub-government-affairs-service/src/views/resource/database/Forest.vue b/sub-government-affairs-service/src/views/resource/database/Forest.vue new file mode 100644 index 0000000..b3af10a --- /dev/null +++ b/sub-government-affairs-service/src/views/resource/database/Forest.vue @@ -0,0 +1,329 @@ + + + + + diff --git a/sub-government-affairs-service/src/views/resource/database/Grassland.vue b/sub-government-affairs-service/src/views/resource/database/Grassland.vue new file mode 100644 index 0000000..9ee690b --- /dev/null +++ b/sub-government-affairs-service/src/views/resource/database/Grassland.vue @@ -0,0 +1,329 @@ + + + + + diff --git a/sub-government-affairs-service/src/views/resource/database/LandMap.vue b/sub-government-affairs-service/src/views/resource/database/LandMap.vue new file mode 100644 index 0000000..cfa7f6b --- /dev/null +++ b/sub-government-affairs-service/src/views/resource/database/LandMap.vue @@ -0,0 +1,20 @@ + + + + + diff --git a/sub-government-affairs-service/src/views/resource/database/Orchard.vue b/sub-government-affairs-service/src/views/resource/database/Orchard.vue new file mode 100644 index 0000000..8c3572b --- /dev/null +++ b/sub-government-affairs-service/src/views/resource/database/Orchard.vue @@ -0,0 +1,329 @@ + + + + + diff --git a/sub-government-affairs-service/src/views/resource/database/Statistics.vue b/sub-government-affairs-service/src/views/resource/database/Statistics.vue new file mode 100644 index 0000000..e213d09 --- /dev/null +++ b/sub-government-affairs-service/src/views/resource/database/Statistics.vue @@ -0,0 +1,17 @@ + + + + + diff --git a/sub-government-affairs-service/src/views/resource/database/landData.js b/sub-government-affairs-service/src/views/resource/database/landData.js new file mode 100644 index 0000000..3e599ec --- /dev/null +++ b/sub-government-affairs-service/src/views/resource/database/landData.js @@ -0,0 +1,222 @@ +export const mockData = [ + { + id: 'GM2025001', + landName: '耿马镇允楞村耕地一号', + area: 8.72, + landTypeName: '耕地', + soilTypeName: '红壤', + fullRegionName: '云南省临沧市耿马傣族佤族自治县耿马镇允楞村', + gridName: '耿马网格1', + address: '允楞村委会旁', + propertyName: '刘勇', + propertyPhone: '15908761234', + landCode: 'GM2025-E1', + isTransfer: '否', + transferName: '', + transferPhone: '', + transferContract: '', + fillName: '赵敏', + fillGroup: '耿马镇农业服务中心', + fillTime: '2025-06-02 08:45:00', + updateTime: '2025-06-05 13:20:30', + status: '0', + }, + { + id: 'GM2025002', + landName: '耿马镇复兴村耕地二号', + area: 12.34, + landTypeName: '耕地', + soilTypeName: '黄壤', + fullRegionName: '云南省临沧市耿马傣族佤族自治县耿马镇复兴村', + gridName: '耿马网格A', + address: '复兴村大路东侧', + propertyName: '张芳', + propertyPhone: '13607894521', + landCode: 'GM2025-E2', + isTransfer: '是', + transferName: '李强', + transferPhone: '13809123456', + transferContract: 'HZ-GM-002.pdf', + fillName: '王磊', + fillGroup: '耿马镇政府', + fillTime: '2025-06-03 09:15:00', + updateTime: '2025-06-06 14:05:10', + status: '1', + }, + { + id: 'GM2025003', + landName: '勐撒镇城子村耕地三号', + area: 5.6, + landTypeName: '耕地', + soilTypeName: '壤土', + fullRegionName: '云南省临沧市耿马傣族佤族自治县勐撒镇城子村', + gridName: '勐撒网格B', + address: '城子村太阳路北侧', + propertyName: '赵杰', + propertyPhone: '15012346789', + landCode: 'GM2025-E3', + isTransfer: '否', + transferName: '', + transferPhone: '', + transferContract: '', + fillName: '孙丽', + fillGroup: '勐撒镇农业站', + fillTime: '2025-06-04 10:30:00', + updateTime: '2025-06-07 16:40:45', + status: '2', + }, + { + id: 'GM2025004', + landName: '孟定镇罕宏村耕地四号', + area: 14.28, + landTypeName: '耕地', + soilTypeName: '砂壤', + fullRegionName: '云南省临沧市耿马傣族佤族自治县孟定镇罕宏村', + gridName: '孟定网格C', + address: '罕宏村公路旁', + propertyName: '周涛', + propertyPhone: '15876543210', + landCode: 'GM2025-E4', + isTransfer: '是', + transferName: '吴静', + transferPhone: '13987654321', + transferContract: 'HZ-GM-004.pdf', + fillName: '郑勇', + fillGroup: '孟定镇人民政府', + fillTime: '2025-06-05 11:50:00', + updateTime: '2025-06-08 09:10:20', + status: '0', + }, + { + id: 'GM2025005', + landName: '贺派乡芒抗村耕地五号', + area: 7.95, + landTypeName: '耕地', + soilTypeName: '钙质红壤', + fullRegionName: '云南省临沧市耿马傣族佤族自治县贺派乡芒抗村', + gridName: '贺派网格D', + address: '芒抗村文化站东侧', + propertyName: '钱海', + propertyPhone: '13765432109', + landCode: 'GM2025-E5', + isTransfer: '否', + transferName: '', + transferPhone: '', + transferContract: '', + fillName: '李霞', + fillGroup: '贺派乡农村合作社', + fillTime: '2025-06-06 08:20:00', + updateTime: '2025-06-09 15:35:30', + status: '1', + }, + { + id: 'GM2025006', + landName: '四排山乡东坡村耕地六号', + area: 10.5, + landTypeName: '耕地', + soilTypeName: '红壤', + fullRegionName: '云南省临沧市耿马傣族佤族自治县四排山乡东坡村', + gridName: '四排山网格E', + address: '东坡村卫生室旁', + propertyName: '吴强', + propertyPhone: '15123459876', + landCode: 'GM2025-E6', + isTransfer: '否', + transferName: '', + transferPhone: '', + transferContract: '', + fillName: '赵慧', + fillGroup: '四排山乡政府', + fillTime: '2025-06-07 09:40:00', + updateTime: '2025-06-10 12:25:15', + status: '2', + }, + { + id: 'GM2025007', + landName: '勐撒镇箐门口村耕地七号', + area: 6.3, + landTypeName: '耕地', + soilTypeName: '砂壤', + fullRegionName: '云南省临沧市耿马傣族佤族自治县勐撒镇箐门口村', + gridName: '勐撒网格F', + address: '箐门口村村委路口', + propertyName: '郑飞', + propertyPhone: '15234568790', + landCode: 'GM2025-E7', + isTransfer: '是', + transferName: '孙敏', + transferPhone: '15345678901', + transferContract: 'HZ-GM-007.pdf', + fillName: '钱军', + fillGroup: '勐撒镇综治办', + fillTime: '2025-06-08 14:10:00', + updateTime: '2025-06-11 11:55:45', + status: '0', + }, + { + id: 'GM2025008', + landName: '孟定镇景信村耕地八号', + area: 9.11, + landTypeName: '耕地', + soilTypeName: '壤土', + fullRegionName: '云南省临沧市耿马傣族佤族自治县孟定镇景信村', + gridName: '孟定网格G', + address: '景信村村口', + propertyName: '钱芳', + propertyPhone: '15456789012', + landCode: 'GM2025-E8', + isTransfer: '否', + transferName: '', + transferPhone: '', + transferContract: '', + fillName: '李强', + fillGroup: '孟定镇农业站', + fillTime: '2025-06-09 10:05:00', + updateTime: '2025-06-12 13:40:30', + status: '1', + }, + { + id: 'GM2025009', + landName: '耿马镇团结村耕地九号', + area: 11.76, + landTypeName: '耕地', + soilTypeName: '红壤', + fullRegionName: '云南省临沧市耿马傣族佤族自治县耿马镇团结村', + gridName: '耿马网格H', + address: '团结村大桥旁', + propertyName: '孙明', + propertyPhone: '15567890123', + landCode: 'GM2025-E9', + isTransfer: '否', + transferName: '', + transferPhone: '', + transferContract: '', + fillName: '周杰', + fillGroup: '耿马镇政府', + fillTime: '2025-06-10 11:30:00', + updateTime: '2025-06-13 16:15:20', + status: '2', + }, + { + id: 'GM2025010', + landName: '贺派乡落阳村耕地十号', + area: 7.22, + landTypeName: '耕地', + soilTypeName: '砂壤', + fullRegionName: '云南省临沧市耿马傣族佤族自治县贺派乡落阳村', + gridName: '贺派网格I', + address: '落阳村学校旁', + propertyName: '李平', + propertyPhone: '15678901234', + landCode: 'GM2025-E10', + isTransfer: '是', + transferName: '王敏', + transferPhone: '15789012345', + transferContract: 'HZ-GM-010.pdf', + fillName: '张华', + fillGroup: '贺派乡综治办', + fillTime: '2025-06-11 13:00:00', + updateTime: '2025-06-14 09:50:55', + status: '0', + }, +]; diff --git a/sub-government-affairs-service/src/views/resource/grid/GridMember.vue b/sub-government-affairs-service/src/views/resource/grid/GridMember.vue index d525a1f..517b765 100644 --- a/sub-government-affairs-service/src/views/resource/grid/GridMember.vue +++ b/sub-government-affairs-service/src/views/resource/grid/GridMember.vue @@ -415,10 +415,4 @@ const onExport = () => { .dialog-footer { text-align: center; } -:deep(.area-cascader-label) { - padding: 0 12px 0 0; - margin: 0; - width: 120px; - box-sizing: border-box; -} diff --git a/sub-government-affairs-service/src/views/trace/record/base/index.vue b/sub-government-affairs-service/src/views/trace/record/base/index.vue index e2d00f2..f2697b2 100644 --- a/sub-government-affairs-service/src/views/trace/record/base/index.vue +++ b/sub-government-affairs-service/src/views/trace/record/base/index.vue @@ -232,9 +232,7 @@ const state = reactive({ message: '请输入', trigger: 'blur', }, - formatter: (row) => { - return row.area + '亩'; - }, + formatter: (row, column, cellValue) => `${Number(cellValue).toFixed(2)} 亩`, }, { label: '海拔(米)', diff --git a/sub-government-affairs-service/vite.config.js b/sub-government-affairs-service/vite.config.js index 2eec35c..ba32e86 100644 --- a/sub-government-affairs-service/vite.config.js +++ b/sub-government-affairs-service/vite.config.js @@ -1,11 +1,3 @@ -/* - * @Descripttion: - * @Author: zenghua.wang - * @Date: 2022-09-18 21:24:29 - * @LastEditors: zenghua.wang - * @LastEditTime: 2025-03-20 14:24:31 - */ - import { defineConfig, loadEnv } from 'vite'; import vue from '@vitejs/plugin-vue'; import qiankun from 'vite-plugin-qiankun'; diff --git a/sub-operation-service/components.d.ts b/sub-operation-service/components.d.ts index ea452bb..32f9580 100644 --- a/sub-operation-service/components.d.ts +++ b/sub-operation-service/components.d.ts @@ -7,6 +7,7 @@ export {} declare module 'vue' { export interface GlobalComponents { + BreadComp: typeof import('./src/components/breadComp.vue')['default'] CenterMap: typeof import('./src/components/centerMap.vue')['default'] CodeDialog: typeof import('./src/components/code-dialog/index.vue')['default'] copy: typeof import('./src/components/custom-scroll-title copy/index.vue')['default'] diff --git a/sub-operation-service/src/layouts/component/Header/index.vue b/sub-operation-service/src/layouts/component/Header/index.vue index eb9ce77..c586fc3 100644 --- a/sub-operation-service/src/layouts/component/Header/index.vue +++ b/sub-operation-service/src/layouts/component/Header/index.vue @@ -88,10 +88,6 @@ const meuns = ref([ label: '智慧种植', path: '/sub-operation-service/smartFarm', }, - { - label: '农事服务', - path: '/sub-operation-service/farmService', - }, { label: '电商交易', path: '/sub-operation-service/ecommerce', @@ -108,6 +104,10 @@ const meuns = ref([ label: '仓储物流', path: '/sub-operation-service/warehouseLogistics', }, + { + label: '农事服务', + path: '/sub-operation-service/farmService', + }, { label: '公共品牌', path: '/sub-operation-service/brand',