|
@@ -36,6 +36,8 @@ const reRecognize = () => {
|
|
|
|
|
|
const exportData = () => {
|
|
|
handleRequest(async () => {
|
|
|
+ await protocolContentRef.value?.isAtLeastOneParam();
|
|
|
+
|
|
|
const { id } = props.form.protocolInfo;
|
|
|
|
|
|
if (id) {
|
|
@@ -55,6 +57,7 @@ const protocolContentRef = useTemplateRef('protocolContent');
|
|
|
|
|
|
const finish = async () => {
|
|
|
await protocolContentRef.value?.validateProtocolInfo();
|
|
|
+ await protocolContentRef.value?.isAtLeastOneParam();
|
|
|
await updateProtocolBaseInfo(props.form.protocolInfo);
|
|
|
await completeProtocolConfig(props.form.protocolInfo.id as number);
|
|
|
};
|