From 82379f6ff9ddc28abb2a0e46bc97090ec049b6e9 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期二, 07 五月 2024 11:55:51 +0800
Subject: [PATCH] 新增人员状态、状态描述展示、设置操作

---
 src/api/question.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/api/question.js b/src/api/question.js
index f28d6ce..7d983a9 100644
--- a/src/api/question.js
+++ b/src/api/question.js
@@ -1,8 +1,10 @@
-import { post } from '@/utils/request'
+import { post, download } from '@/utils/request'
 
 export default {
   pageList: query => post('/api/admin/question/page', query),
   edit: query => post('/api/admin/question/edit', query),
   select: id => post('/api/admin/question/select/' + id),
-  deleteQuestion: id => post('/api/admin/question/delete/' + id)
+  deleteQuestion: id => post('/api/admin/question/delete/' + id),
+  downloadImportTemplate: () => download('/api/admin/question/download/question/import/temp'),
+  exportQuestion: query => download('/api/admin/question/question/export', query)
 }

--
Gitblit v1.8.0