From 52b8cf4516b2c8e11ffe4ca3cad365822bfebe35 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Sat, 18 Sep 2021 09:19:27 +0800
Subject: [PATCH] 实时营业执照
---
src/views/securityCompany/security.vue | 6 +-
src/views/securityCompany/computents/enclosure.vue | 2
src/views/securityCompany/armed.vue | 2
src/views/securityCompany/computents/punish.vue | 2
src/views/securityCompany/dispatch.vue | 6 +-
src/views/securityCompany/confess.vue | 6 +-
src/views/securityCompany/computents/service.vue | 2
src/views/securityCompany/regulatoryInformation.vue | 4 +-
src/views/securityCompany/computents/equipment.vue | 2
src/views/securityCompany/companyDetails.vue | 46 +++++++++++++++++-----
src/views/securityCompany/computents/staff.vue | 2
src/views/securityCompany/train.vue | 6 +-
src/views/securityCompany/securityCrossRegion.vue | 6 +-
13 files changed, 58 insertions(+), 34 deletions(-)
diff --git a/src/views/securityCompany/armed.vue b/src/views/securityCompany/armed.vue
index 50e1534..bedeb99 100644
--- a/src/views/securityCompany/armed.vue
+++ b/src/views/securityCompany/armed.vue
@@ -401,7 +401,7 @@
const data = res.data.data;
this.page.total = data.total;
this.data = data.records;
- console.log(this.data);
+ // console.log(this.data);
this.loading = false;
this.selectionClear();
});
diff --git a/src/views/securityCompany/companyDetails.vue b/src/views/securityCompany/companyDetails.vue
index ea92175..bb47c32 100644
--- a/src/views/securityCompany/companyDetails.vue
+++ b/src/views/securityCompany/companyDetails.vue
@@ -2,7 +2,7 @@
* @Author: Morpheus
* @Date: 2021-07-05 16:31:54
* @Last Modified by: liu
- * @Last Modified time: 2021-09-17 16:46:18
+ * @Last Modified time: 2021-09-18 09:16:59
* menu-name 保安公司详细资料
*/
<template>
@@ -374,6 +374,7 @@
var w = 160,
s = 12;
return {
+ finalDeptid: "",
businessLicenseUrl: "",
licenceUrl: "",
@@ -582,8 +583,14 @@
this.form = this.$route.query;
// console.log(this.$route.query, "this.$route.query.");
// console.log(this.form, "obj1");
- this.businessLicenseUrl = this.form.businessLicense;
- this.licenceUrl = this.form.licence;
+ this.finalDeptid = this.form.departmentid;
+ // console.log(this.finalDeptid, " this.finalDeptid");
+ // this.businessLicenseUrl = this.form.businessLicense;
+ // this.licenceUrl = this.form.licence;
+ this.getFromData({
+ currentPage: 1,
+ pageSize: 10,
+ });
}
// usejurisdiction().then((res) => {
// const data = res.data.data;
@@ -593,6 +600,16 @@
// });
},
methods: {
+ getFromData(page, params = {}) {
+ var that = this;
+ params["departmentid"] = this.finalDeptid;
+ getList(page.currentPage, page.pageSize, params).then((res) => {
+ // console.log(res.data.data.records[0], "多次获取该单位信息");
+ that.form = res.data.data.records[0];
+ this.businessLicenseUrl = res.data.data.records[0].businessLicense;
+ this.licenceUrl = res.data.data.records[0].licence;
+ });
+ },
// inspects(d, val) {
// var a = "";
// var doit = (d, val) => {
@@ -615,17 +632,24 @@
// return a;
// },
handleClick(tab) {
- if (tab.index == 1) {
+ if (tab.index == 2) {
this.investorSearchReset();
- } else if (tab.index == 2) {
- this.manageSearchReset();
} else if (tab.index == 3) {
- this.getHonorchData();
- } else if (tab.index == 4) {
- this.getTrainData();
- } else if (tab.index == 5) {
- this.getExaminationData();
+ this.manageSearchReset();
+ } else {
+ this.getFromData({
+ currentPage: 1,
+ pageSize: 10,
+ });
}
+ // else if (tab.index == 3) {
+ // this.getHonorchData();
+ // } else if (tab.index == 4) {
+ // this.getTrainData();
+ // } else if (tab.index == 5) {
+ // this.getExaminationData();
+ // }
+ //
},
getManifestationData() {
manifestationList(this.form.cardid).then((res) => {
diff --git a/src/views/securityCompany/computents/enclosure.vue b/src/views/securityCompany/computents/enclosure.vue
index 60e5300..2a342bb 100644
--- a/src/views/securityCompany/computents/enclosure.vue
+++ b/src/views/securityCompany/computents/enclosure.vue
@@ -389,7 +389,7 @@
const data = res.data.data;
this.page.total = data.total;
this.data = data.records;
- console.log(this.data, "getListeenclosure");
+ // console.log(this.data, "getListeenclosure");
this.loading = false;
this.selectionClear();
});
diff --git a/src/views/securityCompany/computents/equipment.vue b/src/views/securityCompany/computents/equipment.vue
index ec37f9c..5e8f660 100644
--- a/src/views/securityCompany/computents/equipment.vue
+++ b/src/views/securityCompany/computents/equipment.vue
@@ -195,7 +195,7 @@
this.equipmentPage.total = data.total;
this.equipmentData = data.records;
- console.log(this.equipmentData, "this.equipmentData");
+ // console.log(this.equipmentData, "this.equipmentData");
this.equipmentLoading = false;
this.$refs.equipmentCrud.refreshTable();
this.$refs.equipmentCrud.doLayout();
diff --git a/src/views/securityCompany/computents/punish.vue b/src/views/securityCompany/computents/punish.vue
index ba9b52a..dff98e7 100644
--- a/src/views/securityCompany/computents/punish.vue
+++ b/src/views/securityCompany/computents/punish.vue
@@ -123,7 +123,7 @@
this.punishPage.total = data.total;
this.punishData = data.records;
- console.log(this.punishData, "pu");
+ // console.log(this.punishData, "pu");
this.punishLoading = false;
this.$refs.punishCrud.refreshTable();
this.$refs.punishCrud.doLayout();
diff --git a/src/views/securityCompany/computents/service.vue b/src/views/securityCompany/computents/service.vue
index 2e74048..c4be985 100644
--- a/src/views/securityCompany/computents/service.vue
+++ b/src/views/securityCompany/computents/service.vue
@@ -182,7 +182,7 @@
this.servicePage.total = data.total;
this.serviceData = data.records;
- console.log(this.serviceData, "this.serviceData");
+ // console.log(this.serviceData, "this.serviceData");
this.serviceLoading = false;
this.$refs.serviceCrud.refreshTable();
this.$refs.serviceCrud.doLayout();
diff --git a/src/views/securityCompany/computents/staff.vue b/src/views/securityCompany/computents/staff.vue
index 41da349..ba958c9 100644
--- a/src/views/securityCompany/computents/staff.vue
+++ b/src/views/securityCompany/computents/staff.vue
@@ -274,7 +274,7 @@
this.staffPage.total = data.total;
this.staffData = data.records;
- console.log(this.staffData, "staffData");
+ // console.log(this.staffData, "staffData");
this.staffLoading = false;
this.$refs.staffCrud.refreshTable();
this.$refs.staffCrud.doLayout();
diff --git a/src/views/securityCompany/confess.vue b/src/views/securityCompany/confess.vue
index fa09112..af5ad58 100644
--- a/src/views/securityCompany/confess.vue
+++ b/src/views/securityCompany/confess.vue
@@ -1,8 +1,8 @@
/*
* @Author: Morpheus
* @Date: 2021-07-07 17:30:05
- * @Last Modified by: Morpheus
- * @Last Modified time: 2021-07-10 16:01:42
+ * @Last Modified by: liu
+ * @Last Modified time: 2021-09-18 09:14:24
* menu-name 保安服务公司查询
*/
<template>
@@ -401,7 +401,7 @@
const data = res.data.data;
this.page.total = data.total;
this.data = data.records;
- console.log(this.data);
+ // console.log(this.data);
this.loading = false;
this.selectionClear();
});
diff --git a/src/views/securityCompany/dispatch.vue b/src/views/securityCompany/dispatch.vue
index 6d7f22d..de6782f 100644
--- a/src/views/securityCompany/dispatch.vue
+++ b/src/views/securityCompany/dispatch.vue
@@ -1,8 +1,8 @@
/*
* @Author: Morpheus
* @Date: 2021-07-07 17:30:05
- * @Last Modified by: Morpheus
- * @Last Modified time: 2021-07-10 16:06:03
+ * @Last Modified by: liu
+ * @Last Modified time: 2021-09-18 09:14:26
* menu-name 派遣公司查询
*/
<template>
@@ -260,7 +260,7 @@
const data = res.data.data;
this.page.total = data.total;
this.data = data.records;
- console.log(this.data, "dis");
+ // console.log(this.data, "dis");
this.loading = false;
this.selectionClear();
});
diff --git a/src/views/securityCompany/regulatoryInformation.vue b/src/views/securityCompany/regulatoryInformation.vue
index 87741f4..7f1f12a 100644
--- a/src/views/securityCompany/regulatoryInformation.vue
+++ b/src/views/securityCompany/regulatoryInformation.vue
@@ -1,8 +1,8 @@
/*
* @Author: Morpheus
* @Date: 2021-07-07 17:30:05
- * @Last Modified by: Morpheus
- * @Last Modified time: 2021-07-10 16:06:14
+ * @Last Modified by: liu
+ * @Last Modified time: 2021-09-18 09:14:31
* menu-name 监管信息
*/
<template>
diff --git a/src/views/securityCompany/security.vue b/src/views/securityCompany/security.vue
index 7ccc517..c14338d 100644
--- a/src/views/securityCompany/security.vue
+++ b/src/views/securityCompany/security.vue
@@ -1,8 +1,8 @@
/*
* @Author: Morpheus
* @Date: 2021-07-07 17:30:05
- * @Last Modified by: Morpheus
- * @Last Modified time: 2021-07-10 16:01:42
+ * @Last Modified by: liu
+ * @Last Modified time: 2021-09-18 09:14:42
* menu-name 保安服务公司查询
*/
<template>
@@ -408,7 +408,7 @@
const data = res.data.data;
this.page.total = data.total;
this.data = data.records;
- console.log(this.data);
+ // console.log(this.data);
this.loading = false;
this.selectionClear();
});
diff --git a/src/views/securityCompany/securityCrossRegion.vue b/src/views/securityCompany/securityCrossRegion.vue
index c8202e3..ce685a6 100644
--- a/src/views/securityCompany/securityCrossRegion.vue
+++ b/src/views/securityCompany/securityCrossRegion.vue
@@ -1,8 +1,8 @@
/*
* @Author: Morpheus
* @Date: 2021-07-07 17:30:05
- * @Last Modified by: Morpheus
- * @Last Modified time: 2021-07-10 16:01:42
+ * @Last Modified by: liu
+ * @Last Modified time: 2021-09-18 09:14:43
* menu-name 保安服务公司查询
*/
<template>
@@ -401,7 +401,7 @@
const data = res.data.data;
this.page.total = data.total;
this.data = data.records;
- console.log(this.data);
+ // console.log(this.data);
this.loading = false;
this.selectionClear();
});
diff --git a/src/views/securityCompany/train.vue b/src/views/securityCompany/train.vue
index c158763..d86820f 100644
--- a/src/views/securityCompany/train.vue
+++ b/src/views/securityCompany/train.vue
@@ -1,8 +1,8 @@
/*
* @Author: Morpheus
* @Date: 2021-07-07 17:30:05
- * @Last Modified by: Morpheus
- * @Last Modified time: 2021-07-10 16:01:42
+ * @Last Modified by: liu
+ * @Last Modified time: 2021-09-18 09:14:55
* menu-name 保安服务公司查询
*/
<template>
@@ -401,7 +401,7 @@
const data = res.data.data;
this.page.total = data.total;
this.data = data.records;
- console.log(this.data);
+ // console.log(this.data);
this.loading = false;
this.selectionClear();
});
--
Gitblit v1.9.3