su
su1124
2023-12-29 d10c7c728234b5a9098b7bd5bb7a914a14e33c20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import request from '@/utils/request'
 
// 查询问卷问题列表
export function listQuestion(query) {
    return request({
        url: '/hosp/question/list',
        method: 'get',
        params: query
    })
}
 
// 查询问卷问题详细
export function getQuestion(qid) {
    return request({
        url: '/hosp/question/' + qid,
        method: 'get'
    })
}
 
// 新增问卷问题
export function addQuestion(data) {
    return request({
        url: '/hosp/question',
        method: 'post',
        data: data
    })
}
 
// 修改问卷问题
export function updateQuestion(data) {
    return request({
        url: '/hosp/question',
        method: 'put',
        data: data
    })
}
 
// 删除问卷问题
export function delQuestion(qid) {
    return request({
        url: '/hosp/question/' + qid,
        method: 'delete'
    })
}