逻辑幢,层相关表单页面部分;
Showing
6 changed files
with
211 additions
and
0 deletions
| ... | @@ -48,4 +48,25 @@ export function getZrzDetailByBsm (data) { | ... | @@ -48,4 +48,25 @@ export function getZrzDetailByBsm (data) { |
| 48 | }) | 48 | }) |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | /** | ||
| 52 | * 新增逻辑幢信息接口 | ||
| 53 | */ | ||
| 54 | export function insertLjzInfo (data) { | ||
| 55 | return request({ | ||
| 56 | url: '/system/qjLjz/insertQjLjz', | ||
| 57 | method: 'post', | ||
| 58 | data:data | ||
| 59 | }) | ||
| 60 | } | ||
| 61 | |||
| 62 | /** | ||
| 63 | * 新增逻辑幢信息接口 | ||
| 64 | */ | ||
| 65 | export function insertCInfo (data) { | ||
| 66 | return request({ | ||
| 67 | url: '/system/qjC/insertQjC', | ||
| 68 | method: 'post', | ||
| 69 | data:data | ||
| 70 | }) | ||
| 71 | } | ||
| 51 | 72 | ... | ... |
| ... | @@ -83,6 +83,18 @@ const constantRoutes = [ | ... | @@ -83,6 +83,18 @@ const constantRoutes = [ |
| 83 | code: "1-5", | 83 | code: "1-5", |
| 84 | component: () => import("@/views/systemZD/index"), | 84 | component: () => import("@/views/systemZD/index"), |
| 85 | }, | 85 | }, |
| 86 | { | ||
| 87 | path: "/ljz", | ||
| 88 | name: "逻辑幢", | ||
| 89 | code: "1-6", | ||
| 90 | component: () => import("@/views/systemZRZ/ljz/index"), | ||
| 91 | }, | ||
| 92 | { | ||
| 93 | path: "/c", | ||
| 94 | name: "层", | ||
| 95 | code: "1-7", | ||
| 96 | component: () => import("@/views/systemZRZ/c/index"), | ||
| 97 | }, | ||
| 86 | ], | 98 | ], |
| 87 | }, | 99 | }, |
| 88 | ]; | 100 | ]; | ... | ... |
| ... | @@ -33,6 +33,7 @@ const store = new Vuex.Store({ | ... | @@ -33,6 +33,7 @@ const store = new Vuex.Store({ |
| 33 | cqlyOptions:[], | 33 | cqlyOptions:[], |
| 34 | jgOptions:[], | 34 | jgOptions:[], |
| 35 | gmjjhyflbsmList:[], | 35 | gmjjhyflbsmList:[], |
| 36 | fwytList:[], | ||
| 36 | //创建自然幢时需要用到的临时存储信息 | 37 | //创建自然幢时需要用到的临时存储信息 |
| 37 | zrzbsm: '', | 38 | zrzbsm: '', |
| 38 | zjlxList: [], | 39 | zjlxList: [], | ... | ... |
| ... | @@ -210,6 +210,7 @@ export default { | ... | @@ -210,6 +210,7 @@ export default { |
| 210 | s.gyfsList = s.gyfsList.length == 0 ?await this.getDicData("共有方式") : s.gyfsList; | 210 | s.gyfsList = s.gyfsList.length == 0 ?await this.getDicData("共有方式") : s.gyfsList; |
| 211 | s.qlxzList = s.qlxzList.length == 0 ?await this.getDicData("权利性质") : s.qlxzList; | 211 | s.qlxzList = s.qlxzList.length == 0 ?await this.getDicData("权利性质") : s.qlxzList; |
| 212 | s.tdytList = s.tdytList.length == 0 ?await this.getDicData("土地用途") : s.tdytList; | 212 | s.tdytList = s.tdytList.length == 0 ?await this.getDicData("土地用途") : s.tdytList; |
| 213 | s.fwytList = s.fwytList.length == 0 ?await this.getDicData("房屋用途") : s.fwytList; | ||
| 213 | s.tddjList = s.tddjList.length == 0 ?await this.getDicData("土地等级") : s.tddjList; | 214 | s.tddjList = s.tddjList.length == 0 ?await this.getDicData("土地等级") : s.tddjList; |
| 214 | 215 | ||
| 215 | s.fwxzOptions = s.fwxzOptions.length == 0 ?await this.getDicData("房屋性质") : s.fwxzOptions; | 216 | s.fwxzOptions = s.fwxzOptions.length == 0 ?await this.getDicData("房屋性质") : s.fwxzOptions; | ... | ... |
src/views/systemZRZ/c/index.vue
0 → 100644
| 1 | <template> | ||
| 2 | <div class="h content-form"> | ||
| 3 | <el-form ref="form" :model="form" label-width="160px"> | ||
| 4 | <table border="1" width="100%" cellspacing="0" cellpadding="0" class="hTable"> | ||
| 5 | <tbody> | ||
| 6 | <tr height="30"> | ||
| 7 | <td colspan="12" align="center" ><font size="4">逻辑幢基本信息</font></td> | ||
| 8 | </tr> | ||
| 9 | <tr height="30"> | ||
| 10 | <td colspan="2" align="center" >层号</td> | ||
| 11 | <td colspan="4" > | ||
| 12 | <el-input v-model="form.ch"></el-input> | ||
| 13 | </td> | ||
| 14 | <td colspan="2" align="center" >自然幢号</td> | ||
| 15 | <td colspan="4" > | ||
| 16 | <el-input v-model="form.zrzh"></el-input> | ||
| 17 | </td> | ||
| 18 | </tr> | ||
| 19 | <tr height="30"> | ||
| 20 | <td colspan="2" align="center" >实际层</td> | ||
| 21 | <td colspan="4" > | ||
| 22 | <el-input v-model="form.sjc"></el-input> | ||
| 23 | </td> | ||
| 24 | <td colspan="2" align="center" >名义层</td> | ||
| 25 | <td colspan="4" > | ||
| 26 | <el-input v-model="form.myc"></el-input> | ||
| 27 | </td> | ||
| 28 | </tr> | ||
| 29 | |||
| 30 | |||
| 31 | <tr height="30"> | ||
| 32 | <td colspan="2" align="center" >层建筑面积(㎡)</td> | ||
| 33 | <td colspan="4" > | ||
| 34 | <el-input v-model="form.cjzmj"></el-input> | ||
| 35 | </td> | ||
| 36 | <td colspan="2" align="center" >层套内建筑面积(㎡)</td> | ||
| 37 | <td colspan="4" > | ||
| 38 | <el-input v-model="form.ctnjzmj"></el-input> | ||
| 39 | </td> | ||
| 40 | </tr> | ||
| 41 | |||
| 42 | <tr height="30"> | ||
| 43 | <td colspan="2" align="center" >层阳台面积(㎡)</td> | ||
| 44 | <td colspan="4" > | ||
| 45 | <el-input v-model="form.cytmj"></el-input> | ||
| 46 | </td> | ||
| 47 | <td colspan="2" align="center" >层半墙面积(㎡)</td> | ||
| 48 | <td colspan="4" > | ||
| 49 | <el-input v-model="form.cbqmj"></el-input> | ||
| 50 | </td> | ||
| 51 | </tr> | ||
| 52 | |||
| 53 | <tr height="30"> | ||
| 54 | <td colspan="2" align="center" >层共有建筑面积(㎡)</td> | ||
| 55 | <td colspan="4" > | ||
| 56 | <el-input v-model="form.cgyjzmj"></el-input> | ||
| 57 | </td> | ||
| 58 | <td colspan="2" align="center" >层分摊建筑面积(㎡)</td> | ||
| 59 | <td colspan="4" > | ||
| 60 | <el-input v-model="form.cftjzmj"></el-input> | ||
| 61 | </td> | ||
| 62 | </tr> | ||
| 63 | |||
| 64 | <tr height="30"> | ||
| 65 | <td colspan="2" align="center" >层高</td> | ||
| 66 | <td colspan="4" > | ||
| 67 | <el-input v-model="form.cg"></el-input> | ||
| 68 | </td> | ||
| 69 | <td colspan="2" align="center" >水平投影面积</td> | ||
| 70 | <td colspan="4" > | ||
| 71 | <el-input v-model="form.sptymj"></el-input> | ||
| 72 | </td> | ||
| 73 | </tr> | ||
| 74 | <tr height="30"> | ||
| 75 | </tr> | ||
| 76 | |||
| 77 | </tbody> | ||
| 78 | </table> | ||
| 79 | </el-form> | ||
| 80 | <div style="min-height: 40px;text-align: center;margin-top: 10px"> | ||
| 81 | <el-button type="success" @click="onSave">保存</el-button> | ||
| 82 | <el-button type="primary" @click="onSubmit">提交</el-button> | ||
| 83 | </div> | ||
| 84 | </div> | ||
| 85 | |||
| 86 | </template> | ||
| 87 | |||
| 88 | <script> | ||
| 89 | import {insertCInfo} from "../../../api/zrz"; | ||
| 90 | export default { | ||
| 91 | name:'c', | ||
| 92 | components:{}, | ||
| 93 | data () { | ||
| 94 | return { | ||
| 95 | form:{ | ||
| 96 | zrzbsm:'', | ||
| 97 | ch:'', //层号 | ||
| 98 | zrzh:'', //自然幢号 | ||
| 99 | sjc:'', //实际层 | ||
| 100 | myc:'', //名义层 | ||
| 101 | cjzmj:'', //层建筑面积 | ||
| 102 | ctnjzmj:'', //层套内建筑面积 | ||
| 103 | cytmj:'', //层阳台面积 | ||
| 104 | cbqmj:'', //层半墙面积 | ||
| 105 | cgyjzmj:'', //层共有建筑面积 | ||
| 106 | cftjzmj:'', //层分摊建筑面积 | ||
| 107 | cg:'', //层高 | ||
| 108 | sptymj:'', //水平投影面积 | ||
| 109 | }, | ||
| 110 | value: '', | ||
| 111 | } | ||
| 112 | }, | ||
| 113 | methods: { | ||
| 114 | onSave(){ | ||
| 115 | this.form.zrzbsm=this.$router.query.bsm; | ||
| 116 | insertCInfo(this.form).then((res)=>{ | ||
| 117 | if(res.code===200){ | ||
| 118 | this.$message.success("保存成功") | ||
| 119 | } | ||
| 120 | }) | ||
| 121 | console.log(this.form) | ||
| 122 | }, | ||
| 123 | onSubmit(){ | ||
| 124 | console.log(this.form) | ||
| 125 | } | ||
| 126 | } | ||
| 127 | } | ||
| 128 | </script> | ||
| 129 | <style rel="stylesheet/less" lang="less" scoped> | ||
| 130 | .h { | ||
| 131 | min-height: 200px; | ||
| 132 | width: 80%; | ||
| 133 | margin-top: 10px; | ||
| 134 | margin-left: 10%; | ||
| 135 | float: left; | ||
| 136 | |||
| 137 | /deep/.el-input__inner{ | ||
| 138 | width: 100%; | ||
| 139 | border: 0; | ||
| 140 | } | ||
| 141 | |||
| 142 | /deep/textarea{ | ||
| 143 | width: 100%; | ||
| 144 | border: 0; | ||
| 145 | } | ||
| 146 | |||
| 147 | |||
| 148 | .el-form-item{ | ||
| 149 | font-weight: bold; | ||
| 150 | font-size: xx-large | ||
| 151 | } | ||
| 152 | |||
| 153 | table{ | ||
| 154 | background: #fff; | ||
| 155 | table-layout: fixed; | ||
| 156 | } | ||
| 157 | |||
| 158 | td{ | ||
| 159 | //bgcolor:#F1F4FC; | ||
| 160 | bgcolor:#fff; | ||
| 161 | width:8.33% | ||
| 162 | } | ||
| 163 | |||
| 164 | .el-select{ | ||
| 165 | display:block; | ||
| 166 | } | ||
| 167 | } | ||
| 168 | |||
| 169 | table{ | ||
| 170 | font-size: 14px; | ||
| 171 | } | ||
| 172 | |||
| 173 | .hTable{ | ||
| 174 | margin-top: 10px; | ||
| 175 | } | ||
| 176 | </style> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
src/views/systemZRZ/ljz/index.vue
0 → 100644
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment