Commit d5c6640d by ningjihai

页面图标

parent 65c7de67
......@@ -9,6 +9,7 @@ import StructureTab from './modules/StructureTab.vue'
import EncryptionTab from './modules/EncryptionTab.vue'
import { changeRoute } from '@/utils/switchRoute'
import { useRouter,useRoute } from 'vue-router'
import pageIcon from '@/assets/images/jiamiLogo.png'
import { query, getClassifyEnable, getGlobalOriginalConfig, changeGlobalOriginalConfig, queryDatasystemInfo,
queryShemas, queryTables, querytableInfo, getfield,
save
......@@ -254,7 +255,10 @@ function uuid() {
<div class="app-container scroller">
<PageTitle backProject @handleBackProject="pageProjectManage">
<template #title>
加密设置
<div style="display: flex;align-items: center;">
<img class="title-icon" :src="pageIcon" alt="">
<span style="margin-left: 8px;">加密设置</span>
</div>
</template>
</PageTitle>
......
......@@ -86,9 +86,11 @@ defineExpose({
<div class="app-container scroller">
<PageTitle backProject @handleBackProject="pageProjectManage">
<template #title>
客户端密管
<div style="display: flex;align-items: center;">
<img class="title-icon" :src="pageIcon" alt="">
<span style="margin-left: 8px;">客户端密管</span>
</div>
</template>
</PageTitle>
<div class="app-container__body">
......
......@@ -6,6 +6,7 @@ import { changeRoute } from '@/utils/switchRoute'
import { useRouter } from 'vue-router'
import { queryBatchOriginalList, delBatchTableColumn, loadingBatchTableParams, loadingProgress, getProcesslog } from '@/api/classification/encryptionManagement.js'
import encryptFlag from '@/constants/encryptFlag.js';
import pageIcon from '@/assets/images/jiamiLogo.png'
const router = useRouter()
const emit = defineEmits(['page'])
function onReset(formQuery) {
......@@ -266,7 +267,10 @@ watch(dialogVisible, (newVal) => {
<div class="app-container scroller">
<PageTitle backProject @handleBackProject="pageProjectManage">
<template #title>
加密管理
<div style="display: flex;align-items: center;">
<img class="title-icon" :src="pageIcon" alt="">
<span style="margin-left: 8px;">加密管理</span>
</div>
</template>
<template #buttons>
<!-- <el-button
......
......@@ -6,6 +6,7 @@ import { useRouter } from 'vue-router'
import { ipsList, ipsSave, list, deleteLog } from '@/api/classification/monitorManagement.js'
import changeLog from './model/changeLog.vue'
import errorLog from './model/errorLog.vue'
import pageIcon from '@/assets/images/jiamiLogo.png'
const router = useRouter()
const { proxy } = getCurrentInstance()
const projectId = ref('')
......@@ -286,37 +287,28 @@ onUnmounted(() => {
<div class="app-container scroller">
<PageTitle backProject @handleBackProject="pageProjectManage">
<template #title>
客户端监控管理
<div style="display: flex;align-items: center;">
<img class="title-icon" :src="pageIcon" alt="">
<span style="margin-left: 8px;">客户端监控管理</span>
</div>
</template>
</PageTitle>
<div class="app-container__body">
<div class="flex-container content-container">
<!-- <div class="secondtitle">
<el-icon :size="30" color="#2c9ef7"><Notification /></el-icon>
<span>客户端监控管理</span>
</div> -->
<el-card style="margin-top: 30px;">
<!-- <div class="thirdtitle">
<span></span>
<span>客户端白名单设置区域:</span>
</div> -->
<el-form label-width="208">
<el-form-item label="可访问IP白名单">
<el-row class="line" v-if="!editIp" style="margin-top: 0px;">
<span v-for="(item, index) in ipList" style="width: 100%;">
<span v-for="(item, index) in ipList" :key="index" style="width: 100%;">
<span v-if="index > 0"></span>
{{ item.content }}
</span>
</el-row>
<el-row v-if="editIp">
<div v-for="(item, index) in ipList" style="width: 100%;" >
<div v-for="(item, index) in ipList" :key="index" style="width: 100%;" >
<div class="line" :class="[index === 0 ? 'nomargin' : '']">
<el-select v-model="item.isEquals" placeholder="请选择" class="putsec">
<el-option label="等于" value="0" />
......@@ -367,15 +359,8 @@ onUnmounted(() => {
</el-form-item>
</el-form>
</el-card>
<!-- <el-card style="margin-top: 30px;">
<div class="thirdtitle">
<span></span>
<span>客户端列表区域:</span>
</div> -->
<div style="margin-top: 20px;">
<el-table :data="dataList" stripe style="width: 100%">
<div style="margin-top: 20px;">
<el-table :data="dataList" stripe style="width: 100%">
<el-table-column label="序号" align="center" width="60" type="index">
<template #default="scope">
<span>{{ scope.$index + 1 }}</span>
......@@ -412,15 +397,13 @@ onUnmounted(() => {
v-model:limit="queryParams.pageSize"
@pagination="listMethod"
/>
</div>
<!-- </el-card> -->
</div>
</div>
</div>
<!-- 变更记录 -->
<changeLog ref="changeLogRef"/>
<!-- 错误日志 -->
<errorLog ref="errorLogRef"/>
<errorLog ref="errorLogRef"/>
</div>
</template>
......
......@@ -4,7 +4,7 @@ import { ElMessage, ElMessageBox } from 'element-plus'
import { useRouter } from 'vue-router'
import useAppStore from '@/store/modules/app'
import { changeRoute } from '@/utils/switchRoute'
import pageIcon from '@/assets/images/jiamiLogo.png'
import TreeFilter from './TreeFilter.vue'
import {
......@@ -410,10 +410,10 @@ function pageProjectManage() {
<div class="app-container scroller">
<PageTitle backProject @handleBackProject="pageProjectManage">
<template #title>
加密校验设置
</template>
<template #buttons>
<!-- 操作按钮可以根据需要添加 -->
<div style="display: flex;align-items: center;">
<img class="title-icon" :src="pageIcon" alt="">
<span style="margin-left: 8px;">加密校验设置</span>
</div>
</template>
</PageTitle>
......
<script setup lang="ts" name="projectManageIndex">
<script setup lang="ts" name="DesensitizationStrategyIndex">
import { ref } from 'vue'
import list from './list.vue'
......
......@@ -4,7 +4,7 @@ import { ElMessage, ElMessageBox } from 'element-plus'
import { useRouter } from 'vue-router'
import useAppStore from '@/store/modules/app'
import { changeRoute } from '@/utils/switchRoute'
import pageIcon from '@/assets/images/tuomin.png'
import QueryForm from './QueryForm.vue'
import StrategyAddDialog from './modules/StrategyAddDialog.vue' // 统一对话框组件
......@@ -216,7 +216,10 @@ const toggleStatus = (row) => {
<div class="app-container scroller">
<PageTitle backProject @handleBackProject="pageProjectManage">
<template #title>
脱敏策略管理
<div style="display: flex;align-items: center;">
<img class="title-icon" :src="pageIcon" alt="">
<span style="margin-left: 8px;">脱敏策略管理</span>
</div>
</template>
<template #buttons>
</template>
......
......@@ -4,7 +4,8 @@ import { ElMessage } from "element-plus";
import { changeRoute } from '@/utils/switchRoute'
import QueryForm from './QueryForm.vue'
import { queryDesensitizationStrategyLog, checkEnc, getdesensitizationStrategyLog } from "@/api/itemLogSet/desensitizationItemLog.js";
import returnLogo from '@/assets/images/return.png'
import pageIcon from '@/assets/images/rizhi.png'
const queryParams = ref({
page: 1,
rows: 10,
......@@ -79,13 +80,19 @@ onMounted(() => {
</script>
<template>
<div class="app-container scroller">
<PageTitle :back="true" @back="pageProjectManage">
<PageTitle @back="pageProjectManage">
<template #title>
返回项目管理
<div style="display: flex;align-items: center;">
<img class="title-icon" :src="pageIcon" alt="">
<span style="margin-left: 8px;">脱敏策略日志</span>
</div>
</template>
<template #buttons>
<el-button type="primary" icon="Download" @click="download">导出</el-button>
<el-button type="primary" @click="dataValidation">数据完成性校验</el-button>
<el-button color="rgba(11, 136, 251, 1)" plain @click="pageProjectManage"><img class="return-logo" :src="returnLogo" alt="">返回项目管理</el-button>
</template>
</PageTitle>
<div class="app-container__body">
......@@ -99,11 +106,15 @@ onMounted(() => {
<el-table-column prop="operationMassage" label="操作信息" align="center" show-overflow-tooltip />
</el-table>
</div>
<pagination v-show="total > 0" :total="total" v-model:page="queryParams.page" v-model:limit="queryParams.rows"
@pagination="getList" />
</div>
</div>
</template>
\ No newline at end of file
</template>
<style lang="scss" scoped>
.return-logo {
width: 16px;
height: 12.25px;
}
</style>
\ No newline at end of file
......@@ -4,7 +4,7 @@ import { ElMessage } from "element-plus";
import { changeRoute } from '@/utils/switchRoute'
import QueryForm from './QueryForm.vue'
import { query, checkEnc, getEncryptionLogExcel } from "@/api/itemLogSet/projectEncryptedLog.js";
import pageIcon from '@/assets/images/rizhi.png'
const queryParams = ref({
page: 1,
rows: 10,
......@@ -81,7 +81,10 @@ onMounted(() => {
<div class="app-container scroller">
<PageTitle backProject @handleBackProject="pageProjectManage">
<template #title>
加密日志
<div style="display: flex;align-items: center;">
<img class="title-icon" :src="pageIcon" alt="">
<span style="margin-left: 8px;">加密日志</span>
</div>
</template>
<template #buttons>
<el-button type="primary" icon="Download" @click="download">导出</el-button>
......
<script setup lang="ts" name="projectManageIndex">
<script setup lang="ts" name="DesensitizationLogIndex">
import { ref } from 'vue'
import list from './list.vue'
......
<script setup lang="ts" name="projectManageIndex">
<script setup lang="ts" name="EncryptedLogIndex">
import { ref } from 'vue'
import list from './list.vue'
......
<script setup lang="ts" name="projectManageIndex">
<script setup lang="ts" name="OperationLogIndex">
import { ref } from 'vue'
import list from './list.vue'
......
<script setup lang="ts" name="projectManageIndex">
<script setup lang="ts" name="AppUserConfigIndex">
import { ref } from 'vue'
import list from './list.vue'
......
......@@ -2,7 +2,10 @@
<div class="app-container scroller">
<PageTitle>
<template #title>
应用用户
<div style="display: flex;align-items: center;">
<img class="title-icon" :src="pageIcon" alt="">
<span style="margin-left: 8px;">应用用户</span>
</div>
</template>
</PageTitle>
......@@ -100,10 +103,6 @@
@pagination="getList"
/>
</div>
<!-- 编辑弹窗 -->
<app-user-edit
v-model:visible="editVisible"
......@@ -119,7 +118,7 @@ import QueryForm from './QueryForm.vue'
import AppUserEdit from './edit.vue'
import { queryAppuser, delAppUser } from '@/api/safetyManagement/appUserConfig.js'
import { ElMessageBox } from 'element-plus'
import pageIcon from '@/assets/images/user.png'
const data = reactive({
queryParams: {
pageno: 1,
......
<script setup lang="ts" name="projectManageIndex">
<script setup lang="ts" name="GroupConfigIndex">
import { ref } from 'vue'
import list from './list.vue'
......@@ -10,12 +10,12 @@ const widget = {
const page = ref('list')
const params = ref({})
function onChangePage(val: string, param?: any) {
page.value = val
params.value = param ?? {}
}
// function onChangePage(val: string, param?: any) {
// page.value = val
// params.value = param ?? {}
// }
</script>
<template>
<component :is="widget[page]" v-bind="params" @page="onChangePage" />
<component :is="widget[page]" v-bind="params" />
</template>
......@@ -2,7 +2,10 @@
<div class="app-container scroller">
<PageTitle>
<template #title>
用户组
<div style="display: flex;align-items: center;">
<img class="title-icon" :src="pageIcon" alt="">
<span style="margin-left: 8px;">用户组</span>
</div>
</template>
</PageTitle>
......@@ -103,17 +106,17 @@
@pagination="getList"
/>
</div>
</div>
<!-- 编辑弹窗 -->
<group-edit
v-model:visible="editVisible"
:form-data="editData"
@success="handleEditSuccess"
/>
</div>
<!-- 编辑弹窗 -->
<!-- </div> -->
</template>
......@@ -123,6 +126,7 @@ import { ElMessageBox } from 'element-plus'
import GroupEdit from './edit.vue'
import { query, del } from '@/api/safetyManagement/groupConfig.js'
import QueryForm from './QueryForm.vue'
import pageIcon from '@/assets/images/user.png'
const data = reactive({
queryParams: {
page: 1,
......
<script setup lang="ts" name="projectManageIndex">
<script setup lang="ts" name="RoleConfigIndex">
import { ref } from 'vue'
import list from './list.vue'
......
<template>
<div class="app-container scroller">
<div class="app-container scroller">
<PageTitle>
<template #title>
角色
<div style="display: flex;align-items: center;">
<img class="title-icon" :src="pageIcon" alt="">
<span style="margin-left: 8px;">角色</span>
</div>
</template>
</PageTitle>
<div class="app-container__body">
<div class="app-container__body">
<query-form
ref="QueryFormRef"
v-model="queryParams"
......@@ -15,8 +18,6 @@
@reset="onReset"
@handleAdd="handleAdd"
/>
<div style="flex: 1;">
<el-table
:data="roleList"
......@@ -91,52 +92,14 @@
</el-table-column>
</el-table>
</div>
<pagination
v-show="total > 0"
:total="total"
v-model:page="queryParams.page"
v-model:limit="queryParams.rows"
@pagination="getList"
/>
<pagination
v-show="total > 0"
:total="total"
v-model:page="queryParams.page"
v-model:limit="queryParams.rows"
@pagination="getList"
/>
</div>
<!-- 列表 -->
<!-- <div class="user-list">
<div class="user-grid">
<div v-for="(user, index) in roleList" :key="index" class="user-card">
<div class="user-info">
<div class="avatar">
<el-avatar :size="50" icon="User"></el-avatar>
</div>
<div class="info">
<div class="roleName">角色名: {{ user.rolename }}</div>
<div class="remark">备注: {{ user.remark }}</div>
</div>
<div class="hover-mask">
<div class="operation-buttons">
<div class="operation-btn" @click="handleDelete(user)">
<el-icon><Delete /></el-icon>
<span>删除</span>
</div>
<div class="operation-btn" @click="handleEdit(user)">
<el-icon><MessageBox /></el-icon>
<span>权限设置</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div> -->
<!-- 分页 -->
<!-- 编辑弹窗 -->
<role-edit
v-model:visible="editVisible"
......@@ -153,14 +116,12 @@ import { ElMessageBox } from 'element-plus'
import { User, Delete, MessageBox } from '@element-plus/icons-vue'
import RoleEdit from './edit.vue'
import { query as queryRole, del } from '@/api/safetyManagement/roleConfig.js'
import pageIcon from '@/assets/images/user.png'
// 定义组件名称
defineOptions({
name: 'RoleConfig'
})
const data = reactive({
queryParams: {
page: 1,
......
<script setup lang="ts" name="projectManageIndex">
<script setup lang="ts" name="UserConfigIndex">
import { ref } from 'vue'
import list from './list.vue'
......
......@@ -2,7 +2,10 @@
<div class="app-container scroller">
<PageTitle>
<template #title>
用户
<div style="display: flex;align-items: center;">
<img class="title-icon" :src="pageIcon" alt="">
<span style="margin-left: 8px;">用户</span>
</div>
</template>
</PageTitle>
......@@ -14,8 +17,6 @@
@reset="onReset"
@handleAdd="handleAdd"
/>
<div style="flex: 1;">
<el-table
:data="userList"
......@@ -97,17 +98,13 @@
</el-table-column>
</el-table>
</div>
<pagination
v-show="total > 0"
:total="total"
v-model:page="queryParams.pageno"
v-model:limit="queryParams.pagesize"
@pagination="getList"
/>
<pagination
v-show="total > 0"
:total="total"
v-model:page="queryParams.pageno"
v-model:limit="queryParams.pagesize"
@pagination="getList"
/>
</div>
<!-- 编辑弹窗 -->
......@@ -126,6 +123,7 @@ import { ElMessageBox } from 'element-plus'
import { User, Delete, Edit } from '@element-plus/icons-vue'
import UserEdit from './edit.vue'
import { query, remove } from '@/api/safetyManagement/userConfig.js'
import pageIcon from '@/assets/images/user.png'
// 定义组件名称
defineOptions({
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论