Commit ca545dd9 by 匡雅琴

bug修复完成

1 parent 54918f9b
......@@ -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) => {
if (res.code == 200) {
let { data } = res;
_this.$set(_this.editForm, "snList", data || []);
} else {
this.$message({
type: "error",
message: res.message,
});
}
});
},
......
<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!