|
|
@@ -712,23 +712,26 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
seachdata () {
|
|
|
- console.log("this.SurveyDateStart", this.SurveyDateStart)
|
|
|
- console.log("this.SurveyDateEnd", this.SurveyDateEnd)
|
|
|
this.dialogVisible = false
|
|
|
this.currentPage = 1
|
|
|
this.SurveyDate = []
|
|
|
+ this.CreateOn = []
|
|
|
if ((this.SurveyDateStart != '' && this.SurveyDateEnd == '') || (this.SurveyDateStart == '' && this.SurveyDateEnd != '')) {
|
|
|
this.$message.error('请输入完整采集日期!')
|
|
|
+ return
|
|
|
} else if (this.SurveyDateStart > this.SurveyDateEnd) {
|
|
|
this.$message.error('开始日期不能大于结束日期,请重新输入!')
|
|
|
+ return
|
|
|
} else if (this.SurveyDateStart != '' && this.SurveyDateEnd != ''){
|
|
|
this.SurveyDate.push(this.SurveyDateStart)
|
|
|
this.SurveyDate.push(this.SurveyDateEnd)
|
|
|
}
|
|
|
if ((this.CreateOnStart != '' && this.CreateOnEnd == '') || (this.CreateOnStart == '' && this.CreateOnEnd != '')) {
|
|
|
this.$message.error('请输入完整创建日期!')
|
|
|
+ return
|
|
|
} else if (this.CreateOnStart > this.CreateOnEnd) {
|
|
|
this.$message.error('开始日期不能大于结束日期,请重新输入!')
|
|
|
+ return
|
|
|
} else if (this.CreateOnStart != '' && this.CreateOnEnd != ''){
|
|
|
this.CreateOn.push(this.CreateOnStart)
|
|
|
this.CreateOn.push(this.CreateOnEnd)
|
|
|
@@ -896,7 +899,7 @@ export default {
|
|
|
project_name: this.searchform.ProjectName,
|
|
|
auditor_status: this.searchform.AuditorStatus,
|
|
|
auditor_name: this.searchform.AuditorName,
|
|
|
- create_on: (this.CreateOn).join(','),
|
|
|
+ create_on: this.CreateOn[0] / 1000 + ',' + this.CreateOn[1] / 1000,
|
|
|
show_column: showcolumnarr + '',
|
|
|
show_column_name: showcolumnnamearr + '',
|
|
|
type: 'SampleSource'
|