|
@@ -62,7 +62,7 @@
|
|
{{ vantFormVal.contactsIdName }}
|
|
{{ vantFormVal.contactsIdName }}
|
|
</template>
|
|
</template>
|
|
</van-field>
|
|
</van-field>
|
|
- <van-field v-model="vantFormVal.executorId" name="executorId" label="执行人" placeholder="请选择" is-link readonly class="resetStyles"
|
|
|
|
|
|
+ <van-field v-model="vantFormVal.executorId" name="executorId" label="执行人" placeholder="请选择" is-link readonly class="resetStyles" :disabled="!vantFormVal.priority && vantFormVal.priority != 0"
|
|
@click="showSelectionBox('executorId', allContactsList)">
|
|
@click="showSelectionBox('executorId', allContactsList)">
|
|
<template #input v-if="vantFormVal.executorIdName && vantFormVal.executorIdName.length > 0">
|
|
<template #input v-if="vantFormVal.executorIdName && vantFormVal.executorIdName.length > 0">
|
|
<TranslationComponent :openId="vantFormVal.executorIdName" />
|
|
<TranslationComponent :openId="vantFormVal.executorIdName" />
|
|
@@ -429,6 +429,11 @@ function initializeData() {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
formVal.value = props.formValue
|
|
formVal.value = props.formValue
|
|
|
|
+ if((taskType || taskType == 0) && taskType != 3) {
|
|
|
|
+ const filed = taskType == 0 ? 'customId' : taskType == 1 ? 'businessOpportunityId' : taskType == 2 ? 'orderId' : 'clueId'
|
|
|
|
+ const value = taskType == 0 ? customId : taskType == 1 ? businessOpportunityId : taskType == 2 ? orderId : clueId
|
|
|
|
+ getContactData(filed, value)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
useLifecycle({
|
|
useLifecycle({
|