diff --git a/src/api/system/dept.js b/src/api/system/dept.js
index 8bc4b6a..35c1427 100644
--- a/src/api/system/dept.js
+++ b/src/api/system/dept.js
@@ -8,6 +8,14 @@ export function getDeptList(query) {
})
}
+export function getOrdinaryDeptList(params) {
+ return request({
+ url: '/api/v1/ordinaryDeptList',
+ method: 'get',
+ params
+ })
+}
+
// 查询部门详细
export function getDept(deptId) {
return request({
diff --git a/src/components/wfd/components/DetailPanel/UserTaskDetail.vue b/src/components/wfd/components/DetailPanel/UserTaskDetail.vue
index 62cd193..28aff1a 100644
--- a/src/components/wfd/components/DetailPanel/UserTaskDetail.vue
+++ b/src/components/wfd/components/DetailPanel/UserTaskDetail.vue
@@ -24,12 +24,12 @@
:placeholder="i18n['userTask.assignType.placeholder']"
:value="model.assignType"
:disabled="readOnly"
- @change="(e) => { onChange('assignValue', []);onChange('assignType', e) }"
+ @change="(e) => { onChange('assignValue', []); onChange('assignType', e); assignmentType() }"
>