Browse Source

日期参数进列表

V1.0
tianq 3 years ago
parent
commit
ba96b6536b
  1. 4
      src/views/dataBoard/sida/cpts/xqqd.vue
  2. 9
      src/views/dataBoard/sida/wt/eventList.vue
  3. 5
      src/views/dataBoard/sida/wt/hiddenDangerList.vue
  4. 4
      src/views/dataBoard/sida/wt/specialCategoryList.vue
  5. 4
      src/views/dataBoard/sida/xq/list.vue

4
src/views/dataBoard/sida/cpts/xqqd.vue

@ -73,7 +73,9 @@ export default {
query: {
org_id: this.orgId,
type: this.currentTab,
type2: item.name
type2: item.name,
start_date: this.searchDate[0],
end_date: this.searchDate[1]
}
});
},

9
src/views/dataBoard/sida/wt/eventList.vue

@ -127,9 +127,9 @@ export default {
this.org_id = getQueryPara('org_id');
this.listType = getQueryPara('type');
this.type2 = getQueryPara('type2');
this.searchDate = [getQueryPara('start_date'), getQueryPara('end_date')];
this.page_num = 1;
this.getDate();
// this.getDate();
this.init();
},
@ -142,9 +142,8 @@ export default {
var year = nowDate.getFullYear();
var month = nowDate.getMonth() + 1;
var day = nowDate.getDate();
console.log("nowDate",day)
console.log('nowDate', day);
this.searchDate = [`${year}-${1}-${1}`, `${year}-${month}-${day}`];
},
changList() {
this.type2 = '全部';
@ -166,7 +165,7 @@ export default {
},
handlePageNoChange(page_num) {
console.log("dddddd")
console.log('dddddd');
this.page_num = page_num;
this.getList();
},

5
src/views/dataBoard/sida/wt/hiddenDangerList.vue

@ -126,9 +126,9 @@ export default {
this.org_id = getQueryPara('org_id');
this.listType = getQueryPara('type');
this.type2 = getQueryPara('type2');
this.searchDate = [getQueryPara('start_date'), getQueryPara('end_date')];
this.page_num = 1;
this.getDate();
// this.getDate();
this.init();
},
@ -191,7 +191,6 @@ export default {
end_date,
org_id,
danger_name
}
},
{

4
src/views/dataBoard/sida/wt/specialCategoryList.vue

@ -142,9 +142,9 @@ export default {
this.org_id = getQueryPara('org_id');
this.listType = getQueryPara('type');
this.type2 = getQueryPara('type2');
this.searchDate = [getQueryPara('start_date'), getQueryPara('end_date')];
this.page_num = 1;
this.getDate();
// this.getDate();
this.init();
},

4
src/views/dataBoard/sida/xq/list.vue

@ -147,9 +147,9 @@ export default {
this.org_id = getQueryPara('org_id');
this.listType = getQueryPara('type');
this.type2 = getQueryPara('type2');
this.searchDate = [getQueryPara('start_date'), getQueryPara('end_date')];
this.page_num = 1;
this.getDate();
// this.getDate();
this.init();
},

Loading…
Cancel
Save