feat: 统一IM后台商户文案和默认选择
This commit is contained in:
@@ -10,9 +10,9 @@ const dict = useDictStore();
|
||||
|
||||
export class State {
|
||||
public id = 0; // ID
|
||||
public code = ''; // 租户编码
|
||||
public name = ''; // 租户名称
|
||||
public tenantDesc = ''; // 租户描述
|
||||
public code = ''; // 商户编码
|
||||
public name = ''; // 商户名称
|
||||
public tenantDesc = ''; // 商户描述
|
||||
public dbName = ''; // 业务库名
|
||||
public dbDsn = ''; // 独立连接串
|
||||
public state = 1; // 状态
|
||||
@@ -69,19 +69,19 @@ export const rules = {
|
||||
required: true,
|
||||
trigger: ['blur', 'input'],
|
||||
type: 'string',
|
||||
message: '请输入租户编码',
|
||||
message: '请输入商户编码',
|
||||
},
|
||||
name: {
|
||||
required: true,
|
||||
trigger: ['blur', 'input'],
|
||||
type: 'string',
|
||||
message: '请输入租户名称',
|
||||
message: '请输入商户名称',
|
||||
},
|
||||
state: {
|
||||
required: true,
|
||||
trigger: ['blur', 'change'],
|
||||
type: 'number',
|
||||
message: '请选择租户状态',
|
||||
message: '请选择商户状态',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -90,17 +90,17 @@ export const schemas = ref<FormSchema[]>([
|
||||
{
|
||||
field: 'code',
|
||||
component: 'NInput',
|
||||
label: '租户编码',
|
||||
label: '商户编码',
|
||||
componentProps: {
|
||||
placeholder: '请输入租户编码',
|
||||
placeholder: '请输入商户编码',
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'name',
|
||||
component: 'NInput',
|
||||
label: '租户名称',
|
||||
label: '商户名称',
|
||||
componentProps: {
|
||||
placeholder: '请输入租户名称',
|
||||
placeholder: '请输入商户名称',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -142,13 +142,13 @@ export const columns = [
|
||||
width: 70,
|
||||
},
|
||||
{
|
||||
title: '租户编码',
|
||||
title: '商户编码',
|
||||
key: 'code',
|
||||
align: 'left',
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
title: '租户名称',
|
||||
title: '商户名称',
|
||||
key: 'name',
|
||||
align: 'left',
|
||||
width: 180,
|
||||
|
||||
Reference in New Issue
Block a user