c7a12a7f by zhaoqian

自然幢表单样式提交

1 parent 527cf058
......@@ -190,7 +190,7 @@
</td>
</tr>
<tr height="30" v-for="(item1,index) in form.fwjgList" :key="index">
<tr height="30" v-for="(item1,index) in form.fwjgList" :key="'jg'+index">
<td colspan="2" v-if="index===0" :rowspan="fwjgTitleRowspan" align="center" >
<el-button type="primary" size="mini" style="margin-right: 10px" @click="addFwjgInfo">添加</el-button>
<span>房屋结构</span>
......@@ -261,7 +261,7 @@
</table>
</el-form>
<div style="min-height: 40px;text-align: center;margin-top: 10px">
<el-button type="success" @click="onSubmit">保存</el-button>
<el-button type="success" @click="onSave">保存</el-button>
<el-button type="primary" @click="onSubmit">提交</el-button>
</div>
</div>
......@@ -384,6 +384,12 @@
this.fwjgTitleRowspan=this.form.fwjgList.length;
}
},
onSave(){
console.log(this.form)
},
onSubmit(){
console.log(this.form)
}
}
}
</script>
......