|
@@ -3,7 +3,7 @@ import { storeToRefs } from 'pinia'
|
|
|
import useFlowStore from '@/store/modules/flow'
|
|
|
import { ref, nextTick, onMounted, computed, watch } from 'vue'
|
|
|
import UseSelect from '@/components/scWorkflow/select'
|
|
|
-import flowDefinition from '@/api/flow/definition'
|
|
|
+import group from '@/api/flow/group'
|
|
|
import { useRoute } from 'vue-router'
|
|
|
import { flowIconPrefix } from '@/utils/index'
|
|
|
const route = useRoute()
|
|
@@ -164,7 +164,7 @@ const delRole = (index, itemName) => {
|
|
|
}
|
|
|
|
|
|
const getGroupList = async () => {
|
|
|
- const data = await flowDefinition.flowDefinitionListCategoryApi({})
|
|
|
+ const data = await group.flowGroupListAllApi({})
|
|
|
options.value = data || []
|
|
|
}
|
|
|
|
|
@@ -251,7 +251,7 @@ defineExpose({
|
|
|
</el-form-item>
|
|
|
<el-form-item label="分组" prop="categoryId">
|
|
|
<el-select v-model="basicInfo.categoryId">
|
|
|
- <el-option v-for="item in options" :key="item.categoryId" :label="item.categoryName" :value="item.categoryId" />
|
|
|
+ <el-option v-for="item in options" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item v-if="false" label="谁可以发起该流程(不选择,默认全员)" prop="谁可以发起该流程">
|