diff --git a/src/views/modules/worklog/index.vue b/src/views/modules/worklog/index.vue
index 9987d86b9..8358eaeee 100644
--- a/src/views/modules/worklog/index.vue
+++ b/src/views/modules/worklog/index.vue
@@ -6,7 +6,7 @@
@@ -14,26 +14,26 @@
+ v-model="postList" :options="root4SelectList1" @change="handleChangePost">
-
+
-
+
-
+
-
+
@@ -122,6 +122,8 @@ export default {
pageNo: 1,
total: 0,
postOptions: [],
+ partyOrgList: [],
+ postList: [],
timeRange: [],
tableData: [],
queryParams: {
@@ -263,8 +265,8 @@ export default {
return false
}
try {
- JSON.parse(str)
- return true
+ const result = JSON.parse(str)
+ return Array.isArray(result)
} catch (e) {
return false
}
@@ -295,8 +297,9 @@ export default {
// 重置
handleReset() {
this.$refs.ref_search_form.resetFields();
- this.queryParams.orgIdList = null
- this.queryParams.postIdList = null
+ this.partyOrgList = [];
+ this.postList = [];
+ this.timeRange = [];
this.handleSearch();
},