|
@@ -28,19 +28,19 @@
|
|
|
<a-col :span="6">
|
|
|
<div class="box">
|
|
|
<div class="box_num" style="color: #698DF7">{{whole.rank}}%</div>
|
|
|
- <div class="box_title">洗消合格率</div>
|
|
|
+ <div class="box_title">烘干合格率</div>
|
|
|
</div>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
- <a-card title="洗消数量曲线" style="margin-bottom: 10px">
|
|
|
+ <a-card title="烘干数量曲线" style="margin-bottom: 10px">
|
|
|
<template #extra>
|
|
|
<div class="pcrForm">
|
|
|
<a-form>
|
|
|
<a-row :gutter="16" align="middle">
|
|
|
<a-col :span="12">
|
|
|
<a-form-item label="类型">
|
|
|
- <a-select v-model:value="personType">
|
|
|
- <a-select-option v-for="item in personList" :key="item.id" :value="item.id">{{item.text}}</a-select-option>
|
|
|
+ <a-select v-model:value="personType" allow-clear>
|
|
|
+ <a-select-option v-for="item in personList" :key="item.value" :value="item.value">{{item.text}}</a-select-option>
|
|
|
</a-select>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
@@ -84,7 +84,7 @@
|
|
|
</a-col>
|
|
|
<a-col :span="4">
|
|
|
<a-space>
|
|
|
- <a-button type="primary" @click="search">查询</a-button>
|
|
|
+ <a-button type="primary" @click="table.refresh(true)">查询</a-button>
|
|
|
<a-button @click="reset">重置</a-button>
|
|
|
<!-- <a-button type="primary" @click="derive">导出</a-button>-->
|
|
|
</a-space>
|
|
@@ -127,6 +127,12 @@
|
|
|
<a-tag v-else-if="record.billStatus === 2" color="#f50">烘干异常</a-tag>
|
|
|
<a-tag v-else-if="record.billStatus === 3" color="#87d068">审核通过</a-tag>
|
|
|
</template>
|
|
|
+ <template v-if="column.dataIndex === 'dryTime'">
|
|
|
+ <span>{{record.dryTime}}分钟</span>
|
|
|
+ </template>
|
|
|
+ <template v-if="column.dataIndex === 'dryTem'">
|
|
|
+ <span>{{record.dryTem}}℃</span>
|
|
|
+ </template>
|
|
|
<template v-if="column.dataIndex === 'action'">
|
|
|
<a-popconfirm title="删除此消息吗?" @confirm="del(record)">
|
|
|
<a-button type="link" danger size="small">删除</a-button>
|
|
@@ -182,7 +188,7 @@
|
|
|
text: '物资'
|
|
|
}
|
|
|
])
|
|
|
- const type = ref('')
|
|
|
+ const type = ref(2)
|
|
|
const typeList = ref([
|
|
|
{
|
|
|
id: 1,
|
|
@@ -225,6 +231,7 @@
|
|
|
comeId.value = ''
|
|
|
destId.value = ''
|
|
|
dateTime.value = []
|
|
|
+ table.value.refresh(true)
|
|
|
}
|
|
|
|
|
|
|
|
@@ -344,6 +351,7 @@
|
|
|
const loadData = (parameter) => {
|
|
|
let params = {
|
|
|
type: comeId.value,
|
|
|
+ destId: destId.value,
|
|
|
startTime: dateTime.value.length ? dateTime.value[0] : '',
|
|
|
endTime: dateTime.value.length ? dateTime.value[1] : '',
|
|
|
dataType: 2
|