Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
111dd526d9
|
@ -896,9 +896,9 @@ export default {
|
||||||
|
|
||||||
renderFunc(h, option) {
|
renderFunc(h, option) {
|
||||||
return (
|
return (
|
||||||
<span title={`${option.value} - ${option.raw.Description}`}>
|
<span title={`${option.label} - ${option.raw.Description}`}>
|
||||||
{option.value} <span style="color:#ddd">-</span>{" "}
|
{option.label} <span style="color:#ddd">-</span>{" "}
|
||||||
{option.raw.Description}
|
<span style="color:#999">{option.raw.Description}</span>
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
@ -913,10 +913,10 @@ export default {
|
||||||
[],
|
[],
|
||||||
this.selectedList.map((v) => v)
|
this.selectedList.map((v) => v)
|
||||||
);
|
);
|
||||||
this.form.ModalityListStr = this.form.ModalityList.toString().replaceAll(
|
let Modalitys = this.form.ModalityList.map((item) => {
|
||||||
",",
|
return this.$fd("Modality", item.trim());
|
||||||
" | "
|
});
|
||||||
);
|
this.form.ModalityListStr = Modalitys.toString().replaceAll(",", " | ");
|
||||||
this.modalityListVisible = false;
|
this.modalityListVisible = false;
|
||||||
},
|
},
|
||||||
handleSelectionChange(val) {
|
handleSelectionChange(val) {
|
||||||
|
@ -936,6 +936,7 @@ export default {
|
||||||
},
|
},
|
||||||
handleSetModality() {
|
handleSetModality() {
|
||||||
this.modalityListVisible = true;
|
this.modalityListVisible = true;
|
||||||
|
console.log(this.form.ModalityList);
|
||||||
var a = this.$d.Modality.filter((v) => {
|
var a = this.$d.Modality.filter((v) => {
|
||||||
return !!this.form.ModalityList.find((v1) => {
|
return !!this.form.ModalityList.find((v1) => {
|
||||||
return v1 === v.value;
|
return v1 === v.value;
|
||||||
|
@ -1256,10 +1257,14 @@ export default {
|
||||||
this.form[k] = res[k];
|
this.form[k] = res[k];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.form.ModalityListStr = this.form.ModalityList.toString().replaceAll(
|
let Modalitys = this.form.ModalityList.map((item) => {
|
||||||
",",
|
return this.$fd("Modality", item.trim());
|
||||||
" | "
|
});
|
||||||
);
|
this.form.ModalityListStr = Modalitys.toString().replaceAll(",", " | ");
|
||||||
|
// this.form.ModalityListStr = this.form.ModalityList.toString().replaceAll(
|
||||||
|
// ",",
|
||||||
|
// " | "
|
||||||
|
// );
|
||||||
this.form.BodyPartTypeList = this.form.BodyPartTypes.split("|");
|
this.form.BodyPartTypeList = this.form.BodyPartTypes.split("|");
|
||||||
let r = await this.getTrialBodyPartList();
|
let r = await this.getTrialBodyPartList();
|
||||||
if (r) {
|
if (r) {
|
||||||
|
|
Loading…
Reference in New Issue