| 
															
																@@ -226,7 +226,7 @@ const handleIntoBidsection = async (permission_type: 'contract' | 'safe' | 'qual 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  * @param type 规则类型
 
															 | 
															
															 | 
															
																  * @param type 规则类型
 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  */
 
															 | 
															
															 | 
															
																  */
 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 const handleAutoCode = async (bidsectionId: string, type: string) => {
 
															 | 
															
															 | 
															
																 const handleAutoCode = async (bidsectionId: string, type: string) => {
 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-  const { code = -1, data: { rule = '', newCode = '' } } = await apiAutoCode(bidsectionId, type)
 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+  const { code = -1, data: { rule = '', newCode = '' } = { rule: '', newCode: '' } } = await apiAutoCode(bidsectionId, type)
 
															 | 
														
													
												
													
														
															| 
															 | 
															
																   const ruleArr: string[] = []
 
															 | 
															
															 | 
															
																   const ruleArr: string[] = []
 
															 | 
														
													
												
													
														
															| 
															 | 
															
																   if (code === consts.RET_CODE.SUCCESS) {
 
															 | 
															
															 | 
															
																   if (code === consts.RET_CODE.SUCCESS) {
 
															 | 
														
													
												
													
														
															| 
															 | 
															
																       const code = JSON.parse(rule)
 
															 | 
															
															 | 
															
																       const code = JSON.parse(rule)
 
															 |