From 964b93aff95773bff148e54607105e31fbdfc770 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期二, 07 一月 2025 16:11:40 +0800
Subject: [PATCH] add:配置2
---
pages/regular/config-customer.vue | 19 ++++++++++++++++++-
pages/regular/config-param.vue | 8 ++++++--
2 files changed, 24 insertions(+), 3 deletions(-)
diff --git a/pages/regular/config-customer.vue b/pages/regular/config-customer.vue
index 7bba8e4..d982470 100644
--- a/pages/regular/config-customer.vue
+++ b/pages/regular/config-customer.vue
@@ -13,6 +13,7 @@
deleteUrl: 'flower/api/configCustomer/delete',
columns: [
{label: '序号', type: 'index'},
+ {label: '类型', prop: 'typeStr'},
{label: '名称', prop: 'name'},
{label: '描述', prop: 'description'},
{label: '图标内容', prop: 'iconContent'},
@@ -28,12 +29,14 @@
) : null,
},
{label: '微信号', prop: 'weixin'},
+ {label: '联系方式', prop: 'contact'},
],
searchForm: [
{
type: 'row',
- items: [{label: '等级名称:', id: 'name', type: 'input'}],
+ items: [{label: '名称:', id: 'name', type: 'input'},
+ {label: '类型:', id: 'type', type: 'input'}],
},
],
form: [
@@ -79,6 +82,20 @@
type: 'input',
rules: {required: true, message: '请输入客服关联微信号'},
},
+ {
+ label: '类型', id: 'type',
+ type: 'bus-select-dict',
+ el: {
+ code: 'CONFIG_CUSTOMER_CONTACT',
+ style: 'width:100%',
+ },
+ },
+ {
+ label: '联系方式:',
+ id: 'contact',
+ type: 'input',
+ rules: {required: false, message: '请输入联系方式'},
+ },
],
},
}
diff --git a/pages/regular/config-param.vue b/pages/regular/config-param.vue
index 012f51c..47c22ad 100644
--- a/pages/regular/config-param.vue
+++ b/pages/regular/config-param.vue
@@ -30,7 +30,7 @@
searchForm: [
{
type: 'row',
- items: [{label: '变量分组:', id: 'paramGroup', type: 'input'},
+ items: [
{label: '变量分组名:', id: 'paramGroupName', type: 'input'}],
},
],
@@ -105,7 +105,11 @@
{
label: '控件类型',
id: 'paramControlType',
- type: 'input',
+ type: 'bus-select-dict',
+ el: {
+ code: 'PARAM_CONTROL_TYPE',
+ style: 'width:100%',
+ },
rules: {required: true, message: '请输入控件类型'},
},
{
--
Gitblit v1.9.3