Bläddra i källkod

提交导出按钮

master
风继续吹 1 år sedan
förälder
incheckning
728b627bd9
1 ändrade filer med 14 tillägg och 24 borttagningar
  1. +14
    -24
      src/views/Statistics/Insightintothedetails.vue

+ 14
- 24
src/views/Statistics/Insightintothedetails.vue Visa fil

@@ -154,8 +154,8 @@ export default {
input: "",
tableData: [],
fromobj: {
starttime: "",
endoftime: "",
staDate: "",
endDate: "",
name: "",
agentName: "",
projectId: localStorage.getItem("houseId"),
@@ -178,8 +178,8 @@ export default {
var isnull = this.$route.query.flag;
if (isnull.TimetoAhoose) this.TimetoAhoose = isnull.TimetoAhoose;
if (isnull.customtime) this.customtime = isnull.customtime;
this.fromobj.starttime = isnull.starttime;
this.fromobj.endoftime = isnull.endoftime;
this.fromobj.staDate = isnull.starttime;
this.fromobj.endDate = isnull.endoftime;
this.fromobj.projectId = isnull.houseId
this.fromobj.keywords = isnull.keywordsId;
if (!isnull.TimetoAhoose && isnull.starttime && isnull.endoftime) {
@@ -231,8 +231,8 @@ export default {
.findKeywords({
type: this.fromobj.type,
dateType: datatype,
statDateStart: this.fromobj.starttime,
statDateEnd: this.fromobj.endoftime,
statDateStart: this.fromobj.staDate,
statDateEnd: this.fromobj.endDate,
projectId: this.fromobj.projectId,
})
.then((res) => {
@@ -252,12 +252,7 @@ export default {
this.$api.http
.receptionRecord({
dateType: dateType,
staDate: this.fromobj.starttime,
endDate: this.fromobj.endoftime,
projectId: this.fromobj.projectId,
name: this.fromobj.name,
agentName: this.fromobj.agentName,
type: this.fromobj.type,
...this.fromobj,
time: 1,
keywordIds:
this.fromobj.keywordIds.length > 0
@@ -285,12 +280,7 @@ export default {
"洞察详情",
{
dateType: dateType,
staDate: this.fromobj.starttime,
endDate: this.fromobj.endoftime,
projectId: this.fromobj.projectId,
name: this.fromobj.name,
agentName: this.fromobj.agentName,
type: this.fromobj.type,
...this.fromobj,
time: 1,
keywordIds:
this.fromobj.keywordIds.length > 0
@@ -343,8 +333,8 @@ export default {
//清空筛选条件
Screeningofempty() {
this.TimetoAhoose = 2;
this.fromobj.starttime = "";
this.fromobj.endoftime = "";
this.fromobj.staDate = "";
this.fromobj.endDate = "";
this.fromobj.name = "";
this.fromobj.agentName = "";
this.fromobj.keywords = "";
@@ -357,8 +347,8 @@ export default {
//切换时间
tabtimetap(index) {
this.TimetoAhoose = index;
this.fromobj.starttime = "";
this.fromobj.endoftime = "";
this.fromobj.staDate = "";
this.fromobj.endDate = "";
this.customtime = [];
this.pageNum = 1;
this.receptionRecord();
@@ -366,8 +356,8 @@ export default {
//自定义时间
confirmtime() {
this.TimetoAhoose = 6;
this.fromobj.starttime = this.customtime[0];
this.fromobj.endoftime = this.customtime[1];
this.fromobj.staDate = this.customtime[0];
this.fromobj.endDate = this.customtime[1];
this.pageNum = 1;
this.receptionRecord();
},


Laddar…
Avbryt
Spara