调整UI样式
This commit is contained in:
parent
64741c8581
commit
e5ebb3474f
|
@ -203,7 +203,7 @@
|
|||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="mediaList" @selection-change="handleSelectionChange"
|
||||
:height="unfoldFlag ? 'calc(100vh - 382px)' : 'calc(100vh - 348px)'">
|
||||
:height="unfoldFlag ? 'calc(100vh - 382px)' : 'calc(100vh - 338px)'">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="媒体名称" align="left" prop="mediaName" width="320">
|
||||
<template #default="scope">
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-table ref="operlogRef" v-loading="loading" :data="operlogList" height="calc(100vh - 362px)"
|
||||
<el-table ref="operlogRef" v-loading="loading" :data="operlogList" height="calc(100vh - 368px)"
|
||||
@selection-change="handleSelectionChange" :default-sort="defaultSort" @sort-change="handleSortChange">
|
||||
<el-table-column type="selection" width="50" align="center" />
|
||||
<el-table-column label="日志编号" align="center" prop="operId" />
|
||||
|
|
|
@ -1,33 +1,39 @@
|
|||
<template>
|
||||
<div class="app-container">
|
||||
<div class="searchPanel">
|
||||
<el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" class="searchPanelForm">
|
||||
<el-form-item label="反馈人:" prop="postCode">
|
||||
<el-input v-model="queryParams.postCode" placeholder="请输入反馈人" clearable style="width: 140px" />
|
||||
</el-form-item>
|
||||
<el-form-item label="反馈时间:" prop="postName">
|
||||
<el-form :inline="true" v-show="showSearch" class="searchPanelForm">
|
||||
<el-form-item label="反馈时间:" prop="postName" style="width: 330px">
|
||||
<el-date-picker v-model="dateRange" value-format="YYYY-MM-DD" type="daterange" range-separator="-"
|
||||
start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
<el-card class="mt20">
|
||||
<el-card class="mt20">
|
||||
<el-row :gutter="10" class="my_row">
|
||||
<el-col :span="24">
|
||||
<el-col :span="12">
|
||||
<el-form :inline="true" class="searchInputForm">
|
||||
<el-form-item label="">
|
||||
<el-input v-model="queryParams.name" placeholder="请输入反馈人" :prefix-icon="Search"
|
||||
style="width: 300px;" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</el-col>
|
||||
<el-col :span="12" style="text-align: right;">
|
||||
<el-button type="primary" class="primaryBtn" @click="handleQuery">查询</el-button>
|
||||
<el-button type="primary" class="primaryBtn" @click="resetQuery">重置</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
|
||||
<el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange"
|
||||
height="calc(100vh - 302px)">
|
||||
<el-table-column label="序号" align="center" width="80">
|
||||
height="calc(100vh - 308px)">
|
||||
<el-table-column label="序号" align="center" width="80">
|
||||
<template #default="scope">
|
||||
{{ scope.$index + 1 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="反馈内容" align="center" prop="postId" />
|
||||
<el-table-column label="反馈人" align="center" prop="postCode" width="150"/>
|
||||
<el-table-column label="反馈人" align="center" prop="postCode" width="150" />
|
||||
<el-table-column label="反馈时间" align="center" prop="createTime" width="210">
|
||||
<template #default="scope">
|
||||
<span>{{ parseTime(scope.row.createTime) }}</span>
|
||||
|
@ -45,12 +51,13 @@
|
|||
|
||||
<pagination :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize"
|
||||
@pagination="getList" />
|
||||
</el-card>
|
||||
</el-card>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup name="Post">
|
||||
import { onMounted, ref } from 'vue';
|
||||
import { Search } from '@element-plus/icons-vue'
|
||||
import { listPost, addPost, delPost, getPost, updatePost } from "@/api/system/post"
|
||||
import { useBackgroundStore } from '@/store/modules/background'
|
||||
import otherbg from '@/assets/images/otherbg.png'
|
||||
|
@ -96,7 +103,7 @@ function getList() {
|
|||
loading.value = false
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/** 搜索按钮操作 */
|
||||
function handleQuery() {
|
||||
queryParams.value.pageNum = 1
|
||||
|
@ -105,10 +112,16 @@ function handleQuery() {
|
|||
|
||||
/** 重置按钮操作 */
|
||||
function resetQuery() {
|
||||
proxy.resetForm("queryRef")
|
||||
queryParams.value = {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
postCode: undefined,
|
||||
postName: undefined,
|
||||
status: undefined
|
||||
}
|
||||
handleQuery()
|
||||
}
|
||||
|
||||
|
||||
/** 删除按钮操作 */
|
||||
function handleDelete(row) {
|
||||
const postIds = row.postId || ids.value
|
||||
|
@ -119,7 +132,7 @@ function handleDelete(row) {
|
|||
proxy.$modal.msgSuccess("删除成功")
|
||||
}).catch(() => { })
|
||||
}
|
||||
|
||||
|
||||
// 初始化
|
||||
onMounted(() => {
|
||||
bgStore.setBgImage(otherbg)
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="businessAreaList" height="calc(100vh - 362px)">
|
||||
<el-table v-loading="loading" :data="businessAreaList" height="calc(100vh - 368px)">
|
||||
<el-table-column label="省/直辖市" align="center" prop="postId" />
|
||||
<el-table-column label="地级市/区" align="center" prop="postCode" />
|
||||
<el-table-column label="区/县" align="center" prop="postName" />
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-table v-if="refreshTable" v-loading="loading" height="calc(100vh - 310px)" :data="deptList"
|
||||
<el-table v-if="refreshTable" v-loading="loading" height="calc(100vh - 318px)" :data="deptList"
|
||||
row-key="deptId" :default-expand-all="isExpandAll"
|
||||
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }">
|
||||
<el-table-column prop="deptName" label="部门名称"></el-table-column>
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="dataList" height="calc(100vh - 362px)"
|
||||
<el-table v-loading="loading" :data="dataList" height="calc(100vh - 368px)"
|
||||
@selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="字典编码" width="100" align="center" prop="dictCode" />
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="typeList" height="calc(100vh - 362px)"
|
||||
<el-table v-loading="loading" :data="typeList" height="calc(100vh - 368px)"
|
||||
@selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="字典编号" width="100" align="center" prop="dictId" />
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-table v-if="refreshTable" v-loading="loading" height="calc(100vh - 310px)" :data="menuList"
|
||||
<el-table v-if="refreshTable" v-loading="loading" height="calc(100vh - 318px)" :data="menuList"
|
||||
row-key="menuId" :default-expand-all="isExpandAll"
|
||||
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }">
|
||||
<el-table-column prop="menuName" label="菜单名称" :show-overflow-tooltip="true" width="230"></el-table-column>
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange"
|
||||
height="calc(100vh - 362px)">
|
||||
height="calc(100vh - 368px)">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="岗位编号" align="center" prop="postId" />
|
||||
<el-table-column label="岗位编码" align="center" prop="postCode" />
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="templateList" height="calc(100vh - 320px)">
|
||||
<el-table v-loading="loading" :data="templateList" height="calc(100vh - 306px)">
|
||||
<el-table-column label="模板名称" align="center" prop="templateName" />
|
||||
<el-table-column label="模板类型" align="center" prop="type" />
|
||||
<el-table-column label="创建时间" align="center" prop="createTime" width="210">
|
||||
|
@ -42,7 +42,7 @@
|
|||
</el-table>
|
||||
|
||||
<pagination :total="total" v-model:page="queryParams.pageIndex" v-model:limit="queryParams.pageSize"
|
||||
@pagination="getList" />
|
||||
@pagination="getpptTemplatePageList" />
|
||||
|
||||
</el-card>
|
||||
|
||||
|
@ -117,8 +117,8 @@ const { queryParams, form, rules } = toRefs(data)
|
|||
const getpptTemplatePageList = () => {
|
||||
loading.value = true
|
||||
pptTemplatePage(queryParams.value).then(res => {
|
||||
templateList.value = res.list
|
||||
total.value = res.total
|
||||
templateList.value = res.data.list
|
||||
total.value = res.data.total
|
||||
loading.value = false
|
||||
})
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="userList" height="calc(100vh - 362px)"
|
||||
<el-table v-loading="loading" :data="userList" height="calc(100vh - 368px)"
|
||||
@selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="用户登录名" prop="userName" :show-overflow-tooltip="true" />
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
</el-row>
|
||||
|
||||
<!-- 表格数据 -->
|
||||
<el-table v-loading="loading" :data="roleList" height="calc(100vh - 362px)"
|
||||
<el-table v-loading="loading" :data="roleList" height="calc(100vh - 368px)"
|
||||
@selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="角色编号" prop="roleId" />
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" height="calc(100vh - 362px)" :data="userList"
|
||||
<el-table v-loading="loading" height="calc(100vh - 368px)" :data="userList"
|
||||
@selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="50" align="center" />
|
||||
<!-- <el-table-column label="用户编号" align="center" key="userId" prop="userId" /> -->
|
||||
|
|
Loading…
Reference in New Issue
Block a user