增加被访区域下拉框值api接口
This commit is contained in:
@@ -187,6 +187,18 @@ const appointmentDB = {
|
||||
return mapApiRecord(data) || null
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取被访部门/区域列表
|
||||
* @returns {Promise<Array>} 部门列表
|
||||
*/
|
||||
async getDepartmentSelector() {
|
||||
const data = await request({
|
||||
url: BASE_URL + API.DEPARTMENT_SELECTOR,
|
||||
method: 'GET'
|
||||
})
|
||||
return data || []
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取被访人列表
|
||||
* @param {string} department - 部门/区域编码
|
||||
|
||||
Reference in New Issue
Block a user