自然幢表单样式提交
Showing
1 changed file
with
8 additions
and
2 deletions
... | @@ -190,7 +190,7 @@ | ... | @@ -190,7 +190,7 @@ |
190 | </td> | 190 | </td> |
191 | </tr> | 191 | </tr> |
192 | 192 | ||
193 | <tr height="30" v-for="(item1,index) in form.fwjgList" :key="index"> | 193 | <tr height="30" v-for="(item1,index) in form.fwjgList" :key="'jg'+index"> |
194 | <td colspan="2" v-if="index===0" :rowspan="fwjgTitleRowspan" align="center" > | 194 | <td colspan="2" v-if="index===0" :rowspan="fwjgTitleRowspan" align="center" > |
195 | <el-button type="primary" size="mini" style="margin-right: 10px" @click="addFwjgInfo">添加</el-button> | 195 | <el-button type="primary" size="mini" style="margin-right: 10px" @click="addFwjgInfo">添加</el-button> |
196 | <span>房屋结构</span> | 196 | <span>房屋结构</span> |
... | @@ -261,7 +261,7 @@ | ... | @@ -261,7 +261,7 @@ |
261 | </table> | 261 | </table> |
262 | </el-form> | 262 | </el-form> |
263 | <div style="min-height: 40px;text-align: center;margin-top: 10px"> | 263 | <div style="min-height: 40px;text-align: center;margin-top: 10px"> |
264 | <el-button type="success" @click="onSubmit">保存</el-button> | 264 | <el-button type="success" @click="onSave">保存</el-button> |
265 | <el-button type="primary" @click="onSubmit">提交</el-button> | 265 | <el-button type="primary" @click="onSubmit">提交</el-button> |
266 | </div> | 266 | </div> |
267 | </div> | 267 | </div> |
... | @@ -384,6 +384,12 @@ | ... | @@ -384,6 +384,12 @@ |
384 | this.fwjgTitleRowspan=this.form.fwjgList.length; | 384 | this.fwjgTitleRowspan=this.form.fwjgList.length; |
385 | } | 385 | } |
386 | }, | 386 | }, |
387 | onSave(){ | ||
388 | console.log(this.form) | ||
389 | }, | ||
390 | onSubmit(){ | ||
391 | console.log(this.form) | ||
392 | } | ||
387 | } | 393 | } |
388 | } | 394 | } |
389 | </script> | 395 | </script> | ... | ... |
-
Please register or sign in to post a comment