diff --git a/main/.env.development b/main/.env.development
index 58bdec5..4054b6b 100644
--- a/main/.env.development
+++ b/main/.env.development
@@ -11,7 +11,10 @@ VITE_APP_SUB_GSS = '//localhost:9529/sub-government-screen-service/'
VITE_APP_SUB_GSR = '//localhost:9530/new-digital-agriculture-screen/'
# 接口
VITE_APP_BASE_API = '/apis'
-# VITE_APP_BASE_URL = 'http://47.109.205.2409:8080'
-VITE_APP_BASE_URL = 'http://47.109.205.240:8080'
VITE_APP_UPLOAD_API = '/uploadApis'
-VITE_APP_UPLOAD_URL = 'http://47.109.205.240:8080'
\ No newline at end of file
+# 阿里云接口地址
+# VITE_APP_BASE_URL = 'http://47.109.205.240:8080'
+# VITE_APP_UPLOAD_URL = 'http://47.109.205.240:9300'
+# 内网接口地址
+VITE_APP_BASE_URL = 'http://192.168.18.9:8080'
+VITE_APP_UPLOAD_URL = 'http://192.168.18.9:9300'
diff --git a/sub-government-affairs-service/.env.development b/sub-government-affairs-service/.env.development
index 6b2978c..4d4265a 100644
--- a/sub-government-affairs-service/.env.development
+++ b/sub-government-affairs-service/.env.development
@@ -4,9 +4,14 @@ VITE_MODE = 'DEV'
VITE_APP_MIAN = 'daimp-front-main'
VITE_APP_MIAN_URL = 'http://localhost:9000'
VITE_APP_NAME = 'sub-government-affairs-service'
+
VITE_APP_BASE_API = '/apis'
-# VITE_APP_BASE_URL = 'http://192.168.18.99:8080'
-VITE_APP_BASE_URL = 'http://47.109.205.240:8080'
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_BASE_URL = 'http://192.168.18.99:8080'
VITE_APP_UPLOAD_URL = 'http://192.168.18.99:9300'
-# VITE_APP_UPLOAD_URL = 'http://192.168.18.14:8080'
\ No newline at end of file
diff --git a/sub-government-affairs-service/src/components/AreaCascader/index.vue b/sub-government-affairs-service/src/components/AreaCascader/index.vue
new file mode 100644
index 0000000..fb63210
--- /dev/null
+++ b/sub-government-affairs-service/src/components/AreaCascader/index.vue
@@ -0,0 +1,140 @@
+
+
+
{{ label }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sub-government-affairs-service/src/views/annualPlan/component/annualPlans/index.vue b/sub-government-affairs-service/src/views/annualPlan/component/annualPlans/index.vue
index 54508a8..90ddafb 100644
--- a/sub-government-affairs-service/src/views/annualPlan/component/annualPlans/index.vue
+++ b/sub-government-affairs-service/src/views/annualPlan/component/annualPlans/index.vue
@@ -129,15 +129,18 @@ const state = reactive({
trigger: 'blur',
},
},
- { label: '种植作物', prop: 'cop', width: '120px', search: true, editDisplay: false },
+ { label: '种植作物', prop: 'cropsName', width: '120px', search: true, editDisplay: false },
{
label: '种植面积',
prop: 'plantingArea',
+ append: '亩',
rules: {
required: true,
message: '请输入',
trigger: 'blur',
},
+ // formatter: (value) => `${value} 亩`,
+ formatter: (row, column, cellValue) => `${cellValue} 亩`,
},
{
label: '种植月份',
@@ -155,6 +158,7 @@ const state = reactive({
}
},
},
+ formatter: (row, column, cellValue) => `${cellValue} 月`,
},
{
label: '生长周期',
@@ -173,10 +177,20 @@ const state = reactive({
}
},
},
+ formatter: (row, column, cellValue) => {
+ const unitMap = {
+ 1: '天',
+ 2: '周',
+ 3: '月',
+ 4: '年',
+ };
+ const unit = unitMap[row.growthCycleUnit] || '';
+ return `${cellValue} ${unit}`;
+ },
},
- { label: '所属行政区域', prop: 'cop1', width: '120px', search: true, searchLabelWidth: 100, addDisplay: false, editDisplay: false },
- { label: '所属网格', prop: 'cop2', width: '120px', search: true, addDisplay: false, editDisplay: false },
- { label: '当前进度', prop: 'cop3', width: '120px', addDisplay: false, editDisplay: false },
+ { label: '所属行政区域', prop: 'regionName', width: '120px', search: true, searchLabelWidth: 100, addDisplay: false, editDisplay: false },
+ { label: '所属网格', prop: 'gridName', width: '120px', search: true, addDisplay: false, editDisplay: false },
+ { label: '当前进度', prop: 'currentProgress', width: '120px', addDisplay: false, editDisplay: false },
// {
// label: '备注',
// prop: 'note',
diff --git a/sub-government-affairs-service/src/views/annualPlan/component/annualPlans/records.vue b/sub-government-affairs-service/src/views/annualPlan/component/annualPlans/records.vue
new file mode 100644
index 0000000..06bc45c
--- /dev/null
+++ b/sub-government-affairs-service/src/views/annualPlan/component/annualPlans/records.vue
@@ -0,0 +1,37 @@
+
+
+
+
+
+
diff --git a/sub-government-affairs-service/src/views/landManage/component/landsManage/index.vue b/sub-government-affairs-service/src/views/landManage/component/landsManage/index.vue
index 63b0cbc..417c158 100644
--- a/sub-government-affairs-service/src/views/landManage/component/landsManage/index.vue
+++ b/sub-government-affairs-service/src/views/landManage/component/landsManage/index.vue
@@ -120,44 +120,27 @@ const option = reactive({
menuWidth: 120,
selection: false,
column: [
+ // {
+ // hide: true,
+ // label: '用地分类',
+ // prop: 'landType',
+ // search: true,
+ // type: 'cascader',
+ // dicData: landTreeDic,
+ // clearable: false,
+ // value: [],
+ // addDisplay: false,
+ // display: false,
+ // editDisplay: false,
+ // },
{
- hide: true,
- label: '用地分类',
- prop: 'landType',
- search: true,
- type: 'cascader',
- dicData: landTreeDic,
- clearable: false,
- value: [],
- addDisplay: false,
- display: false,
- editDisplay: false,
- },
- {
- label: '地块名',
+ label: '地块名称',
prop: 'landName',
- search: true,
addDisplay: false,
display: false,
editDisplay: false,
width: 200,
},
- {
- label: '地址',
- prop: 'address',
- addDisplay: false,
- display: false,
- editDisplay: false,
- width: 300,
- },
- {
- label: '产权人',
- prop: 'owner',
- search: true,
- addDisplay: false,
- display: false,
- editDisplay: false,
- },
{
label: '所属网格',
prop: 'gridName',
@@ -167,16 +150,6 @@ const option = reactive({
display: false,
editDisplay: false,
},
- {
- label: '农用地分类',
- prop: 'landClassificationType',
- select: 'select',
- dicData: landTreeDic,
- addDisplay: false,
- display: false,
- editDisplay: false,
- width: 300,
- },
{
label: '面积',
prop: 'area',
@@ -192,20 +165,39 @@ const option = reactive({
},
},
{
- label: '坐标',
- prop: 'coordinate',
+ label: '土地类型',
+ prop: 'landTypeName',
+ search: true,
+ addDisplay: false,
+ },
+ {
+ label: '所属行政区域',
+ prop: 'regionName',
+ search: true,
+ addDisplay: false,
+ },
+ {
+ label: '具体位置',
+ prop: 'address',
addDisplay: false,
display: false,
editDisplay: false,
width: 300,
},
{
- label: '是否流转土地',
- prop: 'landTransfer',
+ label: '产权人姓名',
+ prop: 'owner',
addDisplay: false,
display: false,
editDisplay: false,
- width: 140,
+ },
+ {
+ label: '产权人联系方式',
+ prop: 'ownerPhone',
+ addDisplay: false,
+ display: false,
+ editDisplay: false,
+ width: 300,
},
{
label: '产权编号',
@@ -215,18 +207,10 @@ const option = reactive({
editDisplay: false,
},
{
- label: '土壤类型',
- prop: 'soilTypeName',
- addDisplay: false,
- editDisplay: false,
- },
- {
- label: '是否上传附件',
- prop: 'isUpload',
+ label: '信息录入时间',
+ prop: 'createTime',
addDisplay: false,
display: false,
- editDisplay: false,
- width: 140,
},
],
group: [
diff --git a/sub-government-affairs-service/src/views/resource/grid/ActualDetail.vue b/sub-government-affairs-service/src/views/resource/grid/ActualDetail.vue
new file mode 100644
index 0000000..2f4998c
--- /dev/null
+++ b/sub-government-affairs-service/src/views/resource/grid/ActualDetail.vue
@@ -0,0 +1,7 @@
+
+
+
+ 123
+
+
+
diff --git a/sub-government-affairs-service/src/views/resource/grid/AddGrid.vue b/sub-government-affairs-service/src/views/resource/grid/AddGrid.vue
index 7cb831e..c1a8426 100644
--- a/sub-government-affairs-service/src/views/resource/grid/AddGrid.vue
+++ b/sub-government-affairs-service/src/views/resource/grid/AddGrid.vue
@@ -18,6 +18,10 @@
@row-update="rowUpdate"
@row-del="rowDel"
>
+
+
+
+
导出
@@ -25,6 +29,23 @@
+
+
+
+
+
+
+
+
+
![]()
+
+
+
+
+
+
+
+
@@ -46,12 +67,16 @@ const state = reactive({
query: {
current: 1,
size: 10,
+ gridName: '',
+ regionCode: '',
},
form: {},
selection: [],
options: {
...CRUD_OPTIONS,
addBtnText: '添加网格',
+ // detail: true,
+ // detailTitle: '详情',
column: [
{
label: '网格名称',
@@ -65,10 +90,8 @@ const state = reactive({
{
label: '所属行政区域',
prop: 'gridAreaName',
- // width: 300,
- display: false,
- // search: true,
- searchLabelWidth: 100,
+ addDisplay: false,
+ viewDisplay: true,
rules: {
required: true,
message: '请输入',
@@ -80,13 +103,12 @@ const state = reactive({
prop: 'cities',
type: 'cascader',
hide: true,
- search: true,
- searchLabelWidth: 100,
span: 24,
width: 300,
addDisplay: true,
editDisplay: true,
viewDisplay: false,
+ emitPath: false,
props: {
label: 'areaName',
value: 'areaCode',
@@ -104,43 +126,29 @@ const state = reactive({
},
},
{
- label: '网格名称',
- prop: 'gridName',
- type: 'select',
- addDisplay: false,
+ label: '网格地图',
+ prop: 'mapUrl',
+ type: 'upload',
hide: true,
- search: true,
- searchLabelWidth: 100,
+ // action: `${VITE_APP_BASE_API}/system/file/upload`,
},
// {
- // label: '省',
- // prop: 'provinceCode',
+ // label: '网格名称',
+ // prop: 'gridName',
+ // type: 'select',
+ // addDisplay: false,
// hide: true,
- // display: false,
- // },
- // {
- // label: '市',
- // prop: 'cityCode',
- // hide: true,
- // display: false,
- // },
- // {
- // label: '县/区',
- // prop: 'gridAreaCode',
- // hide: true,
- // display: false,
- // },
- // {
- // label: '乡镇',
- // prop: 'townCode',
- // hide: true,
- // display: false,
- // },
- // {
- // label: '乡镇',
- // prop: 'village',
- // hide: true,
- // display: false,
+ // // search: true,
+ // searchLabelWidth: 100,
+ // dicUrl: `${VITE_APP_BASE_API}/land-resource/gridManage/page?regionCode={{key}}`,
+ // props: {
+ // label: 'gridName',
+ // value: 'gridName',
+ // },
+ // dicHeaders: {
+ // authorization: UserStore.token,
+ // },
+ // dicFormatter: (res) => res.data?.records,
// },
{
label: '备注',
@@ -186,6 +194,32 @@ const state = reactive({
data: [],
currentRow: {},
});
+const baseDetailOption = {
+ column: [
+ {
+ label: '网格名称',
+ prop: 'gridName',
+ },
+ {
+ label: '所属行政区域',
+ prop: 'gridAreaName',
+ },
+ {
+ label: '备注',
+ prop: 'note',
+ },
+ ],
+};
+
+const otherDetailOption = {
+ column: [
+ {
+ label: '创建时间',
+ prop: 'createTime',
+ },
+ // 可以添加更多字段...
+ ],
+};
// 加载
const loadData = () => {
diff --git a/sub-government-affairs-service/src/views/resource/grid/PlanDetail.vue b/sub-government-affairs-service/src/views/resource/grid/PlanDetail.vue
new file mode 100644
index 0000000..289c554
--- /dev/null
+++ b/sub-government-affairs-service/src/views/resource/grid/PlanDetail.vue
@@ -0,0 +1,3 @@
+计划
+
+