|
@@ -146,13 +146,13 @@
|
|
|
|
|
|
<script>
|
|
|
import Pagination from "@/components/Pagination";
|
|
|
-import areaMgrApi from "@/api/resourceProductMgr/areaMgr";
|
|
|
+import dispatchMgrApi from "@/api/Dispatch";
|
|
|
|
|
|
import elDragDialog from "@/directive/el-drag-dialog";
|
|
|
import { initDicts, initQueryParams } from "@/utils/commons";
|
|
|
import { convertEnum } from "@/utils/utils";
|
|
|
export default {
|
|
|
- name: "dispatchRecordMgr",
|
|
|
+ name: "dispatchExceptionMgr",
|
|
|
directives: { elDragDialog },
|
|
|
components: { Pagination },
|
|
|
props: {},
|
|
@@ -213,16 +213,16 @@ export default {
|
|
|
fetch(params = {}) {
|
|
|
this.loading = true;
|
|
|
if (this.queryParams.timeRange) {
|
|
|
- this.queryParams.map.createTime_st = this.queryParams.timeRange[0];
|
|
|
- this.queryParams.map.createTime_ed = this.queryParams.timeRange[1];
|
|
|
+ this.queryParams.map.operationTime_st = this.queryParams.timeRange[0];
|
|
|
+ this.queryParams.map.operationTime_ed = this.queryParams.timeRange[1];
|
|
|
}
|
|
|
|
|
|
this.queryParams.current = params.current
|
|
|
? params.current
|
|
|
: this.queryParams.current;
|
|
|
this.queryParams.size = params.size ? params.size : this.queryParams.size;
|
|
|
- areaMgrApi
|
|
|
- .page(this.queryParams)
|
|
|
+ dispatchMgrApi
|
|
|
+ .pageException(this.queryParams)
|
|
|
.then((response) => {
|
|
|
const res = response.data;
|
|
|
if (res.isSuccess) {
|