12-23-上传master
This commit is contained in:
2095
src/pages/Bid/ReviewConfig/Config/components/detailed.tsx
Normal file
2095
src/pages/Bid/ReviewConfig/Config/components/detailed.tsx
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,45 @@
|
||||
@import '~antd/lib/style/themes/default.less';
|
||||
|
||||
.headerStyle {
|
||||
border-bottom: solid;
|
||||
border-bottom-color: rgb(208,1,0);
|
||||
background-color: white;
|
||||
.typeCard{
|
||||
border-width: 1px;
|
||||
}
|
||||
}
|
||||
.radioStyle {
|
||||
display: block;
|
||||
// height: 30px;
|
||||
white-space:normal;
|
||||
word-break:keep-all;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.labelStyle{
|
||||
white-space: normal;
|
||||
word-break: keep-all;
|
||||
word-wrap: break-word;
|
||||
display: inline-block;
|
||||
}
|
||||
.orange{
|
||||
color: rgb(252, 152, 4);
|
||||
}
|
||||
.red{
|
||||
color: rgb(196, 3, 3);
|
||||
}
|
||||
.green{
|
||||
color: rgb(40, 202, 0);
|
||||
}
|
||||
.blue{
|
||||
color: rgb(0, 64, 201);
|
||||
}
|
||||
:global {
|
||||
.ant-radio{
|
||||
vertical-align: top !important;
|
||||
margin-top: 4px !important;
|
||||
}
|
||||
.ant-checkbox{
|
||||
vertical-align: top !important;
|
||||
margin-top: 4px !important;
|
||||
}
|
||||
}
|
1438
src/pages/Bid/ReviewConfig/Config/components/first.tsx
Normal file
1438
src/pages/Bid/ReviewConfig/Config/components/first.tsx
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,23 @@
|
||||
@import '~antd/lib/style/themes/default.less';
|
||||
|
||||
.headerStyle {
|
||||
border-bottom: solid;
|
||||
border-bottom-color: rgb(208,1,0);
|
||||
background-color: white;
|
||||
.typeCard{
|
||||
border-width: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
// :global {
|
||||
// .pageHeaderStyle {
|
||||
// .ant-page-header {
|
||||
// position: relative;
|
||||
// font-size: 0px;
|
||||
// padding: 0px;
|
||||
// border-bottom: solid;
|
||||
// border-bottom-color: rgb(208,1,0);
|
||||
// border-width: 1px;
|
||||
// }
|
||||
// }
|
||||
// }
|
93
src/pages/Bid/ReviewConfig/Config/components/service.ts
Normal file
93
src/pages/Bid/ReviewConfig/Config/components/service.ts
Normal file
@ -0,0 +1,93 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
|
||||
//查询
|
||||
export async function getPage(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/detail/listObjs`, {
|
||||
method: 'GET',
|
||||
params,
|
||||
});
|
||||
};
|
||||
//查询模板
|
||||
export async function getTemPage(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/template/page`, {
|
||||
method: 'GET',
|
||||
params,
|
||||
});
|
||||
};
|
||||
//使用模板
|
||||
export async function useTem(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/template/use`, {
|
||||
method: 'GET',
|
||||
params,
|
||||
});
|
||||
};
|
||||
//查询应答文件格式
|
||||
export async function getTree(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-resps/v1/tdoccatalog/treelistForRsms`, {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params,
|
||||
},
|
||||
});
|
||||
};
|
||||
//查询当前评审项的关联文件
|
||||
export async function getGlfile(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/detail/doc/list`, {
|
||||
method: 'GET',
|
||||
params,
|
||||
});
|
||||
};
|
||||
//查看关联应答文件(Table)
|
||||
export async function getAllFile(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/detail/doc/findAllPage`, {
|
||||
method: 'GET',
|
||||
params,
|
||||
});
|
||||
};
|
||||
//保存关联的文件
|
||||
export async function glFile(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/detail/doc`, {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params,
|
||||
},
|
||||
});
|
||||
};
|
||||
//保存
|
||||
export async function saveData(params: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/detail`, {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params,
|
||||
},
|
||||
});
|
||||
}
|
||||
//保存模板
|
||||
export async function saveTem(params: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/template/save`, {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params,
|
||||
},
|
||||
});
|
||||
}
|
||||
//删除单项
|
||||
export async function delDetail(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/detail/${params.id}`, {
|
||||
method: 'DELETE'
|
||||
});
|
||||
};
|
||||
//删除类别
|
||||
export async function delCategory(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/category/${params.id}`, {
|
||||
method: 'DELETE'
|
||||
});
|
||||
};
|
||||
//删除打分最小项细则
|
||||
export async function delStandard(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/standard/${params.id}`, {
|
||||
method: 'DELETE'
|
||||
});
|
||||
};
|
||||
|
16
src/pages/Bid/ReviewConfig/Config/components/tree.tsx
Normal file
16
src/pages/Bid/ReviewConfig/Config/components/tree.tsx
Normal file
@ -0,0 +1,16 @@
|
||||
import { Card, Tree } from 'antd';
|
||||
import React, {} from 'react';
|
||||
|
||||
const TreeTem: React.FC<{}> = () => {
|
||||
const roomId = "111"
|
||||
return (
|
||||
<>
|
||||
<Card>
|
||||
<Tree>
|
||||
|
||||
</Tree>
|
||||
</Card>
|
||||
</>
|
||||
)
|
||||
};
|
||||
export default TreeTem ;
|
Reference in New Issue
Block a user