护理站的标签排序

This commit is contained in:
闫晓茹 2022-11-08 13:03:23 +08:00
parent 4cf7135f48
commit c3f580e112

View File

@ -710,7 +710,7 @@ export default {
looknurseStationLabel: [ looknurseStationLabel: [
{ {
labelDescription: "", labelDescription: "",
sort: "", labelSort: "",
ids: 1, ids: 1,
}, },
], ],
@ -842,7 +842,7 @@ export default {
this.looknurseStationLabel = [ this.looknurseStationLabel = [
{ {
labelDescription: "", labelDescription: "",
sort: "", labelSort: "",
ids: 1, ids: 1,
}, },
]; ];
@ -856,12 +856,14 @@ export default {
if (this.looknurseStationLabel.length == 5) { if (this.looknurseStationLabel.length == 5) {
this.$message.error("最多只能5条"); this.$message.error("最多只能5条");
} else { } else {
this.ids++; this.ids+=1;
var obj = { var obj = {
labelDescription: "", labelDescription: "",
sort: "", labelSort: "",
ids: this.ids, ids: this.ids,
}; };
this.looknurseStationLabel.push(obj); this.looknurseStationLabel.push(obj);
} }
console.log(this.looknurseStationLabel); console.log(this.looknurseStationLabel);
@ -1027,7 +1029,7 @@ export default {
this.looknurseStationLabel = [ this.looknurseStationLabel = [
{ {
labelDescription: "", labelDescription: "",
labelSort:"", labeSort:"",
ids: 1, ids: 1,
}, },
]; ];