mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-04-10 02:07:33 +00:00
v1.0.3
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import request from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import { ${BusinessName}VO, ${BusinessName}Form, ${BusinessName}Query } from '@/api/${moduleName}/${businessName}/types';
|
||||
import {AxiosPromise} from 'axios';
|
||||
import {${BusinessName}Form, ${BusinessName}Query, ${BusinessName}VO} from '@/api/';
|
||||
|
||||
/**
|
||||
* 查询${functionName}列表
|
||||
|
||||
@@ -258,12 +258,19 @@
|
||||
</template>
|
||||
|
||||
<script setup name="${BusinessName}" lang="ts">
|
||||
import { list${BusinessName}, get${BusinessName}, del${BusinessName}, add${BusinessName}, update${BusinessName} } from '@/api/${moduleName}/${businessName}';
|
||||
import { ${BusinessName}VO, ${BusinessName}Query, ${BusinessName}Form } from '@/api/${moduleName}/${businessName}/types';
|
||||
import { ComponentInternalInstance } from 'vue';
|
||||
import { ElForm } from 'element-plus';
|
||||
import {
|
||||
add${BusinessName},
|
||||
${BusinessName}Form,
|
||||
get${BusinessName},
|
||||
list${BusinessName},
|
||||
${BusinessName}Query,
|
||||
update${BusinessName},
|
||||
${BusinessName}VO
|
||||
} from '@/api/';
|
||||
import {ComponentInternalInstance} from 'vue';
|
||||
import {ElForm} from 'element-plus';
|
||||
|
||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
#if(${dicts} != '')
|
||||
#set($dictsNoSymbol=$dicts.replace("'", ""))
|
||||
const { ${dictsNoSymbol} } = toRefs<any>(proxy?.useDict(${dicts}));
|
||||
|
||||
Reference in New Issue
Block a user