You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
488 lines
11 KiB
488 lines
11 KiB
<template>
|
|
<view class="flex-col page">
|
|
<view class="flex-col group_4">
|
|
<view class="section_2 flex-col view_2">
|
|
<view class="flex-row">
|
|
<text class="text_3">鉴定结果:</text>
|
|
<text class="text_4">共{{ order.num }}件</text>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="section_2 flex-col view_3" v-for="(item, index) in order.sub_orders" :key="index">
|
|
<view class="flex-row">
|
|
<text class="text_19">评级编号:</text>
|
|
<text class="text_20" style="margin-left: 86rpx;">{{ item.series_num }}</text>
|
|
</view>
|
|
<view class="flex-row group_13">
|
|
<text class="text_19">名称:</text>
|
|
<text class="text_20" style="margin-left: 142rpx;">{{ item.title }}</text>
|
|
</view>
|
|
<view class="flex-row group_13">
|
|
<text class="text_19">分数:</text>
|
|
<text class="text_20" style="margin-left: 142rpx;">{{ item.score }}</text>
|
|
</view>
|
|
|
|
<view class="flex-row group_13">
|
|
<text class="text_11">年份:</text>
|
|
<text class="text_12">{{ item.years }}</text>
|
|
</view>
|
|
<view class="flex-row group_10">
|
|
<text class="text_13">发行商:</text>
|
|
<text class="text_14">{{ item.publisher }}</text>
|
|
</view>
|
|
<view class="flex-row group_11">
|
|
<text class="text_15">卡片系列名称:</text>
|
|
<text class="text_16">{{ item.card_series }}</text>
|
|
</view>
|
|
<view class="flex-row group_12">
|
|
<text class="text_17">边子系列名称:</text>
|
|
<text class="text_18">{{ item.sub_card_series }}</text>
|
|
</view>
|
|
<view class="flex-row group_12">
|
|
<text class="text_19">卡片限编:</text>
|
|
<text class="text_20">{{ item.limit_num? tem.limit_num : '-' }}</text>
|
|
</view>
|
|
<view class="flex-row group_13">
|
|
<text class="text_19">卡片编码:</text>
|
|
<text class="text_20">{{ item.card_code }}</text>
|
|
</view>
|
|
<view class="flex-row group_13">
|
|
<text class="text_19">居中分数:</text>
|
|
<text class="text_20">{{ item.center_s }}</text>
|
|
</view>
|
|
<view class="flex-row group_13">
|
|
<text class="text_19">边框分数:</text>
|
|
<text class="text_20">{{ item.border_s }}</text>
|
|
</view>
|
|
<view class="flex-row group_13">
|
|
<text class="text_19">卡角分数:</text>
|
|
<text class="text_20">{{ item.corner_s }}</text>
|
|
</view>
|
|
<view class="flex-row group_13">
|
|
<text class="text_19">表面分数:</text>
|
|
<text class="text_20">{{ item.front_s }}</text>
|
|
</view>
|
|
<view class="flex-row group_13">
|
|
<text class="text_19">签字分数:</text>
|
|
<text class="text_20">{{ item.sign_s }}</text>
|
|
</view>
|
|
|
|
<view class="flex-row group_13">
|
|
<text class="text_19">鉴定结果:</text>
|
|
<!-- <text class="text_20">{{ ['不正常','正常'][item.result_type] }}</text> -->
|
|
<text class="text_20">{{ item.result_type_text }}</text>
|
|
</view>
|
|
<view class="flex-row group_13 centerItem">
|
|
<text class="text_19">平台显示:</text>
|
|
<!-- <text class="text_20">{{ ['不正常','正常'][item.result_type] }}</text> -->
|
|
<u-switch style="margin-left: 18rpx;" asyncChange @change="setIsShow(index)" v-model="order.sub_orders[index].is_show" activeColor="#e7a23f"></u-switch>
|
|
</view>
|
|
<view class="flex-row group_13 centerItem">
|
|
<text class="text_19">拍卖链接:</text>
|
|
<!-- <text class="text_20">{{ ['不正常','正常'][item.result_type] }}</text> -->
|
|
<u-input @blur="setPmUrl(index)" v-model="order.sub_orders[index].pm_url" placeholder="非必填,请输入拍卖链接"></u-input>
|
|
</view>
|
|
<view class="flex-col group_20" v-if="item.images">
|
|
<view class="flex-row">
|
|
|
|
<image v-for="(img, index_img) in itemImages(item.images_url)" :key="img"
|
|
:src="img"
|
|
class="equal-division-item"
|
|
@click="previewImage(img)"
|
|
mode="aspectFill"
|
|
/>
|
|
</view>
|
|
<view class="section_5"> </view>
|
|
</view>
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import { gradingDetail,updateSubOrder } from '@/service/grading.js'
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
id: '',
|
|
order: {},
|
|
};
|
|
},
|
|
onLoad(options){
|
|
this.id = options.id;
|
|
this.getViewGradingDetail();
|
|
},
|
|
methods: {
|
|
setIsShow(index){
|
|
let item = this.order.sub_orders[index];
|
|
item.is_show = !item.is_show;
|
|
updateSubOrder(item.series_num,'is_show',item.is_show? 1 : 0);
|
|
},
|
|
setPmUrl(index){
|
|
let item = this.order.sub_orders[index];
|
|
updateSubOrder(item.series_num,'pm_url',item.pm_url);
|
|
},
|
|
async getViewGradingDetail(){
|
|
let res = await gradingDetail(this.id);
|
|
let order = res.data.datas.order;
|
|
for(var i in order.sub_orders){
|
|
order.sub_orders[i].is_show=order.sub_orders[i].is_show? true : false;
|
|
}
|
|
this.order = order;
|
|
},
|
|
itemImages(images){
|
|
if(!images) return images
|
|
let count = 3-images.length;
|
|
if(count<=3){
|
|
for(let i =0 ;i<count;i++)
|
|
images.push(null)
|
|
}
|
|
return images;
|
|
},
|
|
previewImage(url){
|
|
if(!url) return
|
|
uni.previewImage({
|
|
urls: [url],
|
|
current: 0
|
|
})
|
|
}
|
|
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.section_2 {
|
|
padding: 40rpx 32rpx;
|
|
background-color: rgb(255, 255, 255);
|
|
}
|
|
.equal-division-item {
|
|
flex: 1 1 210rpx;
|
|
border-radius: 10rpx;
|
|
width: 210rpx;
|
|
height: 130rpx;
|
|
}
|
|
.page {
|
|
background-color: #f6f6f6;
|
|
width: 100%;
|
|
overflow-y: auto;
|
|
height: 100%;
|
|
}
|
|
.group_4 {
|
|
padding-top: 2rpx;
|
|
flex: 1 1 auto;
|
|
overflow-y: auto;
|
|
}
|
|
.view_2 {
|
|
color: rgb(51, 51, 51);
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
line-height: 44rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.view_3 {
|
|
margin-top: 30rpx;
|
|
}
|
|
.section_3 {
|
|
margin-top: 30rpx;
|
|
padding: 44rpx 32rpx 40rpx;
|
|
background-color: rgb(255, 255, 255);
|
|
}
|
|
.section_4 {
|
|
margin-top: 30rpx;
|
|
padding: 40rpx 32rpx;
|
|
background-color: rgb(255, 255, 255);
|
|
margin-bottom: 30rpx;
|
|
}
|
|
.equal-division {
|
|
margin-top: 30rpx;
|
|
}
|
|
.group_6 {
|
|
margin-top: 50rpx;
|
|
}
|
|
.group_7 {
|
|
margin-top: 50rpx;
|
|
}
|
|
.group_8 {
|
|
margin-top: 50rpx;
|
|
}
|
|
.group_10 {
|
|
margin-top: 40rpx;
|
|
}
|
|
.group_11 {
|
|
margin-top: 40rpx;
|
|
}
|
|
.group_12 {
|
|
margin-top: 40rpx;
|
|
}
|
|
.group_13 {
|
|
margin-top: 40rpx;
|
|
}
|
|
.group_14 {
|
|
margin-top: 40rpx;
|
|
}
|
|
.group_15 {
|
|
margin-top: 40rpx;
|
|
}
|
|
.group_16 {
|
|
margin-top: 40rpx;
|
|
}
|
|
.group_17 {
|
|
margin-top: 40rpx;
|
|
}
|
|
.group_18 {
|
|
margin-top: 40rpx;
|
|
}
|
|
.group_20 {
|
|
margin-top: 40rpx;
|
|
}
|
|
.image_7 {
|
|
margin-left: 28rpx;
|
|
}
|
|
.image_8 {
|
|
margin-left: 28rpx;
|
|
}
|
|
.text_3 {
|
|
color: rgb(119, 119, 119);
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
line-height: 44rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_4 {
|
|
margin-left: 10rpx;
|
|
color: rgb(51, 51, 51);
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
line-height: 44rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_5 {
|
|
color: rgb(119, 119, 119);
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
line-height: 44rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_6 {
|
|
margin-left: 10rpx;
|
|
color: rgb(51, 51, 51);
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
line-height: 44rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_7 {
|
|
color: rgb(119, 119, 119);
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
line-height: 44rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_8 {
|
|
margin-left: 74rpx;
|
|
color: rgb(51, 51, 51);
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
line-height: 44rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_9 {
|
|
color: rgb(119, 119, 119);
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
line-height: 44rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_10 {
|
|
margin-left: 74rpx;
|
|
color: rgb(51, 51, 51);
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
line-height: 44rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_11 {
|
|
color: rgb(119, 119, 119);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_12 {
|
|
margin-left: 132rpx;
|
|
color: rgb(51, 51, 51);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_13 {
|
|
color: rgb(119, 119, 119);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_14 {
|
|
margin-left: 104rpx;
|
|
color: rgb(51, 51, 51);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_15 {
|
|
color: rgb(119, 119, 119);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_16 {
|
|
margin-left: 20rpx;
|
|
color: rgb(51, 51, 51);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_17 {
|
|
color: rgb(119, 119, 119);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_18 {
|
|
margin-left: 20rpx;
|
|
color: rgb(51, 51, 51);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_19 {
|
|
color: rgb(119, 119, 119);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_20 {
|
|
margin-left: 76rpx;
|
|
color: rgb(51, 51, 51);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_21 {
|
|
color: rgb(119, 119, 119);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_22 {
|
|
margin-left: 76rpx;
|
|
color: rgb(51, 51, 51);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_23 {
|
|
color: rgb(119, 119, 119);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_24 {
|
|
margin-left: 76rpx;
|
|
color: rgb(51, 51, 51);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_25 {
|
|
color: rgb(119, 119, 119);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_26 {
|
|
margin-left: 76rpx;
|
|
color: rgb(51, 51, 51);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_27 {
|
|
color: rgb(119, 119, 119);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_28 {
|
|
margin-left: 76rpx;
|
|
color: rgb(51, 51, 51);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_29 {
|
|
color: rgb(119, 119, 119);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_30 {
|
|
margin-left: 76rpx;
|
|
color: rgb(51, 51, 51);
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
line-height: 40rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_31 {
|
|
color: rgb(119, 119, 119);
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
line-height: 44rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.text_32 {
|
|
margin-left: 10rpx;
|
|
color: rgb(51, 51, 51);
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
line-height: 44rpx;
|
|
white-space: nowrap;
|
|
}
|
|
.section_5 {
|
|
margin-top: 40rpx;
|
|
align-self: center;
|
|
border-radius: 4rpx;
|
|
width: 196rpx;
|
|
height: 8rpx;
|
|
}
|
|
.image_10 {
|
|
margin-left: 28rpx;
|
|
}
|
|
.image_11 {
|
|
margin-left: 28rpx;
|
|
}
|
|
.centerItem{
|
|
align-items: center;
|
|
}
|
|
</style>
|