Commit 2818573ac436bf951c30b5f8aa5f41593124be1f

Authored by 曾国涛
1 parent 6b037d6d

feat: 课题组优化

src/pages/ResearchGroup/components/AuditModal.tsx
@@ -5,7 +5,7 @@ import { Button, Form, message } from 'antd'; @@ -5,7 +5,7 @@ import { Button, Form, message } from 'antd';
5 import { cloneDeep } from 'lodash'; 5 import { cloneDeep } from 'lodash';
6 6
7 // import { cloneDeep } from 'lodash'; 7 // import { cloneDeep } from 'lodash';
8 -export default ({ setVisible, ids, onClose }) => { 8 +export default ({ setVisible, ids, onClose, auditType }) => {
9 const [form] = Form.useForm(); 9 const [form] = Form.useForm();
10 let auditIds = cloneDeep(ids); 10 let auditIds = cloneDeep(ids);
11 11
@@ -15,7 +15,7 @@ export default ({ setVisible, ids, onClose }) => { @@ -15,7 +15,7 @@ export default ({ setVisible, ids, onClose }) => {
15 }; 15 };
16 16
17 const doAudit = async (values: any) => { 17 const doAudit = async (values: any) => {
18 - values.type = 'research_group_member_request_audit'; 18 + values.type = auditType;
19 let res = await postCommonAudit({ data: values }); 19 let res = await postCommonAudit({ data: values });
20 if (res && res.result === RESPONSE_CODE.SUCCESS) { 20 if (res && res.result === RESPONSE_CODE.SUCCESS) {
21 message.success(res.message); 21 message.success(res.message);
src/pages/ResearchGroup/components/ResearchGroupAddModal.tsx
@@ -337,13 +337,13 @@ export default ({ setVisible, researchGroupId, onClose }) => { @@ -337,13 +337,13 @@ export default ({ setVisible, researchGroupId, onClose }) => {
337 <Spin spinning={modalLoading} tip="加载中..."> 337 <Spin spinning={modalLoading} tip="加载中...">
338 <ProForm.Group> 338 <ProForm.Group>
339 <ProFormText 339 <ProFormText
340 - name="group" 340 + name="groupName"
341 label="课题组名称" 341 label="课题组名称"
342 placeholder="请输入课题组名称" 342 placeholder="请输入课题组名称"
343 rules={[{ required: true, message: '请输入课题组名称' }]} 343 rules={[{ required: true, message: '请输入课题组名称' }]}
344 /> 344 />
345 <ProFormSelect 345 <ProFormSelect
346 - name="leader" 346 + name="leaderName"
347 key="leader" 347 key="leader"
348 width="lg" 348 width="lg"
349 showSearch 349 showSearch
@@ -352,6 +352,12 @@ export default ({ setVisible, researchGroupId, onClose }) =&gt; { @@ -352,6 +352,12 @@ export default ({ setVisible, researchGroupId, onClose }) =&gt; {
352 rules={[{ required: true, message: '请输入课题组负责人' }]} 352 rules={[{ required: true, message: '请输入课题组负责人' }]}
353 options={salesCodeOptions} 353 options={salesCodeOptions}
354 /> 354 />
  355 + <ProFormText
  356 + name="companyName"
  357 + label="单位名称"
  358 + placeholder="请输入单位名称"
  359 + rules={[{ required: true, message: '请输入单位名称' }]}
  360 + />
355 </ProForm.Group> 361 </ProForm.Group>
356 362
357 <ProFormSelect 363 <ProFormSelect
src/pages/ResearchGroup/constant.tsx
1 -import { enumToProTableEnumValue } from '@/utils'; 1 +import { postServiceConstListResearchGroupsStatus } from '@/services';
  2 +import { enumToProTableEnumValue, enumToSelect } from '@/utils';
  3 +import { MessageTwoTone } from '@ant-design/icons';
  4 +import { Space, Tooltip } from 'antd';
2 export const AUDIT_STATUS_OPTIONS = { 5 export const AUDIT_STATUS_OPTIONS = {
3 CREATED: '未审核', 6 CREATED: '未审核',
4 AUDIT_PASS: '审核通过', 7 AUDIT_PASS: '审核通过',
@@ -28,12 +31,62 @@ export const RESEARCH_GROUP_COLUMNS = [ @@ -28,12 +31,62 @@ export const RESEARCH_GROUP_COLUMNS = [
28 }, 31 },
29 }, 32 },
30 { 33 {
  34 + title: '单位名称',
  35 + dataIndex: 'companyName',
  36 + key: 'companyName',
  37 + fieldProps: {
  38 + placeholder: '请输入单位名称',
  39 + },
  40 + hideInSearch: true,
  41 + },
  42 + {
  43 + title: '单位名称',
  44 + dataIndex: 'companyNameLike',
  45 + key: 'companyNameLike',
  46 + fieldProps: {
  47 + placeholder: '请输入单位名称',
  48 + },
  49 + hideInTable: true,
  50 + },
  51 + {
31 title: '预存账号', 52 title: '预存账号',
32 dataIndex: 'accounts', 53 dataIndex: 'accounts',
33 key: 'accounts', 54 key: 'accounts',
34 hideInSearch: true, 55 hideInSearch: true,
35 }, 56 },
36 { 57 {
  58 + title: '状态',
  59 + dataIndex: 'statusText',
  60 + key: 'statusText',
  61 + hideInSearch: true,
  62 + render: (_, record) => {
  63 + console.log('1111' + JSON.stringify(record));
  64 + return (
  65 + <>
  66 + <Space>
  67 + {record.statusText}
  68 + {record.statusNotes && (
  69 + <Tooltip title={record.statusNotes}>
  70 + <MessageTwoTone />
  71 + </Tooltip>
  72 + )}
  73 + </Space>
  74 + </>
  75 + );
  76 + },
  77 + },
  78 + {
  79 + title: '状态',
  80 + dataIndex: 'status',
  81 + key: 'status',
  82 + valueType: 'select',
  83 + request: async () => {
  84 + const groupStatus = await postServiceConstListResearchGroupsStatus();
  85 + return enumToSelect(groupStatus.data);
  86 + },
  87 + hideInTable: true,
  88 + },
  89 + {
37 title: '预存手机号', 90 title: '预存手机号',
38 dataIndex: 'accountPhone', 91 dataIndex: 'accountPhone',
39 key: 'accountPhone', 92 key: 'accountPhone',
src/pages/ResearchGroup/index.tsx
@@ -48,6 +48,7 @@ const PrepaidPage = () =&gt; { @@ -48,6 +48,7 @@ const PrepaidPage = () =&gt; {
48 researchGroupMemberRequestAddModalVisible, 48 researchGroupMemberRequestAddModalVisible,
49 setResearchGroupMemberRequestAddModalVisible, 49 setResearchGroupMemberRequestAddModalVisible,
50 ] = useState(false); 50 ] = useState(false);
  51 + const [auditType, setAuditType] = useState('');
51 // const [checkVisible, setCheckVisible] = useState(false); 52 // const [checkVisible, setCheckVisible] = useState(false);
52 const [accountInfo, setAccountInfo] = useState({ 53 const [accountInfo, setAccountInfo] = useState({
53 realName: '', 54 realName: '',
@@ -244,55 +245,57 @@ const PrepaidPage = () =&gt; { @@ -244,55 +245,57 @@ const PrepaidPage = () =&gt; {
244 let columns = RESEARCH_GROUP_COLUMNS.map((item) => { 245 let columns = RESEARCH_GROUP_COLUMNS.map((item) => {
245 let newItem = { ...item }; 246 let newItem = { ...item };
246 let dataIndex = item.dataIndex; 247 let dataIndex = item.dataIndex;
  248 + if (!newItem.render) {
  249 + newItem.render = (text, record, index) => {
  250 + let textValue = record[dataIndex];
  251 + if (dataIndex.endsWith('Time')) {
  252 + textValue = formatDateTime(textValue);
  253 + }
247 254
248 - newItem.render = (text, record, index) => {  
249 - let textValue = record[dataIndex];  
250 -  
251 - if (dataIndex.endsWith('Time')) {  
252 - textValue = formatDateTime(textValue);  
253 - }  
254 -  
255 - if (dataIndex === 'members') {  
256 - return renderMembersCell(textValue);  
257 - } 255 + if (dataIndex === 'members') {
  256 + return renderMembersCell(textValue);
  257 + }
258 258
259 - if (dataIndex === 'accounts') {  
260 - return renderAccountsCell(textValue);  
261 - } 259 + if (dataIndex === 'accounts') {
  260 + return renderAccountsCell(textValue);
  261 + }
262 262
263 - if (dataIndex === 'index') {  
264 - textValue = index + 1;  
265 - } 263 + if (dataIndex === 'index') {
  264 + textValue = index + 1;
  265 + }
266 266
267 - if (  
268 - dataIndex === 'proofImages' &&  
269 - textValue !== null &&  
270 - textValue !== undefined  
271 - ) {  
272 - return (  
273 - <Image.PreviewGroup  
274 - className="mr-10"  
275 - preview={{  
276 - onChange: (current, prev) =>  
277 - console.log(`current index: ${current}, prev index: ${prev}`),  
278 - }}  
279 - >  
280 - {textValue.map((item, index) => (  
281 - <React.Fragment key={index}>  
282 - {index > 0 ? <Divider type="vertical" /> : ''}  
283 - <Image  
284 - className="max-h-[35px] max-w-[45px]"  
285 - src={item}  
286 - title={item}  
287 - />{' '}  
288 - </React.Fragment>  
289 - ))}  
290 - </Image.PreviewGroup>  
291 - );  
292 - } 267 + if (
  268 + dataIndex === 'proofImages' &&
  269 + textValue !== null &&
  270 + textValue !== undefined
  271 + ) {
  272 + return (
  273 + <Image.PreviewGroup
  274 + className="mr-10"
  275 + preview={{
  276 + onChange: (current, prev) =>
  277 + console.log(
  278 + `current index: ${current}, prev index: ${prev}`,
  279 + ),
  280 + }}
  281 + >
  282 + {textValue.map((item, index) => (
  283 + <React.Fragment key={index}>
  284 + {index > 0 ? <Divider type="vertical" /> : ''}
  285 + <Image
  286 + className="max-h-[35px] max-w-[45px]"
  287 + src={item}
  288 + title={item}
  289 + />{' '}
  290 + </React.Fragment>
  291 + ))}
  292 + </Image.PreviewGroup>
  293 + );
  294 + }
293 295
294 - return <EllipsisDiv text={textValue} />;  
295 - }; 296 + return <EllipsisDiv text={textValue} />;
  297 + };
  298 + }
296 299
297 return newItem; 300 return newItem;
298 }); 301 });
@@ -334,6 +337,22 @@ const PrepaidPage = () =&gt; { @@ -334,6 +337,22 @@ const PrepaidPage = () =&gt; {
334 />, 337 />,
335 ); 338 );
336 } 339 }
  340 + if (record.paths?.includes('ADD_AUDIT')) {
  341 + btns.push(
  342 + <Button
  343 + key="audit"
  344 + className="p-0"
  345 + type="link"
  346 + onClick={async () => {
  347 + setAuditIds([record.id]);
  348 + setAuditModalVisible(true);
  349 + setAuditType('research_groups_add_audit');
  350 + }}
  351 + >
  352 + 审核
  353 + </Button>,
  354 + );
  355 + }
337 return btns; 356 return btns;
338 }, 357 },
339 }); 358 });
@@ -447,6 +466,7 @@ const PrepaidPage = () =&gt; { @@ -447,6 +466,7 @@ const PrepaidPage = () =&gt; {
447 type="link" 466 type="link"
448 onClick={async () => { 467 onClick={async () => {
449 setAuditIds([record.id]); 468 setAuditIds([record.id]);
  469 + setAuditType('research_group_member_request_audit');
450 setAuditModalVisible(true); 470 setAuditModalVisible(true);
451 }} 471 }}
452 > 472 >
@@ -732,7 +752,9 @@ const PrepaidPage = () =&gt; { @@ -732,7 +752,9 @@ const PrepaidPage = () =&gt; {
732 setAuditModalVisible(false); 752 setAuditModalVisible(false);
733 setAuditIds([]); 753 setAuditIds([]);
734 reloadMemberApplyTable(); 754 reloadMemberApplyTable();
  755 + researchGroupActionRef.current?.reload();
735 }} 756 }}
  757 + auditType={auditType}
736 /> 758 />
737 )} 759 )}
738 760
src/services/definition.ts
@@ -94,6 +94,11 @@ export interface AdminClientDto { @@ -94,6 +94,11 @@ export interface AdminClientDto {
94 * 单位地址 94 * 单位地址
95 */ 95 */
96 companyAddress?: string; 96 companyAddress?: string;
  97 + /**
  98 + * @description
  99 + * 单位地址
  100 + */
  101 + companyAddressText?: string;
97 companyId?: string; 102 companyId?: string;
98 /** 103 /**
99 * @description 104 * @description
@@ -2047,75 +2052,72 @@ export interface ReissueInvoiceDto { @@ -2047,75 +2052,72 @@ export interface ReissueInvoiceDto {
2047 purchaser?: string; 2052 purchaser?: string;
2048 } 2053 }
2049 2054
2050 -export interface ResearchGroupAccountAddRequest { 2055 +export interface ResearchGroupAddRequest {
  2056 + accounts?: Array<ResearchGroupAccounts>;
2051 /** 2057 /**
2052 * @description 2058 * @description
2053 - * 关联的账号id  
2054 - * @format int64 2059 + * 单位名称
2055 */ 2060 */
2056 - accountId?: number; 2061 + companyName?: string;
2057 /** 2062 /**
2058 * @description 2063 * @description
2059 - * 关联的账号名称 2064 + * 创建人
2060 */ 2065 */
2061 - accountName?: string; 2066 + createByName?: string;
2062 /** 2067 /**
2063 * @description 2068 * @description
2064 - * 关联的账号手机号 2069 + * 创建时间
  2070 + * @format date-time
2065 */ 2071 */
2066 - accountPhone?: string; 2072 + createTime?: string;
2067 /** 2073 /**
2068 * @description 2074 * @description
2069 - * 课题组id  
2070 - * @format int64 2075 + * 课题组名称
2071 */ 2076 */
2072 - groupId?: number;  
2073 -}  
2074 -  
2075 -export interface ResearchGroupAccountEditRequest { 2077 + groupName?: string;
2076 /** 2078 /**
2077 * @description 2079 * @description
2078 - * 关联的账号id 2080 + * 主键id
2079 * @format int64 2081 * @format int64
2080 */ 2082 */
2081 - accountId?: number; 2083 + id?: number;
2082 /** 2084 /**
2083 * @description 2085 * @description
2084 - * 关联的账号名称 2086 + * 负责人
2085 */ 2087 */
2086 - accountName?: string; 2088 + leaderName?: string;
  2089 + members?: Array<ResearchGroupMembers>;
2087 /** 2090 /**
2088 * @description 2091 * @description
2089 - * 关联的账号手机号 2092 + * 操作
2090 */ 2093 */
2091 - accountPhone?: string; 2094 + paths?: Array<string>;
2092 /** 2095 /**
2093 * @description 2096 * @description
2094 - * 课题组id  
2095 - * @format int64 2097 + * 状态
2096 */ 2098 */
2097 - groupId?: number; 2099 + status?: string;
2098 /** 2100 /**
2099 * @description 2101 * @description
2100 - * 主键id  
2101 - * @format int64 2102 + * 冗余字段,当前状态备注
2102 */ 2103 */
2103 - id?: number;  
2104 -}  
2105 -  
2106 -export interface ResearchGroupAddRequest {  
2107 - accounts?: Array<ResearchGroupAccountAddRequest>; 2104 + statusNotes?: string;
2108 /** 2105 /**
2109 * @description 2106 * @description
2110 - * 课题组名称 2107 + * 状态文本
2111 */ 2108 */
2112 - group?: string; 2109 + statusText?: string;
2113 /** 2110 /**
2114 * @description 2111 * @description
2115 - * 课题组负责 2112 + * 上次修改
2116 */ 2113 */
2117 - leader?: string;  
2118 - members?: Array<ResearchGroupMemberAddRequest>; 2114 + updateByName?: string;
  2115 + /**
  2116 + * @description
  2117 + * 上次修改时间
  2118 + * @format date-time
  2119 + */
  2120 + updateTime?: string;
2119 } 2121 }
2120 2122
2121 export interface ResearchGroupDeleteRequest { 2123 export interface ResearchGroupDeleteRequest {
@@ -2136,16 +2138,28 @@ export interface ResearchGroupDetailRequest { @@ -2136,16 +2138,28 @@ export interface ResearchGroupDetailRequest {
2136 } 2138 }
2137 2139
2138 export interface ResearchGroupEditRequest { 2140 export interface ResearchGroupEditRequest {
  2141 + accounts?: Array<ResearchGroupAccounts>;
  2142 + /**
  2143 + * @description
  2144 + * 单位名称
  2145 + */
  2146 + companyName?: string;
  2147 + /**
  2148 + * @description
  2149 + * 创建人
  2150 + */
  2151 + createByName?: string;
2139 /** 2152 /**
2140 * @description 2153 * @description
2141 - * 课题组预存账号 2154 + * 创建时间
  2155 + * @format date-time
2142 */ 2156 */
2143 - accounts?: Array<ResearchGroupAccountEditRequest>; 2157 + createTime?: string;
2144 /** 2158 /**
2145 * @description 2159 * @description
2146 * 课题组名称 2160 * 课题组名称
2147 */ 2161 */
2148 - group?: string; 2162 + groupName?: string;
2149 /** 2163 /**
2150 * @description 2164 * @description
2151 * 主键id 2165 * 主键id
@@ -2154,14 +2168,41 @@ export interface ResearchGroupEditRequest { @@ -2154,14 +2168,41 @@ export interface ResearchGroupEditRequest {
2154 id?: number; 2168 id?: number;
2155 /** 2169 /**
2156 * @description 2170 * @description
2157 - * 课题组负责人 2171 + * 负责人
  2172 + */
  2173 + leaderName?: string;
  2174 + members?: Array<ResearchGroupMembers>;
  2175 + /**
  2176 + * @description
  2177 + * 操作
  2178 + */
  2179 + paths?: Array<string>;
  2180 + /**
  2181 + * @description
  2182 + * 状态
  2183 + */
  2184 + status?: string;
  2185 + /**
  2186 + * @description
  2187 + * 冗余字段,当前状态备注
  2188 + */
  2189 + statusNotes?: string;
  2190 + /**
  2191 + * @description
  2192 + * 状态文本
2158 */ 2193 */
2159 - leader?: string; 2194 + statusText?: string;
  2195 + /**
  2196 + * @description
  2197 + * 上次修改人
  2198 + */
  2199 + updateByName?: string;
2160 /** 2200 /**
2161 * @description 2201 * @description
2162 - * 课题组成员集合 2202 + * 上次修改时间
  2203 + * @format date-time
2163 */ 2204 */
2164 - members?: Array<ResearchGroupMemberEditRequest>; 2205 + updateTime?: string;
2165 } 2206 }
2166 2207
2167 export interface ResearchGroupListRequest { 2208 export interface ResearchGroupListRequest {
@@ -2170,6 +2211,11 @@ export interface ResearchGroupListRequest { @@ -2170,6 +2211,11 @@ export interface ResearchGroupListRequest {
2170 * 预存账号手机号 2211 * 预存账号手机号
2171 */ 2212 */
2172 accountPhone?: string; 2213 accountPhone?: string;
  2214 + /**
  2215 + * @description
  2216 + * 公司名称
  2217 + */
  2218 + companyNameLike?: string;
2173 /** @format int32 */ 2219 /** @format int32 */
2174 current?: number; 2220 current?: number;
2175 /** @format int32 */ 2221 /** @format int32 */
@@ -2181,6 +2227,11 @@ export interface ResearchGroupListRequest { @@ -2181,6 +2227,11 @@ export interface ResearchGroupListRequest {
2181 groupName?: string; 2227 groupName?: string;
2182 /** 2228 /**
2183 * @description 2229 * @description
  2230 + * id
  2231 + */
  2232 + idIn?: Array<number>;
  2233 + /**
  2234 + * @description
2184 * 课题组负责人 2235 * 课题组负责人
2185 */ 2236 */
2186 leaderName?: string; 2237 leaderName?: string;
@@ -2202,26 +2253,33 @@ export interface ResearchGroupListRequest { @@ -2202,26 +2253,33 @@ export interface ResearchGroupListRequest {
2202 total?: number; 2253 total?: number;
2203 } 2254 }
2204 2255
2205 -export interface ResearchGroupMemberAddRequest { 2256 +export interface ResearchGroupMemberRequestAddRequest {
2206 /** 2257 /**
2207 * @description 2258 * @description
2208 - * 课题组ID  
2209 - * @format int64 2259 + * 审核备注
2210 */ 2260 */
2211 - groupId?: number; 2261 + auditNotes?: string;
2212 /** 2262 /**
2213 * @description 2263 * @description
2214 - * 成员名称 2264 + * 审核状态:CREATED-未审核 AUDIT_FAIL-审核不通过 AUDIT_PASS-审核通过
2215 */ 2265 */
2216 - memberName?: string; 2266 + auditStatus?: string;
2217 /** 2267 /**
2218 * @description 2268 * @description
2219 - * 成员手机号 2269 + * 审核状态:CREATED-未审核 AUDIT_FAIL-审核不通过 AUDIT_PASS-审核通过
2220 */ 2270 */
2221 - memberPhone?: string;  
2222 -}  
2223 -  
2224 -export interface ResearchGroupMemberEditRequest { 2271 + auditStatusText?: string;
  2272 + /**
  2273 + * @description
  2274 + * 创建人
  2275 + */
  2276 + createByName?: string;
  2277 + /**
  2278 + * @description
  2279 + * 创建时间
  2280 + * @format date-time
  2281 + */
  2282 + createTime?: string;
2225 /** 2283 /**
2226 * @description 2284 * @description
2227 * 课题组ID 2285 * 课题组ID
@@ -2230,10 +2288,16 @@ export interface ResearchGroupMemberEditRequest { @@ -2230,10 +2288,16 @@ export interface ResearchGroupMemberEditRequest {
2230 groupId?: number; 2288 groupId?: number;
2231 /** 2289 /**
2232 * @description 2290 * @description
  2291 + * 课题组名称
  2292 + */
  2293 + groupName?: string;
  2294 + /**
  2295 + * @description
2233 * 主键id 2296 * 主键id
2234 * @format int64 2297 * @format int64
2235 */ 2298 */
2236 id?: number; 2299 id?: number;
  2300 + logicDelete?: boolean;
2237 /** 2301 /**
2238 * @description 2302 * @description
2239 * 成员名称 2303 * 成员名称
@@ -2244,26 +2308,33 @@ export interface ResearchGroupMemberEditRequest { @@ -2244,26 +2308,33 @@ export interface ResearchGroupMemberEditRequest {
2244 * 成员手机号 2308 * 成员手机号
2245 */ 2309 */
2246 memberPhone?: string; 2310 memberPhone?: string;
2247 -}  
2248 -  
2249 -export interface ResearchGroupMemberRequestAddRequest { 2311 + members?: Array<ResearchGroupMembers>;
2250 /** 2312 /**
2251 * @description 2313 * @description
2252 - * 课题组ID  
2253 - * @format int64 2314 + * 权限
2254 */ 2315 */
2255 - groupId?: number; 2316 + permissions?: Array<string>;
2256 /** 2317 /**
2257 * @description 2318 * @description
2258 - * 课题组名称 2319 + * 申请备注
2259 */ 2320 */
2260 - groupName?: string;  
2261 - members?: Array<ResearchGroupMemberAddRequest>; 2321 + requestNotes?: string;
2262 /** 2322 /**
2263 * @description 2323 * @description
2264 - * 申请备注 2324 + * 申请类型:APPEND-新增 REMOVE-删除 MODIFY-修改
2265 */ 2325 */
2266 - requestNotes?: string; 2326 + requestType?: string;
  2327 + /**
  2328 + * @description
  2329 + * 上次修改人
  2330 + */
  2331 + updateByName?: string;
  2332 + /**
  2333 + * @description
  2334 + * 上次修改时间
  2335 + * @format date-time
  2336 + */
  2337 + updateTime?: string;
2267 } 2338 }
2268 2339
2269 export interface ResearchGroupMemberRequestDeleteRequest { 2340 export interface ResearchGroupMemberRequestDeleteRequest {
@@ -2286,6 +2357,32 @@ export interface ResearchGroupMemberRequestDetailRequest { @@ -2286,6 +2357,32 @@ export interface ResearchGroupMemberRequestDetailRequest {
2286 export interface ResearchGroupMemberRequestEditRequest { 2357 export interface ResearchGroupMemberRequestEditRequest {
2287 /** 2358 /**
2288 * @description 2359 * @description
  2360 + * 审核备注
  2361 + */
  2362 + auditNotes?: string;
  2363 + /**
  2364 + * @description
  2365 + * 审核状态:CREATED-未审核 AUDIT_FAIL-审核不通过 AUDIT_PASS-审核通过
  2366 + */
  2367 + auditStatus?: string;
  2368 + /**
  2369 + * @description
  2370 + * 审核状态:CREATED-未审核 AUDIT_FAIL-审核不通过 AUDIT_PASS-审核通过
  2371 + */
  2372 + auditStatusText?: string;
  2373 + /**
  2374 + * @description
  2375 + * 创建人
  2376 + */
  2377 + createByName?: string;
  2378 + /**
  2379 + * @description
  2380 + * 创建时间
  2381 + * @format date-time
  2382 + */
  2383 + createTime?: string;
  2384 + /**
  2385 + * @description
2289 * 课题组ID 2386 * 课题组ID
2290 * @format int64 2387 * @format int64
2291 */ 2388 */
@@ -2301,6 +2398,7 @@ export interface ResearchGroupMemberRequestEditRequest { @@ -2301,6 +2398,7 @@ export interface ResearchGroupMemberRequestEditRequest {
2301 * @format int64 2398 * @format int64
2302 */ 2399 */
2303 id?: number; 2400 id?: number;
  2401 + logicDelete?: boolean;
2304 /** 2402 /**
2305 * @description 2403 * @description
2306 * 成员名称 2404 * 成员名称
@@ -2313,9 +2411,30 @@ export interface ResearchGroupMemberRequestEditRequest { @@ -2313,9 +2411,30 @@ export interface ResearchGroupMemberRequestEditRequest {
2313 memberPhone?: string; 2411 memberPhone?: string;
2314 /** 2412 /**
2315 * @description 2413 * @description
  2414 + * 权限
  2415 + */
  2416 + permissions?: Array<string>;
  2417 + /**
  2418 + * @description
2316 * 申请备注 2419 * 申请备注
2317 */ 2420 */
2318 requestNotes?: string; 2421 requestNotes?: string;
  2422 + /**
  2423 + * @description
  2424 + * 申请类型:APPEND-新增 REMOVE-删除 MODIFY-修改
  2425 + */
  2426 + requestType?: string;
  2427 + /**
  2428 + * @description
  2429 + * 上次修改人
  2430 + */
  2431 + updateByName?: string;
  2432 + /**
  2433 + * @description
  2434 + * 上次修改时间
  2435 + * @format date-time
  2436 + */
  2437 + updateTime?: string;
2319 } 2438 }
2320 2439
2321 export interface ResearchGroupMemberRequestsRequest { 2440 export interface ResearchGroupMemberRequestsRequest {
@@ -2787,6 +2906,76 @@ export interface TsgFile { @@ -2787,6 +2906,76 @@ export interface TsgFile {
2787 writable?: boolean; 2906 writable?: boolean;
2788 } 2907 }
2789 2908
  2909 +export interface ResearchGroupAccounts {
  2910 + /**
  2911 + * @description
  2912 + * 关联的账号id
  2913 + * @format int64
  2914 + */
  2915 + accountId?: number;
  2916 + /**
  2917 + * @description
  2918 + * 关联的账号名称
  2919 + */
  2920 + accountName?: string;
  2921 + /**
  2922 + * @description
  2923 + * 关联的账号手机号
  2924 + */
  2925 + accountPhone?: string;
  2926 + createByName?: string;
  2927 + /** @format date-time */
  2928 + createTime?: string;
  2929 + /**
  2930 + * @description
  2931 + * 课题组id
  2932 + * @format int64
  2933 + */
  2934 + groupId?: number;
  2935 + /**
  2936 + * @description
  2937 + * 主键id
  2938 + * @format int64
  2939 + */
  2940 + id?: number;
  2941 + logicDelete?: boolean;
  2942 + updateByName?: string;
  2943 + /** @format date-time */
  2944 + updateTime?: string;
  2945 +}
  2946 +
  2947 +export interface ResearchGroupMembers {
  2948 + createByName?: string;
  2949 + /** @format date-time */
  2950 + createTime?: string;
  2951 + /**
  2952 + * @description
  2953 + * 课题组ID
  2954 + * @format int64
  2955 + */
  2956 + groupId?: number;
  2957 + /**
  2958 + * @description
  2959 + * 主键id
  2960 + * @format int64
  2961 + */
  2962 + id?: number;
  2963 + logicDelete?: boolean;
  2964 + /**
  2965 + * @description
  2966 + * 成员名称
  2967 + */
  2968 + memberName?: string;
  2969 + /**
  2970 + * @description
  2971 + * 成员手机号
  2972 + */
  2973 + memberPhone?: string;
  2974 + updateByName?: string;
  2975 + /** @format date-time */
  2976 + updateTime?: string;
  2977 +}
  2978 +
2790 export interface SalesRechargePrepaymentAuditRequest { 2979 export interface SalesRechargePrepaymentAuditRequest {
2791 /** 2980 /**
2792 * @description 2981 * @description
src/services/request.ts
@@ -10452,7 +10452,7 @@ export type PostResearchGroupMemberRequestsAddResponseSuccess = @@ -10452,7 +10452,7 @@ export type PostResearchGroupMemberRequestsAddResponseSuccess =
10452 /** 10452 /**
10453 * @description 10453 * @description
10454 * 新增申请信息 10454 * 新增申请信息
10455 - * @tags research-group-member-requests-controller 10455 + * @tags research-group-request-controller
10456 * @produces * 10456 * @produces *
10457 * @consumes application/json 10457 * @consumes application/json
10458 */ 10458 */
@@ -10523,7 +10523,7 @@ export type PostResearchGroupMemberRequestsDeleteResponseSuccess = @@ -10523,7 +10523,7 @@ export type PostResearchGroupMemberRequestsDeleteResponseSuccess =
10523 /** 10523 /**
10524 * @description 10524 * @description
10525 * 删除申请信息 10525 * 删除申请信息
10526 - * @tags research-group-member-requests-controller 10526 + * @tags research-group-request-controller
10527 * @produces * 10527 * @produces *
10528 * @consumes application/json 10528 * @consumes application/json
10529 */ 10529 */
@@ -10594,7 +10594,7 @@ export type PostResearchGroupMemberRequestsDetailResponseSuccess = @@ -10594,7 +10594,7 @@ export type PostResearchGroupMemberRequestsDetailResponseSuccess =
10594 /** 10594 /**
10595 * @description 10595 * @description
10596 * 查询申请信息 10596 * 查询申请信息
10597 - * @tags research-group-member-requests-controller 10597 + * @tags research-group-request-controller
10598 * @produces * 10598 * @produces *
10599 * @consumes application/json 10599 * @consumes application/json
10600 */ 10600 */
@@ -10665,7 +10665,7 @@ export type PostResearchGroupMemberRequestsEditResponseSuccess = @@ -10665,7 +10665,7 @@ export type PostResearchGroupMemberRequestsEditResponseSuccess =
10665 /** 10665 /**
10666 * @description 10666 * @description
10667 * 编辑申请信息 10667 * 编辑申请信息
10668 - * @tags research-group-member-requests-controller 10668 + * @tags research-group-request-controller
10669 * @produces * 10669 * @produces *
10670 * @consumes application/json 10670 * @consumes application/json
10671 */ 10671 */
@@ -10736,7 +10736,7 @@ export type PostResearchGroupMemberRequestsListResponseSuccess = @@ -10736,7 +10736,7 @@ export type PostResearchGroupMemberRequestsListResponseSuccess =
10736 /** 10736 /**
10737 * @description 10737 * @description
10738 * 申请列表 10738 * 申请列表
10739 - * @tags research-group-member-requests-controller 10739 + * @tags research-group-request-controller
10740 * @produces * 10740 * @produces *
10741 * @consumes application/json 10741 * @consumes application/json
10742 */ 10742 */
@@ -11635,6 +11635,60 @@ export const postServiceConstClientLevels = /* #__PURE__ */ (() =&gt; { @@ -11635,6 +11635,60 @@ export const postServiceConstClientLevels = /* #__PURE__ */ (() =&gt; {
11635 return request; 11635 return request;
11636 })(); 11636 })();
11637 11637
  11638 +/** @description response type for postServiceConstListResearchGroupsStatus */
  11639 +export interface PostServiceConstListResearchGroupsStatusResponse {
  11640 + /**
  11641 + * @description
  11642 + * OK
  11643 + */
  11644 + 200: ServerResult;
  11645 + /**
  11646 + * @description
  11647 + * Created
  11648 + */
  11649 + 201: any;
  11650 + /**
  11651 + * @description
  11652 + * Unauthorized
  11653 + */
  11654 + 401: any;
  11655 + /**
  11656 + * @description
  11657 + * Forbidden
  11658 + */
  11659 + 403: any;
  11660 + /**
  11661 + * @description
  11662 + * Not Found
  11663 + */
  11664 + 404: any;
  11665 +}
  11666 +
  11667 +export type PostServiceConstListResearchGroupsStatusResponseSuccess =
  11668 + PostServiceConstListResearchGroupsStatusResponse[200];
  11669 +/**
  11670 + * @description
  11671 + * 获取课题组状态
  11672 + * @tags front-const-controller
  11673 + * @produces *
  11674 + * @consumes application/json
  11675 + */
  11676 +export const postServiceConstListResearchGroupsStatus = /* #__PURE__ */ (() => {
  11677 + const method = 'post';
  11678 + const url = '/service/const/listResearchGroupsStatus';
  11679 + function request(): Promise<PostServiceConstListResearchGroupsStatusResponseSuccess> {
  11680 + return requester(request.url, {
  11681 + method: request.method,
  11682 + }) as unknown as Promise<PostServiceConstListResearchGroupsStatusResponseSuccess>;
  11683 + }
  11684 +
  11685 + /** http method */
  11686 + request.method = method;
  11687 + /** request url */
  11688 + request.url = url;
  11689 + return request;
  11690 +})();
  11691 +
11638 /** @description response type for postServiceConstTradeStatus */ 11692 /** @description response type for postServiceConstTradeStatus */
11639 export interface PostServiceConstTradeStatusResponse { 11693 export interface PostServiceConstTradeStatusResponse {
11640 /** 11694 /**