refactor(土地资源管理)-各表格字段跳调整

This commit is contained in:
沈鸿 2025-05-27 17:13:23 +08:00
parent 4a49e3fa2e
commit a1501c143b
8 changed files with 110 additions and 129 deletions

View File

@ -11,7 +11,7 @@ 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://192.168.18.99:8080'
VITE_APP_BASE_URL = 'http://192.168.18.9:8080'
# 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://192.168.18.99:8080'
VITE_APP_UPLOAD_URL = 'http://47.109.205.240:8080'

View File

@ -6,7 +6,7 @@ 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://192.168.18.9:8080'
VITE_APP_BASE_URL = 'http://47.109.205.240:8080'
VITE_APP_UPLOAD_API = '/uploadApis'
VITE_APP_UPLOAD_URL = 'http://192.168.18.99:9300'
# VITE_APP_UPLOAD_URL = 'http://192.168.18.14:8080'

View File

@ -9,12 +9,12 @@ const dictRoutes = [
redirect: '/sub-government-affairs-service/region',
meta: { title: '基础信息维护', icon: 'DocumentRemove' },
children: [
// {
// path: '/sub-government-affairs-service/region',
// name: 'region',
// component: () => import('@/views/dict/component/region/index.vue'),
// meta: { title: '行政信息', icon: '' },
// },
{
path: '/sub-government-affairs-service/region',
name: 'region',
component: () => import('@/views/dict/component/region/index.vue'),
meta: { title: '行政信息', icon: '' },
},
{
path: '/sub-government-affairs-service/landCassification',
name: 'landCassification',

View File

@ -9,24 +9,24 @@ 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/plantPlan',
// name: 'plantPlan',
// component: () => import('@/views/landManage/component/plantPlan/index.vue'),
// meta: { title: '种植计划', icon: '' },
// },
// {
// path: '/sub-government-affairs-service/operationRecord',
// name: 'operationRecord',
// component: () => import('@/views/landManage/component/operationRecord/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',
component: () => import('@/views/landManage/component/plantPlan/index.vue'),
meta: { title: '种植计划', icon: '' },
},
{
path: '/sub-government-affairs-service/operationRecord',
name: 'operationRecord',
component: () => import('@/views/landManage/component/operationRecord/index.vue'),
meta: { title: '作业记录', icon: '' },
},
{
path: '/sub-government-affairs-service/landPartol',
name: 'landPartol',

View File

@ -31,12 +31,12 @@ export default [
name: 'member',
meta: { title: '新增网格员', icon: '' },
},
// {
// path: '/sub-government-affairs-service/grid--management',
// component: () => import('@/views/resource/grid/GridManagement.vue'),
// name: 'management',
// meta: { title: '网格化管理', icon: '' },
// },
{
path: '/sub-government-affairs-service/grid--management',
component: () => import('@/views/resource/grid/GridManagement.vue'),
name: 'management',
meta: { title: '网格化管理', icon: '' },
},
],
},
...annualplanRouters,

View File

@ -116,7 +116,7 @@ const state = reactive({
addBtnText: '',
addBtn: false,
column: [
{ label: '计划编号', prop: 'id', width: '200px', showOverflowTooltip: true, addDisplay: false, editDisplay: false },
{ label: '计划编号', prop: 'id', width: '200px', search: true, showOverflowTooltip: true, addDisplay: false, editDisplay: false },
{
label: '计划名称',
prop: 'planName',
@ -129,8 +129,9 @@ const state = reactive({
trigger: 'blur',
},
},
{ label: '种植作物', prop: 'cop', width: '120px', search: true, editDisplay: false },
{
label: '种植面积(亩)',
label: '种植面积',
prop: 'plantingArea',
rules: {
required: true,
@ -156,7 +157,7 @@ const state = reactive({
},
},
{
label: '生长周期(周)',
label: '生长周期',
prop: 'growthCycle',
width: '120px',
viewDisabled: true,
@ -173,19 +174,22 @@ const state = reactive({
},
},
},
{
label: '备注',
prop: 'note',
width: '180px',
showOverflowTooltip: true,
rules: {
required: true,
message: '请输入',
trigger: 'blur',
},
},
{ label: '计划进度', prop: 'planProgress', addDisplay: false, editDisplay: false },
{ label: '状态', prop: 'planStatus', addDisplay: false, editDisplay: false },
{ 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: 'note',
// width: '180px',
// showOverflowTooltip: true,
// rules: {
// required: true,
// message: '',
// trigger: 'blur',
// },
// },
// { label: '', prop: 'planProgress', addDisplay: false, editDisplay: false },
// { label: '', prop: 'planStatus', addDisplay: false, editDisplay: false },
],
actions: [
{

View File

@ -51,26 +51,11 @@ const state = reactive({
selection: [],
options: {
...CRUD_OPTIONS,
// addBtnText: '',
addBtnText: '添加网格',
column: [
// {
// label: '',
// prop: 'gridArea',
// search: true,
// width: 200,
// addDisplay: false,
// editDisplay: false,
// viewDisplay: true,
// rules: {
// required: true,
// message: '',
// trigger: 'blur',
// },
// },
{
label: '网格名称',
prop: 'gridName',
search: true,
rules: {
required: true,
message: '请输入',
@ -78,10 +63,12 @@ const state = reactive({
},
},
{
label: '网格区域',
label: '所属行政区域',
prop: 'gridAreaName',
// width: 300,
display: false,
// search: true,
searchLabelWidth: 100,
rules: {
required: true,
message: '请输入',
@ -89,18 +76,17 @@ const state = reactive({
},
},
{
label: '网格区域',
label: '所属行政区域',
prop: 'cities',
type: 'cascader',
hide: true,
search: true,
searchLabelWidth: 100,
span: 24,
width: 300,
addDisplay: true,
editDisplay: true,
viewDisplay: false,
// multiple: true,
// checkStrictly: true,
// collapseTags: true,
// emitPath: false,
// checkDescendants: false,
props: {
label: 'areaName',
value: 'areaCode',
@ -117,54 +103,45 @@ const state = reactive({
trigger: 'blur',
},
},
{
label: '网格名称',
prop: 'gridName',
type: 'select',
addDisplay: false,
hide: true,
search: true,
searchLabelWidth: 100,
},
// {
// label: '',
// prop: 'gridManager',
// rules: {
// required: true,
// message: '',
// trigger: 'blur',
// },
// label: '',
// prop: 'provinceCode',
// hide: true,
// display: false,
// },
// {
// label: '',
// prop: 'contactInfo',
// rules: {
// required: true,
// message: '',
// trigger: 'blur',
// 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,
// },
{
label: '省',
prop: 'provinceCode',
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,
},
{
label: '备注',
prop: 'note',

View File

@ -82,7 +82,7 @@ const state = reactive({
type: 'select',
width: 200,
search: true,
dicData: [], // mounted
dicData: [], // loadGridOptions
props: {
label: 'gridName',
value: 'id',
@ -93,17 +93,17 @@ const state = reactive({
trigger: 'change',
},
},
{
label: '管理员标识',
prop: 'adminFlag',
type: 'radio',
dicData: [
{ label: '是', value: '1' },
{ label: '否', value: '0' },
],
valueDefault: '0',
hide: true, // false
},
// {
// label: '',
// prop: 'adminFlag',
// type: 'radio',
// dicData: [
// { label: '', value: '1' },
// { label: '', value: '0' },
// ],
// valueDefault: '0',
// hide: true, // false
// },
{
label: '电话号码',
prop: 'phone',