|
|
|
@ -8,7 +8,7 @@
|
|
|
|
|
<el-button @click="getInfo">刷新</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<el-descriptions border label-style="width:90px" :column="4">
|
|
|
|
|
<el-descriptions border label-style="width:90px" :column="4" >
|
|
|
|
|
<el-descriptions-item label="维修号">{{ info.id }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="状态"><el-tag :type="info.finishFlag?'success':'warning'">{{
|
|
|
|
|
info.finishFlag ? '已完成' : '未完成'
|
|
|
|
@ -43,7 +43,7 @@
|
|
|
|
|
:fileSizeLimit="this.fileSizeLimit"
|
|
|
|
|
:type="deptDeviceCheck"
|
|
|
|
|
:uploadedFileNames="info.livePath"
|
|
|
|
|
:isShowTip="false"
|
|
|
|
|
:disabledUp="info.finishFlag || this.disabledUp"
|
|
|
|
|
@changeComponent1Data="component1DataChange"
|
|
|
|
|
></localImageUpload>
|
|
|
|
|
|
|
|
|
@ -51,8 +51,31 @@
|
|
|
|
|
<el-descriptions-item label="诊断信息" :label-style="{'height': '100px'}" :span="4">
|
|
|
|
|
{{ info.diagnosisInfo }}
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="诊断图片" span="4" label-style="height:100px">
|
|
|
|
|
<localImageUpload
|
|
|
|
|
:fileType="['image/jpeg','image/png','image/gif']"
|
|
|
|
|
:maxFiles= "this.maxFiles"
|
|
|
|
|
:fileSizeLimit="this.fileSizeLimit"
|
|
|
|
|
:type="deptDeviceCheck"
|
|
|
|
|
:uploadedFileNames="info.diagnosisLivePath"
|
|
|
|
|
:disabledUp="info.finishFlag || this.disabledUp"
|
|
|
|
|
@changeComponent1Data="component1DataChange"
|
|
|
|
|
></localImageUpload>
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="维修内容" :label-style="{'height': '100px'}" :span="4" >
|
|
|
|
|
<el-input type="textarea" resize="none" :autosize="{ minRows: 4, maxRows: 4 }" clearable v-model.trim="info.repairDescription" :disabled="info.finishFlag"></el-input>
|
|
|
|
|
<el-input type="textarea" resize="none" :autosize="{ minRows: 4, maxRows: 4 }" clearable v-model.trim="info.repairDescription" :disabled="info.finishFlag || this.disabledUp" ></el-input>
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="维修后现场图片" :span="4" label-style="height:100px">
|
|
|
|
|
<localImageUpload
|
|
|
|
|
:fileType="['image/jpeg','image/png','image/gif']"
|
|
|
|
|
:maxFiles= "this.maxFiles"
|
|
|
|
|
:fileSizeLimit="this.fileSizeLimit"
|
|
|
|
|
:type="deptDeviceCheck"
|
|
|
|
|
:uploadedFileNames="info.serviceLivePath"
|
|
|
|
|
:disabledUp="info.finishFlag || this.disabledUp"
|
|
|
|
|
@changeComponent1Data="component1DataChange"
|
|
|
|
|
></localImageUpload>
|
|
|
|
|
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
</el-descriptions>
|
|
|
|
|
</el-card>
|
|
|
|
|