|
|
@ -20,7 +20,10 @@ |
|
|
|
import { formSchema } from './application.data'; |
|
|
|
import { formSchema } from './application.data'; |
|
|
|
import { addPushApplication, editPushApplication, getPushApplication } from '/@/api/platform/common/controller/pushApplication'; |
|
|
|
import { addPushApplication, editPushApplication, getPushApplication } from '/@/api/platform/common/controller/pushApplication'; |
|
|
|
import { BasicModal, ModalProps, useModalInner } from '/@/components/Modal'; |
|
|
|
import { BasicModal, ModalProps, useModalInner } from '/@/components/Modal'; |
|
|
|
|
|
|
|
import { useUserStore } from '/@/store/modules/user'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const userStore = useUserStore(); |
|
|
|
|
|
|
|
const userInfoStore = userStore.getUserInfo; |
|
|
|
/** 通用变量统一声明区域 */ |
|
|
|
/** 通用变量统一声明区域 */ |
|
|
|
const tag = ref<Nullable<string>>(''); |
|
|
|
const tag = ref<Nullable<string>>(''); |
|
|
|
/** https://v3.cn.vuejs.org/api/options-data.html#emits */ |
|
|
|
/** https://v3.cn.vuejs.org/api/options-data.html#emits */ |
|
|
@ -43,6 +46,11 @@ |
|
|
|
{ |
|
|
|
{ |
|
|
|
field: 'messageSecret', |
|
|
|
field: 'messageSecret', |
|
|
|
ifShow: tag.value == 'edit' |
|
|
|
ifShow: tag.value == 'edit' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
field: 'userId', |
|
|
|
|
|
|
|
defaultValue: userInfoStore.id, |
|
|
|
|
|
|
|
ifShow: tag.value == 'edit' |
|
|
|
} |
|
|
|
} |
|
|
|
]); |
|
|
|
]); |
|
|
|
// 采用tag标签区分操作 |
|
|
|
// 采用tag标签区分操作 |
|
|
|