+
回款
+
+ 取消登记
+
@@ -191,6 +201,7 @@ import { removeNullField } from '@/utils'
import { useAppStore } from '@/store/modules/app'
const appStore = useAppStore()
+const message = useMessage() // 消息弹窗
const allSchemas = ref({})
@@ -297,6 +308,21 @@ function feeBack(row) {
feedbackDialog.value.open(row.signId)
}
+// 取消登记
+async function cancelDeal(row) {
+ try {
+ // 二次确认
+ await message.confirm('是否确认取消登记该线索?')
+ // 发起删除
+ await SignApi.cancelDeal(row.signId)
+ message.success('取消登记成功!')
+ // 刷新列表
+ await getTableList()
+ } catch (err) {
+ console.log(err)
+ }
+}
+
function changeSchool() {
searchForm.value.signPlace = undefined
searchForm.value.signClass = undefined
diff --git a/src/views/Clue/Order/Comp/Reback.vue b/src/views/Clue/Order/Comp/Reback.vue
index 26be7e2..74c6903 100644
--- a/src/views/Clue/Order/Comp/Reback.vue
+++ b/src/views/Clue/Order/Comp/Reback.vue
@@ -188,7 +188,7 @@ async function getList() {
const batchIds = ref([])
function handleSelectionChange(val) {
- batchIds.value = val
+ batchIds.value = val.map((it) => it.id)
}
const batchAuditDialog = ref()
diff --git a/src/views/Clue/Pool/Comp/DrawerClue.vue b/src/views/Clue/Pool/Comp/DrawerClue.vue
index 1147c6b..9bbff93 100644
--- a/src/views/Clue/Pool/Comp/DrawerClue.vue
+++ b/src/views/Clue/Pool/Comp/DrawerClue.vue
@@ -99,7 +99,8 @@
操作人:{{ item.operateUserName }}
- {{ item.content }}
+
+
diff --git a/src/views/Clue/Pool/index.vue b/src/views/Clue/Pool/index.vue
index 99d1933..2b7d8c5 100644
--- a/src/views/Clue/Pool/index.vue
+++ b/src/views/Clue/Pool/index.vue
@@ -109,6 +109,7 @@
diff --git a/src/views/Clue/Set/index.vue b/src/views/Clue/Set/index.vue
index cdea82d..3428c33 100644
--- a/src/views/Clue/Set/index.vue
+++ b/src/views/Clue/Set/index.vue
@@ -10,20 +10,20 @@
-
-
+