diff --git a/src/mixins/view-module.js b/src/mixins/view-module.js index e4f91c85..ffd43041 100644 --- a/src/mixins/view-module.js +++ b/src/mixins/view-module.js @@ -152,7 +152,7 @@ export default { }, // 时间段控件取值变化事件-清空一个其他都清空 changeTime (dateValue) { - if (dateValue === null || dateValue === '') { + if (dateValue === null || dateValue === '' || dateValue === 'null') { this.dataForm.startTime = '' this.dataForm.endTime = '' } diff --git a/src/views/modules/events/issue-process-list.vue b/src/views/modules/events/issue-process-list.vue index ec8d33ca..40e26264 100644 --- a/src/views/modules/events/issue-process-list.vue +++ b/src/views/modules/events/issue-process-list.vue @@ -12,7 +12,7 @@ :options="options" :props="{ checkStrictly: true }" clearable - style="width:250px;" + style="width:200px;" > @@ -22,11 +22,11 @@ placeholder="请输入议题编号" clearable @keyup.native="btKeyUpIssueCode" - style="width:250px;" + style="width:200px;" > - + @@ -51,7 +51,7 @@ placeholder="请输入议题提交人" clearable @keyup.native="btKeyUpNickName" - style="width:250px;" + style="width:200px;" >
@@ -64,7 +64,8 @@ value-format="yyyy-MM-dd" format="yyyy-MM-dd" placeholder="选择日期时间" - style="width:250px;" + style="width:200px" + @change="changeTime" > @@ -76,7 +77,8 @@ value-format="yyyy-MM-dd" format="yyyy-MM-dd" placeholder="选择日期时间" - style="width:250px;" + style="width:200px" + @change="changeTime" > diff --git a/src/views/modules/events/item-close-list.vue b/src/views/modules/events/item-close-list.vue index 17a4fd80..2cb945e2 100644 --- a/src/views/modules/events/item-close-list.vue +++ b/src/views/modules/events/item-close-list.vue @@ -64,6 +64,7 @@ format="yyyy-MM-dd" placeholder="选择日期时间" style="width:250px;" + @change="changeTime" > @@ -76,6 +77,7 @@ format="yyyy-MM-dd" placeholder="选择日期时间" style="width:250px;" + @change="changeTime" > diff --git a/src/views/modules/events/item-deal-list.vue b/src/views/modules/events/item-deal-list.vue index 7cd0d049..78d98c7a 100644 --- a/src/views/modules/events/item-deal-list.vue +++ b/src/views/modules/events/item-deal-list.vue @@ -63,7 +63,7 @@ value-format="yyyy-MM-dd" format="yyyy-MM-dd" placeholder="选择日期时间" - style="width:250px;" + style="width:250px;" @change="changeTime" > @@ -75,7 +75,7 @@ value-format="yyyy-MM-dd" format="yyyy-MM-dd" placeholder="选择日期时间" - style="width:250px;" + style="width:250px;" @change="changeTime" > diff --git a/src/views/modules/events/item-end-list.vue b/src/views/modules/events/item-end-list.vue index ade6f1d1..404d83a2 100644 --- a/src/views/modules/events/item-end-list.vue +++ b/src/views/modules/events/item-end-list.vue @@ -63,7 +63,7 @@ value-format="yyyy-MM-dd" format="yyyy-MM-dd" placeholder="选择日期时间" - style="width:250px;" + style="width:250px;" @change="changeTime" > @@ -75,7 +75,7 @@ value-format="yyyy-MM-dd" format="yyyy-MM-dd" placeholder="选择日期时间" - style="width:250px;" + style="width:250px;" @change="changeTime" > diff --git a/src/views/modules/workRecord/monthgridsort.vue b/src/views/modules/workRecord/monthgridsort.vue index 9317106b..d3a3b88e 100644 --- a/src/views/modules/workRecord/monthgridsort.vue +++ b/src/views/modules/workRecord/monthgridsort.vue @@ -26,7 +26,7 @@ value-format="yyyy-MM-dd" format="yyyy-MM-dd" placeholder="选择日期时间" - style="width:200px"> + style="width:200px" @change="changeTime"> @@ -36,7 +36,7 @@ value-format="yyyy-MM-dd" format="yyyy-MM-dd" placeholder="选择日期时间" - style="width:200px"> + style="width:200px" @change="changeTime">