创建单位
This commit is contained in:
@ -17,7 +17,7 @@ export default {
|
|||||||
pathRewrite: { '^/api': '' },
|
pathRewrite: { '^/api': '' },
|
||||||
},
|
},
|
||||||
'/upload': {
|
'/upload': {
|
||||||
target: 'http://10.0.0.10:18013',//
|
target: 'http://10.0.0.14:18013',//
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: { '^/upload': '' },
|
pathRewrite: { '^/upload': '' },
|
||||||
},
|
},
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React, { useEffect, useState } from 'react';
|
import React, { useEffect, useState } from 'react';
|
||||||
import { Modal, Table, Button, Select, Spin, message } from 'antd';
|
import { Modal, Table, Button, Select, Spin, message } from 'antd';
|
||||||
import { reviewInfo, groupByList, update } from '../services';
|
import { reviewInfo, update } from '../services';
|
||||||
import { connect } from 'umi';
|
import { connect } from 'umi';
|
||||||
import './GroupLeaderModal.less'
|
import './GroupLeaderModal.less'
|
||||||
interface GroupLeaderModalProps {
|
interface GroupLeaderModalProps {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React, { useEffect, useState } from "react";
|
import React, { useEffect, useState } from "react";
|
||||||
// antd 组件
|
// antd 组件
|
||||||
import { Form, Button, Table, Select, Input } from 'antd';
|
import { Form, Button, Table, Input } from 'antd';
|
||||||
import { SearchOutlined, DeleteOutlined } from '@ant-design/icons';
|
import { SearchOutlined, DeleteOutlined } from '@ant-design/icons';
|
||||||
// 类型定义
|
// 类型定义
|
||||||
import type { ColumnsType, TablePaginationConfig } from 'antd/es/table';
|
import type { ColumnsType, TablePaginationConfig } from 'antd/es/table';
|
||||||
@ -10,11 +10,11 @@ import CategoryAddModal from './components/CategoryAddModal';
|
|||||||
import SupplierAddModal from './components/SupplierAddModal';
|
import SupplierAddModal from './components/SupplierAddModal';
|
||||||
import SupplierListModal from './components/SupplierListModal';
|
import SupplierListModal from './components/SupplierListModal';
|
||||||
import LockManagerModal from './components/LockManagerModal';
|
import LockManagerModal from './components/LockManagerModal';
|
||||||
|
import AccessDepartmentSelect from "@/components/AccessDepartmentSelect"
|
||||||
//接口
|
//接口
|
||||||
import { getPage } from './services';
|
import { getPage } from './services';
|
||||||
//统一列表分页
|
//统一列表分页
|
||||||
import tableProps from '@/utils/tableProps'
|
import tableProps from '@/utils/tableProps'
|
||||||
const { Option } = Select;
|
|
||||||
|
|
||||||
// 列表数据接口
|
// 列表数据接口
|
||||||
interface Data {
|
interface Data {
|
||||||
@ -187,10 +187,7 @@ const CategoryLibraryManage: React.FC = () => {
|
|||||||
<Input placeholder="请输入品类库名称" style={{ width: 180 }} allowClear />
|
<Input placeholder="请输入品类库名称" style={{ width: 180 }} allowClear />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="deptId" label="创建单位">
|
<Form.Item name="deptId" label="创建单位">
|
||||||
<Select style={{ width: 150 }} allowClear>
|
<AccessDepartmentSelect placeholder={'请选择创建单位'} />
|
||||||
<Option value="集团">集团</Option>
|
|
||||||
<Option value="分公司">分公司</Option>
|
|
||||||
</Select>
|
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|
||||||
<Form.Item>
|
<Form.Item>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React, { useEffect, useState } from "react";
|
import React, { useEffect, useState } from "react";
|
||||||
// antd 组件
|
// antd 组件
|
||||||
import { Form, Button, Table, Select, Input, Modal, message, DatePicker } from 'antd';
|
import { Form, Button, Table, Input, Modal, message, DatePicker } from 'antd';
|
||||||
import { SearchOutlined, DeleteOutlined } from '@ant-design/icons';
|
import { SearchOutlined, DeleteOutlined } from '@ant-design/icons';
|
||||||
// 类型定义
|
// 类型定义
|
||||||
import type { ColumnsType, TablePaginationConfig } from 'antd/es/table';
|
import type { ColumnsType, TablePaginationConfig } from 'antd/es/table';
|
||||||
@ -8,6 +8,7 @@ import type { ColumnsType, TablePaginationConfig } from 'antd/es/table';
|
|||||||
import CategoryAddModal from './components/CategoryAddModal';
|
import CategoryAddModal from './components/CategoryAddModal';
|
||||||
import ViewModal from './components/ViewModal';
|
import ViewModal from './components/ViewModal';
|
||||||
import AccessStatusSelect from '@/components/CommonSelect/AccessStatusSelect';
|
import AccessStatusSelect from '@/components/CommonSelect/AccessStatusSelect';
|
||||||
|
import AccessDepartmentSelect from "@/components/AccessDepartmentSelect"
|
||||||
//接口与字典
|
//接口与字典
|
||||||
import { getDictList } from '@/servers/api/dicts'
|
import { getDictList } from '@/servers/api/dicts'
|
||||||
import { getPage, approval } from './services';
|
import { getPage, approval } from './services';
|
||||||
@ -16,7 +17,6 @@ import tableProps from '@/utils/tableProps'
|
|||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
|
|
||||||
const { RangePicker } = DatePicker;
|
const { RangePicker } = DatePicker;
|
||||||
const { Option } = Select;
|
|
||||||
|
|
||||||
// 列表数据接口
|
// 列表数据接口
|
||||||
interface Data {
|
interface Data {
|
||||||
@ -197,10 +197,7 @@ const CategoryLibraryManage: React.FC = () => {
|
|||||||
<Input placeholder="请输入品类库名称" style={{ width: 180 }} allowClear maxLength={50} />
|
<Input placeholder="请输入品类库名称" style={{ width: 180 }} allowClear maxLength={50} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="deptNames" label="创建单位">
|
<Form.Item name="deptNames" label="创建单位">
|
||||||
<Select style={{ width: 150 }} allowClear>
|
<AccessDepartmentSelect placeholder={'请选择创建单位'} />
|
||||||
<Option value="集团">集团</Option>
|
|
||||||
<Option value="分公司">分公司</Option>
|
|
||||||
</Select>
|
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|
||||||
<Form.Item name="timeRange" label="申请时间">
|
<Form.Item name="timeRange" label="申请时间">
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import React, { useEffect, useState } from "react";
|
import React, { useEffect, useState } from "react";
|
||||||
// antd 组件
|
// antd 组件
|
||||||
import { Form, Button, Table, Select, Input } from 'antd';
|
import { Form, Button, Table, Input } from 'antd';
|
||||||
import { SearchOutlined, ReloadOutlined, DeleteOutlined } from '@ant-design/icons';
|
import { SearchOutlined, DeleteOutlined } from '@ant-design/icons';
|
||||||
// 类型定义
|
// 类型定义
|
||||||
import type { ColumnsType, TablePaginationConfig } from 'antd/es/table';
|
import type { ColumnsType, TablePaginationConfig } from 'antd/es/table';
|
||||||
// 弹窗组件
|
// 弹窗组件
|
||||||
@ -9,11 +9,11 @@ import CategoryAddModal from './components/CategoryAddModal';
|
|||||||
import SupplierAddModal from './components/SupplierAddModal';
|
import SupplierAddModal from './components/SupplierAddModal';
|
||||||
import SupplierListModal from './components/SupplierListModal';
|
import SupplierListModal from './components/SupplierListModal';
|
||||||
import LockManagerModal from './components/LockManagerModal';
|
import LockManagerModal from './components/LockManagerModal';
|
||||||
|
import AccessDepartmentSelect from "@/components/AccessDepartmentSelect"
|
||||||
// 接口
|
// 接口
|
||||||
import { getPage } from './services';
|
import { getPage } from './services';
|
||||||
//统一列表分页
|
//统一列表分页
|
||||||
import tableProps from '@/utils/tableProps'
|
import tableProps from '@/utils/tableProps'
|
||||||
const { Option } = Select;
|
|
||||||
|
|
||||||
// 列表数据接口
|
// 列表数据接口
|
||||||
interface Data {
|
interface Data {
|
||||||
@ -168,10 +168,7 @@ const SupplierEntryManage: React.FC = () => {
|
|||||||
<Input placeholder="请输入品类库名称" style={{ width: 180 }} />
|
<Input placeholder="请输入品类库名称" style={{ width: 180 }} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="unit" label="创建单位">
|
<Form.Item name="unit" label="创建单位">
|
||||||
<Select style={{ width: 150 }} allowClear>
|
<AccessDepartmentSelect placeholder={'请选择创建单位'} />
|
||||||
<Option value="集团">集团</Option>
|
|
||||||
<Option value="分公司">分公司</Option>
|
|
||||||
</Select>
|
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|
||||||
<Form.Item>
|
<Form.Item>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React, { useEffect, useState } from "react";
|
import React, { useEffect, useState } from "react";
|
||||||
// antd 组件
|
// antd 组件
|
||||||
import { Form, Button, Table, Select, Input, Modal, message, DatePicker } from 'antd';
|
import { Form, Button, Table, Input, Modal, message, DatePicker } from 'antd';
|
||||||
import { SearchOutlined, DeleteOutlined } from '@ant-design/icons';
|
import { SearchOutlined, DeleteOutlined } from '@ant-design/icons';
|
||||||
// 类型定义
|
// 类型定义
|
||||||
import type { ColumnsType, TablePaginationConfig } from 'antd/es/table';
|
import type { ColumnsType, TablePaginationConfig } from 'antd/es/table';
|
||||||
@ -9,6 +9,7 @@ import CategoryAddModal from './components/CategoryAddModal';
|
|||||||
import ViewModal from './components/ViewModal';
|
import ViewModal from './components/ViewModal';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import AccessStatusSelect from '@/components/CommonSelect/AccessStatusSelect';
|
import AccessStatusSelect from '@/components/CommonSelect/AccessStatusSelect';
|
||||||
|
import AccessDepartmentSelect from "@/components/AccessDepartmentSelect"
|
||||||
//接口
|
//接口
|
||||||
import { getPage, approval } from './services';
|
import { getPage, approval } from './services';
|
||||||
//统一列表分页
|
//统一列表分页
|
||||||
@ -17,7 +18,6 @@ import tableProps from '@/utils/tableProps'
|
|||||||
|
|
||||||
const { RangePicker } = DatePicker;
|
const { RangePicker } = DatePicker;
|
||||||
|
|
||||||
const { Option } = Select;
|
|
||||||
|
|
||||||
// 列表数据接口
|
// 列表数据接口
|
||||||
interface Data {
|
interface Data {
|
||||||
@ -191,10 +191,7 @@ const CategoryLibraryManage: React.FC = () => {
|
|||||||
<Input placeholder="请输入品类库名称" style={{ width: 180 }} allowClear maxLength={50} />
|
<Input placeholder="请输入品类库名称" style={{ width: 180 }} allowClear maxLength={50} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="deptNames" label="创建单位">
|
<Form.Item name="deptNames" label="创建单位">
|
||||||
<Select style={{ width: 150 }} allowClear>
|
<AccessDepartmentSelect placeholder={'请选择创建单位'} />
|
||||||
<Option value="集团">集团</Option>
|
|
||||||
<Option value="分公司">分公司</Option>
|
|
||||||
</Select>
|
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|
||||||
<Form.Item name="timeRange" label="申请时间">
|
<Form.Item name="timeRange" label="申请时间">
|
||||||
|
@ -94,8 +94,8 @@ const supplierExitAudit: React.FC = () => {
|
|||||||
render: (_: any, __: any, idx: number) => (((pagination.current ?? 1) - 1) * (pagination.pageSize ?? 10)) + idx + 1,
|
render: (_: any, __: any, idx: number) => (((pagination.current ?? 1) - 1) * (pagination.pageSize ?? 10)) + idx + 1,
|
||||||
},
|
},
|
||||||
{ title: "申请主题", dataIndex: "exitTheme", key: "exitTheme", align: "left", ellipsis: true },
|
{ title: "申请主题", dataIndex: "exitTheme", key: "exitTheme", align: "left", ellipsis: true },
|
||||||
{ title: "发起单位", dataIndex: "deptId", key: "deptId", align: "center" },
|
{ title: "发起单位", dataIndex: "orgName", key: "orgName", align: "center" },
|
||||||
{ title: "发起部门", dataIndex: "deptId", key: "deptId", align: "center" },
|
{ title: "发起部门", dataIndex: "deptName", key: "deptName", align: "center" },
|
||||||
{ title: "发起时间", dataIndex: "createTime", key: "createTime", align: "center", width: 180 },
|
{ title: "发起时间", dataIndex: "createTime", key: "createTime", align: "center", width: 180 },
|
||||||
{ title: "审批记录状态", dataIndex: "approveStatusText", key: "approveStatusText", align: "center" },
|
{ title: "审批记录状态", dataIndex: "approveStatusText", key: "approveStatusText", align: "center" },
|
||||||
{
|
{
|
||||||
|
@ -93,8 +93,8 @@ const supplierExitManage: React.FC = () => {
|
|||||||
render: (_: any, __: any, idx: number) => (((pagination.current ?? 1) - 1) * (pagination.pageSize ?? 10)) + idx + 1,
|
render: (_: any, __: any, idx: number) => (((pagination.current ?? 1) - 1) * (pagination.pageSize ?? 10)) + idx + 1,
|
||||||
},
|
},
|
||||||
{ title: "申请主题", dataIndex: "exitTheme", key: "exitTheme", align: "center" },
|
{ title: "申请主题", dataIndex: "exitTheme", key: "exitTheme", align: "center" },
|
||||||
{ title: "发起单位", dataIndex: "deptId", key: "deptId", align: "center" },
|
{ title: "发起单位", dataIndex: "orgName", key: "orgName", align: "center" },
|
||||||
{ title: "发起部门", dataIndex: "deptId", key: "deptId", align: "center" },
|
{ title: "发起部门", dataIndex: "deptName", key: "deptName", align: "center" },
|
||||||
{ title: "发起时间", dataIndex: "createTime", key: "createTime", align: "center" },
|
{ title: "发起时间", dataIndex: "createTime", key: "createTime", align: "center" },
|
||||||
{ title: "审批记录状态", dataIndex: "approveStatusText", key: "approveStatusText", align: "center" },
|
{ title: "审批记录状态", dataIndex: "approveStatusText", key: "approveStatusText", align: "center" },
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user