123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293 |
- <!-- 数据看板-设备管控-超期服役排行 -->
- <template>
- <view class="equipmentControl">
- <!-- 超期服役排行 -->
- <view class="table">
- <view class="table-border">
- <view class="table-th">
- <view class="table-th-li">
- <view>排行</view>
- <view>学院单位</view>
- <view>设备总数(台)</view>
- <view>超期服役数(台)</view>
- </view>
- </view>
- <view class="table-tb">
- <view class="table-tb-li" v-for="(item,index) in dataList" :key="index">
- <view>{{index}}</view>
- <view>{{item.data2}}</view>
- <view>{{item.data2}}</view>
- <view>{{item.data2}}</view>
- </view>
- </view>
- </view>
- </view>
- <!-- 设备使用寿命 -->
- <view class="table-tow">
- <view class="table-border">
- <view class="table-th">
- <view class="table-th-li">
- <view>学院单位</view>
- <view>5年内(台)</view>
- <view>10年内(台)</view>
- <view>12年内(台)</view>
- <view>20年内(台)</view>
- </view>
- </view>
- <view class="table-tb">
- <view class="table-tb-li" v-for="(item,index) in dataList" :key="index">
- <view>{{index}}</view>
- <view>{{item.data2}}</view>
- <view>{{item.data2}}</view>
- <view>{{item.data2}}</view>
- <view>{{item.data2}}</view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- import {
- config
- } from '@/api/request/config.js'
- import {
- } from '@/pages_basics/api/index.js'
- export default {
- name: "equipmentControl",
- components: {
- },
- data() {
- return {
- // 查询参数
- queryParams: {
- page: 1,
- pageSize: 10,
- },
- dataList: [{
- data1: '学院学院简称',
- data2: '666',
- },
- {
- data1: '学院学院简称',
- data2: '666',
- },
- {
- data1: '学院学院简称',
- data2: '666',
- },
- {
- data1: '学院学院简称',
- data2: '666',
- },
- ],
- total: 0,
- }
- },
- onLoad(option) {
- if(option.pageType){
-
- }
- },
- created() {
- },
- beforeMount() {
- },
- mounted() {},
- methods: {
- dateClick(index) {
- this.dateIndex = index;
- },
- },
- }
- </script>
- <style lang="stylus" scoped>
- .equipmentControl {
- height: 100%;
- width: 100%;
- background: #363744;
- box-sizing: border-box;
- .table {
- width: 750rpx;
- margin-top: 20rpx;
- .table-border {
- overflow: auto;
- .table-th {
- width: 750rpx;
- height: 80rpx;
- background: rgba(162, 162, 162, 0.2);
- padding: 0 30rpx;
- box-sizing: border-box;
- .table-th-li {
- height: 80rpx;
- display: flex;
- justify-content: flex-start;
- >view {
- font-weight: 400;
- font-size: 30rpx;
- color: #FFFFFF;
- line-height: 80rpx;
- text-align: center;
- margin-right: 18rpx;
- width: 120rpx;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- >view:nth-of-type(1) {
- width: 90rpx;
- text-align: left;
- }
- >view:nth-of-type(2) {
- width: 168rpx;
- }
- >view:nth-of-type(3) {
- width: 190rpx;
- }
- >view:nth-of-type(4) {
- width: 300rpx;
- }
- }
- }
- .table-tb {
- width: 750rpx;
- border-bottom: 1rpx dashed rgba(216, 216, 216, 0.2);
- background: #3E414F;
- padding: 0 30rpx;
- box-sizing: border-box;
- .table-tb-li {
- height: 80rpx;
- border-bottom: 1rpx dashed rgba(216, 216, 216, 0.2);
- display: flex;
- justify-content: flex-start;
- >view {
- font-weight: 400;
- font-size: 28rpx;
- color: #FFFFFF;
- line-height: 80rpx;
- text-align: center;
- margin-right: 38rpx;
- width: 120rpx;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- >view:nth-of-type(1) {
- width: 90rpx;
- text-align: left;
- }
- >view:nth-of-type(2) {
- width: 168rpx;
- }
- >view:nth-of-type(3) {
- width: 190rpx;
- }
- >view:nth-of-type(4) {
- width: 300rpx;
- }
- }
- }
- }
- }
- .table-tow {
- width: 750rpx;
- margin-top: 20rpx;
- .table-border {
- overflow: auto;
-
- .table-th {
- width: 860rpx;
- height: 80rpx;
- background: rgba(162, 162, 162, 0.2);
- padding: 0 30rpx;
- box-sizing: border-box;
-
- .table-th-li {
- height: 80rpx;
- display: flex;
- justify-content: flex-start;
-
- >view {
- font-weight: 400;
- font-size: 30rpx;
- color: #FFFFFF;
- line-height: 80rpx;
- text-align: center;
- margin-right: 18rpx;
- width: 140rpx;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
-
- >view:nth-of-type(1) {
- width: 168rpx;
- text-align: left;
- }
-
- }
- }
-
- .table-tb {
- width: 750rpx;
- border-bottom: 1rpx dashed rgba(216, 216, 216, 0.2);
- background: #3E414F;
- padding: 0 30rpx;
- box-sizing: border-box;
-
- .table-tb-li {
- height: 80rpx;
- border-bottom: 1rpx dashed rgba(216, 216, 216, 0.2);
- display: flex;
- justify-content: flex-start;
-
- >view {
- font-weight: 400;
- font-size: 28rpx;
- color: #FFFFFF;
- line-height: 80rpx;
- text-align: center;
- margin-right: 38rpx;
- width: 140rpx;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-
- }
-
- >view:nth-of-type(1) {
- width: 168rpx;
- text-align: left;
- }
-
- }
- }
- }
-
- }
- }
- </style>
- <style>
- page {
- background-color: #363744 !important;
- }
- </style>
|