<template>
|
<a-modal
|
:width="1000"
|
:visible="visible"
|
:maskClosable="false"
|
@ok="handleOk"
|
cancelText="关闭"
|
@cancel="handleCancel"
|
:confirmLoading="confirmLoading"
|
>
|
|
<!-- :title="title" -->
|
<!-- <a-spin :spinning="confirmLoading"> -->
|
<!-- <a-form :form="form"> -->
|
<a-divider
|
orientation="center"
|
style="font-size: large;font-style: normal;font-size: 30px;color: #66aeed;"
|
> 温度均匀性检测条件确认表 </a-divider>
|
|
<!-- <div :style="{height: '115px',float: 'left',width: '100%',border: '1px solid #e9e9e9',padding: '50px 20px',background: '#fff',}"> -->
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 20px;"
|
> 在三保实施过程中,进行了维修或更换且符合以下条款之一者必须进行炉温均匀性检测并对下列条款进行打√确认。</span>
|
<!-- </div> -->
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>序号</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>维修或更换项目</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>是/否</span>
|
</div>
|
</div>
|
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>1</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>增加最高工作温度或降低最低工作温度</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_1 == '1'"
|
@change="handleSwitch(model.result_1)"
|
/>
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>2</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>炉子温度均匀性变更为更小的温度偏差要求</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_2 == '1'"
|
@change="handle2Switch(model.result_2)"
|
/>
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>3</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>使用不同的加热组件或加热组件的类型或位置变化</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_3 == '1'"
|
@change="handle3Switch(model.result_3)"
|
/>
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>4</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>热风循环设备的气流方式/速率变化的。如:挡板位置、风扇速度、风扇数量等等变化</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_4 == '1'"
|
@change="handle4Switch(model.result_4)"
|
/>
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>5</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>耐热层厚度的改变或使用不同热性能的新型耐热材料</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_5 == '1'"
|
@change="handle5Switch(model.result_5)"
|
/>
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>6</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>真空炉加热室重新设计或材料改变</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_6 == '1'"
|
@change="handle6Switch(model.result_6)"
|
/>
|
|
</div>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>7</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>控制传感器位置或类型发生改变</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_7 == '1'"
|
@change="handle7Switch(model.result_7)"
|
/>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>8</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>温度控制系统、控制方式或参数发生改变</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_8 == '1'"
|
@change="handle8Switch(model.result_8)"
|
/>
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>9</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>燃气炉燃烧压气设定值相对于原始设定值发生改变</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_9 == '1'"
|
@change="handle9Switch(model.result_9)"
|
/>
|
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>10</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>工作区位置或大小改变</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_10 == '1'"
|
@change="handle10Switch(model.result_10)"
|
/>
|
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>11</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>采用原有规格和型号的材料、在原有位置上更换加热系统</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_11 == '1'"
|
@change="handle11Switch(model.result_11)"
|
/>
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>12</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>使用相同或相似传热特性的材料更换原有耐热材料</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_12 == '1'"
|
@change="handle12Switch(model.result_12)"
|
/>
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>13</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>维修热风循环设备,其气流方式/速率与原来一致的。如:挡板位置、风扇速度、风扇数量等</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_13 == '1'"
|
@change="handle13Switch(model.result_13)"
|
/>
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>14</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>按规定的位置更换同类型控制传感器</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_14 == '1'"
|
@change="handle14Switch(model.result_14)"
|
/>
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>15</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>按原来的型号、参数更换温度控制仪表</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_15 == '1'"
|
@change="handle15Switch(model.result_15)"
|
/>
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>16</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>设备的安装位置被改变</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_16 == '1'"
|
@change="handle16Switch(model.result_16)"
|
/>
|
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>17</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>更换加热系统连接件或配件</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_17 == '1'"
|
@change="handle17Switch(model.result_17)"
|
/>
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>18</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>使用过程中,炉子上其它传感器(监测、超温或记录)的读数超出均匀性要求范围,且与均匀性有关</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_18 == '1'"
|
@change="handle18Switch(model.result_18)"
|
/>
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>19</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>炉门部分维修</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_19 == '1'"
|
@change="handle19Switch(model.result_19)"
|
/>
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '45px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>20</span>
|
</div>
|
<div :style="{height: '45px',float: 'left',width: '80%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>加热炉停用三个月以上,再次使用前</span>
|
</div>
|
<div :style="{height: '45px',float: 'right',width: '10%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_20 == '1'"
|
@change="handle20Switch(model.result_20)"
|
/>
|
</div>
|
</div>
|
<div>
|
<div :style="{height: '130px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '20px 20px',background: '#fff',}">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
>确认</span>
|
</div>
|
<div :style="{height: '130px',float: 'left',width: '90%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}">
|
<a-row :gutter="24">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
> 1、经对设备进行三保及对上述项目进行确认,无需进行温度均匀性检测 </span>
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_21 == '1'"
|
@change="handle21Switch(model.result_21)"
|
/>
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
> 。</span>
|
</a-row>
|
<a-row :gutter="24">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
> 2、经对第 </span>
|
<a-input-number
|
v-model="model.sort"
|
:min=0
|
:max=20
|
/>
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
> 项进行维修或更换(改变)等,需进行温度均匀性检测 </span>
|
<a-switch
|
checked-children="是"
|
un-checked-children="否"
|
:checked="model.result_22 == '1'"
|
@change="handle22Switch(model.result_22)"
|
/>
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
> 。</span>
|
</a-row>
|
<a-row :gutter="24">
|
<a-col :span="12">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
> 维修室主任: </span>
|
<span v-if="this.model != null">{{ this.model.repairDirectorUserName }}</span>
|
<span v-else>-</span>
|
</a-col>
|
<a-col :span="12">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
> 保养人员: </span>
|
<span v-if="this.model != null">{{ this.model.maintenanceUserName }}</span>
|
<span v-else>-</span>
|
</a-col>
|
</a-row>
|
<a-row :gutter="24">
|
<a-col :span="12">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
> 仪表工: </span>
|
<span v-if="this.model != null">{{ this.model.meterUserName }}</span>
|
<span v-else>-</span>
|
</a-col>
|
<a-col :span="12">
|
<span
|
class="ant-descriptions-title"
|
style="font-size: large;font-style: normal;font-size: 15px;"
|
> 日期: </span>
|
<span v-if="this.model != null">{{ this.model.updateTime }}</span>
|
<span v-else>-</span>
|
</a-col>
|
</a-row>
|
|
</div>
|
</div>
|
<!-- </a-form> -->
|
<!-- </a-spin> -->
|
|
<template slot="footer">
|
<a-button
|
:style="{marginRight: '8px'}"
|
@click="handleCancel()"
|
>
|
关闭
|
</a-button>
|
|
<a-button
|
@click="handleOk()"
|
type="primary"
|
:loading="confirmLoading"
|
:disabled="disableSubmit || confirmLoading"
|
>确定</a-button>
|
</template>
|
</a-modal>
|
|
</template>
|
|
<script>
|
import { getAction, postAction, requestPut } from '@/api/manage'
|
import pick from 'lodash.pick'
|
import JMultiSelectTag from '@/components/dict/JMultiSelectTag'
|
import Tooltip from 'ant-design-vue/es/tooltip'
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
import { getFileAccessHttpUrl } from '@/api/manage';
|
|
export default {
|
name: "StoveCategoryModal",
|
mixins: [JeecgListMixin],
|
components: {
|
JMultiSelectTag,
|
Tooltip,
|
},
|
data() {
|
return {
|
title: "操作",
|
visible: false,
|
disableSubmit: false,
|
codeDisable: true,
|
dataSource: [],
|
model: {},
|
departs: [],
|
labelCol: {
|
xs: { span: 24 },
|
sm: { span: 6 },
|
},
|
wrapperCol: {
|
xs: { span: 24 },
|
sm: { span: 18 },
|
},
|
confirmLoading: false,
|
form: this.$form.createForm(this),
|
validatorRules: {
|
num: {
|
rules: [
|
{ required: true, message: '请输入保养工单编码!' },
|
]
|
},
|
},
|
url: {
|
add: "/eam/maintenanceStoveExempt/maintenanceStoveExempt",
|
getStoveCategory: "/eam/maintenanceStoveExempt/getStoveCategory",
|
list: "/eam/dailyMaintenanceOrder/getMaintenanceCycleByStandardId",
|
},
|
|
}
|
},
|
|
methods: {
|
|
edit(record) {
|
let that = this;
|
|
this.form.resetFields();
|
this.model = Object.assign({}, record);
|
this.getStoveCategory()
|
this.visible = true;
|
that.$nextTick(() => {
|
// that.form.setFieldsValue(pick(that.model, 'num', 'teamId', 'remark'));
|
});
|
|
},
|
|
|
close() {
|
this.$emit('close');
|
this.visible = false;
|
},
|
|
handleCancel() {
|
this.close();
|
},
|
|
handleOk() {
|
|
const that = this;
|
// 触发表单验证
|
that.form.validateFields((err, values) => {
|
if (!err) {
|
this.$confirm({
|
title: '温度均匀性检测条件确认',
|
content: '提示:请谨慎操作!',
|
okText: '确认',
|
cancelText: '取消',
|
onOk() {
|
let formData = Object.assign(that.model, values);
|
that.confirmLoading = true;
|
postAction(that.url.add, formData).then((res) => {
|
if (res.success) {
|
that.$message.success(res.message);
|
that.$emit('ok', new Date());
|
} else {
|
that.$message.warning(res.message);
|
}
|
}).finally(() => {
|
that.confirmLoading = false;
|
that.close();
|
})
|
},
|
})
|
}
|
})
|
},
|
|
handleDelete(text, record, index) {
|
this.dataSource.splice(index, 1);
|
},
|
|
getStoveCategory() {
|
getAction(this.url.getStoveCategory, { maintenanceOrderId: this.model.id }).then((res) => {
|
if (res.success) {
|
this.model = Object.assign({}, res.result[0]);
|
}
|
})
|
},
|
|
handleSwitch(result_1) {
|
if ('0' == result_1) {
|
this.model.result_1 = '1'
|
} else {
|
this.model.result_1 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle2Switch(result_2) {
|
if ('0' == result_2) {
|
this.model.result_2 = '1'
|
} else {
|
this.model.result_2 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
// handle2Switch(result2) {
|
// if ('0' == result2) {
|
// this.model.result2 = '1'
|
// } else {
|
// this.model.result2 = '0'
|
// }
|
// this.model = Object.assign({}, this.model);
|
// },
|
|
handle3Switch(result_3) {
|
if ('0' == result_3) {
|
this.model.result_3 = '1'
|
} else {
|
this.model.result_3 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle4Switch(result_4) {
|
if ('0' == result_4) {
|
this.model.result_4 = '1'
|
} else {
|
this.model.result_4 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle5Switch(result_5) {
|
if ('0' == result_5) {
|
this.model.result_5 = '1'
|
} else {
|
this.model.result_5 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle6Switch(result_6) {
|
if ('0' == result_6) {
|
this.model.result_6 = '1'
|
} else {
|
this.model.result_6 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle7Switch(result_7) {
|
if ('0' == result_7) {
|
this.model.result_7 = '1'
|
} else {
|
this.model.result_7 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle8Switch(result_8) {
|
if ('0' == result_8) {
|
this.model.result_8 = '1'
|
} else {
|
this.model.result_8 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle9Switch(result_9) {
|
if ('0' == result_9) {
|
this.model.result_9 = '1'
|
} else {
|
this.model.result_9 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle10Switch(result_10) {
|
if ('0' == result_10) {
|
this.model.result_10 = '1'
|
} else {
|
this.model.result_10 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle11Switch(result_11) {
|
if ('0' == result_11) {
|
this.model.result_11 = '1'
|
} else {
|
this.model.result_11 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle12Switch(result_12) {
|
if ('0' == result_12) {
|
this.model.result_12 = '1'
|
} else {
|
this.model.result_12 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle13Switch(result_13) {
|
if ('0' == result_13) {
|
this.model.result_13 = '1'
|
} else {
|
this.model.result_13 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle14Switch(result_14) {
|
if ('0' == result_14) {
|
this.model.result_14 = '1'
|
} else {
|
this.model.result_14 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle15Switch(result_15) {
|
if ('0' == result_15) {
|
this.model.result_15 = '1'
|
} else {
|
this.model.result_15 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle16Switch(result_16) {
|
if ('0' == result_16) {
|
this.model.result_16 = '1'
|
} else {
|
this.model.result_16 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle17Switch(result_17) {
|
if ('0' == result_17) {
|
this.model.result_17 = '1'
|
} else {
|
this.model.result_17 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle18Switch(result_18) {
|
if ('0' == result_18) {
|
this.model.result_18 = '1'
|
} else {
|
this.model.result_18 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle19Switch(result_19) {
|
if ('0' == result_19) {
|
this.model.result_19 = '1'
|
} else {
|
this.model.result_19 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle20Switch(result_20) {
|
if ('0' == result_20) {
|
this.model.result_20 = '1'
|
} else {
|
this.model.result_20 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle21Switch(result_21) {
|
if ('0' == result_21) {
|
this.model.result_21 = '1'
|
} else {
|
this.model.result_21 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
handle22Switch(result_22) {
|
if ('0' == result_22) {
|
this.model.result_22 = '1'
|
} else {
|
this.model.result_22 = '0'
|
}
|
this.model = Object.assign({}, this.model);
|
},
|
|
|
// onChangeJudgmentResult(e) {
|
// this.model.judgmentResult = e.target.value
|
// },
|
|
// handleChange(value, key, column, index) {
|
// let that = this;
|
// const temp = [...that.dataSource];
|
// const target = temp.filter(item => key === item.key)[index];
|
// if (target) {
|
// if ('actualMeasure' == column.dataIndex) {
|
// target['actualMeasure'] = value.target.value;
|
// }
|
// //显示带过来的数据
|
// that.dataSource = temp;
|
// }
|
// },
|
|
},
|
}
|
</script>
|
|
<style lang="less" scoped>
|
/deep/ .frozenRowClass {
|
color: #c9c9c9;
|
}
|
.fontweight {
|
font-weight: bold;
|
}
|
.ant-btn {
|
padding: 0 10px;
|
margin-left: 3px;
|
}
|
|
.ant-form-item-control {
|
line-height: 0px;
|
}
|
|
/** 主表单行间距 */
|
.ant-form .ant-form-item {
|
margin-bottom: 10px;
|
}
|
|
/** Tab页面行间距 */
|
.ant-tabs-content .ant-form-item {
|
margin-bottom: 0px;
|
}
|
.hightColor {
|
height: 10%;
|
font-weight: bold;
|
font-size: 20px;
|
color: #1b1e1e;
|
}
|
.frozenRowClass {
|
color: #c9c9c9;
|
}
|
.fontweight {
|
font-weight: bold;
|
}
|
.hight {
|
color: #f5222d;
|
}
|
/deep/ .red {
|
color: red;
|
}
|
|
.line {
|
width: 1px;
|
height: 300px;
|
background-color: #000;
|
border: none;
|
float: left;
|
}
|
</style>
|