feat: componentName

pull/4/MERGE
xingyuv 2023-04-13 13:44:17 +08:00
parent a05f79ff06
commit ffff33a696
81 changed files with 81 additions and 81 deletions

View File

@ -29,7 +29,7 @@
</BasicTable> </BasicTable>
</div> </div>
</template> </template>
<script lang="ts" setup name="Form"> <script lang="ts" setup name="BpmForm">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { IconEnum } from '@/enums/appEnum' import { IconEnum } from '@/enums/appEnum'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="GroupModal"> <script lang="ts" setup name="BpmGroupModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -30,7 +30,7 @@
<GroupModal @register="registerModal" @success="reload()" /> <GroupModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Group"> <script lang="ts" setup name="BpmGroup">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="ModelModal"> <script lang="ts" setup name="BpmModelModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -30,7 +30,7 @@
<ModelModal @register="registerModal" @success="reload()" /> <ModelModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Model"> <script lang="ts" setup name="BpmModel">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -3,7 +3,7 @@
<BasicTable @register="registerTable" /> <BasicTable @register="registerTable" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Form"> <script lang="ts" setup name="BpmLeave">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { BasicTable, useTable } from '@/components/Table' import { BasicTable, useTable } from '@/components/Table'
import { getLeavePage } from '@/api/bpm/leave' import { getLeavePage } from '@/api/bpm/leave'

View File

@ -3,7 +3,7 @@
<BasicTable @register="registerTable" /> <BasicTable @register="registerTable" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Done"> <script lang="ts" setup name="BpmDone">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { BasicTable, useTable } from '@/components/Table' import { BasicTable, useTable } from '@/components/Table'
import { getDoneTaskPage } from '@/api/bpm/task' import { getDoneTaskPage } from '@/api/bpm/task'

View File

@ -3,7 +3,7 @@
<BasicTable @register="registerTable" /> <BasicTable @register="registerTable" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Todo"> <script lang="ts" setup name="BpmTodo">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { BasicTable, useTable } from '@/components/Table' import { BasicTable, useTable } from '@/components/Table'
import { getTodoTaskPage } from '@/api/bpm/task' import { getTodoTaskPage } from '@/api/bpm/task'

View File

@ -9,7 +9,7 @@
</BasicTable> </BasicTable>
</div> </div>
</template> </template>
<script lang="ts" setup name="ApiErrorLog"> <script lang="ts" setup name="InfraApiErrorLog">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { BasicTable, useTable } from '@/components/Table' import { BasicTable, useTable } from '@/components/Table'

View File

@ -31,7 +31,7 @@
</BasicTable> </BasicTable>
</div> </div>
</template> </template>
<script lang="ts" setup name="ApiErrorLog"> <script lang="ts" setup name="InfraApiErrorLog">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { IconEnum } from '@/enums/appEnum' import { IconEnum } from '@/enums/appEnum'
import { InfraApiErrorLogProcessStatusEnum } from '@/enums/systemEnum' import { InfraApiErrorLogProcessStatusEnum } from '@/enums/systemEnum'

View File

@ -3,7 +3,7 @@
<BasicTable @register="registerTable" /> <BasicTable @register="registerTable" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="ImportTableModal"> <script lang="ts" setup name="InfraImportTableModal">
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicTable, useTable } from '@/components/Table' import { BasicTable, useTable } from '@/components/Table'
import { importTableColumns, importTableSearchFormSchema } from '../codegen.data' import { importTableColumns, importTableSearchFormSchema } from '../codegen.data'

View File

@ -23,7 +23,7 @@
</div> </div>
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="PreviewModal"> <script lang="ts" setup name="InfraPreviewModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { Card, Tabs } from 'ant-design-vue' import { Card, Tabs } from 'ant-design-vue'
import { BasicTree } from '@/components/Tree' import { BasicTree } from '@/components/Tree'

View File

@ -43,7 +43,7 @@
<ImportTableModal @register="registerImportTableModal" @success="reload()" /> <ImportTableModal @register="registerImportTableModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Codegen"> <script lang="ts" setup name="InfraCodegen">
import { useGo } from '@/hooks/web/usePage' import { useGo } from '@/hooks/web/usePage'
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="ConfigModal"> <script lang="ts" setup name="InfraConfigModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -33,7 +33,7 @@
<ConfigModal @register="registerModal" @success="reload()" /> <ConfigModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Config"> <script lang="ts" setup name="InfraConfig">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="DataSourceConfigModal"> <script lang="ts" setup name="InfraDataSourceConfigModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -37,7 +37,7 @@
<DataSourceConfigModal @register="registerModal" @success="reload()" /> <DataSourceConfigModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="DataSourceConfig"> <script lang="ts" setup name="InfraDataSourceConfig">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -8,7 +8,7 @@
<IFrame :src="src" /> <IFrame :src="src" />
</PageWrapper> </PageWrapper>
</template> </template>
<script setup lang="ts" name="Swagger"> <script setup lang="ts" name="InfraDbDoc">
import { PageWrapper } from '@/components/Page' import { PageWrapper } from '@/components/Page'
import { onMounted, ref } from 'vue' import { onMounted, ref } from 'vue'
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'

View File

@ -3,7 +3,7 @@
<IFrame :src="src" /> <IFrame :src="src" />
</div> </div>
</template> </template>
<script setup lang="ts" name="Swagger"> <script setup lang="ts" name="InfraDruid">
import { ref } from 'vue' import { ref } from 'vue'
import { IFrame } from '@/components/IFrame' import { IFrame } from '@/components/IFrame'

View File

@ -26,7 +26,7 @@
</BasicTable> </BasicTable>
</div> </div>
</template> </template>
<script lang="ts" setup name="File"> <script lang="ts" setup name="InfraFile">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { IconEnum } from '@/enums/appEnum' import { IconEnum } from '@/enums/appEnum'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="FileConfigModal"> <script lang="ts" setup name="InfraFileConfigModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -32,7 +32,7 @@
<FileConfigModal @register="registerModal" @success="reload()" /> <FileConfigModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="FileConfig"> <script lang="ts" setup name="InfraFileConfig">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="JobModal"> <script lang="ts" setup name="InfraJobModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -38,7 +38,7 @@
<JobModal @register="registerModal" @success="reload()" /> <JobModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Job"> <script lang="ts" setup name="InfraJob">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -17,7 +17,7 @@
<RedisModal @register="registerModal" /> <RedisModal @register="registerModal" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Redis"> <script lang="ts" setup name="InfraRedis">
import { ref, onMounted } from 'vue' import { ref, onMounted } from 'vue'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'
import { Description } from '@/components/Description' import { Description } from '@/components/Description'

View File

@ -3,7 +3,7 @@
<IFrame :src="src" /> <IFrame :src="src" />
</div> </div>
</template> </template>
<script setup lang="ts" name="Swagger"> <script setup lang="ts" name="InfraServer">
import { ref } from 'vue' import { ref } from 'vue'
import { IFrame } from '@/components/IFrame' import { IFrame } from '@/components/IFrame'

View File

@ -3,7 +3,7 @@
<IFrame :src="src" /> <IFrame :src="src" />
</div> </div>
</template> </template>
<script setup lang="ts" name="Swagger"> <script setup lang="ts" name="InfraSkywalking">
import { ref } from 'vue' import { ref } from 'vue'
import { IFrame } from '@/components/IFrame' import { IFrame } from '@/components/IFrame'

View File

@ -3,7 +3,7 @@
<IFrame :src="src" /> <IFrame :src="src" />
</div> </div>
</template> </template>
<script setup lang="ts" name="Swagger"> <script setup lang="ts" name="InfraSwagger">
import { ref } from 'vue' import { ref } from 'vue'
import { IFrame } from '@/components/IFrame' import { IFrame } from '@/components/IFrame'

View File

@ -45,7 +45,7 @@
</div> </div>
</PageWrapper> </PageWrapper>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup name="InfraWebSocket">
import { reactive, watchEffect, computed, ref } from 'vue' import { reactive, watchEffect, computed, ref } from 'vue'
import { Tag, Input } from 'ant-design-vue' import { Tag, Input } from 'ant-design-vue'
import { PageWrapper } from '@/components/Page' import { PageWrapper } from '@/components/Page'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="AccountModal"> <script lang="ts" setup name="MpAccountModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -42,7 +42,7 @@
<AccountModal @register="registerModal" @success="reload()" /> <AccountModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Account"> <script lang="ts" setup name="MpAccount">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="PostModal"> <script lang="ts" setup name="MpTagModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -33,7 +33,7 @@
<TagModal @register="registerModal" @success="reload()" /> <TagModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Tag"> <script lang="ts" setup name="MpTag">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="AreaModal"> <script lang="ts" setup name="SystemAreaModal">
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'
import { formSchema } from './area.data' import { formSchema } from './area.data'

View File

@ -8,7 +8,7 @@
<AreaModal @register="registerModal" @success="reload()" /> <AreaModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Area"> <script lang="ts" setup name="SystemArea">
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'
import AreaModal from './AreaModal.vue' import AreaModal from './AreaModal.vue'
import { IconEnum } from '@/enums/appEnum' import { IconEnum } from '@/enums/appEnum'

View File

@ -35,7 +35,7 @@
<DeptModal @register="registerModal" @success="reload()" /> <DeptModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Dept"> <script lang="ts" setup name="SystemDept">
import { nextTick, ref, onMounted } from 'vue' import { nextTick, ref, onMounted } from 'vue'
import { handleTree } from '@/utils/tree' import { handleTree } from '@/utils/tree'
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'

View File

@ -30,7 +30,7 @@
<DictDataModal @register="registerModal" @success="reload()" /> <DictDataModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="DictData"> <script lang="ts" setup name="SystemDictData">
import { watch } from 'vue' import { watch } from 'vue'
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="DictDataModal"> <script lang="ts" setup name="SystemDictDataModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="DictTypeModal"> <script lang="ts" setup name="SystemDictTypeModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -31,7 +31,7 @@
<DictTypeModal @register="registerModal" @success="reload()" /> <DictTypeModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Dict"> <script lang="ts" setup name="SystemDict">
import { reactive } from 'vue' import { reactive } from 'vue'
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="ErrorCodeModal"> <script lang="ts" setup name="SystemErrorCodeModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -33,7 +33,7 @@
<ErrorCodeModal @register="registerModal" @success="reload()" /> <ErrorCodeModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="ErrorCode"> <script lang="ts" setup name="SystemErrorCode">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -7,7 +7,7 @@
</BasicTable> </BasicTable>
</div> </div>
</template> </template>
<script lang="ts" setup name="LoginLog"> <script lang="ts" setup name="SystemLoginLog">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { BasicTable, useTable } from '@/components/Table' import { BasicTable, useTable } from '@/components/Table'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="MailAccountModal"> <script lang="ts" setup name="SystemMailAccountModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -30,7 +30,7 @@
<AccountModal @register="registerModal" @success="reload()" /> <AccountModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="MailAccount"> <script lang="ts" setup name="SystemMailAccount">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -3,7 +3,7 @@
<BasicTable @register="registerTable" /> <BasicTable @register="registerTable" />
</div> </div>
</template> </template>
<script lang="ts" setup name="OperateLog"> <script lang="ts" setup name="SystemOperateLog">
import { BasicTable, useTable } from '@/components/Table' import { BasicTable, useTable } from '@/components/Table'
import { getMailAccountPage } from '@/api/system/mail/log' import { getMailAccountPage } from '@/api/system/mail/log'
import { columns, searchFormSchema } from './mailLog.data' import { columns, searchFormSchema } from './mailLog.data'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="MailTemplateModal"> <script lang="ts" setup name="SystemMailTemplateModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -41,7 +41,7 @@
<TemplateModal @register="registerModal" @success="reload()" /> <TemplateModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="MailTemplate"> <script lang="ts" setup name="SystemMailTemplate">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="MenuModal"> <script lang="ts" setup name="SystemMenuModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -32,7 +32,7 @@
<MenuModal @register="registerModal" @success="reload()" /> <MenuModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Menu"> <script lang="ts" setup name="SystemMenu">
import { handleTree } from '@/utils/tree' import { handleTree } from '@/utils/tree'
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="NoticeModal"> <script lang="ts" setup name="SystemNoticeModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -30,7 +30,7 @@
<NoticeModal @register="registerModal" @success="reload()" /> <NoticeModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Notice"> <script lang="ts" setup name="SystemNotice">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -3,7 +3,7 @@
<BasicTable @register="registerTable" /> <BasicTable @register="registerTable" />
</div> </div>
</template> </template>
<script lang="ts" setup name="LoginLog"> <script lang="ts" setup name="SystemMessage">
import { BasicTable, useTable } from '@/components/Table' import { BasicTable, useTable } from '@/components/Table'
import { getNotifyMessagePage } from '@/api/system/notify/message' import { getNotifyMessagePage } from '@/api/system/notify/message'
import { columns, searchFormSchema } from './message.data' import { columns, searchFormSchema } from './message.data'

View File

@ -13,7 +13,7 @@
</BasicTable> </BasicTable>
</div> </div>
</template> </template>
<script lang="ts" setup name="MyNotify"> <script lang="ts" setup name="SystemMyMessage">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { IconEnum } from '@/enums/appEnum' import { IconEnum } from '@/enums/appEnum'

View File

@ -35,7 +35,7 @@
<TemplateModal @register="registerModal" @success="reload()" /> <TemplateModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="NotifyTemplate"> <script lang="ts" setup name="SystemMessageTemplate">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="ClientModal"> <script lang="ts" setup name="SystemClientModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -30,7 +30,7 @@
<ClientModal @register="registerModal" @success="reload()" /> <ClientModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Client"> <script lang="ts" setup name="SystemClient">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -23,7 +23,7 @@
</BasicTable> </BasicTable>
</div> </div>
</template> </template>
<script lang="ts" setup name="Token"> <script lang="ts" setup name="SystemToken">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { IconEnum } from '@/enums/appEnum' import { IconEnum } from '@/enums/appEnum'
import { BasicTable, useTable, TableAction } from '@/components/Table' import { BasicTable, useTable, TableAction } from '@/components/Table'

View File

@ -7,7 +7,7 @@
</BasicTable> </BasicTable>
</div> </div>
</template> </template>
<script lang="ts" setup name="OperateLog"> <script lang="ts" setup name="SystemOperateLog">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { IconEnum } from '@/enums/appEnum' import { IconEnum } from '@/enums/appEnum'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="PostModal"> <script lang="ts" setup name="SystemPostModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -33,7 +33,7 @@
<PostModal @register="registerModal" @success="reload()" /> <PostModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Post"> <script lang="ts" setup name="SystemPost">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -14,7 +14,7 @@
</BasicForm> </BasicForm>
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="RoleMenuModal"> <script lang="ts" setup name="SystemRoleMenuModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="RoleModal"> <script lang="ts" setup name="SystemRoleModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -14,7 +14,7 @@
</BasicForm> </BasicForm>
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="RoleScopeModal"> <script lang="ts" setup name="SystemRoleScopeModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -49,7 +49,7 @@
<RoleScopeModal @register="registerScopeModal" @success="reload()" /> <RoleScopeModal @register="registerScopeModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Role"> <script lang="ts" setup name="SystemRole">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="SensitiveWordModal"> <script lang="ts" setup name="SystemSensitiveWordModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -38,7 +38,7 @@
<SensitiveWordModal @register="registerModal" @success="reload()" /> <SensitiveWordModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="SensitiveWord"> <script lang="ts" setup name="SystemSensitiveWord">
import { BasicTable, useTable, TableAction } from '@/components/Table' import { BasicTable, useTable, TableAction } from '@/components/Table'
import { SensitiveWordExportReqVO, deleteSensitiveWord, exportSensitiveWord, getSensitiveWordPage } from '@/api/system/sensitiveWord' import { SensitiveWordExportReqVO, deleteSensitiveWord, exportSensitiveWord, getSensitiveWordPage } from '@/api/system/sensitiveWord'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="SmsChannelModal"> <script lang="ts" setup name="SystemSmsChannelModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -30,7 +30,7 @@
<SmsChannelModal @register="registerModal" @success="reload()" /> <SmsChannelModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="SmsChannel"> <script lang="ts" setup name="SystemSmsChannel">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -9,7 +9,7 @@
</BasicTable> </BasicTable>
</div> </div>
</template> </template>
<script lang="ts" setup name="SmsLog"> <script lang="ts" setup name="SystemSmsLog">
import { BasicTable, useTable } from '@/components/Table' import { BasicTable, useTable } from '@/components/Table'
import { IconEnum } from '@/enums/appEnum' import { IconEnum } from '@/enums/appEnum'
import { SmsLogExportReqVO, exportSmsLog, getSmsLogPage } from '@/api/system/sms/smsLog' import { SmsLogExportReqVO, exportSmsLog, getSmsLogPage } from '@/api/system/sms/smsLog'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="SmsTemplateModal"> <script lang="ts" setup name="SystemSmsTemplateModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -39,7 +39,7 @@
<SmsTemplateModal @register="registerModal" @success="reload()" /> <SmsTemplateModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="SmsTemplate"> <script lang="ts" setup name="SystemSmsTemplate">
import { BasicTable, useTable, TableAction } from '@/components/Table' import { BasicTable, useTable, TableAction } from '@/components/Table'
import { SmsTemplateExportReqVO, deleteSmsTemplate, exportSmsTemplate, getSmsTemplatePage } from '@/api/system/sms/smsTemplate' import { SmsTemplateExportReqVO, deleteSmsTemplate, exportSmsTemplate, getSmsTemplatePage } from '@/api/system/sms/smsTemplate'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="TenantModal"> <script lang="ts" setup name="SystemTenantModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -33,7 +33,7 @@
<TenantModal @register="registerModal" @success="reload()" /> <TenantModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="Tenant"> <script lang="ts" setup name="SystemTenant">
import { BasicTable, useTable, TableAction } from '@/components/Table' import { BasicTable, useTable, TableAction } from '@/components/Table'
import { TenantExportReqVO, deleteTenant, exportTenant, getTenantPage } from '@/api/system/tenant' import { TenantExportReqVO, deleteTenant, exportTenant, getTenantPage } from '@/api/system/tenant'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -15,7 +15,7 @@
</BasicForm> </BasicForm>
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="TenantPackageModal"> <script lang="ts" setup name="SystemTenantPackageModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'
import { BasicTree, TreeItem } from '@/components/Tree' import { BasicTree, TreeItem } from '@/components/Tree'

View File

@ -35,7 +35,7 @@
<TenantPackageModal @register="registerModal" @success="reload()" /> <TenantPackageModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="TenantPackage"> <script lang="ts" setup name="SystemTenantPackage">
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'
import { useModal } from '@/components/Modal' import { useModal } from '@/components/Modal'

View File

@ -12,7 +12,7 @@
/> />
</div> </div>
</template> </template>
<script lang="ts" setup name="DeptTree"> <script lang="ts" setup name="SystemDeptTree">
import { onMounted, ref } from 'vue' import { onMounted, ref } from 'vue'
import { BasicTree, TreeItem } from '@/components/Tree' import { BasicTree, TreeItem } from '@/components/Tree'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="ResetPwdModal"> <script lang="ts" setup name="SystemResetPwdModal">
import { ref } from 'vue' import { ref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="UserModal"> <script lang="ts" setup name="SystemUserModal">
import { ref, unref } from 'vue' import { ref, unref } from 'vue'
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'

View File

@ -3,7 +3,7 @@
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup name="UserRoleModal"> <script lang="ts" setup name="SystemUserRoleModal">
import { BasicModal, useModalInner } from '@/components/Modal' import { BasicModal, useModalInner } from '@/components/Modal'
import { BasicForm, useForm } from '@/components/Form' import { BasicForm, useForm } from '@/components/Form'
import { userRoleFormSchema } from './user.data' import { userRoleFormSchema } from './user.data'

View File

@ -50,7 +50,7 @@
<ResetPwdModal @register="registerPwdModal" @success="reload()" /> <ResetPwdModal @register="registerPwdModal" @success="reload()" />
</div> </div>
</template> </template>
<script lang="ts" setup name="User"> <script lang="ts" setup name="SystemUser">
import { reactive } from 'vue' import { reactive } from 'vue'
import { useI18n } from '@/hooks/web/useI18n' import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage' import { useMessage } from '@/hooks/web/useMessage'