|
@@ -298,9 +298,11 @@ export default {
|
|
|
collectionAnswerlisd: [],
|
|
collectionAnswerlisd: [],
|
|
|
flagclick: true,
|
|
flagclick: true,
|
|
|
index: '',
|
|
index: '',
|
|
|
|
|
+ activaFlag: true,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
|
|
+ this.activaFlag = true;
|
|
|
// this.formData.startTime = this.GetPreMonthDay(this.parseTime(new Date(), '{y}-{m}-{d}'),2)
|
|
// this.formData.startTime = this.GetPreMonthDay(this.parseTime(new Date(), '{y}-{m}-{d}'),2)
|
|
|
this.formData.startTime = this.getThreeDaysAgo();
|
|
this.formData.startTime = this.getThreeDaysAgo();
|
|
|
// this.strtcurrentDate=new Date(this.GetPreMonthDay(this.parseTime(new Date(), '{y}-{m}-{d}'),2))
|
|
// this.strtcurrentDate=new Date(this.GetPreMonthDay(this.parseTime(new Date(), '{y}-{m}-{d}'),2))
|
|
@@ -451,8 +453,18 @@ export default {
|
|
|
for (var q = 0; q < collectionItemLists.length; q++) {
|
|
for (var q = 0; q < collectionItemLists.length; q++) {
|
|
|
collectionItemLists[q].answerName = undefined;
|
|
collectionItemLists[q].answerName = undefined;
|
|
|
// 公司
|
|
// 公司
|
|
|
- if (collectionItemLists[q].answerType == 'gs') {
|
|
|
|
|
- this.getDeptInfo('dept', 'gs', collectionItemLists[q].answerValue);
|
|
|
|
|
|
|
+ if (
|
|
|
|
|
+ (collectionItemLists[q].answerType == 'gs' ||
|
|
|
|
|
+ collectionItemLists[q].answerType == 'dq' ||
|
|
|
|
|
+ collectionItemLists[q].answerType == 'xsb') &&
|
|
|
|
|
+ this.activaFlag
|
|
|
|
|
+ ) {
|
|
|
|
|
+ this.activaFlag = false;
|
|
|
|
|
+ this.getDeptInfo(
|
|
|
|
|
+ 'dept',
|
|
|
|
|
+ collectionItemLists[q].answerType,
|
|
|
|
|
+ collectionItemLists[q].answerValue
|
|
|
|
|
+ );
|
|
|
}
|
|
}
|
|
|
// 单选
|
|
// 单选
|
|
|
if (
|
|
if (
|