From cc1c0a396698648256c350f6f0fe2cb2f0b02c7e Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Wed, 27 Mar 2024 15:44:10 +0800
Subject: [PATCH] 许可按钮放出,备案审批按钮放出
---
src/views/statisticalQueryManagement/companyDetails.vue | 43 ++++++++++++++++++++++++++++---------------
1 files changed, 28 insertions(+), 15 deletions(-)
diff --git a/src/views/statisticalQueryManagement/companyDetails.vue b/src/views/statisticalQueryManagement/companyDetails.vue
index d23026d..63b7843 100644
--- a/src/views/statisticalQueryManagement/companyDetails.vue
+++ b/src/views/statisticalQueryManagement/companyDetails.vue
@@ -12,6 +12,7 @@
@current-change="currentChange"
@size-change="sizeChange"
@refresh-change="refreshChange"
+ @on-load="onLoad"
>
</avue-crud>
</basic-container>
@@ -23,6 +24,7 @@
import { selectUIn } from "../../api/statisticalQueryManagement/statisticalQueryManagement";
export default {
name: "公司人员详情",
+ props: ["fwdeptId"],
data() {
return {
page: {
@@ -81,37 +83,47 @@
// dateBtn: true,
align: "center",
height: "auto",
- calcHeight: 90,
+ calcHeight: 30,
tip: false,
searchShowBtn: false,
searchShow: true,
- searchMenuSpan: 6,
+ searchMenuSpan: 10,
index: true,
+ indexLabel:'序号',
viewBtn: true,
dialogClickModal: false,
column: [
{
label: "保安姓名",
- searchLabelWidth: 110,
+ // searchLabelWidth: 90,
prop: "real_name",
search: true,
searchSpan: 4,
+ display: false
+ },
+ {
+ label: "企业名称",
+ prop: "enterpriseName",
+ width: 300,
display: false
},
{
label: "保安证编号",
prop: "securitynumber",
+ width: 180,
display: false
},
{
label: "身份证号",
prop: "cardid",
+ width: 180,
display: false
},
{
label: "联系方式",
prop: "phone",
+ width: 180,
display: false
},
{
@@ -151,7 +163,7 @@
{
label: "是否缴纳社保",
// labelWidth: 120,
- searchLabelWidth: 110,
+ searchLabelWidth: 100,
prop: "soil",
searchSpan: 4,
type: "select",
@@ -210,7 +222,7 @@
},
{
label: "资格审查情况",
- searchLabelWidth: 110,
+ searchLabelWidth: 100,
prop: "examination_type",
searchSpan: 4,
type: "select",
@@ -297,7 +309,8 @@
]
},
companyName: "",
- loading: true
+ loading: true,
+ deptid: ""
};
},
computed: {
@@ -340,7 +353,7 @@
// params = { current: page.currentPage, size: page.pageSize };
// }
let param = {};
- param["deptid"] = params["deptid"] || "";
+ param["deptid"] = this.fwdeptId;
param["name"] = params["real_name"] || "";
param["hold"] =
params["hold"] || params["hold"] == "0" ? Number(params["hold"]) : "";
@@ -368,7 +381,7 @@
this.loading = false;
});
},
-
+
getLocationParams() {
let url = window.location.href;
let urlArr = url.split("?")[1].split("&");
@@ -377,19 +390,19 @@
let mm = urlArr[i].split("=");
object[decodeURIComponent(mm[0])] = decodeURIComponent(mm[1]);
}
- let deptid = object["deptid"] || "";
- let obj = { deptid: deptid };
- this.onLoad(this.page, obj);
+ this.deptid = object["deptid"] || "";
+ this.query = { deptid: this.deptid };
+ this.onLoad(this.page, this.query);
}
},
mounted() {
// this.getTableData();
- this.getLocationParams();
+ // this.getLocationParams();
}
};
</script>
<style lang="scss" scoped>
-/deep/ .avue-crud__menu {
- height: 130px !important;
-}
+// /deep/ .avue-crud__menu {
+// height: 130px !important;
+// }
</style>
--
Gitblit v1.9.3