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 getCarTypeProjectList = (params) => getAction('/projectLibrary/lawsProjectLibrary/queryList', params)
export {
addRole,
editRole,
@@ -205,8 +202,6 @@ export {
getWorkGroupTreeList,
getEnterpriseLevelMapList,
getCarTypeProjectList
getEnterpriseLevelMapList
}
+4 -1
View File
@@ -6,9 +6,12 @@ const addVehicleItemLibrary = (params) => postAction('/projectLibrary/lawsProjec
const editVehicleItemLibrary = (params) => postAction('/projectLibrary/lawsProjectLibrary/edit', params)
// 车型项目库-通过id获取详情
const queryByIdVehicleItemLibrary = (params) => getAction('/projectLibrary/lawsProjectLibrary/queryById', params)
// 车型项目下拉数据
const getCarTypeProjectList = (params) => getAction('/projectLibrary/lawsProjectLibrary/queryList', params)
export {
addVehicleItemLibrary,
editVehicleItemLibrary,
queryByIdVehicleItemLibrary
queryByIdVehicleItemLibrary,
getCarTypeProjectList
}
@@ -67,7 +67,7 @@
<script>
import { detailSubmitQuestion } from '@/api/enterpriseStandardLibraryApi'
import { getCarTypeProjectList } from '../../../../../api/api'
import { getCarTypeProjectList } from '../../../../../api/projectLibraryApi.js'
import pick from 'lodash.pick'
export default {