Commit 88e2a25d by ningjihai

13123

parent db33f6e9
<script setup name="ProjectManageList">
<script setup name="ClassificationVerification">
import { getCurrentInstance, reactive, ref, watch, onMounted, computed,nextTick} from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import { useRouter } from 'vue-router'
......@@ -398,7 +398,12 @@ const resetSummary = () => {
})
}
function pageProjectManage() {
changeRoute()
router.push({
path: '/project/Project'
})
}
</script>
<template>
......
......@@ -90,12 +90,17 @@ onMounted(() => {
</PageTitle>
<div class="app-container__body">
<query-form ref="QueryFormRef" v-model="queryParams" @query="onQuery" @reset="onReset" />
<el-table v-loading="loading" :data="logList" border style="width: 100%">
<div style="flex:1;">
<el-table v-loading="loading" :data="logList" stripe
height="100%" style="width: 100%">
<el-table-column prop="createuser" label="用户" align="center" width="200" />
<el-table-column prop="createtime" label="时间" align="center" width="180" />
<el-table-column prop="code" label="操作代码" align="center" width="180" />
<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" />
......
......@@ -90,12 +90,15 @@ onMounted(() => {
</PageTitle>
<div class="app-container__body">
<query-form ref="QueryFormRef" v-model="queryParams" @query="onQuery" @reset="onReset" />
<el-table v-loading="loading" :data="logList" border style="width: 100%">
<el-table-column prop="operptionUser" label="用户" align="center" width="200" />
<el-table-column prop="code" label="操作代码" align="center" width="180" />
<el-table-column prop="operModule" label="操作模块" align="center" width="200" />
<el-table-column prop="operptionMassage" label="操作信息" align="center" show-overflow-tooltip />
</el-table>
<div style="flex:1;">
<el-table v-loading="loading" :data="logList" stripe height="100%" style="width: 100%">
<el-table-column prop="operptionUser" label="用户" align="center" width="200" />
<el-table-column prop="code" label="操作代码" align="center" width="180" />
<el-table-column prop="operModule" label="操作模块" align="center" width="200" />
<el-table-column prop="operptionMassage" 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" />
......
......@@ -421,9 +421,7 @@ onMounted(()=>{
</template>
</PageTitle>
<div class="app-container__body">
<query-form
ref="QueryFormRef"
v-model="queryParams"
......@@ -433,101 +431,101 @@ onMounted(()=>{
/>
<div style="flex: 1;">
<el-table
height="100%"
:data="tableList"
v-loading="loading"
stripe
style="width: 100%; margin-top: 20px"
>
<el-table-column
type="index"
label="序号"
width="80"
align="center"
fixed
/>
<el-table-column
prop="project"
label="项目名称"
min-width="180"
show-overflow-tooltip
/>
<el-table-column
label="数据源"
width="100"
align="center"
>
<template #default="{ row }">
{{ row.list && row.list[0] ? row.list[0].value : '-' }}
</template>
</el-table-column>
<el-table-column
label="数据域"
width="100"
align="center"
>
<template #default="{ row }">
{{ row.list && row.list[1] ? row.list[1].value : '-' }}
</template>
</el-table-column>
<el-table-column
label="发现规则"
width="100"
align="center"
>
<template #default="{ row }">
{{ row.list && row.list[2] ? row.list[2].value : '-' }}
</template>
</el-table-column>
<el-table-column
prop="note"
label="项目备注"
min-width="100"
show-overflow-tooltip
/>
<el-table-column
label="操作"
min-width="520"
align="center"
fixed="right"
height="100%"
:data="tableList"
v-loading="loading"
stripe
style="width: 100%;"
>
<template #default="{ row }">
<el-button plain color="rgba(0, 186, 173, 1)" size="small" icon="right" @click="handleEnterProject(row)">
进入
</el-button>
<el-button plain color="rgba(11, 136, 251, 1)" size="small" icon="edit" @click="handleEditProject(row)">
编辑
</el-button>
<el-button plain color="rgba(255, 141, 26, 1)" size="small" icon="delete" @click="handleDeleteProject(row)">
删除
</el-button>
<el-button plain color="rgba(121, 72, 234, 1)" size="small" icon="download" @click="handleDownloadPlugin(row)">
下载插件
</el-button>
<el-button plain color="rgba(237, 183, 5, 1)" size="small" icon="documentCopy" @click="handleImportProject(row)">
导入
</el-button>
<el-button plain color="rgba(172, 51, 193, 1)" size="small" icon="copyDocument" @click="handleExportProject(row)">
导出
</el-button>
<!-- <el-dropdown placement="bottom-end" @command="(command) => handleCommandProject(command, row)">
<el-table-column
type="index"
label="序号"
width="80"
align="center"
fixed
/>
<el-table-column
prop="project"
label="项目名称"
min-width="180"
show-overflow-tooltip
/>
<el-table-column
label="数据源"
width="100"
align="center"
>
<template #default="{ row }">
{{ row.list && row.list[0] ? row.list[0].value : '-' }}
</template>
</el-table-column>
<el-table-column
label="数据域"
width="100"
align="center"
>
<template #default="{ row }">
{{ row.list && row.list[1] ? row.list[1].value : '-' }}
</template>
</el-table-column>
<el-table-column
label="发现规则"
width="100"
align="center"
>
<template #default="{ row }">
{{ row.list && row.list[2] ? row.list[2].value : '-' }}
</template>
</el-table-column>
<el-table-column
prop="note"
label="项目备注"
min-width="100"
show-overflow-tooltip
/>
<el-table-column
label="操作"
min-width="520"
align="center"
fixed="right"
>
<template #default="{ row }">
<el-button plain color="rgba(0, 186, 173, 1)" size="small" icon="right" @click="handleEnterProject(row)">
进入
</el-button>
<el-button plain color="rgba(11, 136, 251, 1)" size="small" icon="edit" @click="handleEditProject(row)">
编辑
</el-button>
<el-button plain color="rgba(255, 141, 26, 1)" size="small" icon="delete" @click="handleDeleteProject(row)">
删除
</el-button>
<el-button plain color="rgba(121, 72, 234, 1)" size="small" icon="download" @click="handleDownloadPlugin(row)">
下载插件
</el-button>
<el-button plain color="rgba(237, 183, 5, 1)" size="small" icon="documentCopy" @click="handleImportProject(row)">
导入
</el-button>
<el-button plain color="rgba(172, 51, 193, 1)" size="small" icon="copyDocument" @click="handleExportProject(row)">
导出
</el-button>
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item command="1">进入</el-dropdown-item>
<el-dropdown-item command="2">编辑</el-dropdown-item>
<el-dropdown-item command="3">删除</el-dropdown-item>
<el-dropdown-item command="4">导入</el-dropdown-item>
<el-dropdown-item command="5">导出</el-dropdown-item>
<el-dropdown-item command="6">下载插件</el-dropdown-item>
</el-dropdown-menu>
</template>
</el-dropdown> -->
</template>
</el-table-column>
<!-- <el-dropdown placement="bottom-end" @command="(command) => handleCommandProject(command, row)">
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item command="1">进入</el-dropdown-item>
<el-dropdown-item command="2">编辑</el-dropdown-item>
<el-dropdown-item command="3">删除</el-dropdown-item>
<el-dropdown-item command="4">导入</el-dropdown-item>
<el-dropdown-item command="5">导出</el-dropdown-item>
<el-dropdown-item command="6">下载插件</el-dropdown-item>
</el-dropdown-menu>
</template>
</el-dropdown> -->
</template>
</el-table-column>
</el-table>
</div>
......@@ -540,7 +538,7 @@ onMounted(()=>{
/>
</div>
</div>
<ProjectEditDialog
v-model:visible="dialogVisible"
:mode="dialogMode"
......@@ -567,7 +565,6 @@ onMounted(()=>{
:project-id="currentImportProjectId"
@success="handleImportSuccess"
/>
</div>
</template>
<style lang="scss" scoped>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论