|
@@ -2114,7 +2114,7 @@ export default {
|
|
|
updateNodeTable() {
|
|
|
selectByNodeTable(this.curTreeData.id, this.projectid, this.id).then(
|
|
|
(res) => {
|
|
|
- if (res.data.data.length) {
|
|
|
+ if (res.data.data&&res.data.data.length) {
|
|
|
this.formData = res.data.data;
|
|
|
} else {
|
|
|
this.formData = [];
|
|
@@ -2630,7 +2630,7 @@ export default {
|
|
|
if(type===5){
|
|
|
code='lar_node_type'//征拆
|
|
|
}else if(type===2){
|
|
|
- code='trial_node_type'//试验
|
|
|
+ code='trial_table_type'//试验
|
|
|
}else{
|
|
|
code='wbs_node_type'//质检
|
|
|
}
|