From 8c6cf205affbbc8ada74f00a7ca25ebca867e9ed Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 27 Sep 2021 11:44:44 +0800
Subject: [PATCH] 图表颜色
---
src/views/system/tenant.vue | 23 +++++++++++++++--------
1 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/src/views/system/tenant.vue b/src/views/system/tenant.vue
index ceb9a52..a52356b 100644
--- a/src/views/system/tenant.vue
+++ b/src/views/system/tenant.vue
@@ -48,13 +48,13 @@
<el-tag>{{ row.expireTime ? row.expireTime : '不限制' }}</el-tag>
</template>
</avue-crud>
- <el-dialog title="租户授权配置"
+ <el-dialog title="保安单位授权配置"
append-to-body
:visible.sync="box"
width="450px">
<avue-form :option="settingOption" v-model="settingForm" @submit="handleSubmit"/>
</el-dialog>
- <el-dialog title="租户数据源配置"
+ <el-dialog title="保安单位数据源配置"
append-to-body
:visible.sync="datasourceBox"
width="450px">
@@ -84,6 +84,7 @@
option: {
height: 'auto',
calcHeight: 30,
+ labelWidth: '125',
tip: false,
searchShow: true,
searchMenuSpan: 6,
@@ -95,24 +96,28 @@
dialogClickModal: false,
column: [
{
- label: "租户ID",
+ label: "保安单位ID",
prop: "tenantId",
- width: 100,
+ width: 130,
+ searchLabelWidth:"150",
+ searchSpan:5,
search: true,
addDisplay: false,
editDisplay: false,
span: 24,
rules: [{
required: true,
- message: "请输入租户ID",
+ message: "请输入保安单位ID",
trigger: "blur"
}]
},
{
- label: "租户名称",
+ label: "保安单位名称",
+ searchLabelWidth:"150",
prop: "tenantName",
+ searchSpan:5,
search: true,
- width: 180,
+ width: 280,
span: 24,
rules: [{
required: true,
@@ -122,9 +127,11 @@
},
{
label: "联系人",
+ searchLabelWidth:"100",
prop: "linkman",
- width: 100,
+ width: 200,
search: true,
+ searchSpan:5,
rules: [{
required: true,
message: "请输入联系人",
--
Gitblit v1.9.3