lyh
3 天以前 aed6fe7716c2d0b456a67be7753a2e9c8f0b7e11
src/views/dashboard/dncIndex/DncManagerSignage.vue
@@ -20,8 +20,12 @@
    <!-- 右侧两个小卡片 -->
    <div class="right-cards">
      <div class="card top-card">
        <h2 class="card-title">卡片1</h2>
        <h2 class="card-title">三维工艺生成产品结构树</h2>
        <h2 class="more-btns" @click = "gotoSyncProcessList">更多</h2>
        <div class="card-content">
          <syncProcessList
            ref="syncProcessList"
            ></syncProcessList>
        </div>
      </div>
@@ -36,11 +40,14 @@
<script>
import TodoList from '@views/dashboard/TodoList.vue'
import SyncProcessList from '@views/dashboard/SyncProcessList.vue'
export default {
  name: 'DncManagerSignage',
  components: {
    TodoList
    TodoList,
    SyncProcessList
  },
  data() {
    return {
@@ -56,7 +63,10 @@
  methods: {
    gotoTodoList() {
      this.$router.push('/flowable/workflow/FlowTodo')
    }
    },
    gotoSyncProcessList(){
      this.$router.push('/dnc/base/SyncProcessSpecificationInfoList')
    },
  }
}
</script>
@@ -116,6 +126,19 @@
  border: none;
  cursor: pointer;
}
.more-btns {
  position: absolute;
  top: 140px;
  right: 40px;
  color: #1890ff;
  font-size: 14px;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  z-index: 10;
}
.top-card {
  flex: 1;
}