|
|
@ -740,7 +740,7 @@
|
|
|
|
</el-descriptions>
|
|
|
|
</el-descriptions>
|
|
|
|
</el-tab-pane>
|
|
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
|
|
|
|
<el-tab-pane label="检查项信息">
|
|
|
|
<el-tab-pane label="检查项信息" v-if="checkList != null ">
|
|
|
|
<el-table :data="checkList" border style="width: 100%">
|
|
|
|
<el-table :data="checkList" border style="width: 100%">
|
|
|
|
<el-table-column prop="itemName" label="检查项名称" width="200">
|
|
|
|
<el-table-column prop="itemName" label="检查项名称" width="200">
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
@ -748,9 +748,9 @@
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column prop="standardName" label="标准名称" width="180">
|
|
|
|
<el-table-column prop="standardName" label="标准名称" width="180">
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column prop="standardType" label="标准类型" width="100">
|
|
|
|
<el-table-column prop="standardType" label="标准类型" width="85">
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column prop="detailReach" label="是否达标" width="50">
|
|
|
|
<el-table-column prop="detailReach" label="是否达标" width="65">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<dict-tag
|
|
|
|
<dict-tag
|
|
|
|
:options="dict.type.device_reach_standard"
|
|
|
|
:options="dict.type.device_reach_standard"
|
|
|
@ -764,7 +764,7 @@
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column prop="detailDownLimit" label="下限" width="50">
|
|
|
|
<el-table-column prop="detailDownLimit" label="下限" width="50">
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column prop="detailUnit" label="单位" width="45">
|
|
|
|
<el-table-column prop="detailUnit" label="单位" width="47">
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
</el-tab-pane>
|
|
|
|
</el-tab-pane>
|
|
|
@ -880,6 +880,7 @@
|
|
|
|
v-model="form.orderConnection"
|
|
|
|
v-model="form.orderConnection"
|
|
|
|
style="width: 200px"
|
|
|
|
style="width: 200px"
|
|
|
|
placeholder="请输入联系方式"
|
|
|
|
placeholder="请输入联系方式"
|
|
|
|
|
|
|
|
disabled
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
@ -960,7 +961,7 @@
|
|
|
|
></el-descriptions-item>
|
|
|
|
></el-descriptions-item>
|
|
|
|
</el-descriptions>
|
|
|
|
</el-descriptions>
|
|
|
|
</el-tab-pane>
|
|
|
|
</el-tab-pane>
|
|
|
|
<el-tab-pane label="检查项信息">
|
|
|
|
<el-tab-pane label="检查项信息" v-if="checkList != null ">
|
|
|
|
<el-table :data="checkList" border style="width: 100%">
|
|
|
|
<el-table :data="checkList" border style="width: 100%">
|
|
|
|
<el-table-column prop="itemName" label="检查项名称" width="200">
|
|
|
|
<el-table-column prop="itemName" label="检查项名称" width="200">
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
@ -1170,12 +1171,6 @@ export default {
|
|
|
|
orderTime: [
|
|
|
|
orderTime: [
|
|
|
|
{ required: true, message: "报修时间不能为空", trigger: "blur" },
|
|
|
|
{ required: true, message: "报修时间不能为空", trigger: "blur" },
|
|
|
|
],
|
|
|
|
],
|
|
|
|
orderDesc: [
|
|
|
|
|
|
|
|
{ required: true, message: "故障描述不能为空", trigger: "blur" },
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
orderConnection: [
|
|
|
|
|
|
|
|
{ required: true, message: "联系方式不能为空", trigger: "blur" },
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -1227,6 +1222,7 @@ export default {
|
|
|
|
onItemSelectedPerson(obj) {
|
|
|
|
onItemSelectedPerson(obj) {
|
|
|
|
this.form.orderRepairmanCode = obj[0].userName;
|
|
|
|
this.form.orderRepairmanCode = obj[0].userName;
|
|
|
|
this.form.orderRepairmanName = obj[0].nickName;
|
|
|
|
this.form.orderRepairmanName = obj[0].nickName;
|
|
|
|
|
|
|
|
this.form.orderConnection = obj[0].phonenumber;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//设备选择
|
|
|
|
//设备选择
|
|
|
|
onItemSelectedEquipment(obj) {
|
|
|
|
onItemSelectedEquipment(obj) {
|
|
|
@ -1335,8 +1331,10 @@ export default {
|
|
|
|
this.form = response.data;
|
|
|
|
this.form = response.data;
|
|
|
|
if (response.data.files != null) {
|
|
|
|
if (response.data.files != null) {
|
|
|
|
var newFiles = [];
|
|
|
|
var newFiles = [];
|
|
|
|
|
|
|
|
console.log("1",response.data.files)
|
|
|
|
response.data.files.forEach((item) => {
|
|
|
|
response.data.files.forEach((item) => {
|
|
|
|
var newFile = {};
|
|
|
|
var newFile = {};
|
|
|
|
|
|
|
|
console.log("2",response.data.files)
|
|
|
|
newFile.name = item.fileName;
|
|
|
|
newFile.name = item.fileName;
|
|
|
|
newFile.url = item.fileAddress;
|
|
|
|
newFile.url = item.fileAddress;
|
|
|
|
newFiles.push(newFile);
|
|
|
|
newFiles.push(newFile);
|
|
|
@ -1349,7 +1347,7 @@ export default {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
this.urlLists = urlLists;
|
|
|
|
this.urlLists = urlLists;
|
|
|
|
console.log("2222222222", this.urlLists);
|
|
|
|
console.log("2222222222", this.urlLists);
|
|
|
|
} else if (response.data.files == null) {
|
|
|
|
} else if(response.data.files == null) {
|
|
|
|
this.urlLists = null;
|
|
|
|
this.urlLists = null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.checkList = null;
|
|
|
|
this.checkList = null;
|
|
|
|