Browse Source

优化

master
ltlzx 4 years ago
parent
commit
6bd1c1c7d8
  1. 2
      src/components/Header.vue
  2. 3
      src/components/billDetails/index.vue
  3. 26
      src/components/dateSelect/index.vue
  4. 28
      src/components/dateSelect/order.vue

2
src/components/Header.vue

@ -11,7 +11,7 @@
<img src="../assets/icons/svg/user.svg" alt="" > <img src="../assets/icons/svg/user.svg" alt="" >
<span class="f_title">{{name}}</span> <span class="f_title">{{name}}</span>
</div> </div>
<a href="http://10.24.4.57/#/Home"> <a href="http://10.24.4.55/#/cache/index">
<!-- <a href="http://58.30.231.137:8035/#/cache/index"> --> <!-- <a href="http://58.30.231.137:8035/#/cache/index"> -->
<div class="header_right_item"> <div class="header_right_item">
<img src="../assets/icons/svg/yingyong.svg" alt="" > <img src="../assets/icons/svg/yingyong.svg" alt="" >

3
src/components/billDetails/index.vue

@ -305,4 +305,7 @@
overflow: auto; overflow: auto;
margin-top: 22px; margin-top: 22px;
} }
.query_item .ant-select{
width: 180px;
}
</style> </style>

26
src/components/dateSelect/index.vue

@ -84,7 +84,7 @@
</div> </div>
<template v-if="gather_arr.length!=0"> <template v-if="gather_arr.length!=0">
<div class="tab_content"> <div class="tab_content">
<p class="tab_content_title">{{entrust_goods.goods_type==1?'文化资源数据':'文化数字内容'}}数据集</p> <p class="tab_content_title">{{entrust_goods.goods_type==1?'文化资源':'文化数字内容'}}数据集</p>
</div> </div>
<div class="content_table"> <div class="content_table">
<a-table :columns="columns1" :data-source="gather_arr" bordered :pagination="false"> <a-table :columns="columns1" :data-source="gather_arr" bordered :pagination="false">
@ -96,7 +96,7 @@
</template> </template>
<template v-if="oneSource.length!=0"> <template v-if="oneSource.length!=0">
<div class="tab_content"> <div class="tab_content">
<p class="tab_content_title">{{entrust_goods.goods_type==1?'文化资源数据':'文化数字内容'}}资源</p> <p class="tab_content_title">{{entrust_goods.goods_type==1?'文化资源数据':'文化数字内容'}}</p>
</div> </div>
<div class="content_table"> <div class="content_table">
<a-table :columns="columns2" :data-source="oneSource" bordered :pagination="false"></a-table> <a-table :columns="columns2" :data-source="oneSource" bordered :pagination="false"></a-table>
@ -275,12 +275,11 @@
width:'166px', width:'166px',
}, },
{ // {
title: '分类', // title: '',
dataIndex: 'class', // dataIndex: 'class',
width:'82px', // width:'82px',
// },
},
{ {
title: '生成时间', title: '生成时间',
dataIndex: 'registerDate', dataIndex: 'registerDate',
@ -313,12 +312,11 @@
width:'166px', width:'166px',
}, },
{ // {
title: '分类', // title: '',
dataIndex: 'class', // dataIndex: 'class',
width:'82px', // width:'82px',
// },
},
{ {
title: '生成时间', title: '生成时间',
dataIndex: 'registerDate', dataIndex: 'registerDate',

28
src/components/dateSelect/order.vue

@ -66,7 +66,7 @@
</div> </div>
<template v-if="item.gather_arr.length!=0"> <template v-if="item.gather_arr.length!=0">
<div class="tab_content"> <div class="tab_content">
<p class="tab_content_title">{{item.goods.goods_type==1?'文化资源数据':'文化数字内容'}}数据集</p> <p class="tab_content_title">{{item.goods.goods_type==1?'文化资源':'文化数字内容'}}数据集</p>
</div> </div>
<div class="content_table"> <div class="content_table">
<a-table :columns="columns1" :data-source="item.gather_arr" bordered :pagination="false"> <a-table :columns="columns1" :data-source="item.gather_arr" bordered :pagination="false">
@ -78,7 +78,7 @@
</template> </template>
<template v-if="item.oneSource.length!=0"> <template v-if="item.oneSource.length!=0">
<div class="tab_content"> <div class="tab_content">
<p class="tab_content_title">{{item.goods.goods_type==1?'文化资源数据':'文化数字内容'}}资源</p> <p class="tab_content_title">{{item.goods.goods_type==1?'文化资源数据':'文化数字内容'}}</p>
</div> </div>
<div class="content_table"> <div class="content_table">
<a-table :columns="columns2" :data-source="item.oneSource" bordered :pagination="false"> <a-table :columns="columns2" :data-source="item.oneSource" bordered :pagination="false">
@ -269,12 +269,11 @@
width:'166px', width:'166px',
}, },
{ // {
title: '分类', // title: '',
dataIndex: 'class', // dataIndex: 'class',
width:'82px', // width:'82px',
// },
},
{ {
title: '生成时间', title: '生成时间',
dataIndex: 'registerDate', dataIndex: 'registerDate',
@ -308,12 +307,11 @@
width:'166px', width:'166px',
}, },
{ // {
title: '分类', // title: '',
dataIndex: 'class', // dataIndex: 'class',
width:'82px', // width:'82px',
// },
},
{ {
title: '生成时间', title: '生成时间',
dataIndex: 'registerDate', dataIndex: 'registerDate',
@ -364,7 +362,7 @@
if(res.data.length!=0){ if(res.data.length!=0){
this.orderDate=res.data this.orderDate=res.data
let state=res.data[0].goods.status let state=res.data[0].goods.status
if(state==1){ if(state==1 || state==5){
this.columns.pop() this.columns.pop()
} }
// this.userinfo=res.data.userinfo // this.userinfo=res.data.userinfo

Loading…
Cancel
Save