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