办公模块阶段代码提交

init
gongdi 4 years ago
parent eeedb8cb6b
commit fb9a53197e

@ -36,7 +36,7 @@
:summary_Id="summaryList[2*index - 2 + i - 1]['summary_id']" :summary_Id="summaryList[2*index - 2 + i - 1]['summary_id']"
:read_flag="summaryList[2*index - 2 + i - 1]['leader_view_flag']" :read_flag="summaryList[2*index - 2 + i - 1]['leader_view_flag']"
:belong_type="tabIndex > 0?summaryList[2*index - 2 + i - 1]['summary_belong_type']:''" :belong_type="tabIndex > 0?summaryList[2*index - 2 + i - 1]['summary_belong_type']:''"
:callLeaderView="getCallLeaderView()" :call_leader_view="getCallLeaderView()"
@viewSummary="viewSummary" @viewSummary="viewSummary"
/> />
</div> </div>
@ -154,13 +154,8 @@
let year = resData.data.year; let year = resData.data.year;
let month = resData.data.month; let month = resData.data.month;
let day = resData.data.day; let day = resData.data.day;
if(this.typeId == 5){
this.currentDate = year + "-" + month + "-" + day; this.currentDate = year + "-" + month + "-" + day;
}else if (this.typeId == 4 || this.typeId == 3) {
this.currentDate = year;
}else {
this.currentDate = "";
}
this.getListSuperfusionWorkSummary(); this.getListSuperfusionWorkSummary();
} }
} }
@ -219,7 +214,7 @@
this.typeId = item.id; this.typeId = item.id;
this.typeValue = item.value; this.typeValue = item.value;
this.clearParam(); this.clearParam();
this.getNowDate(); this.getListSuperfusionWorkSummary();
} }
}, },
changeDate: function (date) { changeDate: function (date) {
@ -234,14 +229,15 @@
person_id: this.BaseConfig.userInfo.person_id, person_id: this.BaseConfig.userInfo.person_id,
page_number: this.pageNumber, page_number: this.pageNumber,
page_size: this.pageSize, page_size: this.pageSize,
anchor_point_info:this.currentDate
} }
if (this.tabIndex == 0) { if (this.tabIndex == 0) {
param.summary_belong_type = 1; param.summary_belong_type = 1;
} else if (this.tabIndex == 1) { } else if (this.tabIndex == 1) {
param.summary_belong_type = 2; param.summary_belong_type = 2;
param.anchor_point_info = this.currentDate;
} else if (this.tabIndex == 2) { } else if (this.tabIndex == 2) {
param.summary_belong_type = 3; param.summary_belong_type = 3;
param.anchor_point_info = this.currentDate;
} }
this.showLoading = true; this.showLoading = true;
this.InterfaceConfig.callInterface([{ this.InterfaceConfig.callInterface([{

Loading…
Cancel
Save