投诉类型接口添加参数
This commit is contained in:
@@ -104,8 +104,8 @@ export const submitQuestionnair = (id,data) => {
|
||||
}
|
||||
// =====投诉意见=======
|
||||
// 获取投诉类型
|
||||
export const getComplainType = () => {
|
||||
return get('/complain/getComplainType')
|
||||
export const getComplainType = (data) => {
|
||||
return post('/complain/getComplainType',data)
|
||||
}
|
||||
// 获取投诉列表
|
||||
export const getComplainList = (data) => {
|
||||
|
||||
@@ -174,8 +174,9 @@ onLoad(() => {
|
||||
|
||||
// 获取投诉类型
|
||||
const getSelectType = async () => {
|
||||
let params = {status:'0'}
|
||||
try {
|
||||
const res = await getComplainType()
|
||||
const res = await getComplainType(params)
|
||||
if (res.code === 200) {
|
||||
typeOptions.value = res.data || []
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user