法规预警推送加参数

This commit is contained in:
范强强
2022-09-01 10:55:14 +08:00
parent 531a88752a
commit b228cb9e19
2 changed files with 25 additions and 7 deletions
@@ -234,7 +234,13 @@
handleCompare() {
if (this.selectedRowKeys.length > 0) {
this.$nextTick(() => {
this.$refs.libraryPushRef.getPush(JSON.parse(JSON.stringify(this.selectedRowKeys)))
let flag = ''
if (this.activeTab == this.$t('ImplementationDate')) {
flag = 1
} else {
flag = 2
}
this.$refs.libraryPushRef.getPush(JSON.parse(JSON.stringify(this.selectedRowKeys)),flag)
})
} else {
this.$message.warning(this.$t('selectLeastOne'))