Commit e2a09c8a authored by Sixiang_Zzb's avatar Sixiang_Zzb

服务商模块测试问题处理

parent b883be92
...@@ -149,10 +149,6 @@ export default defineConfig({ ...@@ -149,10 +149,6 @@ export default defineConfig({
{}, {},
], ],
}, },
{
path: 'UploadAccount',
component: './UserManagement/ServiceProviderManagement/UploadAccount',
},
{ {
path: '/PropertyManagement', path: '/PropertyManagement',
name: 'propertymanagement', name: 'propertymanagement',
......
...@@ -66,8 +66,8 @@ const AccoutingContent = (props: { ...@@ -66,8 +66,8 @@ const AccoutingContent = (props: {
Back Back
</button> </button>
</div> </div>
{SaveChooseData.enable}
{SaveChooseData.enable === 'normal' ? ( {SaveChooseData.enable === 'Normal' ? (
<div className={styles.writeOff}> <div className={styles.writeOff}>
<Button <Button
icon={<PoweroffOutlined />} icon={<PoweroffOutlined />}
......
...@@ -22,6 +22,7 @@ const Detail = (props: any) => { ...@@ -22,6 +22,7 @@ const Detail = (props: any) => {
}; };
useEffect(() => { useEffect(() => {
console.log(SaveChooseData);
if (SaveChooseData) { if (SaveChooseData) {
TosSecurityGuarderGet({ companyName: SaveChooseData.providerName }); TosSecurityGuarderGet({ companyName: SaveChooseData.providerName });
} else { } else {
...@@ -88,7 +89,7 @@ const Detail = (props: any) => { ...@@ -88,7 +89,7 @@ const Detail = (props: any) => {
{SaveChooseData !== null ? ( {SaveChooseData !== null ? (
<> <>
<TitleBack title="Service Provider Details" /> <TitleBack title="Service Provider Details" />
{SaveChooseData.enable === 'normal' ? ( {SaveChooseData.enable === 'Normal' ? (
<div className={styles.writeOff}> <div className={styles.writeOff}>
<Button <Button
icon={<PoweroffOutlined />} icon={<PoweroffOutlined />}
......
.container {
width: 100vw;
height: 100vh;
}
.box {
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
}
.btn {
position: absolute;
right: 0px;
bottom: -50px;
}
.ant-btn {
width: 100px;
}
.container {
width: 100vw;
height: 100vh;
}
.box {
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
}
.btn {
position: absolute;
right: 0px;
bottom: -50px;
}
.ant-btn {
width: 100px;
}
import React from 'react';
import { Form, Input, Button, Divider } from 'antd';
import styles from './UploadAccount.less';
const UploadAccount = () => {
const handleLogin = (value: string) => {
console.log(value);
};
return (
<div className={styles.container}>
<Form className={styles.box} onFinish={handleLogin}>
<Form.Item name={'password'}>
<Input.Password
style={{ width: 220 }}
placeholder={'Please enter your password'}
></Input.Password>
</Form.Item>
<Divider />
<Form.Item className={styles.btn}>
<Button htmlType={'submit'}>登录</Button>
</Form.Item>
</Form>
</div>
);
};
export default UploadAccount;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment