update api位置修改

This commit is contained in:
赵霄
2023-09-28 17:40:33 +08:00
parent 279f0cee18
commit 0260157578
3 changed files with 6 additions and 8 deletions
+1 -6
View File
@@ -129,9 +129,6 @@ const getWorkGroupTreeList = (params) => getAction('/sys/lawsWorkingGroup/list',
// 企业级别映射管理,获取列表 // 企业级别映射管理,获取列表
const getEnterpriseLevelMapList = (params) => getAction('/sys/lawsGrade/list', params) const getEnterpriseLevelMapList = (params) => getAction('/sys/lawsGrade/list', params)
// 车型项目下拉数据
const getCarTypeProjectList = (params) => getAction('/projectLibrary/lawsProjectLibrary/queryList', params)
export { export {
addRole, addRole,
editRole, editRole,
@@ -205,8 +202,6 @@ export {
getWorkGroupTreeList, getWorkGroupTreeList,
getEnterpriseLevelMapList, getEnterpriseLevelMapList
getCarTypeProjectList
} }
+4 -1
View File
@@ -6,9 +6,12 @@ const addVehicleItemLibrary = (params) => postAction('/projectLibrary/lawsProjec
const editVehicleItemLibrary = (params) => postAction('/projectLibrary/lawsProjectLibrary/edit', params) const editVehicleItemLibrary = (params) => postAction('/projectLibrary/lawsProjectLibrary/edit', params)
// 车型项目库-通过id获取详情 // 车型项目库-通过id获取详情
const queryByIdVehicleItemLibrary = (params) => getAction('/projectLibrary/lawsProjectLibrary/queryById', params) const queryByIdVehicleItemLibrary = (params) => getAction('/projectLibrary/lawsProjectLibrary/queryById', params)
// 车型项目下拉数据
const getCarTypeProjectList = (params) => getAction('/projectLibrary/lawsProjectLibrary/queryList', params)
export { export {
addVehicleItemLibrary, addVehicleItemLibrary,
editVehicleItemLibrary, editVehicleItemLibrary,
queryByIdVehicleItemLibrary queryByIdVehicleItemLibrary,
getCarTypeProjectList
} }
@@ -67,7 +67,7 @@
<script> <script>
import { detailSubmitQuestion } from '@/api/enterpriseStandardLibraryApi' import { detailSubmitQuestion } from '@/api/enterpriseStandardLibraryApi'
import { getCarTypeProjectList } from '../../../../../api/api' import { getCarTypeProjectList } from '../../../../../api/projectLibraryApi.js'
import pick from 'lodash.pick' import pick from 'lodash.pick'
export default { export default {