From 44bbb892ce5b559d64f0295485fd44b5c7fc0987 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Wed, 03 Mar 2021 12:07:24 +0800
Subject: [PATCH] 错误调整
---
src/api/policeInformation/index.js | 23 +++++++++++++++++++++++
src/views/policeInformationDistribution/index.vue | 2 +-
2 files changed, 24 insertions(+), 1 deletions(-)
diff --git a/src/api/policeInformation/index.js b/src/api/policeInformation/index.js
index 730943a..166b89c 100644
--- a/src/api/policeInformation/index.js
+++ b/src/api/policeInformation/index.js
@@ -36,3 +36,26 @@
})
}
+export const getList = (current, size, params) => {
+ return request({
+ url: '/api/blade-jfpts/jingdan/jingdan/page',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ }
+ })
+}
+
+
+export const addP = (row) => {
+ return request({
+ url: '/api/blade-jfpts/jingdan/jingdan/submit',
+ method: 'post',
+ data: row
+ })
+}
+
+
+
diff --git a/src/views/policeInformationDistribution/index.vue b/src/views/policeInformationDistribution/index.vue
index b748444..4173e7e 100644
--- a/src/views/policeInformationDistribution/index.vue
+++ b/src/views/policeInformationDistribution/index.vue
@@ -81,7 +81,7 @@
update,
add,
getclient
-} from "@/api/policeInformation/distribution";
+} from "@/api/policeInformation/index";
import { mapGetters } from "vuex";
export default {
--
Gitblit v1.9.3