Commit 2818573ac436bf951c30b5f8aa5f41593124be1f
1 parent
6b037d6d
feat: 课题组优化
Showing
6 changed files
with
442 additions
and
118 deletions
src/pages/ResearchGroup/components/AuditModal.tsx
... | ... | @@ -5,7 +5,7 @@ import { Button, Form, message } from 'antd'; |
5 | 5 | import { cloneDeep } from 'lodash'; |
6 | 6 | |
7 | 7 | // import { cloneDeep } from 'lodash'; |
8 | -export default ({ setVisible, ids, onClose }) => { | |
8 | +export default ({ setVisible, ids, onClose, auditType }) => { | |
9 | 9 | const [form] = Form.useForm(); |
10 | 10 | let auditIds = cloneDeep(ids); |
11 | 11 | |
... | ... | @@ -15,7 +15,7 @@ export default ({ setVisible, ids, onClose }) => { |
15 | 15 | }; |
16 | 16 | |
17 | 17 | const doAudit = async (values: any) => { |
18 | - values.type = 'research_group_member_request_audit'; | |
18 | + values.type = auditType; | |
19 | 19 | let res = await postCommonAudit({ data: values }); |
20 | 20 | if (res && res.result === RESPONSE_CODE.SUCCESS) { |
21 | 21 | message.success(res.message); | ... | ... |
src/pages/ResearchGroup/components/ResearchGroupAddModal.tsx
... | ... | @@ -337,13 +337,13 @@ export default ({ setVisible, researchGroupId, onClose }) => { |
337 | 337 | <Spin spinning={modalLoading} tip="加载中..."> |
338 | 338 | <ProForm.Group> |
339 | 339 | <ProFormText |
340 | - name="group" | |
340 | + name="groupName" | |
341 | 341 | label="课题组名称" |
342 | 342 | placeholder="请输入课题组名称" |
343 | 343 | rules={[{ required: true, message: '请输入课题组名称' }]} |
344 | 344 | /> |
345 | 345 | <ProFormSelect |
346 | - name="leader" | |
346 | + name="leaderName" | |
347 | 347 | key="leader" |
348 | 348 | width="lg" |
349 | 349 | showSearch |
... | ... | @@ -352,6 +352,12 @@ export default ({ setVisible, researchGroupId, onClose }) => { |
352 | 352 | rules={[{ required: true, message: '请输入课题组负责人' }]} |
353 | 353 | options={salesCodeOptions} |
354 | 354 | /> |
355 | + <ProFormText | |
356 | + name="companyName" | |
357 | + label="单位名称" | |
358 | + placeholder="请输入单位名称" | |
359 | + rules={[{ required: true, message: '请输入单位名称' }]} | |
360 | + /> | |
355 | 361 | </ProForm.Group> |
356 | 362 | |
357 | 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 | 5 | export const AUDIT_STATUS_OPTIONS = { |
3 | 6 | CREATED: '未审核', |
4 | 7 | AUDIT_PASS: '审核通过', |
... | ... | @@ -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 | 52 | title: '预存账号', |
32 | 53 | dataIndex: 'accounts', |
33 | 54 | key: 'accounts', |
34 | 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 | 90 | title: '预存手机号', |
38 | 91 | dataIndex: 'accountPhone', |
39 | 92 | key: 'accountPhone', | ... | ... |
src/pages/ResearchGroup/index.tsx
... | ... | @@ -48,6 +48,7 @@ const PrepaidPage = () => { |
48 | 48 | researchGroupMemberRequestAddModalVisible, |
49 | 49 | setResearchGroupMemberRequestAddModalVisible, |
50 | 50 | ] = useState(false); |
51 | + const [auditType, setAuditType] = useState(''); | |
51 | 52 | // const [checkVisible, setCheckVisible] = useState(false); |
52 | 53 | const [accountInfo, setAccountInfo] = useState({ |
53 | 54 | realName: '', |
... | ... | @@ -244,55 +245,57 @@ const PrepaidPage = () => { |
244 | 245 | let columns = RESEARCH_GROUP_COLUMNS.map((item) => { |
245 | 246 | let newItem = { ...item }; |
246 | 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 | 300 | return newItem; |
298 | 301 | }); |
... | ... | @@ -334,6 +337,22 @@ const PrepaidPage = () => { |
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 | 356 | return btns; |
338 | 357 | }, |
339 | 358 | }); |
... | ... | @@ -447,6 +466,7 @@ const PrepaidPage = () => { |
447 | 466 | type="link" |
448 | 467 | onClick={async () => { |
449 | 468 | setAuditIds([record.id]); |
469 | + setAuditType('research_group_member_request_audit'); | |
450 | 470 | setAuditModalVisible(true); |
451 | 471 | }} |
452 | 472 | > |
... | ... | @@ -732,7 +752,9 @@ const PrepaidPage = () => { |
732 | 752 | setAuditModalVisible(false); |
733 | 753 | setAuditIds([]); |
734 | 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 | 94 | * 单位地址 |
95 | 95 | */ |
96 | 96 | companyAddress?: string; |
97 | + /** | |
98 | + * @description | |
99 | + * 单位地址 | |
100 | + */ | |
101 | + companyAddressText?: string; | |
97 | 102 | companyId?: string; |
98 | 103 | /** |
99 | 104 | * @description |
... | ... | @@ -2047,75 +2052,72 @@ export interface ReissueInvoiceDto { |
2047 | 2052 | purchaser?: string; |
2048 | 2053 | } |
2049 | 2054 | |
2050 | -export interface ResearchGroupAccountAddRequest { | |
2055 | +export interface ResearchGroupAddRequest { | |
2056 | + accounts?: Array<ResearchGroupAccounts>; | |
2051 | 2057 | /** |
2052 | 2058 | * @description |
2053 | - * 关联的账号id | |
2054 | - * @format int64 | |
2059 | + * 单位名称 | |
2055 | 2060 | */ |
2056 | - accountId?: number; | |
2061 | + companyName?: string; | |
2057 | 2062 | /** |
2058 | 2063 | * @description |
2059 | - * 关联的账号名称 | |
2064 | + * 创建人 | |
2060 | 2065 | */ |
2061 | - accountName?: string; | |
2066 | + createByName?: string; | |
2062 | 2067 | /** |
2063 | 2068 | * @description |
2064 | - * 关联的账号手机号 | |
2069 | + * 创建时间 | |
2070 | + * @format date-time | |
2065 | 2071 | */ |
2066 | - accountPhone?: string; | |
2072 | + createTime?: string; | |
2067 | 2073 | /** |
2068 | 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 | 2079 | * @description |
2078 | - * 关联的账号id | |
2080 | + * 主键id | |
2079 | 2081 | * @format int64 |
2080 | 2082 | */ |
2081 | - accountId?: number; | |
2083 | + id?: number; | |
2082 | 2084 | /** |
2083 | 2085 | * @description |
2084 | - * 关联的账号名称 | |
2086 | + * 负责人 | |
2085 | 2087 | */ |
2086 | - accountName?: string; | |
2088 | + leaderName?: string; | |
2089 | + members?: Array<ResearchGroupMembers>; | |
2087 | 2090 | /** |
2088 | 2091 | * @description |
2089 | - * 关联的账号手机号 | |
2092 | + * 操作 | |
2090 | 2093 | */ |
2091 | - accountPhone?: string; | |
2094 | + paths?: Array<string>; | |
2092 | 2095 | /** |
2093 | 2096 | * @description |
2094 | - * 课题组id | |
2095 | - * @format int64 | |
2097 | + * 状态 | |
2096 | 2098 | */ |
2097 | - groupId?: number; | |
2099 | + status?: string; | |
2098 | 2100 | /** |
2099 | 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 | 2106 | * @description |
2110 | - * 课题组名称 | |
2107 | + * 状态文本 | |
2111 | 2108 | */ |
2112 | - group?: string; | |
2109 | + statusText?: string; | |
2113 | 2110 | /** |
2114 | 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 | 2123 | export interface ResearchGroupDeleteRequest { |
... | ... | @@ -2136,16 +2138,28 @@ export interface ResearchGroupDetailRequest { |
2136 | 2138 | } |
2137 | 2139 | |
2138 | 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 | 2153 | * @description |
2141 | - * 课题组预存账号 | |
2154 | + * 创建时间 | |
2155 | + * @format date-time | |
2142 | 2156 | */ |
2143 | - accounts?: Array<ResearchGroupAccountEditRequest>; | |
2157 | + createTime?: string; | |
2144 | 2158 | /** |
2145 | 2159 | * @description |
2146 | 2160 | * 课题组名称 |
2147 | 2161 | */ |
2148 | - group?: string; | |
2162 | + groupName?: string; | |
2149 | 2163 | /** |
2150 | 2164 | * @description |
2151 | 2165 | * 主键id |
... | ... | @@ -2154,14 +2168,41 @@ export interface ResearchGroupEditRequest { |
2154 | 2168 | id?: number; |
2155 | 2169 | /** |
2156 | 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 | 2201 | * @description |
2162 | - * 课题组成员集合 | |
2202 | + * 上次修改时间 | |
2203 | + * @format date-time | |
2163 | 2204 | */ |
2164 | - members?: Array<ResearchGroupMemberEditRequest>; | |
2205 | + updateTime?: string; | |
2165 | 2206 | } |
2166 | 2207 | |
2167 | 2208 | export interface ResearchGroupListRequest { |
... | ... | @@ -2170,6 +2211,11 @@ export interface ResearchGroupListRequest { |
2170 | 2211 | * 预存账号手机号 |
2171 | 2212 | */ |
2172 | 2213 | accountPhone?: string; |
2214 | + /** | |
2215 | + * @description | |
2216 | + * 公司名称 | |
2217 | + */ | |
2218 | + companyNameLike?: string; | |
2173 | 2219 | /** @format int32 */ |
2174 | 2220 | current?: number; |
2175 | 2221 | /** @format int32 */ |
... | ... | @@ -2181,6 +2227,11 @@ export interface ResearchGroupListRequest { |
2181 | 2227 | groupName?: string; |
2182 | 2228 | /** |
2183 | 2229 | * @description |
2230 | + * id | |
2231 | + */ | |
2232 | + idIn?: Array<number>; | |
2233 | + /** | |
2234 | + * @description | |
2184 | 2235 | * 课题组负责人 |
2185 | 2236 | */ |
2186 | 2237 | leaderName?: string; |
... | ... | @@ -2202,26 +2253,33 @@ export interface ResearchGroupListRequest { |
2202 | 2253 | total?: number; |
2203 | 2254 | } |
2204 | 2255 | |
2205 | -export interface ResearchGroupMemberAddRequest { | |
2256 | +export interface ResearchGroupMemberRequestAddRequest { | |
2206 | 2257 | /** |
2207 | 2258 | * @description |
2208 | - * 课题组ID | |
2209 | - * @format int64 | |
2259 | + * 审核备注 | |
2210 | 2260 | */ |
2211 | - groupId?: number; | |
2261 | + auditNotes?: string; | |
2212 | 2262 | /** |
2213 | 2263 | * @description |
2214 | - * 成员名称 | |
2264 | + * 审核状态:CREATED-未审核 AUDIT_FAIL-审核不通过 AUDIT_PASS-审核通过 | |
2215 | 2265 | */ |
2216 | - memberName?: string; | |
2266 | + auditStatus?: string; | |
2217 | 2267 | /** |
2218 | 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 | 2284 | * @description |
2227 | 2285 | * 课题组ID |
... | ... | @@ -2230,10 +2288,16 @@ export interface ResearchGroupMemberEditRequest { |
2230 | 2288 | groupId?: number; |
2231 | 2289 | /** |
2232 | 2290 | * @description |
2291 | + * 课题组名称 | |
2292 | + */ | |
2293 | + groupName?: string; | |
2294 | + /** | |
2295 | + * @description | |
2233 | 2296 | * 主键id |
2234 | 2297 | * @format int64 |
2235 | 2298 | */ |
2236 | 2299 | id?: number; |
2300 | + logicDelete?: boolean; | |
2237 | 2301 | /** |
2238 | 2302 | * @description |
2239 | 2303 | * 成员名称 |
... | ... | @@ -2244,26 +2308,33 @@ export interface ResearchGroupMemberEditRequest { |
2244 | 2308 | * 成员手机号 |
2245 | 2309 | */ |
2246 | 2310 | memberPhone?: string; |
2247 | -} | |
2248 | - | |
2249 | -export interface ResearchGroupMemberRequestAddRequest { | |
2311 | + members?: Array<ResearchGroupMembers>; | |
2250 | 2312 | /** |
2251 | 2313 | * @description |
2252 | - * 课题组ID | |
2253 | - * @format int64 | |
2314 | + * 权限 | |
2254 | 2315 | */ |
2255 | - groupId?: number; | |
2316 | + permissions?: Array<string>; | |
2256 | 2317 | /** |
2257 | 2318 | * @description |
2258 | - * 课题组名称 | |
2319 | + * 申请备注 | |
2259 | 2320 | */ |
2260 | - groupName?: string; | |
2261 | - members?: Array<ResearchGroupMemberAddRequest>; | |
2321 | + requestNotes?: string; | |
2262 | 2322 | /** |
2263 | 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 | 2340 | export interface ResearchGroupMemberRequestDeleteRequest { |
... | ... | @@ -2286,6 +2357,32 @@ export interface ResearchGroupMemberRequestDetailRequest { |
2286 | 2357 | export interface ResearchGroupMemberRequestEditRequest { |
2287 | 2358 | /** |
2288 | 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 | 2386 | * 课题组ID |
2290 | 2387 | * @format int64 |
2291 | 2388 | */ |
... | ... | @@ -2301,6 +2398,7 @@ export interface ResearchGroupMemberRequestEditRequest { |
2301 | 2398 | * @format int64 |
2302 | 2399 | */ |
2303 | 2400 | id?: number; |
2401 | + logicDelete?: boolean; | |
2304 | 2402 | /** |
2305 | 2403 | * @description |
2306 | 2404 | * 成员名称 |
... | ... | @@ -2313,9 +2411,30 @@ export interface ResearchGroupMemberRequestEditRequest { |
2313 | 2411 | memberPhone?: string; |
2314 | 2412 | /** |
2315 | 2413 | * @description |
2414 | + * 权限 | |
2415 | + */ | |
2416 | + permissions?: Array<string>; | |
2417 | + /** | |
2418 | + * @description | |
2316 | 2419 | * 申请备注 |
2317 | 2420 | */ |
2318 | 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 | 2440 | export interface ResearchGroupMemberRequestsRequest { |
... | ... | @@ -2787,6 +2906,76 @@ export interface TsgFile { |
2787 | 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 | 2979 | export interface SalesRechargePrepaymentAuditRequest { |
2791 | 2980 | /** |
2792 | 2981 | * @description | ... | ... |
src/services/request.ts
... | ... | @@ -10452,7 +10452,7 @@ export type PostResearchGroupMemberRequestsAddResponseSuccess = |
10452 | 10452 | /** |
10453 | 10453 | * @description |
10454 | 10454 | * 新增申请信息 |
10455 | - * @tags research-group-member-requests-controller | |
10455 | + * @tags research-group-request-controller | |
10456 | 10456 | * @produces * |
10457 | 10457 | * @consumes application/json |
10458 | 10458 | */ |
... | ... | @@ -10523,7 +10523,7 @@ export type PostResearchGroupMemberRequestsDeleteResponseSuccess = |
10523 | 10523 | /** |
10524 | 10524 | * @description |
10525 | 10525 | * 删除申请信息 |
10526 | - * @tags research-group-member-requests-controller | |
10526 | + * @tags research-group-request-controller | |
10527 | 10527 | * @produces * |
10528 | 10528 | * @consumes application/json |
10529 | 10529 | */ |
... | ... | @@ -10594,7 +10594,7 @@ export type PostResearchGroupMemberRequestsDetailResponseSuccess = |
10594 | 10594 | /** |
10595 | 10595 | * @description |
10596 | 10596 | * 查询申请信息 |
10597 | - * @tags research-group-member-requests-controller | |
10597 | + * @tags research-group-request-controller | |
10598 | 10598 | * @produces * |
10599 | 10599 | * @consumes application/json |
10600 | 10600 | */ |
... | ... | @@ -10665,7 +10665,7 @@ export type PostResearchGroupMemberRequestsEditResponseSuccess = |
10665 | 10665 | /** |
10666 | 10666 | * @description |
10667 | 10667 | * 编辑申请信息 |
10668 | - * @tags research-group-member-requests-controller | |
10668 | + * @tags research-group-request-controller | |
10669 | 10669 | * @produces * |
10670 | 10670 | * @consumes application/json |
10671 | 10671 | */ |
... | ... | @@ -10736,7 +10736,7 @@ export type PostResearchGroupMemberRequestsListResponseSuccess = |
10736 | 10736 | /** |
10737 | 10737 | * @description |
10738 | 10738 | * 申请列表 |
10739 | - * @tags research-group-member-requests-controller | |
10739 | + * @tags research-group-request-controller | |
10740 | 10740 | * @produces * |
10741 | 10741 | * @consumes application/json |
10742 | 10742 | */ |
... | ... | @@ -11635,6 +11635,60 @@ export const postServiceConstClientLevels = /* #__PURE__ */ (() => { |
11635 | 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 | 11692 | /** @description response type for postServiceConstTradeStatus */ |
11639 | 11693 | export interface PostServiceConstTradeStatusResponse { |
11640 | 11694 | /** | ... | ... |