Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const ProjectModal = defineComponent({
</NFormItem>
<NFormItem label={t('project.list.owned_users')} path='userName'>
<NInput
disabled={this.statusRef === 0}
disabled={true}
v-model={[this.model.userName, 'value']}
placeholder={t('project.list.username_tips')}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
*/
import { ref, watch } from 'vue'
import { useI18n } from 'vue-i18n'
import type { IJsonItem } from '../types'
import { useTaskNodeStore } from '@/store/project/task-node'
import { queryProcessDefinitionByCode } from '@/service/modules/process-definition'
import type { IJsonItem } from '../types'

export function useSwitch(
model: { [field: string]: any },
projectCode: number
): IJsonItem[] {
const { t } = useI18n()
const branchFlowOptions = ref([] as any)

const taskStore = useTaskNodeStore()
const branchFlowOptions = ref(taskStore.postTaskOptions as any)
const loading = ref(false)

const getOtherTaskDefinitionList = async () => {
if (loading.value) return
loading.value = true
Expand Down