Commit 5149f2ae authored by qiyaxin's avatar qiyaxin

fix(CCAP控制计划管理):事业部接口修改

parent c5062637
......@@ -8,10 +8,10 @@ export function getCCAPPlanList(query) {
params: query
})
}
// 查询所有事业部名称
// 查询事业部信息
export function getAllBusinessUnitName() {
return request({
url: '/control/unit/list',
url: '/control/unit/currentUnitInfo',
method: 'get',
})
}
......
......@@ -533,7 +533,7 @@
</el-col>
<el-col :span="12">
<div class="button-container">
<el-button style="width: 110px" class="btn-A" @click="compilationCompleted">{{ cn.search }}{{ en.search }}</el-button>
<el-button style="width: 110px" class="btn-A" @click="handleCompilationCompletedQuery">{{ cn.search }}{{ en.search }}</el-button>
<el-button style="width: 110px" class="btn-B" @click="resetCompilationCompletedQuery">{{ cn.reset }}{{ en.reset }}</el-button>
</div>
</el-col>
......
......@@ -937,7 +937,7 @@ function getALLUserDeptList(){
// 查询下拉框 获取所有事业部
function getAllBusinessUnit() {
getAllBusinessUnitName().then(res => {
businessList.value = res.rows
businessList.value = res.data
})
}
// 查询下拉框 获取所有车型代码
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment