mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-20 10:46:44 +08:00
修改问题件api
This commit is contained in:
@@ -1,31 +1,20 @@
|
||||
const g = filename => () => import(`@/views/ebiz/questions/${filename}.vue`)
|
||||
import request from '@/assets/js/utils/request'
|
||||
import getUrl from '@/assets/js/utils/get-url'
|
||||
|
||||
export default [
|
||||
{
|
||||
path: '/questions/list',
|
||||
name: 'QuestionsList',
|
||||
component: g('QuestionsList'),
|
||||
meta: {
|
||||
title: '电投问题件',
|
||||
index: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/questions/detail',
|
||||
name: 'QuestionsDetail',
|
||||
component: g('QuestionsDetail'),
|
||||
meta: {
|
||||
title: '问题处理',
|
||||
index: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/questions/result',
|
||||
name: 'result',
|
||||
component: g('Result'),
|
||||
meta: {
|
||||
title: '提交结果',
|
||||
index: 1
|
||||
}
|
||||
}
|
||||
]
|
||||
// 列表
|
||||
export function getQuestionList(data = {}) {
|
||||
return request({
|
||||
method: 'post',
|
||||
url: getUrl('/sale/issue/getPrtIssueList', 1),
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 详情
|
||||
export function getQuestionDetail(data = {}) {
|
||||
return request({
|
||||
method: 'post',
|
||||
url: getUrl('/sale/issue/getPrtIssueDetail', 1),
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user