@@ -516,6 +516,10 @@ export default {
|
||||
handleConfirm() {
|
||||
this.$refs["dicomConfigForm"].validate(async (valid) => {
|
||||
if (!valid) return;
|
||||
if (!this.form.IsTestOK)
|
||||
return this.$message.warning(
|
||||
this.$t("trials:dicomCfg:message:IsTestNo")
|
||||
);
|
||||
this.getConfigArr();
|
||||
this.confirmVisible = true;
|
||||
});
|
||||
@@ -525,6 +529,10 @@ export default {
|
||||
handleUpdate() {
|
||||
this.$refs["dicomConfigForm"].validate(async (valid) => {
|
||||
if (!valid) return;
|
||||
if (!this.form.IsTestOK)
|
||||
return this.$message.warning(
|
||||
this.$t("trials:dicomCfg:message:IsTestNo")
|
||||
);
|
||||
this.getConfigArr();
|
||||
this.updateVisible = true;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user