|
@@ -52,7 +52,7 @@
|
|
|
<template #dropdown>
|
|
|
<el-dropdown-menu>
|
|
|
<el-dropdown-item @click="openPreview(item)">立即处理</el-dropdown-item>
|
|
|
- <el-dropdown-item v-yes-com:[ignore]="{ index }">忽略</el-dropdown-item>
|
|
|
+ <el-dropdown-item @click="ignore(index)">忽略</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</template>
|
|
|
</el-dropdown>
|
|
@@ -135,7 +135,6 @@ import frame255 from '~ass/home/Frame255.png'
|
|
|
import frameWarning from '~ass/home/warning.png'
|
|
|
import { formValidate, getArrValue, getObjValue } from 'js-fast-way'
|
|
|
import mainApi from '~api/home/index'
|
|
|
-import { reloadPage } from '~uti/tools'
|
|
|
|
|
|
const props = defineProps({
|
|
|
active: {
|
|
@@ -259,13 +258,11 @@ const agentDisposeSave = async () => {
|
|
|
}
|
|
|
|
|
|
//忽略
|
|
|
-const ignore = async ({ item }, resolve) => {
|
|
|
- const { index } = getObjValue(item)
|
|
|
+const ignore = async (index) => {
|
|
|
const { userOpinionId } = tableData.value[index]
|
|
|
const { isRes } = await mainApi.isIgnore({
|
|
|
userOpinionId : userOpinionId,
|
|
|
})
|
|
|
- resolve()
|
|
|
if (!isRes) return
|
|
|
window?.$message?.success('操作成功')
|
|
|
getLoadData(false)
|