|
@@ -14,6 +14,7 @@
|
|
|
:opera="opera"
|
|
|
@view="toView"
|
|
|
@exam="toExam"
|
|
|
+ @follow="toFollow"
|
|
|
@delete="toDelete"
|
|
|
>
|
|
|
</custom-table>
|
|
@@ -82,6 +83,7 @@ const fields = [
|
|
|
]
|
|
|
const opera = [
|
|
|
{ label: t('common.view'), method: 'view' },
|
|
|
+ { label: t('common.follow'), method: 'follow' },
|
|
|
{ label: t('common.exam'), method: 'exam', type: 'warning', display: (i) => i.status === '0' },
|
|
|
{
|
|
|
label: t('common.delete'),
|
|
@@ -160,6 +162,10 @@ const toExamSave = async () => {
|
|
|
toClose()
|
|
|
}
|
|
|
}
|
|
|
+// 关注
|
|
|
+const toFollow = async (data) => {
|
|
|
+ console.log(data)
|
|
|
+}
|
|
|
const toClose = () => {
|
|
|
form.value = {}
|
|
|
dialog.value = { show: false }
|