优化细节
This commit is contained in:
@@ -225,7 +225,7 @@ export default function StationManage() {
|
||||
// ====================== 表格列 ======================
|
||||
const columns = [
|
||||
{ title: '场站名称', dataIndex: 'siteName' },
|
||||
{ title: '场站编号', dataIndex: 'siteCode' },
|
||||
//{ title: '场站编号', dataIndex: 'siteCode' },
|
||||
{
|
||||
title: '所属组织',
|
||||
dataIndex: 'orgId',
|
||||
@@ -316,21 +316,19 @@ export default function StationManage() {
|
||||
</Form.Item>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
<Form.Item name="siteCode" label="场站编号" rules={[{ required: true }]}>
|
||||
<Input placeholder="唯一编码" />
|
||||
<Form.Item name="orgId" label="所属组织" rules={[{ required: true }]}>
|
||||
<Select placeholder="请选择所属组织" allowClear>
|
||||
{orgList.map(item => (
|
||||
<Option key={item.id} value={item.id}>
|
||||
{item.orgName}
|
||||
</Option>
|
||||
))}
|
||||
</Select>
|
||||
</Form.Item>
|
||||
</Col>
|
||||
</Row>
|
||||
|
||||
<Form.Item name="orgId" label="所属组织" rules={[{ required: true }]}>
|
||||
<Select placeholder="请选择所属组织" allowClear>
|
||||
{orgList.map(item => (
|
||||
<Option key={item.id} value={item.id}>
|
||||
{item.orgName}
|
||||
</Option>
|
||||
))}
|
||||
</Select>
|
||||
</Form.Item>
|
||||
|
||||
|
||||
<Row gutter={16}>
|
||||
<Col span={12}>
|
||||
|
||||
Reference in New Issue
Block a user