|
|
@@ -0,0 +1,193 @@
|
|
|
+<template>
|
|
|
+ <ContentWrap>
|
|
|
+ <!-- 顶部标题-->
|
|
|
+ <div class="topTitle">
|
|
|
+ <img src="../../../../assets/images/my_todo.png" class="todoimg" />
|
|
|
+ <span class="tab-title"> 我的代办</span>
|
|
|
+ <div class="set-btn" @click="goBack">
|
|
|
+ <img src="../../../../assets/images/返回.png" alt="" />
|
|
|
+ 返回
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </ContentWrap>
|
|
|
+ <ContentWrap>
|
|
|
+ <!-- <div class="container">-->
|
|
|
+ <el-tabs type="border-card" class="demo-tabs" v-model="activeName" @tab-click="handleClick">
|
|
|
+ <el-tab-pane name="first">
|
|
|
+ <template #label>
|
|
|
+ <span class="custom-tabs-label">
|
|
|
+ <span>等待中(1)</span>
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ <!-- 中间内容-->
|
|
|
+ <div class="middleContent">
|
|
|
+ <div class="itemCon">
|
|
|
+ <section class="title">等待: <span></span></section>
|
|
|
+ <section class="itemDetail">
|
|
|
+ <p>相关作业:<span></span></p>
|
|
|
+ <p>当前步骤:<span></span></p>
|
|
|
+ <p>当前操作:<span style="color: red"></span></p>
|
|
|
+ </section>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane name="second">
|
|
|
+ <template #label>
|
|
|
+ <span class="custom-tabs-label">
|
|
|
+ <span>处理中(1)</span>
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ <!-- 中间内容-->
|
|
|
+ <div class="middleContent">
|
|
|
+ <div class="itemCon">
|
|
|
+ <section class="title"><span style="color: red"></span></section>
|
|
|
+ <section class="itemDetail">
|
|
|
+ <p>相关作业:<span></span></p>
|
|
|
+ <p>当前步骤:<span></span></p>
|
|
|
+ </section>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane name="third">
|
|
|
+ <template #label>
|
|
|
+ <span class="custom-tabs-label">
|
|
|
+ <span>已处理()</span>
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ <!-- 中间内容-->
|
|
|
+ <div class="middleContent">
|
|
|
+ <div class="selectCon">
|
|
|
+ <span>处理日期:</span>
|
|
|
+ <el-select
|
|
|
+ v-model="nonWorkDay"
|
|
|
+ placeholder=""
|
|
|
+ style="width: 215px;margin-right: 15px"
|
|
|
+ @change="handlenonWorkMoveDayChange()"
|
|
|
+ >
|
|
|
+ <el-option label="全部" value="0" />
|
|
|
+ <el-option
|
|
|
+ v-for="dict in getIntDictOptions(DICT_TYPE.TODO_FINISHED_QUERY_TYPE)"
|
|
|
+ :key="dict.value"
|
|
|
+ :label="dict.label"
|
|
|
+ :value="dict.value"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ <el-date-picker
|
|
|
+ v-model="nonWorkDay"
|
|
|
+ type="daterange"
|
|
|
+ range-separator="To"
|
|
|
+ start-placeholder="Start date"
|
|
|
+ end-placeholder="End date"
|
|
|
+ size='default'
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="itemCon">
|
|
|
+ <section class="title"><span></span></section>
|
|
|
+ <section class="itemDetail">
|
|
|
+ <p>相关作业:<span></span></p>
|
|
|
+ <p>完成时间:<span></span></p>
|
|
|
+ </section>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-tab-pane>
|
|
|
+ </el-tabs>
|
|
|
+ <!-- </div>-->
|
|
|
+ </ContentWrap>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script setup lang="ts">
|
|
|
+import type { TabsPaneContext } from 'element-plus'
|
|
|
+import { DICT_TYPE, getIntDictOptions, getStrDictOptions } from '@/utils/dict'
|
|
|
+
|
|
|
+const router = useRouter()
|
|
|
+// const route = useRoute()
|
|
|
+const nonWorkDay=ref('')
|
|
|
+const activeName = ref('first')
|
|
|
+
|
|
|
+onMounted(() => {})
|
|
|
+// 返回
|
|
|
+const goBack = () => {
|
|
|
+ router.go(-1)
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+const handleClick = (tab: TabsPaneContext, event: Event) => {
|
|
|
+ console.log(tab, event)
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped lang="scss">
|
|
|
+.topTitle {
|
|
|
+ width: 100%;
|
|
|
+ line-height: 30px;
|
|
|
+}
|
|
|
+
|
|
|
+.todoimg {
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ margin: 10px 0 0;
|
|
|
+}
|
|
|
+
|
|
|
+.set-btn {
|
|
|
+ width: 60px;
|
|
|
+ height: 30px;
|
|
|
+ border: 1px solid black;
|
|
|
+ border-radius: 6px;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 30px;
|
|
|
+ float: right;
|
|
|
+ cursor: pointer;
|
|
|
+ margin: 10px 0;
|
|
|
+
|
|
|
+ img {
|
|
|
+ width: 14px;
|
|
|
+ height: 14px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.container {
|
|
|
+ width: 100%;
|
|
|
+ max-height: 800px;
|
|
|
+ overflow: auto;
|
|
|
+ //background: #000;
|
|
|
+}
|
|
|
+
|
|
|
+.middleContent {
|
|
|
+ width: 100%;
|
|
|
+ max-height: 700px;
|
|
|
+ overflow: auto;
|
|
|
+ //background: pink;
|
|
|
+ .itemCon {
|
|
|
+ width: 45%;
|
|
|
+ height: 180px;
|
|
|
+ background-color: #ffffff;
|
|
|
+ border: 1px solid #e0e0e0;
|
|
|
+ border-radius: 8px;
|
|
|
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* 轻微阴影 */
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ //border: 1px solid black;
|
|
|
+ section {
|
|
|
+ width: 100%;
|
|
|
+ padding: 0 15px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .title {
|
|
|
+ height:50px;
|
|
|
+ line-height: 50px;
|
|
|
+ margin-bottom: 5px;
|
|
|
+ border-bottom: 1px solid black;
|
|
|
+ }
|
|
|
+
|
|
|
+ .itemDetail {
|
|
|
+ p {
|
|
|
+ line-height: 35px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .selectCon{
|
|
|
+ width: 100%;
|
|
|
+ height: 60px;
|
|
|
+ padding: 10px 6px;
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|