|
@@ -219,6 +219,11 @@ export default {
|
219
|
219
|
}
|
220
|
220
|
if (this.$route.params.type) {
|
221
|
221
|
this.type = this.$route.params.type;
|
|
222
|
+ if (this.type === "todo") {
|
|
223
|
+ this.searchType = "todo";
|
|
224
|
+ } else {
|
|
225
|
+ this.searchType = "userAll";
|
|
226
|
+ }
|
222
|
227
|
}
|
223
|
228
|
},
|
224
|
229
|
stateChange() {
|
|
@@ -273,8 +278,6 @@ export default {
|
273
|
278
|
formatDate(new Date(), "yyyy-MM-dd") + " 00:00:00";
|
274
|
279
|
postData.incident.acceptDateEnd =
|
275
|
280
|
formatDate(new Date(), "yyyy-MM-dd") + " 23:59:59";
|
276
|
|
- } else if (this.type === "todoAll") {
|
277
|
|
- postData.searchType = "todoAll";
|
278
|
281
|
}
|
279
|
282
|
|
280
|
283
|
that.$http
|