|
@@ -50,6 +50,8 @@
|
|
|
<el-date-picker
|
|
|
v-model="conditionData.fadate"
|
|
|
type="year"
|
|
|
+ clearable
|
|
|
+ value-format="yyyy"
|
|
|
placeholder="选择年">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
@@ -125,15 +127,23 @@
|
|
|
<el-date-picker
|
|
|
v-model="conditionData.participantsDateS"
|
|
|
type="date"
|
|
|
+ clearable
|
|
|
style="width: 44%;"
|
|
|
- placeholder="选择日期">
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ placeholder="选择日期"
|
|
|
+ :picker-options="pickerOptionsS"
|
|
|
+ @blur="startDateBlur">
|
|
|
</el-date-picker>
|
|
|
-
|
|
|
<el-date-picker
|
|
|
v-model="conditionData.participantsDateE"
|
|
|
type="date"
|
|
|
+ clearable
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
style="width: 44%;"
|
|
|
- placeholder="选择日期">
|
|
|
+ placeholder="选择日期"
|
|
|
+ :picker-options="pickerOptionsE"
|
|
|
+ @blur="endDateBlur">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -382,7 +392,20 @@
|
|
|
conditionData:{
|
|
|
education:'',
|
|
|
},
|
|
|
- cyfDate:'',
|
|
|
+ pickerOptionsS: {
|
|
|
+ disabledDate:(time)=> {
|
|
|
+ if (this.conditionData.participantsDateE) {
|
|
|
+ return time.getTime() > new Date(this.conditionData.participantsDateE).getTime()
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ pickerOptionsE: {
|
|
|
+ disabledDate:(time)=> {
|
|
|
+ if (this.conditionData.participantsDateS) {
|
|
|
+ return time.getTime() < new Date(this.conditionData.participantsDateS).getTime() - 86400000
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
@@ -436,9 +459,9 @@
|
|
|
},
|
|
|
toUserInfoList(){
|
|
|
var that = this;
|
|
|
- // console.log(that.conditionData)
|
|
|
+ console.log(that.conditionData)
|
|
|
// this.$router.push({ path:'/userInfoList'})
|
|
|
- this.$router.push({ name:'UserInfoList',params:that.conditionData})
|
|
|
+ // this.$router.push({ name:'UserInfoList',params:that.conditionData})
|
|
|
},
|
|
|
// 客户年龄段性别分布
|
|
|
getAgeSexDis(){
|