|
|
@@ -1374,21 +1374,21 @@ export default {
|
|
|
if (saiLevel == 1 && this.saiCategoryOptions[i].dictLabel.indexOf("-1-") != -1) {
|
|
|
let saiCategoryOption = {
|
|
|
dictValue: this.saiCategoryOptions[i].dictValue,
|
|
|
- dictLabel: this.saiCategoryOptions[i].dictLabel,
|
|
|
+ dictLabel: this.saiCategoryOptions[i].dictLabel.substring(0, 30) + "...)",
|
|
|
};
|
|
|
saiCategoryOptionsTemp.push(saiCategoryOption);
|
|
|
}
|
|
|
if (saiLevel == 2 && this.saiCategoryOptions[i].dictLabel.indexOf("-2-") != -1) {
|
|
|
let saiCategoryOption = {
|
|
|
dictValue: this.saiCategoryOptions[i].dictValue,
|
|
|
- dictLabel: this.saiCategoryOptions[i].dictLabel,
|
|
|
+ dictLabel: this.saiCategoryOptions[i].dictLabel.substring(0, 30) + "...)",
|
|
|
};
|
|
|
saiCategoryOptionsTemp.push(saiCategoryOption);
|
|
|
}
|
|
|
if (saiLevel == 3 && this.saiCategoryOptions[i].dictLabel.indexOf("-3-") != -1) {
|
|
|
let saiCategoryOption = {
|
|
|
dictValue: this.saiCategoryOptions[i].dictValue,
|
|
|
- dictLabel: this.saiCategoryOptions[i].dictLabel,
|
|
|
+ dictLabel: this.saiCategoryOptions[i].dictLabel.substring(0, 30) + "...)",
|
|
|
};
|
|
|
saiCategoryOptionsTemp.push(saiCategoryOption);
|
|
|
}
|
|
|
@@ -1426,11 +1426,11 @@ export default {
|
|
|
for (let i = 0; i < data.length; i++) {
|
|
|
if (data[i].saiCategoryName != null && data[i].saiCategoryName != "") {
|
|
|
this.saiCategoryOptions.push({
|
|
|
- dictLabel: data[i].saiCategoryName + "(" + data[i].saiCategoryDescription + ")",
|
|
|
+ dictLabel: data[i].saiCategoryName + " (" + data[i].saiCategoryDescription.substring(0, 30) + "...)",
|
|
|
dictValue: data[i].saiCategoryId
|
|
|
});
|
|
|
this.saiCategoryOptions2.push({
|
|
|
- dictLabel: data[i].saiCategoryName + "(" + data[i].saiCategoryDescription + ")",
|
|
|
+ dictLabel: data[i].saiCategoryName + " (" + data[i].saiCategoryDescription.substring(0, 30) + "...)",
|
|
|
dictValue: data[i].saiCategoryId
|
|
|
});
|
|
|
}
|