|
@@ -66,7 +66,7 @@
|
|
|
<tr>
|
|
|
<td class="tit" width="10%">工程类型:</td>
|
|
|
<td id="workType">{{ nodeDetail.engineeringTypeName||'' }}</td>
|
|
|
- <td class="tit" width="10%" >备注</td>
|
|
|
+ <td class="tit" width="10%" >备注:</td>
|
|
|
<td id="nodeType" colspan="4">{{nodeDetail.remarks||""}}</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
@@ -342,6 +342,7 @@ import { getStore, setStore } from "@/util/store";
|
|
|
e.preventDefault();
|
|
|
if(item.key==='add'){
|
|
|
console.log('新增');
|
|
|
+ this.addForm={}
|
|
|
this.getNodeTypelist(data.id)
|
|
|
this.menuKey='add'
|
|
|
this.adddialogVisible=true
|
|
@@ -393,6 +394,7 @@ import { getStore, setStore } from "@/util/store";
|
|
|
|
|
|
handleAddClose(){
|
|
|
this.adddialogVisible=false
|
|
|
+ this.addForm={}
|
|
|
},
|
|
|
saveAddform(){
|
|
|
//新增节点确定
|
|
@@ -414,6 +416,8 @@ import { getStore, setStore } from "@/util/store";
|
|
|
type: "success",
|
|
|
message: "新增成功!"
|
|
|
});
|
|
|
+ //刷新页面
|
|
|
+ window.location.reload()
|
|
|
})
|
|
|
}
|
|
|
})
|
|
@@ -521,10 +525,8 @@ import { getStore, setStore } from "@/util/store";
|
|
|
if (res.code == 200) {
|
|
|
this.sortTag = false
|
|
|
this.sortTag2 = false
|
|
|
- this.ishowTree=false
|
|
|
- setTimeout(() => {
|
|
|
- this.ishowTree=true
|
|
|
- }, 100);
|
|
|
+ //刷新页面
|
|
|
+ window.location.reload()
|
|
|
|
|
|
}
|
|
|
},
|