From bc4f603fe677aecb273e3a192ff1be69202bbd78 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 09 Nov 2021 20:49:00 +0800
Subject: [PATCH] 部分改动
---
src/views/statisticalQueryManagement/businessStatistics.vue | 4
src/views/home/index.vue | 12
src/views/securityCompany/computents/service.vue | 29 -
src/page/index/index.vue | 4
src/styles/management.scss | 2
src/views/securityCompany/companyDetails.vue | 1331 +++++++++++++++++++++++++++----------------------------
src/views/securityCompany/computents/staff.vue | 5
src/views/securityCompany/dispatch.vue | 5
8 files changed, 672 insertions(+), 720 deletions(-)
diff --git a/src/page/index/index.vue b/src/page/index/index.vue
index 7e1ad9e..b56d514 100644
--- a/src/page/index/index.vue
+++ b/src/page/index/index.vue
@@ -11,12 +11,12 @@
</div>
<div class="avue-main">
<!-- 顶部标签卡 -->
- <tags/>
+ <!-- <tags/> -->
<transition name="fade-scale">
<search class="avue-view" v-show="isSearch"></search>
</transition>
<!-- 主体视图层 -->
- <div style="height:100%;overflow-y:auto;overflow-x:hidden;" id="avue-view" v-show="!isSearch">
+ <div style="height:100%;overflow-y:auto;overflow-x:hidden; margin-top: 10px;" id="avue-view" v-show="!isSearch">
<keep-alive>
<router-view class="avue-view" v-if="$route.meta.keepAlive"/>
</keep-alive>
diff --git a/src/styles/management.scss b/src/styles/management.scss
index ff0f4b9..a2e7a5d 100644
--- a/src/styles/management.scss
+++ b/src/styles/management.scss
@@ -2,7 +2,7 @@
#avue-view {
&>.morpheus-box {
position: absolute;
- top: 40px;
+ top: 0;
left: 0px;
right: 0px;
bottom: 0px;
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 9731665..8a3cadb 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -490,7 +490,9 @@
label="持证率"
:show-overflow-tooltip="true"
width="150"
- ></el-table-column>
+ >
+
+ </el-table-column>
<el-table-column
:key="gridData.type"
prop="sbnum"
@@ -1129,13 +1131,13 @@
let czl = 0;
if (Number(item.cznum) !== 0 && Number(item.znum) !== 0) {
czl =
- ((Number(item.cznum) / Number(item.znum)) * 100).toFixed(4) + "%";
+ ((Number(item.cznum) / Number(item.znum)) * 100).toFixed(2) + "%";
}
item["czl"] = czl;
let sbl = 0;
if (Number(item.sbnum) !== 0 && Number(item.znum) !== 0) {
czl =
- ((Number(item.sbnum) / Number(item.znum)) * 100).toFixed(4) + "%";
+ ((Number(item.sbnum) / Number(item.znum)) * 100).toFixed(2) + "%";
}
item["sbl"] = sbl;
});
@@ -1147,13 +1149,13 @@
let pql = 0;
if (Number(item.painum) !== 0 && Number(item.znum) !== 0) {
pql =
- ((Number(item.painum) / Number(item.znum)) * 100).toFixed(4) + "%";
+ ((Number(item.painum) / Number(item.znum)) * 100).toFixed(2) + "%";
}
item["pql"] = pql;
let pjpqrs = 0;
if (Number(item.painum) !== 0 && Number(item.fwnum) !== 0) {
pjpqrs =
- ((Number(item.painum) / Number(item.fwnum)) * 100).toFixed(4) + "%";
+ ((Number(item.painum) / Number(item.fwnum)) * 100).toFixed(2) + "%";
}
item["pjpqrs"] = pjpqrs;
});
diff --git a/src/views/securityCompany/companyDetails.vue b/src/views/securityCompany/companyDetails.vue
index 5fd6d06..f03895f 100644
--- a/src/views/securityCompany/companyDetails.vue
+++ b/src/views/securityCompany/companyDetails.vue
@@ -1,120 +1,103 @@
/*
* @Author: Morpheus
* @Date: 2021-07-05 16:31:54
- * @Last Modified by: liu
- * @Last Modified time: 2021-10-21 16:56:42
+ * @Last Modified by: Morpheus
+ * @Last Modified time: 2021-11-09 19:38:27
* menu-name 保安公司详细资料
*/
<template>
- <el-row class="morpheus-box">
- <el-col :span="24">
- <el-card>
- <div class="card-body">
- <el-tabs v-model="activeName" @tab-click="handleClick">
- <el-tab-pane label="基本信息" name="first">
- <el-form
- :model="form"
- label-position="right"
- size="mini"
- label-width="100px"
- >
- <el-row>
- <el-col span="12">
- <el-form-item label="公司名称">
- <el-input
- disabled="true"
- v-model="form.enterprisename"
- autocomplete="off"
- ></el-input>
- </el-form-item>
- </el-col>
- <el-col span="12">
- <el-form-item label="法定代表人">
- <el-input
- disabled="true"
- v-model="form.representative"
- autocomplete="off"
- ></el-input>
- </el-form-item>
- </el-col>
- </el-row>
- <el-row>
- <el-col span="24">
- <el-form-item label="注册地址">
- <el-input
- disabled="true"
- v-model="form.address"
- autocomplete="off"
- ></el-input>
- </el-form-item>
- </el-col>
- </el-row>
+ <el-row class="morpheus-box">
+ <el-col :span="24">
+ <el-card>
+ <div class="card-body">
+ <el-tabs v-model="activeName"
+ @tab-click="handleClick">
+ <el-tab-pane label="基本信息"
+ name="first">
+ <el-form :model="form"
+ label-position="right"
+ size="mini"
+ label-width="100px">
+ <el-row>
+ <el-col span="12">
+ <el-form-item label="公司名称">
+ <el-input disabled="true"
+ v-model="form.enterprisename"
+ autocomplete="off"></el-input>
+ </el-form-item>
+ </el-col>
+ <el-col span="12">
+ <el-form-item label="法定代表人">
+ <el-input disabled="true"
+ v-model="form.representative"
+ autocomplete="off"></el-input>
+ </el-form-item>
+ </el-col>
+ </el-row>
+ <el-row>
+ <el-col span="24">
+ <el-form-item label="注册地址">
+ <el-input disabled="true"
+ v-model="form.address"
+ autocomplete="off"></el-input>
+ </el-form-item>
+ </el-col>
+ </el-row>
- <el-row>
- <el-col span="12">
- <el-form-item label="所属辖区">
- <el-input
- disabled="true"
- v-model="jurisdictionSee"
- autocomplete="off"
- ></el-input>
- </el-form-item>
- </el-col>
- <el-col span="12">
- <el-form-item label="所属行业">
- <el-input
- disabled="true"
- v-model="form.industry"
- autocomplete="off"
- ></el-input>
- </el-form-item>
- </el-col>
- </el-row>
+ <el-row>
+ <el-col span="12">
+ <el-form-item label="所属辖区">
+ <el-input disabled="true"
+ v-model="jurisdictionSee"
+ autocomplete="off"></el-input>
+ </el-form-item>
+ </el-col>
+ <el-col span="12">
+ <el-form-item label="所属行业">
+ <el-input disabled="true"
+ v-model="form.industry"
+ autocomplete="off"></el-input>
+ </el-form-item>
+ </el-col>
+ </el-row>
- <el-row>
- <el-col span="12">
- <el-form-item label="登记机关">
- <el-input
- disabled="true"
- v-model="form.registration"
- autocomplete="off"
- ></el-input>
- </el-form-item>
- </el-col>
- <el-col span="12">
- <el-form-item label="公司类型">
- <el-input
- disabled="true"
- v-model="form.enterprises"
- autocomplete="off"
- ></el-input>
- </el-form-item>
- </el-col>
- </el-row>
+ <el-row>
+ <el-col span="12">
+ <el-form-item label="登记机关">
+ <el-input disabled="true"
+ v-model="form.registration"
+ autocomplete="off"></el-input>
+ </el-form-item>
+ </el-col>
+ <el-col span="12">
+ <el-form-item label="公司类型">
+ <el-input disabled="true"
+ v-model="form.enterprises"
+ autocomplete="off"></el-input>
+ </el-form-item>
+ </el-col>
+ </el-row>
- <el-row>
- <el-col span="24">
- <el-form-item label="经营范围">
- <el-input
- type="textarea"
- disabled="true"
- v-model="form.business"
- resize="none"
- autocomplete="off"
- ></el-input>
- </el-form-item>
- </el-col>
- </el-row>
- </el-form>
- </el-tab-pane>
- <el-tab-pane label="工商信息" name="second">
- <el-form
- :model="form"
- label-position="right"
- size="mini"
- label-width="100px"
- >
- <!-- <el-row>
+ <el-row>
+ <el-col span="24">
+ <el-form-item label="经营范围">
+ <el-input type="textarea"
+ disabled="true"
+ v-model="form.business"
+ resize="none"
+ autocomplete="off"></el-input>
+ </el-form-item>
+ </el-col>
+ </el-row>
+ </el-form>
+ </el-tab-pane>
+ <el-tab-pane label="工商信息"
+ name="second">
+ <el-form :model="form"
+ label-position="right"
+ size="mini"
+ label-width="100px">
+ <!-- <el-row>
<el-col span="12">
<el-form-item label="公司名称">
<el-input
@@ -135,30 +118,26 @@
</el-col>
</el-row> -->
- <el-row>
- <el-col span="12">
- <el-form-item label="组织机构代码">
- <el-input
- disabled="true"
- v-model="form.organizationcode"
- autocomplete="off"
- ></el-input>
- </el-form-item>
- </el-col>
+ <el-row>
+ <el-col span="12">
+ <el-form-item label="组织机构代码">
+ <el-input disabled="true"
+ v-model="form.organizationcode"
+ autocomplete="off"></el-input>
+ </el-form-item>
+ </el-col>
- <el-col span="12">
- <el-form-item label="注册资金">
- <el-input
- disabled="true"
- v-model="form.registeredcapital"
- autocomplete="off"
- ></el-input>
- </el-form-item>
- </el-col>
- </el-row>
+ <el-col span="12">
+ <el-form-item label="注册资金">
+ <el-input disabled="true"
+ v-model="form.registeredcapital"
+ autocomplete="off"></el-input>
+ </el-form-item>
+ </el-col>
+ </el-row>
- <el-row>
- <!-- <el-col span="12">
+ <el-row>
+ <!-- <el-col span="12">
<el-form-item label="实缴资金">
<el-input
disabled="true"
@@ -167,27 +146,23 @@
></el-input>
</el-form-item>
</el-col> -->
- <el-col span="12">
- <el-form-item label="注册时间">
- <el-input
- disabled="true"
- v-model="form.establishtime"
- autocomplete="off"
- ></el-input>
- </el-form-item>
- </el-col>
- <el-col span="12">
- <el-form-item label="工商注册号">
- <el-input
- disabled="true"
- v-model="form.registrationnumber"
- autocomplete="off"
- ></el-input>
- </el-form-item>
- </el-col>
- </el-row>
+ <el-col span="12">
+ <el-form-item label="注册时间">
+ <el-input disabled="true"
+ v-model="form.establishtime"
+ autocomplete="off"></el-input>
+ </el-form-item>
+ </el-col>
+ <el-col span="12">
+ <el-form-item label="工商注册号">
+ <el-input disabled="true"
+ v-model="form.registrationnumber"
+ autocomplete="off"></el-input>
+ </el-form-item>
+ </el-col>
+ </el-row>
- <!-- <el-row>
+ <!-- <el-row>
<el-col span="12">
<el-form-item label="工商注册号">
<el-input
@@ -198,111 +173,119 @@
</el-form-item>
</el-col>
</el-row> -->
- </el-form>
- </el-tab-pane>
- <el-tab-pane label="投资人信息" name="third">
- <avue-crud
- class="company-box"
- :option="investorOption"
- :search.sync="investorSearch"
- :table-loading="investorLoading"
- :data="investorData"
- ref="investorCrud"
- :page.sync="investorPage"
- @selection-change="investorSelectionChange"
- @search-change="investorSearchChange"
- @search-reset="investorSearchReset"
- @current-change="investorCurrentChange"
- @size-change="investorSizeChange"
- @refresh-change="investorSizerefresh"
- @on-load="investorOnLoad"
- >
- </avue-crud>
- </el-tab-pane>
- <el-tab-pane label="管理人信息" name="fourth">
- <avue-crud
- class="company-box"
- :option="manageOption"
- :search.sync="manageSearch"
- :table-loading="manageLoading"
- :data="manageData"
- ref="manageCrud"
- :page.sync="managePage"
- @selection-change="manageSelectionChange"
- @search-change="manageSearchChange"
- @search-reset="manageSearchReset"
- @current-change="manageCurrentChange"
- @size-change="manageSizeChange"
- @refresh-change="manageSizerefresh"
- @on-load="manageOnLoad"
- >
- </avue-crud>
- </el-tab-pane>
- <el-tab-pane label="装备信息" name="fifth">
- <equipment :forms="forms" v-if="seestaff"></equipment>
- </el-tab-pane>
- <el-tab-pane label="保安员信息" name="sixth">
- <staff :forms="forms" v-if="seestaff" :doit="seestaff2"></staff>
- </el-tab-pane>
- <el-tab-pane label="处罚信息" name="seventh">
- <punish :forms="forms" v-if="seestaff"></punish>
- </el-tab-pane>
- <el-tab-pane label="服务对象" name="eighth">
- <service
- :form="forms"
- v-if="seestaff"
- :refresh="seestaff3"
- ></service>
- </el-tab-pane>
- <!-- <el-tab-pane label="其他附件" name="eighth">
+ </el-form>
+ </el-tab-pane>
+ <el-tab-pane label="投资人信息"
+ name="third">
+ <avue-crud class="company-box"
+ :option="investorOption"
+ :search.sync="investorSearch"
+ :table-loading="investorLoading"
+ :data="investorData"
+ ref="investorCrud"
+ :page.sync="investorPage"
+ @selection-change="investorSelectionChange"
+ @search-change="investorSearchChange"
+ @search-reset="investorSearchReset"
+ @current-change="investorCurrentChange"
+ @size-change="investorSizeChange"
+ @refresh-change="investorSizerefresh"
+ @on-load="investorOnLoad">
+ </avue-crud>
+ </el-tab-pane>
+ <el-tab-pane label="管理人信息"
+ name="fourth">
+ <avue-crud class="company-box"
+ :option="manageOption"
+ :search.sync="manageSearch"
+ :table-loading="manageLoading"
+ :data="manageData"
+ ref="manageCrud"
+ :page.sync="managePage"
+ @selection-change="manageSelectionChange"
+ @search-change="manageSearchChange"
+ @search-reset="manageSearchReset"
+ @current-change="manageCurrentChange"
+ @size-change="manageSizeChange"
+ @refresh-change="manageSizerefresh"
+ @on-load="manageOnLoad">
+ </avue-crud>
+ </el-tab-pane>
+ <el-tab-pane label="装备信息"
+ name="fifth">
+ <equipment :forms="forms"
+ v-if="seestaff"></equipment>
+ </el-tab-pane>
+ <el-tab-pane label="保安员信息"
+ name="sixth">
+ <staff :forms="forms"
+ v-if="seestaff"
+ :doit="seestaff2"></staff>
+ </el-tab-pane>
+ <el-tab-pane label="处罚信息"
+ name="seventh">
+ <punish :forms="forms"
+ v-if="seestaff"></punish>
+ </el-tab-pane>
+ <el-tab-pane label="服务对象"
+ name="eighth">
+ <service :form="forms"
+ v-if="seestaff"
+ :refresh="seestaff3"></service>
+ </el-tab-pane>
+ <!-- <el-tab-pane label="其他附件" name="eighth">
<enclosure :form="form"></enclosure>
</el-tab-pane> -->
- <el-tab-pane label="营业执照" name="ninth">
- <div class="businessLicenses">
- <el-container>
- <el-main>
- <div class="title" v-if="businessLicenseUrl == ''">
- 未上传营业执照
- </div>
- <img
- class="businessLicensess"
- :src="businessLicenseUrl"
- alt=""
- v-else
- />
- </el-main>
- </el-container>
- </div>
- </el-tab-pane>
- <el-tab-pane label="许可证" name="tenth">
- <div class="businessLicenses">
- <el-container>
- <el-main>
- <div class="title" v-if="licenceUrl == ''">
- 未上传许可证
- </div>
- <img class="Licenses" :src="licenceUrl" alt="" v-else />
- </el-main>
- </el-container>
- </div>
- </el-tab-pane>
- </el-tabs>
- </div>
- </el-card>
- </el-col>
- </el-row>
+ <el-tab-pane label="营业执照"
+ name="ninth">
+ <div class="businessLicenses">
+ <el-container>
+ <el-main>
+ <div class="title"
+ v-if="businessLicenseUrl == ''">
+ 未上传营业执照
+ </div>
+ <img class="businessLicensess"
+ :src="businessLicenseUrl"
+ alt=""
+ v-else />
+ </el-main>
+ </el-container>
+ </div>
+ </el-tab-pane>
+ <el-tab-pane label="许可证"
+ name="tenth">
+ <div class="businessLicenses">
+ <el-container>
+ <el-main>
+ <div class="title"
+ v-if="licenceUrl == ''">
+ 未上传许可证
+ </div>
+ <img class="Licenses"
+ :src="licenceUrl"
+ alt=""
+ v-else />
+ </el-main>
+ </el-container>
+ </div>
+ </el-tab-pane>
+ </el-tabs>
+ </div>
+ </el-card>
+ </el-col>
+ </el-row>
</template>
<script>
import {
- manifestationList,
- dispatchList,
- honorchList,
- trainList,
- examinationList,
- getInvestorList,
- getManageList,
- usejurisdiction,
+ manifestationList,
+ dispatchList,
+ honorchList,
+ trainList,
+ examinationList,
+ getInvestorList,
+ getManageList,
} from "@/api/securityCompany/companyDetails";
import equipment from "./computents/equipment.vue"; //装备管理
import staff from "./computents/staff.vue"; //保安员信息
@@ -313,462 +296,458 @@
import { getList } from "@/api/securityCompany/security"; //保安公司
export default {
- components: {
- equipment: equipment,
- staff: staff,
- punish: punish,
- service: service,
- // enclosure: enclosure,
- },
- data() {
- var w = 160,
- s = 12;
- return {
- businessLicenseUrl: "",
- licenceUrl: "",
+ components: {
+ equipment: equipment,
+ staff: staff,
+ punish: punish,
+ service: service,
+ // enclosure: enclosure,
+ },
+ data () {
+ var w = 160,
+ s = 12;
+ return {
+ businessLicenseUrl: "",
+ licenceUrl: "",
- activeName: "first",
- form: {},
- manifestationData: [],
- dispatchData: [],
- honorchData: [],
- trainData: [],
- examinationData: [],
+ activeName: "first",
+ form: {},
+ manifestationData: [],
+ dispatchData: [],
+ honorchData: [],
+ trainData: [],
+ examinationData: [],
- investorOption: {
- // 操作栏多余按钮去除
- delBtn: false,
- editBtn: false,
- addBtn: false,
- menu: false,
- selection: true,
+ investorOption: {
+ // 操作栏多余按钮去除
+ delBtn: false,
+ editBtn: false,
+ addBtn: false,
+ menu: false,
+ selection: true,
- align: "center",
- height: "auto",
- calcHeight: 270,
- tip: false,
- searchShow: false,
- searchShowBtn: false,
- searchMenuSpan: 4,
- index: false,
- viewBtn: true,
- //dialogType: 'drawer',
- dialogClickModal: false,
- // 操作栏宽度
- menuWidth: 156,
- height: 600,
- column: [
- {
- label: "id",
- prop: "id",
- hide: true,
- addDisplay: false,
- editDisplay: false,
- },
- {
- label: "股东",
- prop: "shareholder",
- searchLabelWidth: 55,
- search: true,
- labelWidth: w,
- span: s,
- },
- {
- label: "持股比例(%)",
- prop: "shareholdingratio",
- labelWidth: w,
- span: s,
- },
- // {
- // label: "最终受益股份",
- // prop: "beneficial",
- // },
- {
- label: "出资金额(万元)",
- prop: "capital",
- labelWidth: w,
- span: s,
- },
- {
- label: "出资时间",
- prop: "capitaltime",
- type: "date",
- format: "yyyy-MM-dd hh:mm:ss",
- valueFormat: "timestamp",
- labelWidth: w,
- span: s,
- },
- {
- label: "身份证",
- prop: "cardid",
- labelWidth: w,
- // span: s,
- search: true,
- },
- {
- label: "联系电话",
- prop: "cell",
- labelWidth: w,
- span: s,
- },
- {
- label: "统一社会信用代码",
- prop: "creditcode",
- hide: true,
- addDisplay: false,
- editDisplay: false,
- labelWidth: w,
- span: s,
- },
- ],
- },
- investorSearch: {},
- investorLoading: true,
- investorData: [],
- investorPage: {
- pageSize: 10,
- currentPage: 1,
- total: 0,
- },
- investorQuery: {},
- investorSelectionList: [],
+ align: "center",
+ height: "auto",
+ calcHeight: 270,
+ tip: false,
+ searchShow: false,
+ searchShowBtn: false,
+ searchMenuSpan: 4,
+ index: false,
+ viewBtn: true,
+ //dialogType: 'drawer',
+ dialogClickModal: false,
+ // 操作栏宽度
+ menuWidth: 156,
+ height: 600,
+ column: [
+ {
+ label: "id",
+ prop: "id",
+ hide: true,
+ addDisplay: false,
+ editDisplay: false,
+ },
+ {
+ label: "股东",
+ prop: "shareholder",
+ searchLabelWidth: 55,
+ search: true,
+ labelWidth: w,
+ span: s,
+ },
+ {
+ label: "持股比例(%)",
+ prop: "shareholdingratio",
+ labelWidth: w,
+ span: s,
+ },
+ // {
+ // label: "最终受益股份",
+ // prop: "beneficial",
+ // },
+ {
+ label: "出资金额(万元)",
+ prop: "capital",
+ labelWidth: w,
+ span: s,
+ },
+ {
+ label: "出资时间",
+ prop: "capitaltime",
+ type: "date",
+ format: "yyyy-MM-dd hh:mm:ss",
+ valueFormat: "timestamp",
+ labelWidth: w,
+ span: s,
+ },
+ {
+ label: "身份证",
+ prop: "cardid",
+ labelWidth: w,
+ // span: s,
+ search: true,
+ },
+ {
+ label: "联系电话",
+ prop: "cell",
+ labelWidth: w,
+ span: s,
+ },
+ {
+ label: "统一社会信用代码",
+ prop: "creditcode",
+ hide: true,
+ addDisplay: false,
+ editDisplay: false,
+ labelWidth: w,
+ span: s,
+ },
+ ],
+ },
+ investorSearch: {},
+ investorLoading: true,
+ investorData: [],
+ investorPage: {
+ pageSize: 10,
+ currentPage: 1,
+ total: 0,
+ },
+ investorQuery: {},
+ investorSelectionList: [],
- manageOption: {
- // 操作栏多余按钮去除
- delBtn: false,
- editBtn: false,
- addBtn: false,
- selection: true,
- searchShowBtn: false,
- menu: false,
+ manageOption: {
+ // 操作栏多余按钮去除
+ delBtn: false,
+ editBtn: false,
+ addBtn: false,
+ selection: true,
+ searchShowBtn: false,
+ menu: false,
- align: "center",
- height: "auto",
- calcHeight: 270,
- tip: false,
- searchShow: false,
- searchMenuSpan: 4,
- index: false,
- viewBtn: true,
- //dialogType: 'drawer',
- dialogClickModal: false,
- // 操作栏宽度
- menuWidth: 156,
- height: 600,
- column: [
- {
- label: "管理人姓名",
- prop: "name",
- slot: true,
- display: false,
- },
- {
- label: "职务",
- prop: "post",
- slot: true,
- display: false,
- },
- {
- label: "身份证号",
- prop: "cardid",
- slot: true,
- display: false,
- },
- {
- label: "联系电话",
- prop: "cell",
- slot: true,
- display: false,
- },
- ],
- },
- manageSearch: {},
- manageLoading: true,
- manageData: [],
- managePage: {
- pageSize: 10,
- currentPage: 1,
- total: 0,
- },
- manageQuery: {},
- manageSelectionList: [],
+ align: "center",
+ height: "auto",
+ calcHeight: 270,
+ tip: false,
+ searchShow: false,
+ searchMenuSpan: 4,
+ index: false,
+ viewBtn: true,
+ //dialogType: 'drawer',
+ dialogClickModal: false,
+ // 操作栏宽度
+ menuWidth: 156,
+ height: 600,
+ column: [
+ {
+ label: "管理人姓名",
+ prop: "name",
+ slot: true,
+ display: false,
+ },
+ {
+ label: "职务",
+ prop: "post",
+ slot: true,
+ display: false,
+ },
+ {
+ label: "身份证号",
+ prop: "cardid",
+ slot: true,
+ display: false,
+ },
+ {
+ label: "联系电话",
+ prop: "cell",
+ slot: true,
+ display: false,
+ },
+ ],
+ },
+ manageSearch: {},
+ manageLoading: true,
+ manageData: [],
+ managePage: {
+ pageSize: 10,
+ currentPage: 1,
+ total: 0,
+ },
+ manageQuery: {},
+ manageSelectionList: [],
- forms: {}, //防串数据
- jurisdictionSee: "", //中文辖区
+ forms: {}, //防串数据
+ jurisdictionSee: "", //中文辖区
- seestaff: false,
- seestaff2: false,
- seestaff3: true,
- };
- },
- created() {
- var flag = false,
- i = 0,
- ind = null,
- that = this;
+ seestaff: false,
+ seestaff2: false,
+ seestaff3: true,
+ };
+ },
+ created () {
+ var flag = false,
+ i = 0,
+ ind = null,
+ that = this;
- this.$store.state.tags.tagList.forEach((item, index) => {
- if (
- item.label == "保安公司详细资料" ||
- item.label == "保安公司详细信息"
- ) {
- if (flag == false) {
- ind = index;
- flag = true;
+ this.$store.state.tags.tagList.forEach((item, index) => {
+ if (
+ item.label == "保安公司详细资料" ||
+ item.label == "保安公司详细信息"
+ ) {
+ if (flag == false) {
+ ind = index;
+ flag = true;
+ }
+ i++;
+ }
+ });
+
+ if (i > 1) {
+ this.$store.state.tags.tagList.splice(ind, 1);
}
- i++;
- }
- });
- if (i > 1) {
- this.$store.state.tags.tagList.splice(ind, 1);
- }
- if (this.$route.query.fromSecunityGuardId) {
- // console.log(this.$route.query.fromSecunityGuardId, "fromSecunityGuardId");
- var page = {
- currentPage: 1,
- pageSize: 10,
+
+ if (this.$route.query.fromSecunityGuardId) {
+ var page = {
+ currentPage: 1,
+ pageSize: 10,
+ },
+ params = { departmentid: this.$route.query.fromSecunityGuardId };
+ getList(page.currentPage, page.pageSize, params).then((res) => {
+ that.form = res.data.data.records[0];
+ this.jurisdictionSee = this.form.jurisdictionName;
+ that.forms = res.data.data.records[0];
+ that.seestaff = true;
+ that.businessLicenseUrl = res.data.data.records[0].businessLicense;
+ that.licenceUrl = res.data.data.records[0].licence;
+ });
+ // })
+ } else {
+ this.form = this.$route.query;
+ this.jurisdictionSee = this.form.$jurisdiction;
+ this.forms = this.$route.query;
+ this.seestaff = true;
+ this.getFromData({
+ currentPage: 1,
+ pageSize: 10,
+ });
+ }
+ },
+ methods: {
+ getFromData (page, params = {}) {
+ var that = this;
+ params["departmentid"] = this.forms.departmentid;
+ getList(page.currentPage, page.pageSize, params).then((res) => {
+ that.form = res.data.data.records[0];
+ this.businessLicenseUrl = res.data.data.records[0].businessLicense;
+ this.licenceUrl = res.data.data.records[0].licence;
+ });
},
- params = { departmentid: this.$route.query.fromSecunityGuardId };
- getList(page.currentPage, page.pageSize, params).then((res) => {
- that.form = res.data.data.records[0];
- // console.log(that.form, "that.form1");
- this.jurisdictionSee = this.form.jurisdictionName;
- that.forms = res.data.data.records[0];
- that.seestaff = true;
- that.businessLicenseUrl = res.data.data.records[0].businessLicense;
- that.licenceUrl = res.data.data.records[0].licence;
- // console.log(that.form, "this.forms1");
- });
- // })
- } else {
- this.form = this.$route.query;
- // console.log(that.form, "that.form2");
- this.jurisdictionSee = this.form.$jurisdiction;
- this.forms = this.$route.query;
- this.seestaff = true;
- // console.log(this.forms, "this.forms2");
- this.getFromData({
- currentPage: 1,
- pageSize: 10,
- });
- }
- },
- methods: {
- getFromData(page, params = {}) {
- var that = this;
- params["departmentid"] = this.forms.departmentid;
- 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) => {
- // for (let k in d) {
- // if (d[k].key == val) {
- // a = d[k].title;
- // break;
- // } else {
- // if (d[k].hasChildren) {
- // doit(d[k].children, val);
- // } else {
- // }
- // }
- // }
- // };
- // doit(d, val);
- // // if (a == "") {
- // // a = val;
- // // }
- // return a;
- // },
- handleClick(tab) {
- if (tab.index == 2) {
- this.investorSearchReset();
- } else if (tab.index == 3) {
- this.manageSearchReset();
- } else if (tab.index == 5) {
- this.seestaff2 = !this.seestaff2;
- } else if (tab.index == 7) {
- this.seestaff3 = !this.seestaff3;
- } 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.forms.cardid).then((res) => {
- this.manifestationData = res.data.data.records;
- this.manifestationData.forEach((item) => {
- item.name = this.forms.realName;
- item.time = item.time.substring(0, 10);
- });
- });
- },
- getDispatchData() {
- dispatchList(this.forms.cardid).then((res) => {
- this.dispatchData = res.data.data.records;
- });
- },
- getHonorchData() {
- honorchList(this.forms.cardid).then((res) => {
- this.honorchData = res.data.data.records;
- });
- },
- getTrainData() {
- trainList(this.forms.cardid).then((res) => {
- this.trainData = res.data.data;
+ // inspects(d, val) {
+ // var a = "";
+ // var doit = (d, val) => {
+ // for (let k in d) {
+ // if (d[k].key == val) {
+ // a = d[k].title;
+ // break;
+ // } else {
+ // if (d[k].hasChildren) {
+ // doit(d[k].children, val);
+ // } else {
+ // }
+ // }
+ // }
+ // };
+ // doit(d, val);
+ // // if (a == "") {
+ // // a = val;
+ // // }
+ // return a;
+ // },
+ handleClick (tab) {
+ if (tab.index == 2) {
+ this.investorSearchReset();
+ } else if (tab.index == 3) {
+ this.manageSearchReset();
+ } else if (tab.index == 5) {
+ this.seestaff2 = !this.seestaff2;
+ } else if (tab.index == 7) {
+ this.seestaff3 = !this.seestaff3;
+ } 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.forms.cardid).then((res) => {
+ this.manifestationData = res.data.data.records;
+ this.manifestationData.forEach((item) => {
+ item.name = this.forms.realName;
+ item.time = item.time.substring(0, 10);
+ });
+ });
+ },
+ getDispatchData () {
+ dispatchList(this.forms.cardid).then((res) => {
+ this.dispatchData = res.data.data.records;
+ });
+ },
+ getHonorchData () {
+ honorchList(this.forms.cardid).then((res) => {
+ this.honorchData = res.data.data.records;
+ });
+ },
+ getTrainData () {
+ trainList(this.forms.cardid).then((res) => {
+ this.trainData = res.data.data;
- this.trainData.forEach((item) => {
- if (item.sex == 1) {
- item.sex = "男";
- } else {
- item.sex = "女";
- }
- });
- });
- },
- getExaminationData() {
- examinationList(this.forms.cardid).then((res) => {
- this.examinationData = res.data.data;
+ this.trainData.forEach((item) => {
+ if (item.sex == 1) {
+ item.sex = "男";
+ } else {
+ item.sex = "女";
+ }
+ });
+ });
+ },
+ getExaminationData () {
+ examinationList(this.forms.cardid).then((res) => {
+ this.examinationData = res.data.data;
- this.examinationData.forEach((item) => {
- if (item.stat == 1) {
- item.stat = "不通过";
- } else {
- item.stat = "通过";
- }
- });
- });
- },
- investorSizerefresh() {
- this.investorOnLoad(this.investorPage, this.investorQuery);
- },
- investorOnLoad(page, params = {}) {
- this.investorLoading = true;
- params["deptId"] = this.form.departmentid;
- getInvestorList(
- page.currentPage,
- page.pageSize,
- Object.assign(params, this.investorQuery)
- ).then((res) => {
- const data = res.data.data;
+ this.examinationData.forEach((item) => {
+ if (item.stat == 1) {
+ item.stat = "不通过";
+ } else {
+ item.stat = "通过";
+ }
+ });
+ });
+ },
+ investorSizerefresh () {
+ this.investorOnLoad(this.investorPage, this.investorQuery);
+ },
+ investorOnLoad (page, params = {}) {
+ this.investorLoading = true;
+ params["deptId"] = this.form.departmentid;
+ getInvestorList(
+ page.currentPage,
+ page.pageSize,
+ Object.assign(params, this.investorQuery)
+ ).then((res) => {
+ const data = res.data.data;
- this.investorPage.total = data.total;
- this.investorData = data.records;
- this.investorLoading = false;
- this.$refs.investorCrud.refreshTable();
- this.$refs.investorCrud.doLayout();
- this.investorSelectionClear();
- });
- },
- investorSelectionClear() {
- this.investorSelectionList = [];
- this.$refs.investorCrud.toggleSelection();
- },
- investorSelectionChange(list) {
- this.investorSelectionList = list;
- },
- investorSearchChange(params, done) {
- this.investorQuery = params;
- this.investorPage.currentPage = 1;
- this.investorOnLoad(this.investorPage, params);
- done();
- },
- investorSearchReset() {
- this.investorQuery = {};
- this.investorOnLoad(this.investorPage);
- },
- investorCurrentChange(currentPage) {
- this.investorPage.currentPage = currentPage;
- },
- investorSizeChange(pageSize) {
- this.investorPage.pageSize = pageSize;
- },
- manageSizerefresh() {
- this.manageOnLoad(this.managePage, this.manageQuery);
- },
- manageOnLoad(page, params = {}) {
- this.manageLoading = true;
- params["deptId"] = this.form.departmentid;
- getManageList(
- page.currentPage,
- page.pageSize,
- Object.assign(params, this.manageQuery)
- ).then((res) => {
- const data = res.data.data;
+ this.investorPage.total = data.total;
+ this.investorData = data.records;
+ this.investorLoading = false;
+ this.$refs.investorCrud.refreshTable();
+ this.$refs.investorCrud.doLayout();
+ this.investorSelectionClear();
+ });
+ },
+ investorSelectionClear () {
+ this.investorSelectionList = [];
+ this.$refs.investorCrud.toggleSelection();
+ },
+ investorSelectionChange (list) {
+ this.investorSelectionList = list;
+ },
+ investorSearchChange (params, done) {
+ this.investorQuery = params;
+ this.investorPage.currentPage = 1;
+ this.investorOnLoad(this.investorPage, params);
+ done();
+ },
+ investorSearchReset () {
+ this.investorQuery = {};
+ this.investorOnLoad(this.investorPage);
+ },
+ investorCurrentChange (currentPage) {
+ this.investorPage.currentPage = currentPage;
+ },
+ investorSizeChange (pageSize) {
+ this.investorPage.pageSize = pageSize;
+ },
+ manageSizerefresh () {
+ this.manageOnLoad(this.managePage, this.manageQuery);
+ },
+ manageOnLoad (page, params = {}) {
+ this.manageLoading = true;
+ params["deptId"] = this.form.departmentid;
+ getManageList(
+ page.currentPage,
+ page.pageSize,
+ Object.assign(params, this.manageQuery)
+ ).then((res) => {
+ const data = res.data.data;
- this.managePage.total = data.total;
- this.manageData = data.records;
- this.manageLoading = false;
+ this.managePage.total = data.total;
+ this.manageData = data.records;
+ this.manageLoading = false;
- this.$refs.manageCrud.refreshTable();
- this.$refs.manageCrud.doLayout();
+ this.$refs.manageCrud.refreshTable();
+ this.$refs.manageCrud.doLayout();
- this.manageSelectionClear();
- });
+ this.manageSelectionClear();
+ });
+ },
+ manageSelectionClear () {
+ this.manageSelectionList = [];
+ this.$refs.manageCrud.toggleSelection();
+ },
+ manageSelectionChange (list) {
+ this.manageSelectionList = list;
+ },
+ manageSearchChange (params, done) {
+ this.manageQuery = params;
+ this.managePage.currentPage = 1;
+ this.manageOnLoad(this.managePage, params);
+ done();
+ },
+ manageSearchReset () {
+ this.manageQuery = {};
+ this.manageOnLoad(this.managePage);
+ },
+ manageCurrentChange (currentPage) {
+ this.managePage.currentPage = currentPage;
+ },
+ manageSizeChange (pageSize) {
+ this.managePage.pageSize = pageSize;
+ },
},
- manageSelectionClear() {
- this.manageSelectionList = [];
- this.$refs.manageCrud.toggleSelection();
- },
- manageSelectionChange(list) {
- this.manageSelectionList = list;
- },
- manageSearchChange(params, done) {
- this.manageQuery = params;
- this.managePage.currentPage = 1;
- this.manageOnLoad(this.managePage, params);
- done();
- },
- manageSearchReset() {
- this.manageQuery = {};
- this.manageOnLoad(this.managePage);
- },
- manageCurrentChange(currentPage) {
- this.managePage.currentPage = currentPage;
- },
- manageSizeChange(pageSize) {
- this.managePage.pageSize = pageSize;
- },
- },
};
</script>
<style lang="scss" scoped>
.businessLicenses {
- padding-top: 15px;
- background-color: transparent;
+ padding-top: 15px;
+ background-color: transparent;
}
.el-main {
- background-color: transparent;
- color: #333;
- text-align: center;
- // position: relative;
- // right: 5%;
+ background-color: transparent;
+ color: #333;
+ text-align: center;
+ // position: relative;
+ // right: 5%;
}
.businessLicensess {
- height: 680px;
- width: 450px;
+ height: 680px;
+ width: 450px;
}
.Licenses {
- height: 680px;
- width: 1048px;
+ height: 680px;
+ width: 1048px;
}
.title {
- color: #fff;
+ color: #fff;
}
</style>
diff --git a/src/views/securityCompany/computents/service.vue b/src/views/securityCompany/computents/service.vue
index fec9cb1..b97fc23 100644
--- a/src/views/securityCompany/computents/service.vue
+++ b/src/views/securityCompany/computents/service.vue
@@ -135,28 +135,7 @@
// },
{
label: "所属辖区",
- prop: "jurisdiction",
- // hide: true,
- searchLabelWidth: 80,
- // search: true,
- searchSpan: 4,
- overHidden: true,
- labelWidth: 138,
- type: "tree",
- dicUrl: "/api/jurisdiction/lazy-tree",
- props: {
- label: "title",
- value: "id",
- },
- checkStrictly: true,
- slot: true,
- rules: [
- {
- required: true,
- message: "请选择所属辖区",
- trigger: "click",
- },
- ],
+ prop: "dispatcherUnitName",
},
// {
// label: "所属辖区",
@@ -301,7 +280,6 @@
},
created() {
var that = this;
- // console.log(this.form);
this.departmentids = {
deptId: this.form.departmentid,
};
@@ -341,13 +319,11 @@
this.serviceOnLoad(this.servicePage, this.serviceQuery);
},
serviceOnLoad(page, params = {}) {
- // console.log(this.form.departmentid, "serviceData");
this.serviceLoading = true;
params = {
...params,
...this.departmentids,
};
- // console.log(params);
getdatas(
page.currentPage,
page.pageSize,
@@ -357,7 +333,6 @@
this.servicePage.total = data.total;
this.serviceData = data.records;
- // console.log(this.serviceData, "this.serviceData");
this.serviceLoading = false;
this.$refs.serviceCrud.refreshTable();
this.$refs.serviceCrud.doLayout();
@@ -392,4 +367,4 @@
</script>
<style>
-</style>
\ No newline at end of file
+</style>
diff --git a/src/views/securityCompany/computents/staff.vue b/src/views/securityCompany/computents/staff.vue
index d143307..a2893d1 100644
--- a/src/views/securityCompany/computents/staff.vue
+++ b/src/views/securityCompany/computents/staff.vue
@@ -234,7 +234,6 @@
// if (this.i != 2) {
this.staffLoading = true;
// }
- // console.log(this.forms.departmentid, "staff");
getListestaff(
page.currentPage,
page.pageSize,
@@ -244,12 +243,10 @@
const data = res.data.data;
this.staffPage.total = data.total;
this.staffData = data.records;
- // console.log(this.staffData, "staffData");
this.staffLoading = false;
this.staffSelectionClear();
// if (this.i == 1) {
- // console.log(this.i, "iiiiiiii");
// this.i++;
// // setTimeout((res) => {
// this.equipmentSizerefresh();
@@ -285,4 +282,4 @@
</script>
<style>
-</style>
\ No newline at end of file
+</style>
diff --git a/src/views/securityCompany/dispatch.vue b/src/views/securityCompany/dispatch.vue
index de6782f..a9c2da8 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: liu
- * @Last Modified time: 2021-09-18 09:14:26
+ * @Last Modified by: Morpheus
+ * @Last Modified time: 2021-11-09 20:48:40
* menu-name 派遣公司查询
*/
<template>
@@ -260,7 +260,6 @@
const data = res.data.data;
this.page.total = data.total;
this.data = data.records;
- // console.log(this.data, "dis");
this.loading = false;
this.selectionClear();
});
diff --git a/src/views/statisticalQueryManagement/businessStatistics.vue b/src/views/statisticalQueryManagement/businessStatistics.vue
index e9cdce3..da4a55c 100644
--- a/src/views/statisticalQueryManagement/businessStatistics.vue
+++ b/src/views/statisticalQueryManagement/businessStatistics.vue
@@ -110,11 +110,11 @@
// }
],
tableOption: {
- // excelBtn: true,
+ excelBtn: true,
delBtn: false,
editBtn: false,
addBtn: false,
- selection: true,
+ selection: false,
menu: false,
// dateBtn: true,
align: "center",
--
Gitblit v1.9.3