From 21c7375b7b38ebf2c8a2ca8fbf6fe9fb4f28250f Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Wed, 12 Jan 2022 10:59:40 +0800
Subject: [PATCH] 新增公司注册机公司注册审核
---
src/views/securityAnalysis/child/situation.vue | 49 +++++++++++++++++++++++++++++++++----------------
1 files changed, 33 insertions(+), 16 deletions(-)
diff --git a/src/views/securityAnalysis/child/situation.vue b/src/views/securityAnalysis/child/situation.vue
index 90af1cb..365666c 100644
--- a/src/views/securityAnalysis/child/situation.vue
+++ b/src/views/securityAnalysis/child/situation.vue
@@ -1,5 +1,10 @@
<template>
- <div class="certificateTJ">
+ <div
+ :class="[
+ 'certificateTJ',
+ $store.state.control.windowWidth >= 1024 ? 'oneRowSearch' : '',
+ ]"
+ >
<avue-crud
:option="option1"
:data="data1"
@@ -19,6 +24,20 @@
export default {
props: ["card"],
data() {
+ var dicUrl =
+ "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
+ search = true;
+ if (this.card.jurisdiction != "") {
+ dicUrl =
+ "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697&jurisdiction=" +
+ this.card.jurisdiction;
+ } else if (this.card.jurisdiction == 1372091709474910209) {
+ // a = "";
+ }
+ // console.log(this.card);
+ if (this.card.deptId != "") {
+ search = false;
+ }
return {
securityid1: "",
ExperienceVisible: false,
@@ -27,6 +46,7 @@
pageSize: 10,
currentPage: 1,
total: 0,
+ ...this.$store.state.control.changePageSize,
},
query1: {},
data1: [],
@@ -37,13 +57,14 @@
// refreshBtn: false,
// card: true,
menu: false,
- height: 450,
+ height: "auto",
widtd: "auto",
// calcHeight: 54,
border: true, //liu
stripe: true,
// tip: false,
index: true,
+ ...this.$store.state.control.clearOtherBut,
// dialogClickModal: false,
// headerAlign: "center",
align: "center",
@@ -59,22 +80,20 @@
search: true,
},
{
- label: "所属保安公司",
- searchLabelWidth: "110",
+ label: "企业名称",
// prop: "deptName",
prop: "deptId",
type: "tree",
- dicUrl:
- "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
+ dicUrl: dicUrl,
props: {
label: "title",
value: "id",
},
// hide: true,
// slot: true,
- searchSpan: 4,
+ searchSpan: 5,
display: false,
- search: true,
+ search: search,
minWidth: 220,
},
{
@@ -103,7 +122,7 @@
prop: "cardid",
search: true,
searchLabelWidth: 90,
- searchSpan: 4,
+ searchSpan: 5,
minWidth: 140,
display: false,
},
@@ -139,7 +158,7 @@
search: true,
disabled: false,
type: "select",
- searchSpan: 3,
+ searchSpan: 4,
// searchValue: "1",
dicData: [
{
@@ -166,14 +185,12 @@
if (this.card.jurisdiction == 1372091709474910209) {
this.card.jurisdiction = "";
}
- // if (params.hold == undefined) {
- // params.hold = 1;
- // }
+
params = {
- ...params,
- ...this.query1,
- status: 1,
...this.card,
+ ...params,
+ status: 1,
+ ...this.query1,
};
getList(page.currentPage, page.pageSize, params).then((res) => {
// console.log(res.data.data.records);
--
Gitblit v1.9.3