fix(工作流): 修复获取部门树列表获取失败问题。

This commit is contained in:
konbai
2022-09-20 23:39:05 +08:00
parent 13216dcb84
commit 150094ddac
2 changed files with 4 additions and 6 deletions

View File

@@ -120,9 +120,8 @@
</template>
<script>
import { listUser } from "@/api/system/user";
import { listUser, deptTreeSelect } from "@/api/system/user";
import { listRole } from "@/api/system/role";
import { treeselect } from '@/api/system/dept'
import TreeSelect from "@/components/TreeSelect";
const userTaskForm = {
@@ -248,7 +247,7 @@ export default {
getDeptOptions() {
return new Promise((resolve, reject) => {
if (!this.deptOptions || this.deptOptions.length <= 0) {
treeselect().then(response => {
deptTreeSelect().then(response => {
this.deptTempOptions = response.data;
this.deptOptions = response.data;
resolve()