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 [
|
// 列表
|
||||||
{
|
export function getQuestionList(data = {}) {
|
||||||
path: '/questions/list',
|
return request({
|
||||||
name: 'QuestionsList',
|
method: 'post',
|
||||||
component: g('QuestionsList'),
|
url: getUrl('/sale/issue/getPrtIssueList', 1),
|
||||||
meta: {
|
data
|
||||||
title: '电投问题件',
|
})
|
||||||
index: 1
|
}
|
||||||
}
|
|
||||||
},
|
// 详情
|
||||||
{
|
export function getQuestionDetail(data = {}) {
|
||||||
path: '/questions/detail',
|
return request({
|
||||||
name: 'QuestionsDetail',
|
method: 'post',
|
||||||
component: g('QuestionsDetail'),
|
url: getUrl('/sale/issue/getPrtIssueDetail', 1),
|
||||||
meta: {
|
data
|
||||||
title: '问题处理',
|
})
|
||||||
index: 1
|
}
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/questions/result',
|
|
||||||
name: 'result',
|
|
||||||
component: g('Result'),
|
|
||||||
meta: {
|
|
||||||
title: '提交结果',
|
|
||||||
index: 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user