|
@@ -861,10 +861,32 @@ export default {
|
|
}
|
|
}
|
|
|
|
|
|
if (msgCount === 0 || !msgCount) {
|
|
if (msgCount === 0 || !msgCount) {
|
|
- this.$router.replace('/dataexport/nothing')
|
|
|
|
|
|
+ this.showDialog({
|
|
|
|
+ title: '提示',
|
|
|
|
+ message: '根据您的筛选条件,未匹配到数据',
|
|
|
|
+ confirmButtonText: '返回筛选'
|
|
|
|
+ }).then(() => {
|
|
|
|
+ this.backToFilter()
|
|
|
|
+ })
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ showDialog(conf = {}) {
|
|
|
|
+ const defaultConf = {
|
|
|
|
+ title: '',
|
|
|
|
+ message: '',
|
|
|
|
+ customClass: 'custom-message-box',
|
|
|
|
+ confirmButtonText: '我知道了',
|
|
|
|
+ confirmButtonClass: 'custom-confirm-btn',
|
|
|
|
+ cancelButtonClass: 'custom-cancel-btn',
|
|
|
|
+ showClose: false,
|
|
|
|
+ showCancelButton: false,
|
|
|
|
+ closeOnClickModal: false,
|
|
|
|
+ center: true
|
|
|
|
+ }
|
|
|
|
+ Object.assign(defaultConf, conf)
|
|
|
|
+ return this.$confirm(defaultConf.message, defaultConf.title, defaultConf)
|
|
|
|
+ },
|
|
async getGoodsPrice() {
|
|
async getGoodsPrice() {
|
|
const data = await getDataExportPrice()
|
|
const data = await getDataExportPrice()
|
|
|
|
|