Selaa lähdekoodia

xx预警清单

dev
yuzongping 2 viikkoa sitten
vanhempi
commit
637085b2aa
11 muutettua tiedostoa jossa 79 lisäystä ja 2 poistoa
  1. +2
    -0
      src/components/scroll-table/index.html
  2. +7
    -0
      src/components/scroll-table/index.js
  3. +8
    -0
      src/style/_base.scss
  4. +4
    -0
      src/views/capital/comps/buttom/2/index.html
  5. +25
    -0
      src/views/capital/comps/buttom/2/index.js
  6. +17
    -0
      src/views/capital/comps/buttom/2/index.scss
  7. +4
    -0
      src/views/capital/comps/buttom/2/index.vue
  8. +1
    -1
      src/views/capital/comps/left/bottom/2/index.html
  9. +5
    -0
      src/views/capital/data.js
  10. +3
    -0
      src/views/capital/index.html
  11. +3
    -1
      src/views/capital/index.js

+ 2
- 0
src/components/scroll-table/index.html Näytä tiedosto

@@ -2,11 +2,13 @@
<div class="table_show">
<div class="table_header table_one clearfix">
<div v-for="header in headers" :key="header" class="item test_center">{{header}}</div>
<div v-if="details" class="item test_center">操作</div>
</div>
<div class="table_bodyer" :style="[bodyStyle]">
<scroll :data="data" class="seamless-warp" :class-option="swiperOption">
<div v-for="(line, index) in data" class="table_one clearfix item_height">
<div v-for="(item, index) in line" class="item test_center ellipsis_1" >{{item }}</div>
<div v-if="details" class="item test_center ellipsis_1" @cilck="lineClick(line)">查看详情</div>
</div>
</scroll>
</div>


+ 7
- 0
src/components/scroll-table/index.js Näytä tiedosto

@@ -8,6 +8,10 @@ export default {
};
},
props: {
details: {
type: Boolean,
default: false
},
width: {
type: [String, Number],
default: '100%'
@@ -74,5 +78,8 @@ export default {
created () {
},
methods: {
lineClick (line) {
this.$emit('lineClick', line)
}
}
};

+ 8
- 0
src/style/_base.scss Näytä tiedosto

@@ -37,6 +37,14 @@ body {
top: 100px;
bottom: 20px;
}

.buttom_side {
border: 1px solid red;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 20px;
}
}

.scrollbar::-webkit-scrollbar {


+ 4
- 0
src/views/capital/comps/buttom/2/index.html Näytä tiedosto

@@ -0,0 +1,4 @@

<Pannel title="xx预警清单" height="305" width="960">
<ScrollTable :headers="headers" :data="data" details></ScrollTable>
</Pannel>

+ 25
- 0
src/views/capital/comps/buttom/2/index.js Näytä tiedosto

@@ -0,0 +1,25 @@
import Pannel from '@/components/pannel/index.vue';
import ScrollTable from '@/components/scroll-table/index.vue';
export default {
components: {
ScrollTable,
Pannel
},
data () {
return {
headers: ['摘要', '日期', '借方金额', '贷方金额'],
data: [
['摘要内容摘要内容摘要内容摘要内容摘要内容摘', '2025-12', '234', '3434']
]
};
},
created () {
},
mounted () {
},
methods: {
tabChange () {

}
}
};

+ 17
- 0
src/views/capital/comps/buttom/2/index.scss Näytä tiedosto

@@ -0,0 +1,17 @@
.full {
display: flex;
flex-direction: column;

.top {
height: 50px !important;
width: 100%;
display: flex !important;
align-items: center !important;
justify-content: flex-end;
}

.buttom {
flex: 1;
width: 100%;
}
}

+ 4
- 0
src/views/capital/comps/buttom/2/index.vue Näytä tiedosto

@@ -0,0 +1,4 @@
<template src='./index.html'/>
<script lang='js' src='./index.js'></script>
<style lang='scss' src='./index.scss' scoped>
</style>

+ 1
- 1
src/views/capital/comps/left/bottom/2/index.html Näytä tiedosto

@@ -1,5 +1,5 @@

<Pannel title="资金往来不规范预警分析" height="340">
<Pannel title="资金往来不规范预警分析" height="305">
<div class="full">
<div class="top">
<PannelTabs @change="tabChange" :data="pannelTabsData"></PannelTabs>


+ 5
- 0
src/views/capital/data.js Näytä tiedosto

@@ -9,6 +9,8 @@ export const comps = {
'Right11',
'Right21',
'Right31',
],
'buttom': [
]
},
'2': {
@@ -21,6 +23,9 @@ export const comps = {
'Right12',
'Right22',
'Right32'
],
'buttom': [
'Bottom2'
]
}
}

+ 3
- 0
src/views/capital/index.html Näytä tiedosto

@@ -11,4 +11,7 @@
<div class="right_side col space_between">
<component :is="item" v-for="(item, index) in currentComp.right" :key="index"></component>
</div>
<div class="buttom_side row space_between">
<component :is="item" v-for="(item, index) in currentComp.buttom" :key="index"></component>
</div>
</div>

+ 3
- 1
src/views/capital/index.js Näytä tiedosto

@@ -14,6 +14,7 @@ import Left32 from './comps/left/bottom/2/index.vue';
import Right12 from './comps/right/top/2/index.vue';
import Right22 from './comps/right/middle/2/index.vue';
import Right32 from './comps/right/bottom/2/index.vue';
import Bottom2 from './comps/buttom/2/index.vue';

import { getConfigKey } from "@/api/system/config";
import { getInfo } from "@/api/login";
@@ -37,7 +38,8 @@ export default {
Left32,
Right12,
Right22,
Right32
Right32,
Bottom2
},
data () {
return {


Ladataan…
Peruuta
Tallenna