123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <template>
- <div v-loading="loading" class="container" style="position:relactive">
-
- </div>
- </template>
- <script>
- import draggable from 'vuedraggable'
-
- import { GetDataByName } from '@/api/common'
- import Cookies from 'js-cookie'
-
- export default {
- name: 'Addboard2',
- components: { draggable },
- data() {
- return {
- isRoleEdit: [],
- isEdit: 'view',
- dashboardList: [],
- currentDashboard: undefined,
- editDialogVisible: false,
- dbObj: {},
- loading: false,
- isCollapse: false,
- did: undefined,
- isTitle: '2',
- editBtn: false,
- control_btn: '编辑',
- control_btn_l: false,
-
- }
- },
- created() {
- // console.log('this.$route.params.id', this.$route.params.id)
- // const isEdit = this.$route.params.isEdit
- // this.isEdit = isEdit
-
- this.getList()
- },
- methods: {
-
- getList() {
- this.loading = true
- // if (this.$route.params.id) {
- // this.did = this.$route.params.id
- // } else {
- // this.did = this.did
- // }
-
- }
-
- }
- }
- </script>
- <style lang="scss" scoped>
- .container {
- display: flex;
- min-height: calc(100vh - 62px);
- // align-items: stretch;
- .dashboard-list {
- width: 250px;
- min-height: 100%;
- padding: 20px 10px;
- /deep/ .el-card__header {
- div {
- display: flex;
- justify-content: space-between;
- font-size: 14px;
- color: #606266;
- i {
- cursor: pointer;
- }
- }
- padding: 5px 0px;
- }
- .dashboard-list-item {
- display: flex;
- justify-content: space-between;
- line-height: 35px;
- font-size: 14px;
- cursor: pointer;
- color: #606266;
- i {
- margin-right: 10px;
- line-height: 35px;
- }
- }
- .high-light-dashboard {
- color: #205cd8;
- }
- }
- .dashboard-wrapper {
- width: 100%;
- }
- }
- </style>
|