Commit eb462672 by 前端

Merge branch 'bugfix_v1.50.0' into 'master'

上线合并

See merge request !60
2 parents 54918f9b ca545dd9
...@@ -575,7 +575,7 @@ export default { ...@@ -575,7 +575,7 @@ export default {
}, },
watch: { watch: {
id: { id: {
handler: function (n, o) { handler: function(n, o) {
if (!n) { if (!n) {
return false; return false;
} }
...@@ -585,7 +585,7 @@ export default { ...@@ -585,7 +585,7 @@ export default {
immediate: true, immediate: true,
}, },
status: { status: {
handler: function (n, o) { handler: function(n, o) {
if (n == 2) { if (n == 2) {
this.isDisabled = true; this.isDisabled = true;
} }
...@@ -726,7 +726,7 @@ export default { ...@@ -726,7 +726,7 @@ export default {
return false; return false;
} }
let m = setInterval(function () { let m = setInterval(function() {
if (element) { if (element) {
console.log(new Date()); console.log(new Date());
clearInterval(m); clearInterval(m);
...@@ -915,7 +915,7 @@ export default { ...@@ -915,7 +915,7 @@ export default {
// 重置 // 重置
rest() { rest() {
let _this = this; let _this = this;
setTimeout(function () { setTimeout(function() {
_this.editForm = {}; _this.editForm = {};
_this.$refs.editForm.clearValidate(); _this.$refs.editForm.clearValidate();
}, 100); }, 100);
...@@ -1050,8 +1050,15 @@ export default { ...@@ -1050,8 +1050,15 @@ export default {
oParams.workOrderId = this.editForm.id; oParams.workOrderId = this.editForm.id;
oParams.devices = list; oParams.devices = list;
VERIFY_WORKORDER_INFO(oParams).then((res) => { VERIFY_WORKORDER_INFO(oParams).then((res) => {
let { data } = res; if (res.code == 200) {
_this.$set(_this.editForm, "snList", data || []); let { data } = res;
_this.$set(_this.editForm, "snList", data || []);
} else {
this.$message({
type: "error",
message: res.message,
});
}
}); });
}, },
...@@ -1181,4 +1188,4 @@ export default { ...@@ -1181,4 +1188,4 @@ export default {
font-size: 24px; font-size: 24px;
} }
} }
</style>
\ No newline at end of file \ No newline at end of file
</style>
<template> <template>
<div class=""> <div class="">
<!-- 搜索区域 开始 --> <!-- 搜索区域 开始 -->
<div class="search_box"> <div class="search_box">
<el-form :inline="true" size="small"> <el-form :inline="true" size="small">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!