Commit 49747718 by Wuyuqiu

Merge branch 'bochk-poc-1113' of http://192.168.0.110:11080/fukai/vue-gjjs into bochk-poc-1113

parents aac6a4e2 fc454106
...@@ -156,6 +156,7 @@ export default { ...@@ -156,6 +156,7 @@ export default {
let filterRoute = this.btnRouteMap.filter((item) => { let filterRoute = this.btnRouteMap.filter((item) => {
return item.label === btn.label return item.label === btn.label
}) })
this.$router.history.push({ this.$router.history.push({
path: filterRoute[0].route, path: filterRoute[0].route,
query: { query: {
......
...@@ -45,6 +45,7 @@ export default { ...@@ -45,6 +45,7 @@ export default {
let datetime = new Date(); let datetime = new Date();
datetime = datetime.setDate(datetime.getDate() - 10); datetime = datetime.setDate(datetime.getDate() - 10);
this.model.infcon.opndatfrom = new Date(datetime); this.model.infcon.opndatfrom = new Date(datetime);
this.model.infcon.opndatto = new Date();
} }
}, },
mounted () { mounted () {
......
...@@ -34,6 +34,9 @@ export default { ...@@ -34,6 +34,9 @@ export default {
params.brdgrp.rec.inr = null params.brdgrp.rec.inr = null
} }
const frmSpt = this.$route.query.frm||false; const frmSpt = this.$route.query.frm||false;
if(!frmSpt){
params.spt = {};
}
debugger debugger
const res = await Api.post('/service/litdck/init', { const res = await Api.post('/service/litdck/init', {
...params, ...params,
...@@ -41,7 +44,7 @@ export default { ...@@ -41,7 +44,7 @@ export default {
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
lidgrp:{ lidgrp:{
rec:{ rec:{
inr: frmSpt?this.$route.query.inr:null inr: !frmSpt ? this.$route.query.inr : null
} }
}, },
......
...@@ -22,10 +22,10 @@ export default { ...@@ -22,10 +22,10 @@ export default {
}, },
//点击查询按钮时,判断“来源”是否有数据 //点击查询按钮时,判断“来源”是否有数据
async handleSearch() { async handleSearch() {
if (!this.sourceList.length) { // if (!this.sourceList.length) {
this.$notify.error({ title: '错误', message: '来源不能为空!' }); // this.$notify.error({ title: '错误', message: '来源不能为空!' });
return; // return;
} // }
const params = { const params = {
...this.model, ...this.model,
sourceList: this.sourceList, sourceList: this.sourceList,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment