From 92005c9d1c4e6cb475c09639afc3c3c7c6cf968a Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Tue, 09 Mar 2021 10:17:56 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/jfpt-Vue

---
 src/api/policeInformation/index.js |   35 +++++++++++++++++++++++------------
 1 files changed, 23 insertions(+), 12 deletions(-)

diff --git a/src/api/policeInformation/index.js b/src/api/policeInformation/index.js
index 56c25ff..166b89c 100644
--- a/src/api/policeInformation/index.js
+++ b/src/api/policeInformation/index.js
@@ -1,17 +1,5 @@
 import request from '@/router/axios';
 
-export const getList = (current, size, params) => {
-  return request({
-    url: '/api/blade-jfpts/jingdan/jingdan/page',
-    method: 'get',
-    params: {
-      ...params,
-      current,
-      size,
-    }
-  })
-}
-
 export const remove = (ids) => {
   return request({
     url: '/api/blade-jfpts/alarm/alarm/remove',
@@ -48,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
+  })
+}
+
+
+

--
Gitblit v1.9.3