From a65db18c9ed01edf9ffc13a6b05827010de53a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Sat, 5 Mar 2022 14:39:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xm/core/xmProduct/XmProductMng.vue | 7 +-- .../xm/core/xmProduct/XmProductRecycle.vue | 2 +- .../xm/core/xmProduct/XmProductTplMng.vue | 58 ++++++++++++++----- 3 files changed, 46 insertions(+), 21 deletions(-) diff --git a/src/views/xm/core/xmProduct/XmProductMng.vue b/src/views/xm/core/xmProduct/XmProductMng.vue index eb0e981b..61032bfe 100644 --- a/src/views/xm/core/xmProduct/XmProductMng.vue +++ b/src/views/xm/core/xmProduct/XmProductMng.vue @@ -424,12 +424,7 @@ import XmProductSelect from './XmProductSelect.vue'; if(tips.isOk){ this.pageInfo.total = res.data.total; this.pageInfo.count=false; - this.xmProducts = res.data.data; - if(this.xmProducts==null || this.xmProducts.length==0){ - this.templateVisible=true; - }else{ - this.templateVisible=false; - } + this.xmProducts = res.data.data; }else{ this.$notify({showClose: true, message: tips.msg, type: 'error' }); } diff --git a/src/views/xm/core/xmProduct/XmProductRecycle.vue b/src/views/xm/core/xmProduct/XmProductRecycle.vue index 739fc582..25ccc2dd 100644 --- a/src/views/xm/core/xmProduct/XmProductRecycle.vue +++ b/src/views/xm/core/xmProduct/XmProductRecycle.vue @@ -254,7 +254,7 @@ if(this.xmIteration){ params.iterationId=this.xmIteration.id } - + params.del="1" params.queryScope=this.filters.queryScope if(this.filters.queryScope=='productId'){ if(!this.filters.id){ diff --git a/src/views/xm/core/xmProduct/XmProductTplMng.vue b/src/views/xm/core/xmProduct/XmProductTplMng.vue index ac45bf67..2b3e041c 100644 --- a/src/views/xm/core/xmProduct/XmProductTplMng.vue +++ b/src/views/xm/core/xmProduct/XmProductTplMng.vue @@ -17,25 +17,37 @@ - + - + - - - - - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + +