|
@@ -153,7 +153,7 @@ const onDel = (row) => {
|
|
type: "warning",
|
|
type: "warning",
|
|
} as any).then(() => {
|
|
} as any).then(() => {
|
|
state.loading = true
|
|
state.loading = true
|
|
- synonymDelete(row.id).then(res => {
|
|
|
|
|
|
+ synonymDelete(row.swId).then(res => {
|
|
ElMessage.success('删除成功!')
|
|
ElMessage.success('删除成功!')
|
|
onSearch()
|
|
onSearch()
|
|
})
|
|
})
|
|
@@ -171,7 +171,7 @@ const onStart = (row) => {
|
|
type: "warning",
|
|
type: "warning",
|
|
} as any).then(() => {
|
|
} as any).then(() => {
|
|
state.loading = true
|
|
state.loading = true
|
|
- synonymStart(row.id).then(res => {
|
|
|
|
|
|
+ synonymStart(row.swId).then(res => {
|
|
ElMessage.success('启用成功!')
|
|
ElMessage.success('启用成功!')
|
|
onSearch()
|
|
onSearch()
|
|
})
|
|
})
|
|
@@ -189,7 +189,7 @@ const onStop = (row) => {
|
|
type: "warning",
|
|
type: "warning",
|
|
} as any).then(() => {
|
|
} as any).then(() => {
|
|
state.loading = true
|
|
state.loading = true
|
|
- synonymStop(row.id).then(res => {
|
|
|
|
|
|
+ synonymStop(row.swId).then(res => {
|
|
ElMessage.success('启用成功!')
|
|
ElMessage.success('启用成功!')
|
|
onSearch()
|
|
onSearch()
|
|
})
|
|
})
|