代码生成,支持设置前端的模版
							parent
							
								
									f3c6249600
								
							
						
					
					
						commit
						5d089161e0
					
				| 
						 | 
				
			
			@ -30,7 +30,7 @@ const { query } = useRoute() // 查询参数
 | 
			
		|||
const { delView } = useTagsViewStore() // 视图操作
 | 
			
		||||
 | 
			
		||||
const formLoading = ref(false) // 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用
 | 
			
		||||
const activeName = ref('basicInfo') // Tag 激活的窗口
 | 
			
		||||
const activeName = ref('colum') // Tag 激活的窗口
 | 
			
		||||
const basicInfoRef = ref<ComponentRef<typeof BasicInfoForm>>()
 | 
			
		||||
const columInfoRef = ref<ComponentRef<typeof ColumInfoForm>>()
 | 
			
		||||
const generateInfoRef = ref<ComponentRef<typeof GenerateInfoForm>>()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,7 +19,7 @@ export const rules = reactive({
 | 
			
		|||
  sslEnable: [required]
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
// CrudSchema:https://kailong110120130.gitee.io/vue-element-plus-admin-doc/hooks/useCrudSchemas.html
 | 
			
		||||
// CrudSchema:https://doc.iocoder.cn/vue3/crud-schema/
 | 
			
		||||
const crudSchemas = reactive<CrudSchema[]>([
 | 
			
		||||
  {
 | 
			
		||||
    label: '邮箱',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -72,7 +72,7 @@ import MailAccountDetail from './MailAccountDetail.vue'
 | 
			
		|||
 | 
			
		||||
// tableObject:表格的属性对象,可获得分页大小、条数等属性
 | 
			
		||||
// tableMethods:表格的操作对象,可进行获得分页、删除记录等操作
 | 
			
		||||
// 详细可见:https://kailong110120130.gitee.io/vue-element-plus-admin-doc/components/table.html#usetable
 | 
			
		||||
// 详细可见:https://doc.iocoder.cn/vue3/crud-schema/
 | 
			
		||||
const { tableObject, tableMethods } = useTable({
 | 
			
		||||
  getListApi: MailAccountApi.getMailAccountPage, // 分页接口
 | 
			
		||||
  delListApi: MailAccountApi.deleteMailAccount // 删除接口
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -41,7 +41,7 @@ import MailLogDetail from './MailLogDetail.vue'
 | 
			
		|||
 | 
			
		||||
// tableObject:表格的属性对象,可获得分页大小、条数等属性
 | 
			
		||||
// tableMethods:表格的操作对象,可进行获得分页、删除记录等操作
 | 
			
		||||
// 详细可见:https://kailong110120130.gitee.io/vue-element-plus-admin-doc/components/table.html#usetable
 | 
			
		||||
// 详细可见:https://doc.iocoder.cn/vue3/crud-schema/
 | 
			
		||||
const { tableObject, tableMethods } = useTable({
 | 
			
		||||
  getListApi: MailLogApi.getMailLogPage // 分页接口
 | 
			
		||||
})
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,7 +5,7 @@ import * as MailAccountApi from '@/api/system/mail/account'
 | 
			
		|||
// 邮箱账号的列表
 | 
			
		||||
const accountList = await MailAccountApi.getSimpleMailAccountList()
 | 
			
		||||
 | 
			
		||||
// CrudSchema:https://kailong110120130.gitee.io/vue-element-plus-admin-doc/hooks/useCrudSchemas.html
 | 
			
		||||
// CrudSchema:https://doc.iocoder.cn/vue3/crud-schema/
 | 
			
		||||
const crudSchemas = reactive<CrudSchema[]>([
 | 
			
		||||
  {
 | 
			
		||||
    label: '编号',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -73,7 +73,7 @@ import MailTemplateSendForm from './MailTemplateSendForm.vue'
 | 
			
		|||
 | 
			
		||||
// tableObject:表格的属性对象,可获得分页大小、条数等属性
 | 
			
		||||
// tableMethods:表格的操作对象,可进行获得分页、删除记录等操作
 | 
			
		||||
// 详细可见:https://kailong110120130.gitee.io/vue-element-plus-admin-doc/components/table.html#usetable
 | 
			
		||||
// 详细可见:https://doc.iocoder.cn/vue3/crud-schema/
 | 
			
		||||
const { tableObject, tableMethods } = useTable({
 | 
			
		||||
  getListApi: MailTemplateApi.getMailTemplatePage, // 分页接口
 | 
			
		||||
  delListApi: MailTemplateApi.deleteMailTemplate // 删除接口
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,7 +17,7 @@ export const rules = reactive({
 | 
			
		|||
  status: [required]
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
// CrudSchema:https://kailong110120130.gitee.io/vue-element-plus-admin-doc/hooks/useCrudSchemas.html
 | 
			
		||||
// CrudSchema:https://doc.iocoder.cn/vue3/crud-schema/
 | 
			
		||||
const crudSchemas = reactive<CrudSchema[]>([
 | 
			
		||||
  {
 | 
			
		||||
    label: '模板编码',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue