| | |
| | | <!-- table区域-begin --> |
| | | <a-table bordered rowKey="id" :columns="columns" :dataSource="dataSource" :pagination="ipagination" |
| | | :scroll="{ x: 'max-content' }" :loading="loading" @change="handleTableChange"> |
| | | <!--安全装置检查结果--> |
| | | <template slot="safetyEquipmentCheckResult" slot-scope="text"> |
| | | <a-switch checked-children="是" un-checked-children="否" :checked="Boolean(+text)" disabled/> |
| | | </template> |
| | | |
| | | <span slot="action" slot-scope="text, record"> |
| | | <!--精度参数检查结果--> |
| | | <template slot="precisionCheckResult" slot-scope="text"> |
| | | <a-switch checked-children="是" un-checked-children="否" :checked="Boolean(+text)" disabled/> |
| | | </template> |
| | | |
| | | <!--功能状态检查结果--> |
| | | <template slot="functionalCheckResult" slot-scope="text"> |
| | | <a-switch v-if="text!=='NONE'" checked-children="是" un-checked-children="否" :checked="text==='YES'" disabled/> |
| | | <span v-else>无</span> |
| | | </template> |
| | | |
| | | <!--其他检查结果--> |
| | | <template slot="otherCheckResult" slot-scope="text"> |
| | | <a-switch v-if="text!=='NONE'" checked-children="是" un-checked-children="否" :checked="text==='YES'" disabled/> |
| | | <span v-else>无</span> |
| | | </template> |
| | | |
| | | <!--试件检查结果--> |
| | | <template slot="sampleCheckResult" slot-scope="text"> |
| | | <a-switch checked-children="是" un-checked-children="否" :checked="Boolean(+text)" disabled/> |
| | | </template> |
| | | |
| | | <span slot="action" slot-scope="text, record"> |
| | | <template v-if="record.evaluationStatus === 'WAIT_EVALUATION'"> |
| | | <a-popconfirm title="确定领取吗?" @confirm="handleReceive(record.id)"> |
| | | <a>领取</a> |
| | |
| | | <a-divider type="vertical"/> |
| | | </template> |
| | | |
| | | <template v-if="record.evaluationStatus == 'WAIT_EVALUATION'||record.evaluationStatus=='LOCKED'"> |
| | | <template v-if="record.evaluationStatus === 'WAIT_EVALUATION'||record.evaluationStatus==='LOCKED'"> |
| | | <a @click="handleOrderChange(record)">变更</a> |
| | | |
| | | <a-divider type="vertical"/> |
| | | </template> |
| | | |
| | | <a @click="handleDetail(record)">详情</a> |
| | | <a @click="handleDetail(record)" v-if="record.evaluationStatus!=='CHANGING'">详情</a> |
| | | </span> |
| | | </a-table> |
| | | <!-- table区域-end --> |
| | |
| | | { |
| | | title: '安全装置检查结果', |
| | | align: 'center', |
| | | dataIndex: 'safetyEquipmentCheckResult' |
| | | dataIndex: 'safetyEquipmentCheckResult', |
| | | scopedSlots: { customRender: 'safetyEquipmentCheckResult' } |
| | | }, |
| | | { |
| | | title: '精度参数检查结果', |
| | | align: 'center', |
| | | dataIndex: 'precisionCheckResult' |
| | | dataIndex: 'precisionCheckResult', |
| | | scopedSlots: { customRender: 'precisionCheckResult' } |
| | | }, |
| | | { |
| | | title: '功能状态检查结果', |
| | | align: 'center', |
| | | dataIndex: 'functionalCheckResult' |
| | | dataIndex: 'functionalCheckResult', |
| | | scopedSlots: { customRender: 'functionalCheckResult' } |
| | | }, |
| | | { |
| | | title: '其他检查结果', |
| | | align: 'center', |
| | | dataIndex: 'otherCheckResult' |
| | | dataIndex: 'otherCheckResult', |
| | | scopedSlots: { customRender: 'otherCheckResult' } |
| | | }, |
| | | { |
| | | title: '维修室主任签字', |
| | | align: 'center', |
| | | dataIndex: 'repairManagerSignature' |
| | | dataIndex: 'repairManagerSignature_dictText' |
| | | }, |
| | | { |
| | | title: '维修室主任签字时间', |
| | | align: 'center', |
| | | dataIndex: 'repairManagerSignatureTime1' |
| | | dataIndex: 'repairManagerSignatureTime' |
| | | }, |
| | | { |
| | | title: '试件检查结果', |
| | | align: 'center', |
| | | dataIndex: 'sampleCheckResult' |
| | | dataIndex: 'sampleCheckResult', |
| | | scopedSlots: { customRender: 'sampleCheckResult' } |
| | | }, |
| | | { |
| | | title: '工艺员签字', |
| | | align: 'center', |
| | | dataIndex: 'processTechnicianSignature' |
| | | dataIndex: 'processTechnicianSignature_dictText' |
| | | }, |
| | | { |
| | | title: '工艺员签字时间', |
| | |
| | | { |
| | | title: '鉴定结果', |
| | | align: 'center', |
| | | dataIndex: 'evaluationResult' |
| | | dataIndex: 'evaluationResult_dictText' |
| | | }, |
| | | { |
| | | title: '限/禁用原因', |
| | |
| | | { |
| | | title: '设备检查人签字', |
| | | align: 'center', |
| | | dataIndex: 'inspectorSignature' |
| | | dataIndex: 'inspectorSignature_dictText' |
| | | }, |
| | | { |
| | | title: '设备检查人签字时间', |