diff --git a/src/views/xm/core/xmProduct/XmProductMng.vue b/src/views/xm/core/xmProduct/XmProductMng.vue
index abefa331..19f894b1 100644
--- a/src/views/xm/core/xmProduct/XmProductMng.vue
+++ b/src/views/xm/core/xmProduct/XmProductMng.vue
@@ -8,26 +8,9 @@
-
-
-
-
-
-
-
+
+ 查询
产品
@@ -138,49 +121,38 @@
-
+
- {{scope.row.productName}}
-
+ {{scope.row.productName}}
+
+
+
+
{{scope.row.finishRate}}%
- {{scope.row.pmUsername}}
-
+
-
-
-
+
+
+ {{scope.row.pmUsername}}
+
+
+
+
+
+
+
+
+
-
-
-
- 从任务汇总统计进度
-
-
- 产品报告
-
-
- 关联迭代计划查询
-
-
- 关联项目查询
-
-
- 关联任务查询
-
-
- 删除
-
-
-
-
+ 报告
+ 迭代
+ 项目
+ 任务
+ 删除
@@ -296,9 +268,7 @@ import XmProductSelect from './XmProductSelect.vue';
productStateVisible:false,
selectFiltersPmUserVisible:false,
tableHeight:300,
- dateRanger: [
- util.formatDate.format(beginDate, "yyyy-MM-dd"),
- util.formatDate.format(endDate, "yyyy-MM-dd")
+ dateRanger: [
],
pickerOptions: util.pickerOptions('datarange'),
projectVisible:false,
@@ -381,13 +351,10 @@ import XmProductSelect from './XmProductSelect.vue';
if(this.filters.queryScope=="branchId"){
params.branchId=this.userInfo.branchId
}
- if(!this.selProject && !this.xmIteration && this.filters.queryScope!='productId' && this.filters.queryScope!='compete'){
- if(!this.dateRanger || this.dateRanger.length==0){
- this.$message({showClose: true, message: "创建日期范围不能为空", type: 'error' });
- return;
- }
- params.ctimeStart=this.dateRanger[0]+" 00:00:00"
- params.ctimeEnd=this.dateRanger[1]+" 23:59:59"
+ if(this.dateRanger && this.dateRanger.length==2){
+
+ params.ctimeStart=this.dateRanger[0]
+ params.ctimeEnd=this.dateRanger[1]
}
if(this.xmIteration){
params.iterationId=this.xmIteration.id
diff --git a/src/views/xm/core/xmTask/XmTaskMng.vue b/src/views/xm/core/xmTask/XmTaskMng.vue
index db93ca26..003b3050 100644
--- a/src/views/xm/core/xmTask/XmTaskMng.vue
+++ b/src/views/xm/core/xmTask/XmTaskMng.vue
@@ -673,8 +673,6 @@ import XmProjectGroupSelect from '../xmProjectGroup/XmProjectGroupSelect.vue';
tableHeight:300,
productSelectVisible:false,
dateRanger: [
- util.formatDate.format(beginDate, "yyyy-MM-dd"),
- util.formatDate.format(endDate, "yyyy-MM-dd")
],
pickerOptions: util.pickerOptions('datarange'),
@@ -759,9 +757,9 @@ import XmProjectGroupSelect from '../xmProjectGroup/XmProjectGroupSelect.vue';
}
params.orderBy= orderBys.join(",")
}
- if(!this.dateRanger || this.dateRanger.length==0){
- this.$message({showClose: true, message: "创建日期范围不能为空", type: 'error' });
- return;
+ if(this.dateRanger && this.dateRanger.length==2){
+ params.createTimeStart=this.dateRanger[0]+" 00:00:00"
+ params.createTimeEnd=this.dateRanger[1]+" 23:59:59"
}
if(this.filters.taskType!="all" && this.filters.taskType!="" && this.filters.taskType!=null){
params.taskType=this.filters.taskType
@@ -822,8 +820,6 @@ import XmProjectGroupSelect from '../xmProjectGroup/XmProjectGroupSelect.vue';
if(this.xmIteration){
params.iterationId=this.xmIteration.id
}
- params.createTimeStart=this.dateRanger[0]+" 00:00:00"
- params.createTimeEnd=this.dateRanger[1]+" 23:59:59"
getTask(params).then((res) => {
var tips=res.data.tips;
if(tips.isOk){