import request from '@/utils/httpRequest' import { ASSESS_PATH as prefix } from "../AppPath"; export default class CommonIssueService { list (params) { return request({ url: prefix + '/program/commonIssue/list', method: 'get', params: params }) } queryById (id) { return request({ url: prefix + '/program/commonIssue/queryById', method: 'get', params: { id: id } }) } save (inputForm) { return request({ url: prefix + '/program/commonIssue/save', method: 'post', data: inputForm }) } delete (ids) { return request({ url: prefix + '/program/commonIssue/delete', method: 'delete', params: { ids: ids } }) } getEnabledList (auditLevel) { return request({ url: prefix + '/program/commonIssue/getEnabledList', method: 'get', params: { auditLevel: auditLevel } }) } getTreeData () { return request({ url: prefix + '/program/commonIssue/getTreeData', method: 'get' }) } getCategoryList () { return request({ url: prefix + '/program/commonIssue/getCategoryList', method: 'get' }) } updateStatus (ids, status) { return request({ url: prefix + '/program/commonIssue/updateStatus', method: 'post', data: { ids: ids, status: status } }) } }