feat: 企业细节逻辑调整

This commit is contained in:
xuziqiang
2024-06-12 18:15:49 +08:00
parent 680855f310
commit 819a00f733
5 changed files with 84 additions and 51 deletions

View File

@@ -251,6 +251,7 @@ export const tableConfig = ({
columnActions: {
title: '操作',
autoMergeAction: false,
actionNumber: 1,
actions: [
{
label: '编辑',
@@ -352,24 +353,25 @@ export const tableConfig = ({
options: [
{
label: '正常',
value: 1,
value: 'NORMAL',
},
{
label: '冻结',
value: 2,
value: 'FREEZE',
},
],
},
},
{
field: 'cityName',
label: '城市地区',
component: 'NsInputCity',
defaultValue: '',
fieldMap: ['provinceName', 'cityName', 'areaName', 'province', 'city', 'area'],
label: '省市区',
component: 'NsCascader',
fieldMap: ['province', 'city', 'county'],
componentProps: {
api: '/api/parking_merchant/objs/BaseArea',
isSeparate: true,
placeholder: '请选择',
api: enterPrise.getArea,
fieldNames: { label: 'regionName', value: 'regionName' },
showSearch: true,
},
},
],