ZJQ修改参数合同管理员层级的账号导入,communityId应该为空
| | |
| | | |
| | | let param = new FormData(); |
| | | param.append("uploadFile", $that.importContractInfo.excelTemplate); |
| | | param.append('communityId', vc.getCurrentCommunity().communityId); |
| | | // 合同管理员层级的账号导入时,communityId应该为空 |
| | | param.append('communityId', ''); |
| | | param.append('userId', vc.getData('/nav/getUserInfo').userId) |
| | | param.append('importAdapt', "importContract"); |
| | | |
| | |
| | | // 构建表单数据,只需要四个参数 |
| | | var formData = new FormData(); |
| | | formData.append("uploadFile", file); // 添加Excel文件 |
| | | formData.append('communityId', vc.getCurrentCommunity().communityId); // 添加小区ID |
| | | // 合同管理员层级的账号导入时,communityId应该为空 |
| | | formData.append('communityId', ''); // 添加空的小区ID |
| | | formData.append('importAdapt', "importContractV2"); // 指定使用的导入适配器 |
| | | formData.append('userId', userId); // 添加userId参数(大写d) |
| | | |