完成:黄家明项目的开发并存档
This commit is contained in:
@@ -21,7 +21,7 @@ const List = () => {
|
||||
|
||||
const reload = () => {
|
||||
// 搜索条件
|
||||
const where = {status: 1,deleted: 0, keywords}
|
||||
const where = {status: 1, deleted: 0, keywords}
|
||||
// 判断身份
|
||||
const roleCode = Taro.getStorageSync('RoleCode');
|
||||
if(roleCode == 'kuaidiyuan'){
|
||||
@@ -33,8 +33,13 @@ const List = () => {
|
||||
where.organizationId = Taro.getStorageSync('OrganizationId');
|
||||
}
|
||||
if(roleCode == 'kuaidi'){
|
||||
// @ts-ignore
|
||||
where.organizationParentId = Taro.getStorageSync('OrganizationParentId');
|
||||
if(Taro.getStorageSync('OrganizationId') == Taro.getStorageSync('OrganizationParentId')){
|
||||
// @ts-ignore
|
||||
where.organizationParentId = Taro.getStorageSync('OrganizationParentId');
|
||||
}else {
|
||||
// @ts-ignore
|
||||
where.organizationId = Taro.getStorageSync('OrganizationId');
|
||||
}
|
||||
}
|
||||
|
||||
// 获取车辆列表
|
||||
|
||||
Reference in New Issue
Block a user