ui 升级

This commit is contained in:
zenglh committed 2023-09-26 23:49:59 +08:00
1 parent e7ea27cf6b
commit 02577898ae
5 files changed
+101 -100

No files matched your search

+19 -27
View File
@@ -9,13 +9,19 @@
<v-main class="mt-15">
<!-- 头部内容 >>>>>>>>>>>>> -->
<div class="jh-page-second-bar px-8">
<div class="pt-3 text-h7 font-weight-bold">任务列表
<!-- 帮助页按钮 -->
<v-icon @click="isHelpPageDrawerShown = true" color="success" small>mdi-help-circle-outline</v-icon>
</div>
<v-breadcrumbs class="pb-3 pt-0 px-0" :items="breadcrumbs" divider="-"></v-breadcrumbs>
<v-row class="align-center">
<v-col cols="12" xs="12" sm="12" md="4" xl="3">
<div class="py-4 text-body-1 font-weight-bold">任务列表
<!-- 帮助页按钮 -->
<span role="button" class="success--text font-weight-regular jh-font-size-13 ml-2" @click="isHelpPageDrawerShown = true">
<v-icon size="13" class="success--text">mdi-help-circle-outline</v-icon>帮助
</span>
</div>
</v-col>
</v-row>
</div>
<!-- <<<<<<<<<<<<< 头部内容 -->
<div class="jh-page-body-container px-8">
<!-- 页面内容 >>>>>>>>>>>>> -->
<v-card class="rounded-lg">
@@ -60,17 +66,6 @@
查看
</span>
</template>
<!--表格底部右侧功能按钮-->
<template v-slot:footer.prepend>
<v-menu top offset-y :close-on-content-click="false">
<template v-slot:activator="{on, attrs}">
<v-btn icon v-bind="attrs" v-on="on">
<v-icon>mdi-menu</v-icon>
</v-btn>
</template>
<v-switch v-model="isTableZebraLineShown" hide-details class="mx-3 my-2" label="显示斑马纹" dense flat></v-switch>
</v-menu>
</template>
<!--没有数据-->
<template v-slot:loading>
<div class="jh-no-data">数据加载中</div>
@@ -94,12 +89,14 @@
<v-navigation-drawer v-model="isViewDrawerShown" v-click-outside="drawerClickOutside" fixed temporary right width="80%"
class="elevation-24">
<v-form v-if="isViewDrawerShown" ref="updateForm" lazy-validation>
<!--抽屉标题-->
<v-row class="ma-0">
<span class="title pa-4">历史审核记录</span>
<!-- 抽屉标题 -->
<v-row no-gutters>
<span class="text-h7 font-weight-bold pa-4">历史审核记录</span>
</v-row>
<v-divider class="jh-divider"></v-divider>
<!--抽屉表单-->
<v-row class="mt-0 px-4" >
<v-row class="mt-1 px-4" >
<v-col cols="12" sm="12" md="4" class="py-0" v-for="(item, index) in viewItem.taskFormInput.formList" :key="index">
<form-item :form-item="item" readonly></form-item>
</v-col>
@@ -164,11 +161,6 @@
vueComponent: 'page',
vuetify: new Vuetify(),
data: {
// 面包屑
breadcrumbs: [
{ text: '首页', disabled: true, },
{ text: '全部任务列表', disabled: true, }
],
isHelpPageDrawerShown: false,
// 表格相关数据
isTableZebraLineShown: true,
@@ -182,11 +174,11 @@
isTableLoading: true,
tableData: [],
headers: [
{ text: '操作', value: 'action', sortable: false, width: 80, class: 'fixed', cellClass: 'fixed' },
{ text: "审批项", value: "taskTitle", width: 150 },
{ text: "审核状态", value: "taskStatus" },
{ text: "操作者", value: "operationByUser", width: 120 },
{ text: "操作时间", value: "operationAt", width: 250 }
{ text: "操作时间", value: "operationAt", width: 250 },
{text: '操作', value: 'action', align: 'center', sortable: false, width: 80, class: 'fixed', cellClass: 'fixed'},
],
isViewDrawerShown: false,