Browse Source

feat: 表单添加标题

DESKTOP-USV654P\pc 6 tháng trước cách đây
mục cha
commit
4fac0187c4
26 tập tin đã thay đổi với 130 bổ sung0 xóa
  1. 5 0
      apps/web-baicai/src/views/cms/article/list/index.vue
  2. 5 0
      apps/web-baicai/src/views/cms/article/type/index.vue
  3. 5 0
      apps/web-baicai/src/views/cms/site/channel/index.vue
  4. 5 0
      apps/web-baicai/src/views/cms/site/channelField/index.vue
  5. 5 0
      apps/web-baicai/src/views/cms/site/domain/index.vue
  6. 5 0
      apps/web-baicai/src/views/cms/site/info/index.vue
  7. 5 0
      apps/web-baicai/src/views/cms/site/menu/index.vue
  8. 5 0
      apps/web-baicai/src/views/plugins/template/index.vue
  9. 5 0
      apps/web-baicai/src/views/system/config/index.vue
  10. 5 0
      apps/web-baicai/src/views/system/department/index.vue
  11. 5 0
      apps/web-baicai/src/views/system/design/database/index.vue
  12. 5 0
      apps/web-baicai/src/views/system/design/query/index.vue
  13. 5 0
      apps/web-baicai/src/views/system/design/table/components/page.vue
  14. 5 0
      apps/web-baicai/src/views/system/design/table/index.vue
  15. 5 0
      apps/web-baicai/src/views/system/dict/item/index.vue
  16. 5 0
      apps/web-baicai/src/views/system/dict/type/index.vue
  17. 5 0
      apps/web-baicai/src/views/system/log/audit/index.vue
  18. 5 0
      apps/web-baicai/src/views/system/log/difference/index.vue
  19. 5 0
      apps/web-baicai/src/views/system/log/exception/index.vue
  20. 5 0
      apps/web-baicai/src/views/system/log/operate/index.vue
  21. 5 0
      apps/web-baicai/src/views/system/log/visit/index.vue
  22. 5 0
      apps/web-baicai/src/views/system/menu/index.vue
  23. 5 0
      apps/web-baicai/src/views/system/post/index.vue
  24. 5 0
      apps/web-baicai/src/views/system/role/index.vue
  25. 5 0
      apps/web-baicai/src/views/system/tenant/index.vue
  26. 5 0
      apps/web-baicai/src/views/system/user/index.vue

+ 5 - 0
apps/web-baicai/src/views/cms/article/list/index.vue

@@ -143,6 +143,11 @@ onMounted(async () => {
     <template v-else>
       <FormEditModal @success="handelSuccess" />
       <Grid>
+        <template #table-title>
+          <span class="border-l-primary border-l-8 border-solid pl-2">
+            {{ modelRef.title }}内容列表
+          </span>
+        </template>
         <template #toolbar-tools>
           <AccessControl :codes="[`${state.authCode}:add`]" type="code">
             <Button

+ 5 - 0
apps/web-baicai/src/views/cms/article/type/index.vue

@@ -148,6 +148,11 @@ onMounted(async () => {
     <template v-else>
       <FormEditModal @success="handelSuccess" />
       <Grid>
+        <template #table-title>
+          <span class="border-l-primary border-l-8 border-solid pl-2">
+            {{ modelRef.title }}类型列表
+          </span>
+        </template>
         <template #toolbar-tools>
           <AccessControl :codes="[`${state.authCode}:add`]" type="code">
             <Button

+ 5 - 0
apps/web-baicai/src/views/cms/site/channel/index.vue

@@ -106,6 +106,11 @@ const [Grid, { reload }] = useVbenVxeGrid(
     <FormEditModal @success="handelSuccess" />
     <FormFieldEditModal />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          频道列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/cms/site/channelField/index.vue

@@ -107,6 +107,11 @@ const getTitle = computed(() => `扩展字段[${unref(modelRef).title}]`);
   <Modal class="w-[1000px]" :title="getTitle">
     <FormEditModal @success="handelSuccess" />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          频道字段列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/cms/site/domain/index.vue

@@ -108,6 +108,11 @@ const getTitle = computed(() => `域名管理[${unref(modelRef).title}]`);
   <Modal class="w-[1000px]" :title="getTitle">
     <FormEditModal @success="handelSuccess" />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          站点域名列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/cms/site/info/index.vue

@@ -121,6 +121,11 @@ const [Grid, { reload }] = useVbenVxeGrid(
     <FormMenuModal />
     <FormDomainModal />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          站点列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/cms/site/menu/index.vue

@@ -119,6 +119,11 @@ const getTitle = computed(() => `域名管理[${unref(modelRef).title}]`);
   <Modal class="w-[1000px]" :title="getTitle">
     <FormEditModal @success="handelSuccess" />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          站点菜单列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/plugins/template/index.vue

@@ -76,6 +76,11 @@ const [Grid, { reload }] = useVbenVxeGrid(
   <Page auto-content-height>
     <FormEditModal @success="handelSuccess" />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          模板列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/system/config/index.vue

@@ -76,6 +76,11 @@ const [Grid, { reload }] = useVbenVxeGrid(
   <Page auto-content-height>
     <FormEditModal @success="handelSuccess" />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          参数配置列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/system/department/index.vue

@@ -81,6 +81,11 @@ const [Grid, { reload }] = useVbenVxeGrid(
   <Page auto-content-height>
     <FormEditModal @success="handelSuccess" />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          组织列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/system/design/database/index.vue

@@ -87,6 +87,11 @@ const [Grid, { reload }] = useVbenVxeGrid(
   <Page auto-content-height>
     <FormEditModal @success="handelSuccess" />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          数据表列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/system/design/query/index.vue

@@ -90,6 +90,11 @@ const [Grid, { reload }] = useVbenVxeGrid(
     <FormEditModal @success="handelSuccess" />
     <FormViewModal />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          查询列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/system/design/table/components/page.vue

@@ -186,6 +186,11 @@ defineExpose({ getSelectRow });
   <div class="h-full">
     <template v-if="!state.error">
       <Grid>
+        <template #table-title>
+          <span class="border-l-primary border-l-8 border-solid pl-2">
+            {{ modelRef.name }}列表
+          </span>
+        </template>
         <template #toolbar-tools></template>
       </Grid>
     </template>

+ 5 - 0
apps/web-baicai/src/views/system/design/table/index.vue

@@ -131,6 +131,11 @@ const [Grid, { reload }] = useVbenVxeGrid(
     <FormMenuEditModal @success="handelSuccess" />
     <FormPreviewModal />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          页面列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/system/dict/item/index.vue

@@ -115,6 +115,11 @@ watch(
   <div class="h-full">
     <FormEditModal @success="handelSuccess" />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          字典项列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/system/dict/type/index.vue

@@ -96,6 +96,11 @@ const [Grid, { reload }] = useVbenVxeGrid(
   <div class="h-full">
     <FormEditModal @success="handelSuccess" />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          字典类型列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/system/log/audit/index.vue

@@ -46,6 +46,11 @@ const [Grid] = useVbenVxeGrid(
 <template>
   <Page auto-content-height>
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          审核日志列表
+        </span>
+      </template>
       <template #toolbar-tools></template>
     </Grid>
   </Page>

+ 5 - 0
apps/web-baicai/src/views/system/log/difference/index.vue

@@ -53,6 +53,11 @@ const handelClear = () => {
 <template>
   <Page auto-content-height>
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          差异日志列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/system/log/exception/index.vue

@@ -80,6 +80,11 @@ const handelClear = () => {
   <Page auto-content-height>
     <FormViewModel />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          异常日志列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/system/log/operate/index.vue

@@ -77,6 +77,11 @@ const handelClear = () => {
   <Page auto-content-height>
     <FormViewModel />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          操作日志列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/system/log/visit/index.vue

@@ -54,6 +54,11 @@ const handelClear = () => {
 <template>
   <Page auto-content-height>
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          访问日志列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/system/menu/index.vue

@@ -89,6 +89,11 @@ const [Grid, { reload }] = useVbenVxeGrid(
   <Page auto-content-height>
     <FormEditModal @success="handelSuccess" />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          菜单列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/system/post/index.vue

@@ -88,6 +88,11 @@ const [Grid, { reload }] = useVbenVxeGrid(
   <Page auto-content-height>
     <FormEditModal @success="handelSuccess" />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          岗位列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/system/role/index.vue

@@ -144,6 +144,11 @@ const handelUserSuccess = async (data: any) => {
     <MenuGrantModal />
     <SelectCardModal title="用户" @success="handelUserSuccess" />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          角色列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/system/tenant/index.vue

@@ -89,6 +89,11 @@ const [Grid, { reload }] = useVbenVxeGrid(
   <Page auto-content-height>
     <FormEditModal @success="handelSuccess" />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          租户列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"

+ 5 - 0
apps/web-baicai/src/views/system/user/index.vue

@@ -168,6 +168,11 @@ const handleDepartmentChange = (keys: any[]) => {
     <FormEditModal @success="handelSuccess" />
     <SelectCardModal title="角色" @success="handelRoleSuccess" />
     <Grid>
+      <template #table-title>
+        <span class="border-l-primary border-l-8 border-solid pl-2">
+          用户列表
+        </span>
+      </template>
       <template #toolbar-tools>
         <Button
           class="mr-2"