feat: There is no way the

This commit is contained in:
super_liu
2021-08-18 17:56:12 +08:00
parent 131b49f3cc
commit 86b4186635
2 changed files with 8 additions and 11 deletions
@@ -2983,7 +2983,8 @@ export default {
// 查询二级菜单 // 查询二级菜单
selectMenu() { selectMenu() {
this.$http.get('sarResource/ts-resource/getList', { this.$http.get('sarResource/ts-resource/getList', {
sorDivide: 'INLAND_STAND' sorDivide: 'INLAND_STAND',
userId: this.$store.getters.userInfo.userId
}, {}, res => { }, {}, res => {
if (res.ok) { if (res.ok) {
this.treeList = res.data this.treeList = res.data
@@ -3207,7 +3208,7 @@ export default {
const exportURL = interfaceUrl + 'sarStandardsInfo/sar-standards-info/exportStandardsInfoExcel?' + const exportURL = interfaceUrl + 'sarStandardsInfo/sar-standards-info/exportStandardsInfoExcel?' +
'exportType=' + this.saveExportType + '&exportContent=' + this.selectedList.join(',') + '&exportName=' + this.exportName + '&standType=' + this.standType 'exportType=' + this.saveExportType + '&exportContent=' + this.selectedList.join(',') + '&exportName=' + this.exportName + '&standType=' + this.standType + '&userId=' + this.$store.getters.userInfo.userId
window.open(exportURL) window.open(exportURL)
this.$message.success('导出信息成功') this.$message.success('导出信息成功')
this.exportLoading = false this.exportLoading = false
@@ -3238,7 +3239,7 @@ export default {
// this.$message.success('导出信息成功') // this.$message.success('导出信息成功')
// //
window.open(interfaceUrl + 'sarStandardsInfo/sar-standards-info/exportStandardsInfoExcel?' + window.open(interfaceUrl + 'sarStandardsInfo/sar-standards-info/exportStandardsInfoExcel?' +
'exportType=' + this.saveExportType + '&exportContent=' + exportEOStr + '&exportName=' + this.exportName + '&standType=' + this.standType) 'exportType=' + this.saveExportType + '&exportContent=' + exportEOStr + '&exportName=' + this.exportName + '&standType=' + this.standType + '&userId=' + this.$store.getters.userInfo.userId)
this.$message.success('导出信息成功') this.$message.success('导出信息成功')
this.exportLoading = false this.exportLoading = false
} }
@@ -2691,7 +2691,8 @@ export default {
// 查询二级菜单 // 查询二级菜单
selectMenu () { selectMenu () {
this.$http.get('sarResource/ts-resource/getList', { this.$http.get('sarResource/ts-resource/getList', {
sorDivide: 'FOREIGN_STAND' sorDivide: 'FOREIGN_STAND',
userId: this.$store.getters.userInfo.userId
}, {}, res => { }, {}, res => {
if (res.ok) { if (res.ok) {
this.treeList = res.data this.treeList = res.data
@@ -2841,14 +2842,14 @@ export default {
if (this.saveExportType === 'apart') { if (this.saveExportType === 'apart') {
if (this.selectedList != null && this.selectedList !== '') { if (this.selectedList != null && this.selectedList !== '') {
const exportURL = interfaceUrl + 'sarStandardsInfo/sar-standards-info/exportStandardsInfoExcel?' + const exportURL = interfaceUrl + 'sarStandardsInfo/sar-standards-info/exportStandardsInfoExcel?' +
'exportType=' + this.saveExportType + '&exportContent=' + this.selectedList.join(',') + '&exportName=' + this.exportName + '&standType=' + this.standType 'exportType=' + this.saveExportType + '&exportContent=' + this.selectedList.join(',') + '&exportName=' + this.exportName + '&standType=' + this.standType + '&userId=' + this.$store.getters.userInfo.userId
window.open(exportURL) window.open(exportURL)
this.$message.success('导出信息成功') this.$message.success('导出信息成功')
} }
} else if (this.saveExportType === 'all') { } else if (this.saveExportType === 'all') {
let exportEOStr = JSON.stringify(this.SarExportSearchEo) let exportEOStr = JSON.stringify(this.SarExportSearchEo)
window.open(interfaceUrl+'sarStandardsInfo/sar-standards-info/exportStandardsInfoExcel?exportType=' + this.saveExportType + '&exportContent=' + exportEOStr + '&exportName=' + this.exportName + '&standType=' + this.standType) window.open(interfaceUrl+'sarStandardsInfo/sar-standards-info/exportStandardsInfoExcel?exportType=' + this.saveExportType + '&exportContent=' + exportEOStr + '&exportName=' + this.exportName + '&standType=' + this.standType+ '&userId=' + this.$store.getters.userInfo.userId)
this.$message.success('导出信息成功') this.$message.success('导出信息成功')
} }
this.exportModelFlag = false this.exportModelFlag = false
@@ -3302,11 +3303,6 @@ export default {
} }
formData.advanceSearchVOStr = JSON.stringify(advanceSearchVOList); formData.advanceSearchVOStr = JSON.stringify(advanceSearchVOList);
console.log("======")
console.log(formData.advanceSearchVOStr);
this.SarExportSearchEo = formData this.SarExportSearchEo = formData
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', formData, { this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', formData, {