|
|
@@ -108,7 +108,7 @@ async function handleView(row: any) {
|
|
108
|
108
|
isLicensable: String(res.isLicensable),
|
|
109
|
109
|
isRating: String(res.isRating),
|
|
110
|
110
|
isMust: String(res.isMust),
|
|
111
|
|
- executionMethod: String(res.executionMethod),
|
|
|
111
|
+ // executionMethod: String(res.executionMethod),
|
|
112
|
112
|
status: String(res.status),
|
|
113
|
113
|
isTiming: String(res.isTiming),
|
|
114
|
114
|
level: String(res.level),
|
|
|
@@ -137,11 +137,11 @@ async function handleEdit(row: any) {
|
|
137
|
137
|
isLicensable: String(res.isLicensable),
|
|
138
|
138
|
isRating: String(res.isRating),
|
|
139
|
139
|
isMust: String(res.isMust),
|
|
140
|
|
- executionMethod: String(res.executionMethod),
|
|
|
140
|
+ // executionMethod: String(res.executionMethod),
|
|
141
|
141
|
status: String(res.status),
|
|
142
|
142
|
isTiming: String(res.isTiming),
|
|
143
|
143
|
level: String(res.level),
|
|
144
|
|
- repel: Number(res.repel),
|
|
|
144
|
+ repel: res?.repel?.split(',').map(Number),
|
|
145
|
145
|
isCycleEnd: res?.isCycleEnd === 1 ? [true] : [],
|
|
146
|
146
|
standardGuidelineName: `${res?.knowledgeCategoryDetails?.name || ''}${res?.knowledgeContentDetails?.title ? '/' : ''}${res?.knowledgeContentDetails?.title || ''}`,
|
|
147
|
147
|
})
|
|
|
@@ -214,6 +214,9 @@ const handleConfirm = async (data: any) => {
|
|
214
|
214
|
data.endTimeDay = Number(data?.endTimeYearDay);
|
|
215
|
215
|
delete data.endTimeYearDay;
|
|
216
|
216
|
}
|
|
|
217
|
+ if(data.repel.length>0){
|
|
|
218
|
+ data.repel = data.repel.join(',');
|
|
|
219
|
+ }
|
|
217
|
220
|
// 根据是否包含 id 来决定调用新增接口还是编辑接口
|
|
218
|
221
|
if (data.id) {
|
|
219
|
222
|
// 编辑操作
|