Browse Source

修改文件

ZaiZai 11 months ago
parent
commit
901c08a5da

+ 1 - 5
src/views/authority/api.vue

@@ -10,7 +10,7 @@
                 <hc-search-input v-model="searchForm.name" placeholder="请输入菜单名称" @search="searchClick" />
             </div>
         </template>
-        <hc-table :column="tableColumn" :datas="tableData" :loading="tableLoading" :is-index="false"  lazy :load="tableLoad">
+        <hc-table :column="tableColumn" :datas="tableData" :loading="tableLoading" :is-index="false" lazy :load="tableLoad">
             <template #sysId="{ row }">{{ getSystemNmae(row.sysId) }}</template>
             <template #action="{ row }">
                 <el-link type="primary" @click="authRowClick(row)">权限配置</el-link>
@@ -34,10 +34,6 @@ import menuApi from '~api/system/menu'
 const router = useRouter()
 const useRoutes = useRoute()
 
-defineOptions({
-    name: 'ApiScope',
-})
-
 //激活
 onActivated(() => {
 //获取参数

+ 2 - 6
src/views/authority/data.vue

@@ -10,7 +10,7 @@
                 <hc-search-input v-model="searchForm.name" placeholder="请输入菜单名称" @search="searchClick" />
             </div>
         </template>
-        <hc-table :column="tableColumn" :datas="tableData" :loading="tableLoading" :is-index="false"  lazy :load="tableLoad">
+        <hc-table :column="tableColumn" :datas="tableData" :loading="tableLoading" :is-index="false" lazy :load="tableLoad">
             <template #sysId="{ row }">{{ getSystemNmae(row.sysId) }}</template>
             <template #action="{ row }">
                 <el-link type="primary" @click="authRowClick(row)">权限配置</el-link>
@@ -34,13 +34,9 @@ import menuApi from '~api/system/menu'
 const router = useRouter()
 const useRoutes = useRoute()
 
-defineOptions({
-    name: 'DataScope',
-})
-
 //激活
 onActivated(() => {
-//获取参数
+    //获取参数
     const { sysId, name } = getObjValue(useRoutes.query)
     searchForm.value = { sysId: sysId, name: name }
     //获取数据

+ 3 - 4
src/views/authority/modules/api/auth.vue

@@ -13,7 +13,7 @@
                 </template>
                 <hc-table
                     :column="tableColumn" :datas="tableData" :loading="tableLoading"
-                    :is-index="false"  is-check :check-style="{ width: 29 }"
+                    :is-index="false" is-check :check-style="{ width: 29 }"
                     @selection-change="tableCheckChange"
                 >
                     <template #scopeType="{ row }">{{ getScopeTypeName(row) }}</template>
@@ -184,12 +184,11 @@ const tableCheckChange = (rows) => {
     tableCheckKeys.value = rows
 }
 
-
 //新增/修改 弹窗
 const isDialogShow = ref(false)
 const dialogTitle = ref('')
 
-//菜单表单
+//表单
 const formRef = ref(null)
 const formModel = ref({})
 const formRules = {
@@ -226,7 +225,7 @@ const addClick = () => {
     })
 }
 
-//修改菜单
+//修改
 const editRowClick = (row) => {
     formModel.value = {}
     dialogTitle.value = '修改接口权限'

+ 3 - 3
src/views/authority/modules/data/auth.vue

@@ -13,7 +13,7 @@
                 </template>
                 <hc-table
                     :column="tableColumn" :datas="tableData" :loading="tableLoading"
-                    :is-index="false"  is-check :check-style="{ width: 29 }"
+                    :is-index="false" is-check :check-style="{ width: 29 }"
                     @selection-change="tableCheckChange"
                 >
                     <template #scopeType="{ row }">{{ getScopeTypeName(row) }}</template>
@@ -207,7 +207,7 @@ const tableCheckChange = (rows) => {
 const isDialogShow = ref(false)
 const dialogTitle = ref('')
 
-//菜单表单
+//表单
 const formRef = ref(null)
 const formModel = ref({})
 const formRules = {
@@ -254,7 +254,7 @@ const addClick = () => {
     })
 }
 
-//修改菜单
+//修改
 const editRowClick = (row) => {
     formModel.value = {}
     dialogTitle.value = '修改数据权限'

+ 2 - 6
src/views/authority/role.vue

@@ -16,7 +16,7 @@
         </template>
         <hc-table
             :column="tableColumn" :datas="tableData" :loading="tableLoading"
-            :is-index="false"  is-check :check-style="{ width: 29 }" is-children
+            :is-index="false" is-check :check-style="{ width: 29 }" is-children
             @selection-change="tableCheckChange"
         >
             <template #tenantId="{ row }">{{ getTenantName(row) }}</template>
@@ -65,10 +65,6 @@ import HcRoleAuth from './modules/role/auth.vue'
 import tenantApi from '~api/system/tenant'
 import mainApi from '~api/authority/role'
 
-defineOptions({
-    name: 'Role',
-})
-
 //激活
 onActivated(() => {
     getDataApi()
@@ -147,7 +143,7 @@ const getlevelData = async () => {
 const isDialogShow = ref(false)
 const iconDialogTitle = ref('')
 
-//菜单表单
+//表单
 const formRef = ref(null)
 const formModel = ref({})
 const formRules = {

+ 1 - 5
src/views/certificate/admin.vue

@@ -7,7 +7,7 @@
                 </el-select>
             </div>
         </template>
-        <hc-table :column="tableColumn" :datas="tableData" :loading="tableLoading" :is-index="false" >
+        <hc-table :column="tableColumn" :datas="tableData" :loading="tableLoading" :is-index="false">
             <template #action="{ row }">
                 <el-link type="primary" @click="rowClick(row)">查看</el-link>
             </template>
@@ -28,10 +28,6 @@ import { getArrValue } from 'js-fast-way'
 import HcAdminSee from './modules/admin/see.vue'
 import mainApi from '~api/certificate/admin'
 
-defineOptions({
-    name: 'CertificateAdmin',
-})
-
 //激活
 onActivated(() => {
     getDataApi()

+ 1 - 5
src/views/certificate/list.vue

@@ -10,7 +10,7 @@
         <template #extra>
             <el-button hc-btn type="primary" @click="addClick">新增</el-button>
         </template>
-        <hc-table :loading="tableLoading" :column="tableColumn" :datas="tableData" :index-style="{ width: 60 }" >
+        <hc-table :loading="tableLoading" :column="tableColumn" :datas="tableData" :index-style="{ width: 60 }">
             <template #certificateType="{ row }">{{ row.certificateType === 1 ? '个人证书' : '企业证书' }}</template>
             <template #isRegister="{ row }">
                 <el-link v-if="row.isRegister === 0" type="primary" @click="registerRowClick(row)">注册</el-link>
@@ -38,10 +38,6 @@ import HcListForm from './modules/list/form.vue'
 import adminApi from '~api/certificate/admin'
 import mainApi from '~api/certificate/list'
 
-defineOptions({
-    name: 'CertificateList',
-})
-
 //激活
 onActivated(() => {
     getProjectData()

+ 1 - 1
src/views/certificate/modules/admin/see.vue

@@ -28,7 +28,7 @@
         </template>
         <hc-card>
             <hc-status v-if="tableData.length <= 0" text="暂无相关数据" />
-            <hc-table v-else :column="tableColumn" :datas="tableData" :is-index="false" >
+            <hc-table v-else :column="tableColumn" :datas="tableData" :is-index="false">
                 <template #signatureFileUrl="{ row }">
                     <el-image class="h-[30px] w-[70px]" :src="row.signatureFileUrl" :preview-src-list="[row.signatureFileUrl]" fit="cover" />
                 </template>

+ 1 - 1
src/views/certificate/modules/list/form.vue

@@ -192,7 +192,7 @@ const getPfxTypeData = async () => {
     pfxTypeData.value = getArrValue(data)
 }
 
-//菜单表单
+//表单
 const formRef = ref(null)
 const formModel = ref({
     certificateType: 1,

+ 1 - 1
src/views/login/index.vue

@@ -27,7 +27,7 @@
                             <el-input v-model="formValue.tenantId" clearable placeholder="租户ID" />
                         </el-form-item>
                         <el-form-item>
-                            <el-checkbox v-model="checkbox" label="记住密码" />
+                            <el-checkbox v-model="checkbox">记住密码</el-checkbox>
                         </el-form-item>
                         <el-form-item class="mt-8">
                             <el-button :loading="loading" block type="primary" @click="formValidateClick">登 录</el-button>

+ 3 - 3
src/views/project/modules/list/wbs-tree.vue

@@ -51,7 +51,7 @@
                     <template v-if="isFormSet">
                         <div class="body-top">
                             <hc-card title="节点信息">
-                                <hc-table  :is-index="false" :column="nodeTableColumn" :datas="nodeTableData">
+                                <hc-table :is-index="false" :column="nodeTableColumn" :datas="nodeTableData">
                                     <template #nodeType="{ row }">{{ getDictionaryName(nodeTypelist, row.nodeType, true) }}</template>
                                 </hc-table>
                             </hc-card>
@@ -62,7 +62,7 @@
                                     <el-button hc-btn type="primary" :disabled="infoTableData.length <= 0">编辑</el-button>
                                     <el-button hc-btn type="success" :disabled="infoTableData.length <= 0">排序</el-button>
                                 </template>
-                                <hc-table v-loading="infoTableLoading"  :is-index="false" :column="infoTableColumn" :datas="infoTableData">
+                                <hc-table v-loading="infoTableLoading" :is-index="false" :column="infoTableColumn" :datas="infoTableData">
                                     <template #tableType="{ row }">{{ getDictionaryName(tableTypelist, row.tableType, true) }}</template>
                                     <template #tableOwner="{ row }">{{ getDictionaryName(ownerTypeList, row.tableOwner, true) }}</template>
                                     <template #action="{ row }">
@@ -77,7 +77,7 @@
                     </template>
                     <template v-else>
                         <hc-card>
-                            <hc-table v-loading="infoTableLoading"  :is-index="false" :column="infoTableColumn1" :datas="infoTableData">
+                            <hc-table v-loading="infoTableLoading" :is-index="false" :column="infoTableColumn1" :datas="infoTableData">
                                 <template #tableType="{ row }">{{ getDictionaryName(tableTypelist, row.tableType, true) }}</template>
                                 <template #isLinkTable="{ row }">{{ row.isLinkTable === 2 ? '是' : '否' }}</template>
                                 <template #tableOwner="{ row }">{{ getDictionaryName(ownerTypeList, row.tableOwner, true) }}</template>

+ 0 - 4
src/views/resource/attach.vue

@@ -50,10 +50,6 @@ import { HcDelMsg } from 'hc-vue3-ui'
 import { arrToId, filterSize, getArrValue } from 'js-fast-way'
 import mainApi from '~api/resource/attach'
 
-defineOptions({
-    name: 'Attach',
-})
-
 //激活
 onActivated(() => {
     searchClick()

+ 4 - 8
src/views/resource/oss.vue

@@ -22,7 +22,7 @@
         </template>
         <hc-table
             :column="tableColumn" :datas="tableData" :loading="tableLoading"
-            :is-index="false"  is-check :check-style="{ width: 29 }"
+            :is-index="false" is-check :check-style="{ width: 29 }"
             @selection-change="tableCheckChange"
         >
             <template #category="{ row }">{{ getCategoryName(row) }}</template>
@@ -46,7 +46,7 @@
                         <el-form-item label="存储分类:" prop="category">
                             <div class="form-item-div">
                                 <el-radio-group v-model="formModel.category">
-                                    <el-radio v-for="item in categoryData" :key="item.value" :label="item.value">{{ item.label }}</el-radio>
+                                    <el-radio v-for="item in categoryData" :key="item.value" :value="item.value">{{ item.label }}</el-radio>
                                 </el-radio-group>
                             </div>
                         </el-form-item>
@@ -126,10 +126,6 @@ import { getDictionaryData } from '~uti/tools'
 import { arrToId, formValidate, getArrValue, isNullES } from 'js-fast-way'
 import mainApi from '~api/resource/oss'
 
-defineOptions({
-    name: 'Oss',
-})
-
 //激活
 onActivated(() => {
     getDataApi()
@@ -213,7 +209,7 @@ const tableCheckChange = (rows) => {
 const isDialogShow = ref(false)
 const dialogTitle = ref('')
 
-//菜单表单
+//表单
 const formRef = ref(null)
 const formModel = ref({})
 const formRules = {
@@ -260,7 +256,7 @@ const addClick = () => {
     })
 }
 
-//修改菜单
+//修改
 const editRowClick = (row) => {
     formModel.value = {}
     dialogTitle.value = '修改对象存储'

+ 3 - 7
src/views/resource/sms.vue

@@ -22,7 +22,7 @@
         </template>
         <hc-table
             :column="tableColumn" :datas="tableData" :loading="tableLoading"
-            :is-index="false"  is-check :check-style="{ width: 29 }"
+            :is-index="false" is-check :check-style="{ width: 29 }"
             @selection-change="tableCheckChange"
         >
             <template #category="{ row }">{{ getCategoryName(row) }}</template>
@@ -46,7 +46,7 @@
                         <el-form-item label="短信分类:" prop="category">
                             <div class="form-item-div">
                                 <el-radio-group v-model="formModel.category">
-                                    <el-radio v-for="item in categoryData" :key="item.value" :label="item.value">{{ item.label }}</el-radio>
+                                    <el-radio v-for="item in categoryData" :key="item.value" :value="item.value">{{ item.label }}</el-radio>
                                 </el-radio-group>
                             </div>
                         </el-form-item>
@@ -147,10 +147,6 @@ import { arrToId, formValidate, getArrValue, isNullES } from 'js-fast-way'
 import { HcDelMsg } from 'hc-vue3-ui'
 import mainApi from '~api/resource/sms'
 
-defineOptions({
-    name: 'Sms',
-})
-
 //激活
 onActivated(() => {
     getDataApi()
@@ -235,7 +231,7 @@ const tableCheckChange = (rows) => {
 const isDialogShow = ref(false)
 const dialogTitle = ref('')
 
-//菜单表单
+//表单
 const formRef = ref(null)
 const formModel = ref({})
 const formRules = {

+ 1 - 6
src/views/system/app.vue

@@ -130,11 +130,6 @@ import { nextTick, onActivated, ref } from 'vue'
 import { formValidate, getArrValue } from 'js-fast-way'
 import mainApi from '~api/system/app'
 
-defineOptions({
-    name: 'App',
-})
-
-
 //激活
 onActivated(() => {
     searchForm.value.current = 1
@@ -342,7 +337,7 @@ const getUpdateTableData = async () => {
 const isUpdateFormDialog = ref(false)
 const updateFormTitle = ref('')
 
-//菜单表单
+//表单
 const formUpdateRef = ref(null)
 const formUpdateModel = ref({})
 const formUpdateRules = {

+ 11 - 15
src/views/system/client.vue

@@ -11,7 +11,7 @@
         </template>
         <hc-table
             ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading"
-             is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
+            is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
             @selection-change="tableCheckChange"
         >
             <template #action="{ row }">
@@ -46,11 +46,11 @@
                         <el-form-item label="授权类型:" prop="authorizedGrantTypes">
                             <div class="form-item-div">
                                 <el-checkbox-group v-model="formModel.authorizedGrantTypes" size="large">
-                                    <el-checkbox label="refresh_token" />
-                                    <el-checkbox label="password" />
-                                    <el-checkbox label="authorization_code" />
-                                    <el-checkbox label="captcha" />
-                                    <el-checkbox label="social" />
+                                    <el-checkbox value="refresh_token">refresh_token</el-checkbox>
+                                    <el-checkbox value="password">password</el-checkbox>
+                                    <el-checkbox value="authorization_code">authorization_code</el-checkbox>
+                                    <el-checkbox value="captcha">captcha</el-checkbox>
+                                    <el-checkbox value="social">social</el-checkbox>
                                 </el-checkbox-group>
                             </div>
                         </el-form-item>
@@ -107,10 +107,6 @@ import { reloadPage } from '~uti/tools'
 import { HcDelMsg } from 'hc-vue3-ui'
 import mainApi from '~api/system/client'
 
-defineOptions({
-    name: 'Client',
-})
-
 //激活
 onActivated(() => {
     searchForm.value.current = 1
@@ -172,7 +168,7 @@ const tableCheckChange = (rows) => {
 const isDialogShow = ref(false)
 const dialogTitle = ref('')
 
-//菜单表单
+//表单
 const formRef = ref(null)
 const formModel = ref({})
 const formRules = {
@@ -231,7 +227,7 @@ const addClick = () => {
     })
 }
 
-//修改菜单
+//修改
 const editRowClick = (row) => {
     formModel.value = {}
     dialogTitle.value = '修改应用'
@@ -243,7 +239,7 @@ const editRowClick = (row) => {
     })
 }
 
-//删除菜单
+//删除
 const delRowClick = async ({ item }, resolve) => {
     const { code, msg } = await mainApi.del(item.id)
     if (code === 200) {
@@ -256,11 +252,11 @@ const delRowClick = async ({ item }, resolve) => {
     }
 }
 
-//批量删除菜单
+//批量删除
 const delClick = () => {
     const rows = tableCheckKeys.value
     if (rows.length <= 0) {
-        window.$message.warning('请选择要删除的菜单')
+        window.$message.warning('请选择要删除的应用')
         return false
     }
     //确认删除

+ 3 - 7
src/views/system/dept.vue

@@ -22,7 +22,7 @@
         </template>
         <hc-table
             ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading"
-            :is-index="false"  is-check :check-style="{ width: 29 }" lazy :load="tableLoad"
+            :is-index="false" is-check :check-style="{ width: 29 }" lazy :load="tableLoad"
             @selection-change="tableCheckChange"
         >
             <template #tenantId="{ row }">{{ getTenantName(row) }}</template>
@@ -91,10 +91,6 @@ import { HcDelMsg } from 'hc-vue3-ui'
 import mainApi from '~api/system/dept'
 import tenantApi from '~api/system/tenant'
 
-defineOptions({
-    name: 'Dept',
-})
-
 //激活
 onActivated(() => {
     getDataApi()
@@ -198,7 +194,7 @@ const tableCheckChange = (rows) => {
     tableCheckKeys.value = rows
 }
 
-//上级菜单
+//上级
 const levelDataProps = { label: 'deptName' }
 const levelData = ref([])
 const getlevelData = async () => {
@@ -210,7 +206,7 @@ const getlevelData = async () => {
 const isDialogShow = ref(false)
 const iconDialogTitle = ref('')
 
-//菜单表单
+//表单
 const formRef = ref(null)
 const formModel = ref({})
 const formRules = {

+ 8 - 12
src/views/system/dict.vue

@@ -17,7 +17,7 @@
         </template>
         <hc-table
             ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading"
-             is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
+            is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
             @selection-change="tableCheckChange"
         >
             <template #isSealed="{ row }">
@@ -50,8 +50,8 @@
                 </el-form-item>
                 <el-form-item label="字典封存:" prop="isSealed">
                     <el-radio-group v-model="formModel.isSealed">
-                        <el-radio :label="1">是</el-radio>
-                        <el-radio :label="0">否</el-radio>
+                        <el-radio :value="1">是</el-radio>
+                        <el-radio :value="0">否</el-radio>
                     </el-radio-group>
                 </el-form-item>
             </el-form>
@@ -73,10 +73,6 @@ import HcChildDict from './modules/dict/dict.vue'
 import { HcDelMsg } from 'hc-vue3-ui'
 import mainApi from '~api/system/dict'
 
-defineOptions({
-    name: 'Dict',
-})
-
 //激活
 onActivated(() => {
     searchForm.value.current = 1
@@ -145,7 +141,7 @@ const tableCheckChange = (rows) => {
 const isDialogShow = ref(false)
 const dialogTitle = ref('')
 
-//菜单表单
+//表单
 const formRef = ref(null)
 const formModel = ref({})
 const formRules = {
@@ -181,7 +177,7 @@ const addClick = () => {
     })
 }
 
-//修改菜单
+//修改
 const editRowClick = (row) => {
     formModel.value = {}
     dialogTitle.value = '修改系统字典'
@@ -192,7 +188,7 @@ const editRowClick = (row) => {
     })
 }
 
-//删除菜单
+//删除
 const delRowClick = async ({ item }, resolve) => {
     const { code, msg } = await mainApi.del(item.id)
     if (code === 200) {
@@ -205,11 +201,11 @@ const delRowClick = async ({ item }, resolve) => {
     }
 }
 
-//批量删除菜单
+//批量删除
 const delClick = () => {
     const rows = tableCheckKeys.value
     if (rows.length <= 0) {
-        window.$message.warning('请选择要删除的菜单')
+        window.$message.warning('请选择要删除的系统字典')
         return false
     }
     //确认删除

+ 7 - 11
src/views/system/dictbiz.vue

@@ -17,7 +17,7 @@
         </template>
         <hc-table
             ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading"
-             is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
+            is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
             @selection-change="tableCheckChange"
         >
             <template #isSealed="{ row }">
@@ -50,8 +50,8 @@
                 </el-form-item>
                 <el-form-item label="字典封存:" prop="isSealed">
                     <el-radio-group v-model="formModel.isSealed">
-                        <el-radio :label="1">是</el-radio>
-                        <el-radio :label="0">否</el-radio>
+                        <el-radio :value="1">是</el-radio>
+                        <el-radio :value="0">否</el-radio>
                     </el-radio-group>
                 </el-form-item>
             </el-form>
@@ -73,10 +73,6 @@ import HcChildDictbiz from './modules/dictbiz/dictbiz.vue'
 import { HcDelMsg } from 'hc-vue3-ui'
 import mainApi from '~api/system/dictbiz'
 
-defineOptions({
-    name: 'Dictbiz',
-})
-
 //激活
 onActivated(() => {
     searchForm.value.current = 1
@@ -145,7 +141,7 @@ const tableCheckChange = (rows) => {
 const isDialogShow = ref(false)
 const dialogTitle = ref('')
 
-//菜单表单
+//表单
 const formRef = ref(null)
 const formModel = ref({})
 const formRules = {
@@ -181,7 +177,7 @@ const addClick = () => {
     })
 }
 
-//修改菜单
+//修改
 const editRowClick = (row) => {
     formModel.value = {}
     dialogTitle.value = '修改业务字典'
@@ -192,7 +188,7 @@ const editRowClick = (row) => {
     })
 }
 
-//删除菜单
+//删除
 const delRowClick = async ({ item }, resolve) => {
     const { code, msg } = await mainApi.del(item.id)
     if (code === 200) {
@@ -205,7 +201,7 @@ const delRowClick = async ({ item }, resolve) => {
     }
 }
 
-//批量删除菜单
+//批量删除
 const delClick = () => {
     const rows = tableCheckKeys.value
     if (rows.length <= 0) {

+ 1 - 5
src/views/system/menu-top.vue

@@ -11,7 +11,7 @@
         </template>
         <hc-table
             ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading"
-            :is-index="false"  is-check :check-style="{ width: 29 }"
+            :is-index="false" is-check :check-style="{ width: 29 }"
             @selection-change="tableCheckChange"
         >
             <template #action="{ row }">
@@ -64,10 +64,6 @@ import { reloadPage } from '~uti/tools'
 import { HcDelMsg } from 'hc-vue3-ui'
 import mainApi from '~api/system/menu-top'
 
-defineOptions({
-    name: 'TopMenu',
-})
-
 //激活
 onActivated(() => {
     searchClick()

+ 1 - 5
src/views/system/menu.vue

@@ -186,10 +186,6 @@ import mainApi from '~api/system/menu'
 const router = useRouter()
 const useRoutes = useRoute()
 
-defineOptions({
-    name: 'HcMenu',
-})
-
 //激活
 onActivated(() => {
     //获取参数
@@ -269,7 +265,7 @@ const tableCheckChange = (rows) => {
     tableCheckKeys.value = rows
 }
 
-//上级菜单
+//上级
 const levelMenuProps = {
     label: 'title',
 }

+ 8 - 8
src/views/system/modules/dict/dict.vue

@@ -22,7 +22,7 @@
         </template>
         <hc-table
             ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading"
-             is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
+            is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
             @selection-change="tableCheckChange"
         >
             <template #isSealed="{ row }">
@@ -72,8 +72,8 @@
                 <el-col :span="24">
                     <el-form-item label="字典封存:" prop="isSealed">
                         <el-radio-group v-model="formModel.isSealed">
-                            <el-radio :label="1">是</el-radio>
-                            <el-radio :label="0">否</el-radio>
+                            <el-radio :value="1">是</el-radio>
+                            <el-radio :value="0">否</el-radio>
                         </el-radio-group>
                     </el-form-item>
                 </el-col>
@@ -169,7 +169,7 @@ const tableCheckChange = (rows) => {
 const isDialogShow = ref(false)
 const dialogTitle = ref('')
 
-//菜单表单
+//表单
 const formRef = ref(null)
 const formModel = ref({})
 const formRules = {
@@ -206,7 +206,7 @@ const addClick = () => {
     })
 }
 
-//修改菜单
+//修改
 const editRowClick = (row) => {
     formModel.value = {}
     dialogTitle.value = '修改系统字典配置'
@@ -217,7 +217,7 @@ const editRowClick = (row) => {
     })
 }
 
-//删除菜单
+//删除
 const delRowClick = async ({ item }, resolve) => {
     const { code, msg } = await mainApi.del(item.id)
     if (code === 200) {
@@ -230,11 +230,11 @@ const delRowClick = async ({ item }, resolve) => {
     }
 }
 
-//批量删除菜单
+//批量删除
 const delClick = () => {
     const rows = tableCheckKeys.value
     if (rows.length <= 0) {
-        window.$message.warning('请选择要删除的菜单')
+        window.$message.warning('请选择要删除的数据')
         return false
     }
     //确认删除

+ 8 - 8
src/views/system/modules/dictbiz/dictbiz.vue

@@ -22,7 +22,7 @@
         </template>
         <hc-table
             ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading"
-             is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
+            is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
             @selection-change="tableCheckChange"
         >
             <template #isSealed="{ row }">
@@ -72,8 +72,8 @@
                 <el-col :span="24">
                     <el-form-item label="字典封存:" prop="isSealed">
                         <el-radio-group v-model="formModel.isSealed">
-                            <el-radio :label="1">是</el-radio>
-                            <el-radio :label="0">否</el-radio>
+                            <el-radio :value="1">是</el-radio>
+                            <el-radio :value="0">否</el-radio>
                         </el-radio-group>
                     </el-form-item>
                 </el-col>
@@ -169,7 +169,7 @@ const tableCheckChange = (rows) => {
 const isDialogShow = ref(false)
 const dialogTitle = ref('')
 
-//菜单表单
+//表单
 const formRef = ref(null)
 const formModel = ref({})
 const formRules = {
@@ -206,7 +206,7 @@ const addClick = () => {
     })
 }
 
-//修改菜单
+//修改
 const editRowClick = (row) => {
     formModel.value = {}
     dialogTitle.value = '修改业务字典配置'
@@ -217,7 +217,7 @@ const editRowClick = (row) => {
     })
 }
 
-//删除菜单
+//删除
 const delRowClick = async ({ item }, resolve) => {
     const { code, msg } = await mainApi.del(item.id)
     if (code === 200) {
@@ -230,11 +230,11 @@ const delRowClick = async ({ item }, resolve) => {
     }
 }
 
-//批量删除菜单
+//批量删除
 const delClick = () => {
     const rows = tableCheckKeys.value
     if (rows.length <= 0) {
-        window.$message.warning('请选择要删除的菜单')
+        window.$message.warning('请选择要删除的数据')
         return false
     }
     //确认删除菜单

+ 8 - 8
src/views/system/modules/tenant/package-data.vue

@@ -16,7 +16,7 @@
         </template>
         <hc-table
             ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading"
-             is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
+            is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
             @selection-change="tableCheckChange"
         >
             <template #action="{ row }">
@@ -107,7 +107,7 @@ const tableCheckChange = (rows) => {
 const isDialogShow = ref(false)
 const dialogTitle = ref('')
 
-//菜单表单
+//表单
 const formRef = ref(null)
 const formModel = ref({})
 const formRules = {
@@ -123,13 +123,13 @@ const formRules = {
     },
 }
 
-//菜单列表
+//列表
 const menuData = ref([])
 const getMenuTreeApi = async () => {
     const { data } = await menuApi.getMenuTree()
     menuData.value = getArrValue(data)
 }
-//菜单
+//树
 const menuTreeProps = {
     label: 'title',
 }
@@ -144,7 +144,7 @@ const addClick = () => {
     })
 }
 
-//修改菜单
+//修改
 const editRowClick = (row) => {
     formModel.value = {}
     dialogTitle.value = '修改产品包'
@@ -156,7 +156,7 @@ const editRowClick = (row) => {
     })
 }
 
-//删除菜单
+//删除
 const delRowClick = async ({ item }, resolve) => {
     const { code, msg } = await mainApi.del(item.id)
     if (code === 200) {
@@ -169,11 +169,11 @@ const delRowClick = async ({ item }, resolve) => {
     }
 }
 
-//批量删除菜单
+//批量删除
 const delClick = () => {
     const rows = tableCheckKeys.value
     if (rows.length <= 0) {
-        window.$message.warning('请选择要删除的菜单')
+        window.$message.warning('请选择要删除的数据')
         return false
     }
     //确认删除

+ 1 - 1
src/views/system/modules/tenant/setting.vue

@@ -52,7 +52,7 @@ watch(isShow, (val) => {
     }
 })
 
-//菜单表单
+//表单
 const formRef = ref(null)
 const formModel = ref({})
 const formRules = {}

+ 6 - 10
src/views/system/param.vue

@@ -11,7 +11,7 @@
         </template>
         <hc-table
             ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading"
-             is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
+            is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
             @selection-change="tableCheckChange"
         >
             <template #action="{ row }">
@@ -51,10 +51,6 @@ import { reloadPage } from '~uti/tools'
 import { HcDelMsg } from 'hc-vue3-ui'
 import mainApi from '~api/system/param'
 
-defineOptions({
-    name: 'Param',
-})
-
 //激活
 onActivated(() => {
     searchForm.value.current = 1
@@ -116,7 +112,7 @@ const tableCheckChange = (rows) => {
 const isDialogShow = ref(false)
 const dialogTitle = ref('')
 
-//菜单表单
+//表单
 const formRef = ref(null)
 const formModel = ref({})
 const formRules = {
@@ -147,7 +143,7 @@ const addClick = () => {
     })
 }
 
-//修改菜单
+//修改
 const editRowClick = (row) => {
     formModel.value = {}
     dialogTitle.value = '修改参数'
@@ -158,7 +154,7 @@ const editRowClick = (row) => {
     })
 }
 
-//删除菜单
+//删除
 const delRowClick = async ({ item }, resolve) => {
     const { code, msg } = await mainApi.del(item.id)
     if (code === 200) {
@@ -171,11 +167,11 @@ const delRowClick = async ({ item }, resolve) => {
     }
 }
 
-//批量删除菜单
+//批量删除
 const delClick = () => {
     const rows = tableCheckKeys.value
     if (rows.length <= 0) {
-        window.$message.warning('请选择要删除的菜单')
+        window.$message.warning('请选择要删除的数据')
         return false
     }
     //确认删除

+ 6 - 10
src/views/system/post.vue

@@ -22,7 +22,7 @@
         </template>
         <hc-table
             ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading"
-             is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
+            is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
             @selection-change="tableCheckChange"
         >
             <template #tenantId="{ row }">
@@ -89,10 +89,6 @@ import { HcDelMsg } from 'hc-vue3-ui'
 import tenantApi from '~api/system/tenant'
 import mainApi from '~api/system/post'
 
-defineOptions({
-    name: 'Post',
-})
-
 //激活
 onActivated(() => {
     searchForm.value.current = 1
@@ -189,7 +185,7 @@ const tableCheckChange = (rows) => {
 const isDialogShow = ref(false)
 const dialogTitle = ref('')
 
-//菜单表单
+//表单
 const formRef = ref(null)
 const formModel = ref({})
 const formRules = {
@@ -225,7 +221,7 @@ const addClick = () => {
     })
 }
 
-//修改菜单
+//修改
 const editRowClick = (row) => {
     formModel.value = {}
     dialogTitle.value = '修改岗位'
@@ -236,7 +232,7 @@ const editRowClick = (row) => {
     })
 }
 
-//删除菜单
+//删除
 const delRowClick = async ({ item }, resolve) => {
     const { code, msg } = await mainApi.del(item.id)
     if (code === 200) {
@@ -249,11 +245,11 @@ const delRowClick = async ({ item }, resolve) => {
     }
 }
 
-//批量删除菜单
+//批量删除
 const delClick = () => {
     const rows = tableCheckKeys.value
     if (rows.length <= 0) {
-        window.$message.warning('请选择要删除的菜单')
+        window.$message.warning('请选择要删除的数据')
         return false
     }
     //确认删除

+ 8 - 10
src/views/system/tenant.vue

@@ -113,15 +113,13 @@
 import { nextTick, onActivated, ref } from 'vue'
 import { arrToId, formValidate, getArrValue } from 'js-fast-way'
 import { HcDelMsg } from 'hc-vue3-ui'
+import mainApi from '~api/system/tenant'
+
+//子组件
 import HcSettingVue from './modules/tenant/setting.vue'
 import HcDataSource from './modules/tenant/data-source.vue'
 import HcPackageData from './modules/tenant/package-data.vue'
 import HcPackage from './modules/tenant/package.vue'
-import mainApi from '~api/system/tenant'
-
-defineOptions({
-    name: 'Tenant',
-})
 
 //激活
 onActivated(() => {
@@ -194,7 +192,7 @@ const tableCheckChange = (rows) => {
 const isDialogShow = ref(false)
 const dialogTitle = ref('')
 
-//菜单表单
+//表单
 const formRef = ref(null)
 const formModel = ref({})
 const formRules = {
@@ -230,7 +228,7 @@ const addClick = () => {
     })
 }
 
-//修改菜单
+//修改
 const editRowClick = (row) => {
     formModel.value = {}
     dialogTitle.value = '修改租户'
@@ -241,7 +239,7 @@ const editRowClick = (row) => {
     })
 }
 
-//删除菜单
+//删除
 const delRowClick = async ({ item }, resolve) => {
     const { code, msg } = await mainApi.del(item.id)
     if (code === 200) {
@@ -254,11 +252,11 @@ const delRowClick = async ({ item }, resolve) => {
     }
 }
 
-//批量删除菜单
+//批量删除
 const delClick = () => {
     const rows = tableCheckKeys.value
     if (rows.length <= 0) {
-        window.$message.warning('请选择要删除的菜单')
+        window.$message.warning('请选择要删除的数据')
         return false
     }
     //确认删除