完成:黄家明项目的开发并存档

This commit is contained in:
2025-06-20 19:55:23 +08:00
parent f83b856438
commit 1b143c0c1f
18 changed files with 1295 additions and 84 deletions

View File

@@ -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');
}
}
// 获取车辆列表