hyingbo
9 小时以前 296852209ae0880056ba52345090f835e0781231
dnc样式调整
已重命名1个文件
已修改1个文件
66 ■■■■■ 文件已修改
src/views/dashboard/TodoList.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/dncIndex/DncManagerSignage.vue 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/TodoList.vue
ÎļþÃû´Ó src/views/dashboard/dncIndex/TodoList.vue ÐÞ¸Ä
@@ -617,13 +617,16 @@
}
.todo-title {
  flex: 1;
  margin-right: 15px;
  margin-right: 100px;
  font-size: 14px;
}
.todo-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 120px;
  font-size: 12px;
}
.todo-node {
  margin-bottom: 5px;
src/views/dashboard/dncIndex/DncManagerSignage.vue
@@ -2,13 +2,16 @@
  <div class="home-container">
    <div class="left-card">
      <div class="card">
        <h2 class="card-title">我的待办</h2>
        <div class="card-header">
          <h2 class="card-title">我的待办</h2>
          <h2 class="more-btn" @click = "gotoTodoList">更多</h2>
        </div>
        <div class="card-content">
          <!-- åµŒå…¥FlowTodo组件并设置默认分类 -->
          <!-- åµŒå…¥todoList组件并设置默认分类 -->
          <todo-list
            ref="flowTodo"
            ref="todoList"
            class="embedded-flow-todo"
            :defaultCategories="['drApproval','ggApproval','programConfirmApproval']"
            :defaultCategories="['drApproval','ggApproval','programConfirmApproval','ncFileSettingProcessApproval']"
          ></todo-list>
        </div>
      </div>
@@ -32,9 +35,7 @@
</template>
<script>
import signageApi from '@api/signage'
import moment from 'moment'
import TodoList from '@views/dashboard/dncIndex/TodoList.vue'
import TodoList from '@views/dashboard/TodoList.vue'
export default {
  name: 'DncManagerSignage',
@@ -46,15 +47,16 @@
    }
  },
  mounted() {
    // ç¡®ä¿ç»„件加载后使用默认分类查询数据
    this.$nextTick(() => {
      if (this.$refs.flowTodo) {
        this.$refs.flowTodo.loadData(1)
      if (this.$refs.todoList) {
        this.$refs.todoList.loadData(1)
      }
    })
  },
  methods: {
    gotoTodoList() {
      this.$router.push('/flowable/workflow/FlowTodo')
    }
  }
}
</script>
@@ -66,10 +68,10 @@
.home-container {
  display: flex;
  min-height: 100vh;
  padding: 20px;
  padding: 5px;
  box-sizing: border-box;
  gap: 20px;
  background-color: #f5f7fa;
  gap: 16px;
  background-color: #f0f2f7;
}
.left-card {
@@ -82,7 +84,7 @@
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  gap: 16px;
}
.card {
@@ -94,8 +96,26 @@
  display: flex;
  flex-direction: column;
  overflow: hidden;
  justify-content: flex-start;
}
/* åœ¨åŽŸæœ‰æ ·å¼åŸºç¡€ä¸Šæ·»åŠ  */
.card-header {
  display: flex;
  justify-content: space-between;
  /* åž‚直居中对齐 */
  align-items: center;
  /* å¯ä»¥æ ¹æ®éœ€è¦è®¾ç½®é«˜åº¦ï¼Œè¿™é‡Œå‡è®¾è®¾ç½®ä¸º 40px,也可根据实际情况调整 */
  height: 40px;
}
.more-btn {
  margin: 0;
  color: #00bfff;
  font-size: 14px;
  border: none;
  cursor: pointer;
}
.top-card {
  flex: 1;
}
@@ -105,12 +125,11 @@
}
.card-title {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 18px;
  margin: 0;
  padding-bottom: 0;
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.card-content {
@@ -128,7 +147,7 @@
  }
  .left-card {
    margin-bottom: 20px;
    margin-bottom: 16px;
  }
}
</style>