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 {
},
watch: {
id: {
handler: function (n, o) {
handler: function(n, o) {
if (!n) {
return false;
}
......@@ -585,7 +585,7 @@ export default {
immediate: true,
},
status: {
handler: function (n, o) {
handler: function(n, o) {
if (n == 2) {
this.isDisabled = true;
}
......@@ -726,7 +726,7 @@ export default {
return false;
}
let m = setInterval(function () {
let m = setInterval(function() {
if (element) {
console.log(new Date());
clearInterval(m);
......@@ -915,7 +915,7 @@ export default {
// 重置
rest() {
let _this = this;
setTimeout(function () {
setTimeout(function() {
_this.editForm = {};
_this.$refs.editForm.clearValidate();
}, 100);
......@@ -1050,8 +1050,15 @@ export default {
oParams.workOrderId = this.editForm.id;
oParams.devices = list;
VERIFY_WORKORDER_INFO(oParams).then((res) => {
let { data } = res;
_this.$set(_this.editForm, "snList", data || []);
if (res.code == 200) {
let { data } = res;
_this.$set(_this.editForm, "snList", data || []);
} else {
this.$message({
type: "error",
message: res.message,
});
}
});
},
......@@ -1181,4 +1188,4 @@ export default {
font-size: 24px;
}
}
</style>
\ No newline at end of file
</style>
<template>
<div class="">
<!-- 搜索区域 开始 -->
<div class="search_box">
<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!