From defd43db1f1567cb370fdb667c862ac7352a920d Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 22 Oct 2021 16:38:41 +0800
Subject: [PATCH] 现场检查数据接口字段

---
 src/views/onSiteInspection/company.vue       |    8 ++--
 src/api/onSiteInspection/company.js          |    2 
 src/api/onSiteInspection/securityStaff.js    |    2 
 src/views/onSiteInspection/securityStaff.vue |   74 ++++++++++++++++++------------------
 4 files changed, 43 insertions(+), 43 deletions(-)

diff --git a/src/api/onSiteInspection/company.js b/src/api/onSiteInspection/company.js
index e78fa39..696d3ac 100644
--- a/src/api/onSiteInspection/company.js
+++ b/src/api/onSiteInspection/company.js
@@ -2,7 +2,7 @@
 
 export const getdata = (current, size, params) => {
     return request({
-        url: '/api/coinspect/list',
+        url: '/api/coinspect/page',
         method: 'get',
         params: {
             ...params,
diff --git a/src/api/onSiteInspection/securityStaff.js b/src/api/onSiteInspection/securityStaff.js
index 9f7a2a0..e8cea6b 100644
--- a/src/api/onSiteInspection/securityStaff.js
+++ b/src/api/onSiteInspection/securityStaff.js
@@ -2,7 +2,7 @@
 
 export const getdata = (current, size, params) => {
     return request({
-        url: '/api/seinspect/list',
+        url: '/api/seinspect/page',
         method: 'get',
         params: {
             ...params,
diff --git a/src/views/onSiteInspection/company.vue b/src/views/onSiteInspection/company.vue
index 851b419..0c41f00 100644
--- a/src/views/onSiteInspection/company.vue
+++ b/src/views/onSiteInspection/company.vue
@@ -2,7 +2,7 @@
  * @Author: Morpheus
  * @Date: 2021-07-07 17:30:05
  * @Last Modified by: liu
- * @Last Modified time: 2021-10-21 17:29:02
+ * @Last Modified time: 2021-10-22 16:38:09
  * menu-name 单位检查
  */
 <template>
@@ -74,7 +74,7 @@
         column: [
           {
             label: "检查人姓名",
-            prop: "name",
+            prop: "realName",
             searchLabelWidth: 90,
             searchSpan: 4,
             search: true,
@@ -83,7 +83,7 @@
           //
           {
             label: "被检查单位",
-            prop: "sname",
+            prop: "reviewedDeptName",
             searchLabelWidth: 90,
             searchSpan: 4,
             search: true,
@@ -94,7 +94,7 @@
           },
           {
             label: "检查人单位",
-            prop: "deptname",
+            prop: "examinerDeptName",
             searchLabelWidth: 90,
             searchSpan: 4,
             search: true,
diff --git a/src/views/onSiteInspection/securityStaff.vue b/src/views/onSiteInspection/securityStaff.vue
index e6bf538..7a1e13e 100644
--- a/src/views/onSiteInspection/securityStaff.vue
+++ b/src/views/onSiteInspection/securityStaff.vue
@@ -2,7 +2,7 @@
  * @Author: Morpheus
  * @Date: 2021-07-07 17:30:05
  * @Last Modified by: liu
- * @Last Modified time: 2021-10-21 17:28:35
+ * @Last Modified time: 2021-10-22 16:36:47
  * menu-name 保安员检查
  */
 <template>
@@ -97,7 +97,7 @@
           // },
           {
             label: "保安员姓名",
-            prop: "realname",
+            prop: "securityName",
             searchLabelWidth: 90,
             searchSpan: 4,
             search: true,
@@ -105,38 +105,38 @@
             //     editDisplay: false,
             //     addDisplay: false
           },
-          {
-            label: "身份证号",
-            prop: "carid",
-            // type: "select",
-            // labelWidth: 120,
-            // // display: false,
-            // dicData: dic,
-            // // props: {
-            // //   label: "label",
-            // //   value: "value",
-            // // },
-            // searchSpan: 5,
-            // search: true,
-            // width: 120,
-          },
+          // {
+          //   label: "身份证号",
+          //   prop: "carid",
+          //   // type: "select",
+          //   // labelWidth: 120,
+          //   // // display: false,
+          //   // dicData: dic,
+          //   // // props: {
+          //   // //   label: "label",
+          //   // //   value: "value",
+          //   // // },
+          //   // searchSpan: 5,
+          //   // search: true,
+          //   // width: 120,
+          // },
 
-          {
-            label: "保安员单位",
-            prop: "sname",
-            overHidden: true,
-            // type: "select",
-            // labelWidth: 120,
-            // // display: false,
-            // dicData: dic,
-            // // props: {
-            // //   label: "label",
-            // //   value: "value",
-            // // },
-            // searchSpan: 5,
-            // search: true,
-            // width: 120,
-          },
+          // {
+          //   label: "保安员单位",
+          //   prop: "sname",
+          //   overHidden: true,
+          //   // type: "select",
+          //   // labelWidth: 120,
+          //   // // display: false,
+          //   // dicData: dic,
+          //   // // props: {
+          //   // //   label: "label",
+          //   // //   value: "value",
+          //   // // },
+          //   // searchSpan: 5,
+          //   // search: true,
+          //   // width: 120,
+          // },
 
           // {
           //   label: "保安员证",
@@ -146,7 +146,7 @@
           // },
           {
             label: "检查人姓名",
-            prop: "inspectman",
+            prop: "realName",
             // display: false,
             searchLabelWidth: 90,
             searchSpan: 4,
@@ -166,7 +166,7 @@
           {
             label: "检查人单位",
             overHidden: true,
-            prop: "deptname",
+            prop: "examinerDeptName",
             searchLabelWidth: 90,
             searchSpan: 4,
             search: true,
@@ -210,13 +210,13 @@
           {
             label: "检查内容",
             overHidden: true,
-            prop: "insid",
+            prop: "content",
             // labelWidth: 120,
             // display: false,
           },
           {
             label: "检查结果",
-            prop: "examinationType",
+            prop: "result",
             searchLabelWidth: 90,
             searchSpan: 4,
             search: true,

--
Gitblit v1.9.3