zmdms-webui 1.6.4 → 1.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,7 @@ import { message } from 'antd';
|
|
|
5
5
|
* 获取电子印章远程数据
|
|
6
6
|
*/
|
|
7
7
|
function useFetchQunjData(options) {
|
|
8
|
-
var request = options.request, needQj = options.needQj, flowId = options.flowId, companyTypes = options.companyTypes;
|
|
8
|
+
var request = options.request, needQj = options.needQj, flowId = options.flowId, companyTypes = options.companyTypes, deptId = options.deptId;
|
|
9
9
|
// 印章列表数据
|
|
10
10
|
var _a = useState(), qunjList = _a[0], setQunjList = _a[1];
|
|
11
11
|
// 获取群杰印章数据
|
|
@@ -45,10 +45,10 @@ function useFetchQunjData(options) {
|
|
|
45
45
|
message.info("请传入流程ID");
|
|
46
46
|
return;
|
|
47
47
|
}
|
|
48
|
-
getQunjList(flowId, { companyTypes: companyTypes }).then(function (res) {
|
|
48
|
+
getQunjList(flowId, { companyTypes: companyTypes, deptId: deptId }).then(function (res) {
|
|
49
49
|
setQunjList(res);
|
|
50
50
|
});
|
|
51
|
-
}, [needQj, flowId, getQunjList, companyTypes]);
|
|
51
|
+
}, [needQj, flowId, getQunjList, companyTypes, deptId]);
|
|
52
52
|
return {
|
|
53
53
|
/** 当前群杰列表数据 */
|
|
54
54
|
qunjList: qunjList,
|