mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-17 12:25:07 +08:00
1、应用管理缺少字段导致添加不了
2、短信模板添加缺少字段 3、短信日志导出接口错误 4、基础设施中英切换暂无用,先注释,生成json数据格式化 5、日志表格不显示链路地址(同vue2) 6、搜索框前字宽换行问题
This commit is contained in:
@ -22,6 +22,10 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||
primaryType: null,
|
||||
action: true,
|
||||
columns: [
|
||||
{
|
||||
title: '客户端端号',
|
||||
field: 'clientId'
|
||||
},
|
||||
{
|
||||
title: '客户端密钥',
|
||||
field: 'secret'
|
||||
|
@ -1,6 +1,19 @@
|
||||
import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas'
|
||||
import * as smsApi from '@/api/system/sms/smsChannel'
|
||||
const { t } = useI18n() // 国际化
|
||||
|
||||
const tenantPackageOption = []
|
||||
const getTenantPackageOptions = async () => {
|
||||
const res = await smsApi.getSimpleSmsChannels()
|
||||
console.log(res, 'resresres')
|
||||
res.forEach((tenantPackage: TenantPackageVO) => {
|
||||
tenantPackageOption.push({
|
||||
key: tenantPackage.id,
|
||||
value: tenantPackage.id,
|
||||
label: tenantPackage.signature
|
||||
})
|
||||
})
|
||||
}
|
||||
getTenantPackageOptions()
|
||||
// 表单校验
|
||||
export const rules = reactive({
|
||||
type: [required],
|
||||
@ -20,6 +33,19 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||
action: true,
|
||||
actionWidth: '280',
|
||||
columns: [
|
||||
{
|
||||
title: '短信渠道编码',
|
||||
field: 'channelId',
|
||||
isSearch: false,
|
||||
isForm: true,
|
||||
isTable: false,
|
||||
form: {
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
options: tenantPackageOption
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '模板编码',
|
||||
field: 'code',
|
||||
|
Reference in New Issue
Block a user