Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing Details

uat_us
caiyiling 2024-06-14 14:44:36 +08:00
commit 111dd526d9
1 changed files with 16 additions and 11 deletions

View File

@ -896,9 +896,9 @@ export default {
renderFunc(h, option) {
return (
<span title={`${option.value} - ${option.raw.Description}`}>
{option.value} <span style="color:#ddd">-</span>{" "}
{option.raw.Description}
<span title={`${option.label} - ${option.raw.Description}`}>
{option.label} <span style="color:#ddd">-</span>{" "}
<span style="color:#999">{option.raw.Description}</span>
</span>
);
},
@ -913,10 +913,10 @@ export default {
[],
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;
},
handleSelectionChange(val) {
@ -936,6 +936,7 @@ export default {
},
handleSetModality() {
this.modalityListVisible = true;
console.log(this.form.ModalityList);
var a = this.$d.Modality.filter((v) => {
return !!this.form.ModalityList.find((v1) => {
return v1 === v.value;
@ -1256,10 +1257,14 @@ export default {
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("|");
let r = await this.getTrialBodyPartList();
if (r) {