修改禅道已知bug

This commit is contained in:
qq787203167
2022-08-11 17:09:00 +08:00
parent 799bbd1591
commit ecce14975f
3 changed files with 14 additions and 2 deletions
+2
View File
@@ -1257,4 +1257,6 @@ module.exports = {
forward:'Forward',
issuedBy:'Issued by',
pleaseDecompositionStandardOrder:'Please import or bring in at least one decomposition standard order',
currentlyTheFirstOneThatCannotMovedUp:'Currently the first one that cannot be moved up',
currentlyTheLastOneCannotmovedDown:'Currently the last one cannot be moved down',
}
+2
View File
@@ -1359,4 +1359,6 @@ module.exports = {
forward:'转发',
issuedBy:'发布人',
pleaseDecompositionStandardOrder:'请导入或带入至少一条分解标准单',
currentlyTheFirstOneThatCannotMovedUp:'当前已是第一个无法进行上移',
currentlyTheLastOneCannotmovedDown:'当前已是最后一个无法进行下移',
}
@@ -163,7 +163,11 @@
this.sortList.push(this.dataSource[index - 1])
}
}
this.move()
if (this.sortList.length > 1) {
this.move()
} else {
this.$message.warning(this.$t('currentlyTheFirstOneThatCannotMovedUp'))
}
},
moveDownClick(row, index) {
this.sortList = []
@@ -180,7 +184,11 @@
this.sortList.push(this.dataSource[index + 1])
}
}
this.move()
if (this.sortList.length > 1) {
this.move()
} else {
this.$message.warning(this.$t('currentlyTheLastOneCannotmovedDown'))
}
},
move() {
postAction('/report/lawsMonthlyReportTitleTemplateEO/move', { lawsMonthlyReportTitleTemplateEOS: this.sortList }).then((res) => {