diff --git a/config/index.js b/config/index.js index 971d8a40..dc6777d2 100644 --- a/config/index.js +++ b/config/index.js @@ -11,7 +11,7 @@ module.exports = { assetsSubDirectory: '', assetsPublicPath: '/', proxyTable: { - /** + '/api/m1/xm': { target: 'http://localhost:7067', changeOrigin: true, @@ -19,7 +19,7 @@ module.exports = { '^/api/m1/xm': '/xm' } }, - + /** '/api/m1/workflow': { target: 'http://localhost:7080', changeOrigin: true, diff --git a/src/views/xm/core/xmIteration/XmIterationMng.vue b/src/views/xm/core/xmIteration/XmIterationMng.vue index 2b4cb7af..9d5028e1 100644 --- a/src/views/xm/core/xmIteration/XmIterationMng.vue +++ b/src/views/xm/core/xmIteration/XmIterationMng.vue @@ -11,7 +11,7 @@ @@ -54,7 +54,7 @@ range-separator="至" start-placeholder="开始日期" end-placeholder="完成日期" - value-format="yyyy-MM-dd" + value-format="yyyy-MM-dd HH:mm:ss" :default-time="['00:00:00','23:59:59']" :picker-options="pickerOptions" > @@ -175,13 +175,8 @@ import XmIterationSelect from './XmIterationSelect.vue'; id:'',//迭代编号 }, pickerOptions: util.pickerOptions('datarange'), - dateRanger: [ - util.formatDate.format(beginDate, "yyyy-MM-dd"), - util.formatDate.format(endDate, "yyyy-MM-dd") - ],//创建时间选择范围 - dateRangerOnline: [ - util.formatDate.format(beginDate, "yyyy-MM-dd"), - util.formatDate.format(endDate, "yyyy-MM-dd") + dateRanger: [ ],//创建时间选择范围 + dateRangerOnline: [ ],//上线时间选择范围 xmIterations: [],//查询结果 pageInfo:{//分页数据 @@ -265,11 +260,7 @@ import XmIterationSelect from './XmIterationSelect.vue'; pageNum: this.pageInfo.pageNum, total: this.pageInfo.total, count:this.pageInfo.count - }; - if(!this.dateRangerOnline || this.dateRangerOnline.length==0){ - this.$message({showClose: true, message: "上线日期范围不能为空", type: 'error' }); - return; - } + }; if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){ let orderBys=[]; for(var i=0;i { var tips=res.data.tips; diff --git a/src/views/xm/core/xmIteration/XmIterationSelect.vue b/src/views/xm/core/xmIteration/XmIterationSelect.vue index 3db23c18..cdd81dc5 100644 --- a/src/views/xm/core/xmIteration/XmIterationSelect.vue +++ b/src/views/xm/core/xmIteration/XmIterationSelect.vue @@ -36,7 +36,7 @@ range-separator="至" start-placeholder="开始日期" end-placeholder="完成日期" - value-format="yyyy-MM-dd" + value-format="yyyy-MM-dd HH:mm:ss" :default-time="['00:00:00','23:59:59']" :picker-options="pickerOptions" > @@ -114,9 +114,7 @@ id:'',//迭代编号 }, pickerOptions: util.pickerOptions('datarange'), - dateRangerOnline: [ - util.formatDate.format(beginDate, "yyyy-MM-dd"), - util.formatDate.format(endDate, "yyyy-MM-dd") + dateRangerOnline: [ ],//上线时间选择范围 xmIterations: [],//查询结果 pageInfo:{//分页数据 @@ -200,10 +198,6 @@ total: this.pageInfo.total, count:this.pageInfo.count }; - if(!this.dateRangerOnline || this.dateRangerOnline.length==0){ - this.$message({showClose: true, message: "上线日期范围不能为空", type: 'error' }); - return; - } if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){ let orderBys=[]; for(var i=0;i { var tips=res.data.tips; diff --git a/src/views/xm/core/xmMenu/XmMenuMng.vue b/src/views/xm/core/xmMenu/XmMenuMng.vue index 006216eb..b13a9e2f 100644 --- a/src/views/xm/core/xmMenu/XmMenuMng.vue +++ b/src/views/xm/core/xmMenu/XmMenuMng.vue @@ -9,20 +9,7 @@ - - + @@ -57,7 +44,7 @@ range-separator="至" start-placeholder="创建日期" end-placeholder="创建日期" - value-format="yyyy-MM-dd" + value-format="yyyy-MM-dd HH:mm:ss" :default-time="['00:00:00','23:59:59']" :picker-options="pickerOptions" > @@ -96,11 +83,11 @@ - +