update: 通知模板未选配置不查收信部门和收信人
This commit is contained in:
parent
ea98e6c788
commit
310cf92c57
|
@ -30,6 +30,7 @@ const _value = computed({
|
|||
|
||||
const options = ref([]);
|
||||
const queryData = async () => {
|
||||
if (!props.configId) return;
|
||||
const { result } = await templateApi.getDept(props.type, props.configId);
|
||||
options.value = result.map((item: any) => ({
|
||||
label: item.name,
|
||||
|
|
|
@ -30,6 +30,7 @@ const _value = computed({
|
|||
|
||||
const options = ref([]);
|
||||
const queryData = async () => {
|
||||
if (!props.configId) return;
|
||||
const { result } = await templateApi.getTags(props.configId);
|
||||
options.value = result.map((item: any) => ({
|
||||
label: item.name,
|
||||
|
|
|
@ -30,6 +30,7 @@ const _value = computed({
|
|||
|
||||
const options = ref([]);
|
||||
const queryData = async () => {
|
||||
if (!props.configId) return;
|
||||
const { result } = await templateApi.getUser(props.type, props.configId);
|
||||
options.value = result.map((item: any) => ({
|
||||
label: item.name,
|
||||
|
|
Loading…
Reference in New Issue