feat: add tenant realname review policy
This commit is contained in:
@@ -100,6 +100,15 @@
|
||||
/>
|
||||
</n-form-item>
|
||||
</n-gi>
|
||||
<n-gi span="1">
|
||||
<n-form-item label="实名审核方式" path="realnameReviewPolicy">
|
||||
<n-select
|
||||
v-model:value="formValue.realnameReviewPolicy"
|
||||
:options="realnameReviewPolicyOptions"
|
||||
placeholder="请选择实名审核方式"
|
||||
/>
|
||||
</n-form-item>
|
||||
</n-gi>
|
||||
<n-gi span="2">
|
||||
<n-form-item label="商户描述" path="tenantDesc">
|
||||
<n-input
|
||||
@@ -145,6 +154,10 @@
|
||||
return adaModalWidth(840);
|
||||
});
|
||||
const stateOptions = dict.getOption('ImTenantStateOptions');
|
||||
const realnameReviewPolicyOptions = [
|
||||
{ label: '不自动审核', value: 0 },
|
||||
{ label: '自动审核,失败后转人工', value: 1 },
|
||||
];
|
||||
|
||||
// 提交表单
|
||||
function confirmForm(e) {
|
||||
|
||||
@@ -21,6 +21,7 @@ export class State {
|
||||
public maxGroupMembers = 0; // 最大群成员数
|
||||
public aliyunModerationEnabled = 0; // 是否启用阿里云内容审核
|
||||
public localModerationEnabled = 0; // 是否启用本地内容审核
|
||||
public realnameReviewPolicy = 0; // 实名审核策略
|
||||
public dbDsnConfigured = false; // 是否配置独立连接串
|
||||
public createdBy = 0; // 创建者
|
||||
public createdBySumma?: null | MemberSumma = null; // 创建者摘要信息
|
||||
@@ -236,6 +237,19 @@ export const columns = [
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '实名审核',
|
||||
key: 'realnameReviewPolicy',
|
||||
align: 'left',
|
||||
width: 150,
|
||||
render(row: State) {
|
||||
return h(
|
||||
NTag,
|
||||
{ type: row.realnameReviewPolicy === 1 ? 'success' : 'default', bordered: false },
|
||||
{ default: () => (row.realnameReviewPolicy === 1 ? '自动审核' : '人工审核') }
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '创建者',
|
||||
key: 'createdBy',
|
||||
|
||||
Reference in New Issue
Block a user