Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage
This commit is contained in:
@@ -1257,4 +1257,6 @@ module.exports = {
|
|||||||
forward:'Forward',
|
forward:'Forward',
|
||||||
issuedBy:'Issued by',
|
issuedBy:'Issued by',
|
||||||
pleaseDecompositionStandardOrder:'Please import or bring in at least one decomposition standard order',
|
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',
|
||||||
}
|
}
|
||||||
@@ -1359,4 +1359,6 @@ module.exports = {
|
|||||||
forward:'转发',
|
forward:'转发',
|
||||||
issuedBy:'发布人',
|
issuedBy:'发布人',
|
||||||
pleaseDecompositionStandardOrder:'请导入或带入至少一条分解标准单',
|
pleaseDecompositionStandardOrder:'请导入或带入至少一条分解标准单',
|
||||||
|
currentlyTheFirstOneThatCannotMovedUp:'当前已是第一个无法进行上移',
|
||||||
|
currentlyTheLastOneCannotmovedDown:'当前已是最后一个无法进行下移',
|
||||||
}
|
}
|
||||||
+10
-2
@@ -163,7 +163,11 @@
|
|||||||
this.sortList.push(this.dataSource[index - 1])
|
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) {
|
moveDownClick(row, index) {
|
||||||
this.sortList = []
|
this.sortList = []
|
||||||
@@ -180,7 +184,11 @@
|
|||||||
this.sortList.push(this.dataSource[index + 1])
|
this.sortList.push(this.dataSource[index + 1])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.move()
|
if (this.sortList.length > 1) {
|
||||||
|
this.move()
|
||||||
|
} else {
|
||||||
|
this.$message.warning(this.$t('currentlyTheLastOneCannotmovedDown'))
|
||||||
|
}
|
||||||
},
|
},
|
||||||
move() {
|
move() {
|
||||||
postAction('/report/lawsMonthlyReportTitleTemplateEO/move', { lawsMonthlyReportTitleTemplateEOS: this.sortList }).then((res) => {
|
postAction('/report/lawsMonthlyReportTitleTemplateEO/move', { lawsMonthlyReportTitleTemplateEOS: this.sortList }).then((res) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user