Merge branch 'dev'
Showing
18 changed files
with
1453 additions
and
276 deletions
| ... | @@ -4,6 +4,14 @@ | ... | @@ -4,6 +4,14 @@ |
| 4 | * @LastEditTime: 2024-02-23 10:45:18 | 4 | * @LastEditTime: 2024-02-23 10:45:18 |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | /* | ||
| 8 | * 不动产登记受理凭证(首环节)getPrintAcceptance | ||
| 9 | * 不动产登记补充材料通知书 getPrintSupplementalMaterials | ||
| 10 | * 不动产登记补充材料接收凭证 getPrintReceiveSupplementalMaterials | ||
| 11 | * 不予登记告知书 getPrintRejectForms | ||
| 12 | * 不动产登记申请材料退回通知书 getPrintSendBackMaterials | ||
| 13 | * 不动产更正登记通知书(依职权更正首环节)getPrintRiviseForms | ||
| 14 | */ | ||
| 7 | import request from '@/utils/request' | 15 | import request from '@/utils/request' |
| 8 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 16 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
| 9 | 17 | ||
| ... | @@ -100,11 +108,53 @@ export function getPrintSupplementalMaterials (bsmSldy, data) { | ... | @@ -100,11 +108,53 @@ export function getPrintSupplementalMaterials (bsmSldy, data) { |
| 100 | }) | 108 | }) |
| 101 | } | 109 | } |
| 102 | /** | 110 | /** |
| 111 | * @description: 获取不予登记告知书 | ||
| 112 | * @param {*} bsmSldy | ||
| 113 | * @author: renchao | ||
| 114 | */ | ||
| 115 | export function getPrintRejectForms (bsmSldy) { | ||
| 116 | return request({ | ||
| 117 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintRejectForms', | ||
| 118 | method: 'get', | ||
| 119 | params: { | ||
| 120 | bsmSldy: bsmSldy | ||
| 121 | } | ||
| 122 | }) | ||
| 123 | } | ||
| 124 | /** | ||
| 125 | * @description: 获取更正登记通知书 | ||
| 126 | * @param {*} bsmSldy | ||
| 127 | * @author: renchao | ||
| 128 | */ | ||
| 129 | export function getPrintRiviseForms (bsmSldy) { | ||
| 130 | return request({ | ||
| 131 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintRiviseForms', | ||
| 132 | method: 'get', | ||
| 133 | params: { | ||
| 134 | bsmSldy: bsmSldy | ||
| 135 | } | ||
| 136 | }) | ||
| 137 | } | ||
| 138 | /** | ||
| 139 | * @description: 获取申请材料退回通知书 | ||
| 140 | * @param {*} bsmSldy | ||
| 141 | * @author: renchao | ||
| 142 | */ | ||
| 143 | export function getPrintSendBackMaterials (bsmSldy) { | ||
| 144 | return request({ | ||
| 145 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintSendBackMaterials', | ||
| 146 | method: 'get', | ||
| 147 | params: { | ||
| 148 | bsmSldy: bsmSldy | ||
| 149 | } | ||
| 150 | }) | ||
| 151 | } | ||
| 152 | /** | ||
| 103 | * @description: 获取补充材料接收凭证 | 153 | * @description: 获取补充材料接收凭证 |
| 104 | * @param {*} bsmSldy | 154 | * @param {*} bsmSldy |
| 105 | * @author: renchao | 155 | * @author: renchao |
| 106 | */ | 156 | */ |
| 107 | export function getPrintReceiveSupplementalMaterials (bsmSldy) { | 157 | export function getPrintReceiveSupplementalMaterials (bsmSldy) { |
| 108 | return request({ | 158 | return request({ |
| 109 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintReceiveSupplementalMaterials', | 159 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintReceiveSupplementalMaterials', |
| 110 | method: 'get', | 160 | method: 'get', | ... | ... |
| ... | @@ -152,9 +152,12 @@ | ... | @@ -152,9 +152,12 @@ |
| 152 | } | 152 | } |
| 153 | 153 | ||
| 154 | .iconName { | 154 | .iconName { |
| 155 | line-height: 24px; | 155 | height: 10px; |
| 156 | text-align: center; | ||
| 157 | line-height: 15px; | ||
| 156 | font-size: 12px; | 158 | font-size: 12px; |
| 157 | white-space: nowrap; | 159 | width: 70px; |
| 160 | // white-space: nowrap; | ||
| 158 | } | 161 | } |
| 159 | 162 | ||
| 160 | .container { | 163 | .container { |
| ... | @@ -232,4 +235,4 @@ | ... | @@ -232,4 +235,4 @@ |
| 232 | position: absolute; | 235 | position: absolute; |
| 233 | left: 0; | 236 | left: 0; |
| 234 | bottom: 0; | 237 | bottom: 0; |
| 235 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 238 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2024-01-31 09:52:39 | 4 | * @LastEditTime: 2023-07-19 09:52:59 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="content loadingtext"> | 7 | <div class="content loadingtext"> |
| ... | @@ -14,7 +14,8 @@ | ... | @@ -14,7 +14,8 @@ |
| 14 | :default-expand-all="true" | 14 | :default-expand-all="true" |
| 15 | :expand-on-click-node="false" | 15 | :expand-on-click-node="false" |
| 16 | node-key="id" | 16 | node-key="id" |
| 17 | :default-checked-keys="[showTab]"> | 17 | :default-checked-keys="[showTab]" |
| 18 | > | ||
| 18 | </el-tree> | 19 | </el-tree> |
| 19 | <el-collapse v-model="activeName" accordion> | 20 | <el-collapse v-model="activeName" accordion> |
| 20 | <el-collapse-item | 21 | <el-collapse-item |
| ... | @@ -22,7 +23,8 @@ | ... | @@ -22,7 +23,8 @@ |
| 22 | ref="sfq" | 23 | ref="sfq" |
| 23 | v-for="(item, index) in sfqdata" | 24 | v-for="(item, index) in sfqdata" |
| 24 | :key="index" | 25 | :key="index" |
| 25 | :name="index"> | 26 | :name="index" |
| 27 | > | ||
| 26 | <template slot="title"> | 28 | <template slot="title"> |
| 27 | <span class="text" @click="tap(item)"> | 29 | <span class="text" @click="tap(item)"> |
| 28 | <span> | 30 | <span> |
| ... | @@ -35,7 +37,8 @@ | ... | @@ -35,7 +37,8 @@ |
| 35 | :re="item" | 37 | :re="item" |
| 36 | :key="index" | 38 | :key="index" |
| 37 | :class="[isActive == index ? activeCls : '', errorCls]" | 39 | :class="[isActive == index ? activeCls : '', errorCls]" |
| 38 | @click="taplist(item, index)"> | 40 | @click="taplist(item, index)" |
| 41 | > | ||
| 39 | <span> | 42 | <span> |
| 40 | {{ item.label }} | 43 | {{ item.label }} |
| 41 | </span> | 44 | </span> |
| ... | @@ -50,43 +53,146 @@ | ... | @@ -50,43 +53,146 @@ |
| 50 | <component | 53 | <component |
| 51 | :is="componentTag" | 54 | :is="componentTag" |
| 52 | @getBdcdyh="getBdcdyh" | 55 | @getBdcdyh="getBdcdyh" |
| 53 | v-bind="currentSelectProps" /> | 56 | v-bind="currentSelectProps" |
| 57 | /> | ||
| 54 | </div> | 58 | </div> |
| 55 | </div> | 59 | </div> |
| 56 | </template> | 60 | </template> |
| 57 | <script> | 61 | <script> |
| 58 | import { getBdcqljqtsx, getBdcqljqtsxBdcdyh } from "@/api/djbDetail.js"; | 62 | import { getBdcqljqtsx, getBdcqljqtsxBdcdyh } from "@/api/djbDetail.js"; |
| 59 | import { loadTreeData, loadsfqData, getNode } from "./djbFrameData.js"; | 63 | import { loadTreeData, loadsfqData, getNode } from "./djbFrameData.js"; |
| 60 | export default { | 64 | export default { |
| 61 | data () { | 65 | data() { |
| 62 | return { | 66 | return { |
| 63 | //接收参数 | 67 | //接收参数 |
| 64 | // propsParam: this.$attrs, | 68 | // propsParam: this.$attrs, |
| 65 | //左侧目录 | 69 | //左侧目录 |
| 66 | catalog: {}, | 70 | catalog: {}, |
| 67 | //选择加载哪一个组件 | 71 | //选择加载哪一个组件 |
| 68 | componentTag: "", | 72 | componentTag: "", |
| 69 | //子组件接收参数 | 73 | //子组件接收参数 |
| 70 | currentSelectProps: {}, | 74 | currentSelectProps: {}, |
| 71 | //左侧树形结构数据 | 75 | //左侧树形结构数据 |
| 72 | treedata: [], | 76 | treedata: [], |
| 73 | sfqdata: [], | 77 | sfqdata: [], |
| 74 | keyy: "", | 78 | keyy: "", |
| 75 | iskey: "", | 79 | iskey: "", |
| 76 | activeName: 0, | 80 | activeName: 0, |
| 77 | // 查询参数 | 81 | // 查询参数 |
| 78 | queryForm: {}, | 82 | queryForm: {}, |
| 79 | 83 | ||
| 80 | defaultNode: "", | 84 | defaultNode: "", |
| 81 | isActive: "", | 85 | isActive: "", |
| 82 | activeCls: "select", | 86 | activeCls: "select", |
| 83 | errorCls: "unselected", | 87 | errorCls: "unselected", |
| 84 | defaultProps: { | 88 | defaultProps: { |
| 85 | value: "id", | 89 | value: "id", |
| 86 | children: "children", | 90 | children: "children", |
| 87 | label: "label", | 91 | label: "label", |
| 88 | }, | 92 | }, |
| 89 | showTab: "bdcqldjml", // 选中状态,根据表格中权利类型判断 | 93 | showTab: "bdcqldjml", // 选中状态,根据表格中权利类型判断 |
| 94 | }; | ||
| 95 | }, | ||
| 96 | mounted() { | ||
| 97 | this.loadData(this.getCaption(window.location.href)); | ||
| 98 | }, | ||
| 99 | methods: { | ||
| 100 | // 截取字符的方法 | ||
| 101 | /** | ||
| 102 | * @description: 截取字符的方法 | ||
| 103 | * @param {*} obj | ||
| 104 | * @author: renchao | ||
| 105 | */ | ||
| 106 | getCaption(obj) { | ||
| 107 | let index = obj.lastIndexOf("="); | ||
| 108 | obj = obj.substring(index + 1, obj.length); | ||
| 109 | return obj; | ||
| 110 | }, | ||
| 111 | // 通过不动产业务号获取参数 | ||
| 112 | /** | ||
| 113 | * @description: 通过不动产业务号获取参数 | ||
| 114 | * @author: renchao | ||
| 115 | */ | ||
| 116 | // getdata () { | ||
| 117 | // this.queryForm = { | ||
| 118 | // bdcdyh: this.getCaption(window.location.href), | ||
| 119 | // currentPage: 1, | ||
| 120 | // djlx: "", | ||
| 121 | // pageSize: 10, | ||
| 122 | // qllx: "", | ||
| 123 | // ywh: "", | ||
| 124 | // ywly: "", | ||
| 125 | // }; | ||
| 126 | // if (this.queryForm) { | ||
| 127 | // this.$startLoading(); | ||
| 128 | // searchTaskToDo({ | ||
| 129 | // ...this.queryForm, | ||
| 130 | // }).then((res) => { | ||
| 131 | // if (res.code === 200) { | ||
| 132 | // let { records } = res.result; | ||
| 133 | |||
| 134 | // this.loadBdcdylist(records[0].bsmSlsq, records[0].bestepid); | ||
| 135 | // this.$endLoading(); | ||
| 136 | // } | ||
| 137 | // }); | ||
| 138 | // } | ||
| 139 | // }, | ||
| 140 | |||
| 141 | // 获取不动产信息 | ||
| 142 | /** | ||
| 143 | * @description: 获取不动产信息 | ||
| 144 | * @param {*} a | ||
| 145 | * @param {*} b | ||
| 146 | * @author: renchao | ||
| 147 | */ | ||
| 148 | // loadBdcdylist (a, b) { | ||
| 149 | // var formdata = new FormData(); | ||
| 150 | // formdata.append("bsmSlsq", a); | ||
| 151 | // formdata.append("bestepid", b); | ||
| 152 | // leftMenu(formdata).then((res) => { | ||
| 153 | // if (res.code === 200) { | ||
| 154 | // if (res.result) { | ||
| 155 | // this.currentSelectProps = res.result[0]; | ||
| 156 | // this.loadData(this.currentSelectProps.bdcdyh); | ||
| 157 | // } | ||
| 158 | // } | ||
| 159 | // }); | ||
| 160 | // }, | ||
| 161 | |||
| 162 | /** | ||
| 163 | * @description: getBdcdyh | ||
| 164 | * @author: miaofang | ||
| 165 | * 点击不动产单元号事件 | ||
| 166 | */ | ||
| 167 | getBdcdyh(val) { | ||
| 168 | this.addloadData(val); | ||
| 169 | }, | ||
| 170 | /** | ||
| 171 | * @description: addloadData | ||
| 172 | * @author: miaofang | ||
| 173 | */ | ||
| 174 | addloadData(val) { | ||
| 175 | getBdcqljqtsx({ | ||
| 176 | bdcdyid: val.bdcdyid, | ||
| 177 | bdcdyh: val.bdcdyh, | ||
| 178 | }).then((res) => { | ||
| 179 | if (res.code === 200) { | ||
| 180 | if (this.sfqdata.some((item) => item.bdcdyid === val.bdcdyid)) { | ||
| 181 | let index = this.sfqdata.findIndex((item) => { | ||
| 182 | return item.bdcdyid == val.bdcdyid; | ||
| 183 | }); | ||
| 184 | this.activeName = index; | ||
| 185 | } else { | ||
| 186 | this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid)); | ||
| 187 | this.activeName = this.sfqdata.length - 1; | ||
| 188 | } | ||
| 189 | } | ||
| 190 | }); | ||
| 191 | this.currentSelectProps = { | ||
| 192 | bdcdyid: val.bdcdyid, | ||
| 193 | bdcdyh: val.bdcdyh, | ||
| 194 | qllx: this.currentSelectProps.qllx, | ||
| 195 | bsmQlxx: this.currentSelectProps.bsmQlxx, | ||
| 90 | }; | 196 | }; |
| 91 | }, | 197 | }, |
| 92 | /** | 198 | /** |
| ... | @@ -182,229 +288,135 @@ | ... | @@ -182,229 +288,135 @@ |
| 182 | this.loadComponent(data.form); | 288 | this.loadComponent(data.form); |
| 183 | this.isActive = index; | 289 | this.isActive = index; |
| 184 | }, | 290 | }, |
| 185 | methods: { | 291 | /** |
| 186 | // 截取字符的方法 | ||
| 187 | /** | ||
| 188 | * @description: 截取字符的方法 | ||
| 189 | * @param {*} obj | ||
| 190 | * @author: renchao | ||
| 191 | */ | ||
| 192 | getCaption (obj) { | ||
| 193 | let index = obj.lastIndexOf("="); | ||
| 194 | obj = obj.substring(index + 1, obj.length); | ||
| 195 | return obj; | ||
| 196 | }, | ||
| 197 | /** | ||
| 198 | * @description: getBdcdyh | ||
| 199 | * @author: miaofang | ||
| 200 | * 点击不动产单元号事件 | ||
| 201 | */ | ||
| 202 | getBdcdyh (val) { | ||
| 203 | this.addloadData(val); | ||
| 204 | }, | ||
| 205 | /** | ||
| 206 | * @description: addloadData | ||
| 207 | * @author: miaofang | ||
| 208 | */ | ||
| 209 | addloadData (val) { | ||
| 210 | getBdcqljqtsx({ | ||
| 211 | bdcdyid: val.bdcdyid, | ||
| 212 | bdcdyh: val.bdcdyh, | ||
| 213 | }).then((res) => { | ||
| 214 | if (res.code === 200) { | ||
| 215 | if (this.sfqdata.some((item) => item.bdcdyid === val.bdcdyid)) { | ||
| 216 | let index = this.sfqdata.findIndex((item) => { | ||
| 217 | return item.bdcdyid == val.bdcdyid; | ||
| 218 | }); | ||
| 219 | this.activeName = index; | ||
| 220 | } else { | ||
| 221 | this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid)); | ||
| 222 | this.activeName = this.sfqdata.length - 1; | ||
| 223 | } | ||
| 224 | } | ||
| 225 | }); | ||
| 226 | this.currentSelectProps = { | ||
| 227 | bdcdyid: val.bdcdyid, | ||
| 228 | bdcdyh: val.bdcdyh, | ||
| 229 | qllx: this.currentSelectProps.qllx, | ||
| 230 | bsmQlxx: this.currentSelectProps.bsmQlxx, | ||
| 231 | }; | ||
| 232 | }, | ||
| 233 | /** | ||
| 234 | * @description: loadData | ||
| 235 | * @author: renchao | ||
| 236 | */ | ||
| 237 | loadData (val) { | ||
| 238 | getBdcqljqtsxBdcdyh({ | ||
| 239 | bdcdyh: val, | ||
| 240 | }).then((res) => { | ||
| 241 | if (res.code === 200) { | ||
| 242 | this.treedata = loadTreeData(val); | ||
| 243 | this.sfqdata.push(loadsfqData(res.result, val, res.result.bdcdyid)); | ||
| 244 | this.$nextTick(function () { | ||
| 245 | this.defaultNode = getNode( | ||
| 246 | res.result.ztqllx, | ||
| 247 | { linShi: 0, xianShi: 0, liShi: 0 }, | ||
| 248 | res.result.bdcdylx || "" | ||
| 249 | ); | ||
| 250 | this.sfqdata[0].children.forEach((item, index) => { | ||
| 251 | if (item.id == this.defaultNode.id) { | ||
| 252 | this.loadComponent(item.form); | ||
| 253 | this.isActive = index; | ||
| 254 | } | ||
| 255 | }); | ||
| 256 | this.currentSelectProps = { | ||
| 257 | bdcdyid: res.result.bdcdyid, | ||
| 258 | bdcdyh: val, | ||
| 259 | qllx: res.result.qllx, | ||
| 260 | bsmQlxx: this.currentSelectProps.bsmQlxx, | ||
| 261 | }; | ||
| 262 | }) | ||
| 263 | } | ||
| 264 | }) | ||
| 265 | }, | ||
| 266 | /** | ||
| 267 | * @description: 点击登记簿菜单 | ||
| 268 | * @param {*} data | ||
| 269 | * @author: renchao | ||
| 270 | */ | ||
| 271 | handleNodeClick (data) { | ||
| 272 | this.loadComponent(data.form); | ||
| 273 | }, | ||
| 274 | tap (data, index) { | ||
| 275 | this.loadComponent(data.form); | ||
| 276 | }, | ||
| 277 | /** | ||
| 278 | * @description: taplist | ||
| 279 | * @param {*} data | ||
| 280 | * @author: renchao | ||
| 281 | * 新增列表功能 | ||
| 282 | */ | ||
| 283 | taplist (data, index) { | ||
| 284 | this.loadComponent(data.form); | ||
| 285 | this.isActive = index; | ||
| 286 | }, | ||
| 287 | /** | ||
| 288 | * @description: loadComponent | 292 | * @description: loadComponent |
| 289 | * @param {*} form | 293 | * @param {*} form |
| 290 | * @author: renchao | 294 | * @author: renchao |
| 291 | */ | 295 | */ |
| 292 | loadComponent (form) { | 296 | loadComponent(form) { |
| 293 | this.componentTag = (r) => | 297 | this.componentTag = (r) => |
| 294 | require.ensure([], () => r(require("@/views/registerBook/" + form))); | 298 | require.ensure([], () => r(require("@/views/registerBook/" + form))); |
| 295 | } | 299 | }, |
| 296 | } | 300 | }, |
| 297 | } | 301 | }; |
| 298 | </script> | 302 | </script> |
| 299 | <style scoped lang="scss"> | 303 | <style scoped lang="scss"> |
| 300 | /deep/.rollTable { | 304 | /deep/.rollTable { |
| 301 | height: calc(120vh - 254px) !important; | 305 | height: calc(120vh - 254px) !important; |
| 306 | } | ||
| 307 | |||
| 308 | .content { | ||
| 309 | width: 100%; | ||
| 310 | height: 100%; | ||
| 311 | display: flex; | ||
| 312 | |||
| 313 | .left { | ||
| 314 | width: 256px; | ||
| 315 | height: 100%; | ||
| 316 | background-color: #f5f5f5; | ||
| 317 | color: #333; | ||
| 318 | border: 1px solid rgb(228, 228, 228); | ||
| 302 | } | 319 | } |
| 303 | 320 | ||
| 304 | .content { | 321 | .right { |
| 305 | width: 100%; | 322 | width: calc(100% - 256px); |
| 306 | height: 100%; | 323 | height: 100%; |
| 307 | display: flex; | 324 | // overflow-y: scroll; |
| 325 | overflow: auto; | ||
| 326 | background-color: #f5f5f5; | ||
| 327 | border: 1px solid rgb(228, 228, 228); | ||
| 328 | } | ||
| 329 | } | ||
| 308 | 330 | ||
| 309 | .left { | 331 | /deep/ .expanded.el-tree-node__expand-icon, |
| 310 | width: 256px; | 332 | /deep/ .el-tree-node__expand-icon { |
| 311 | height: 100%; | 333 | visibility: hidden; |
| 312 | background-color: #f5f5f5; | 334 | } |
| 313 | color: #333; | ||
| 314 | border: 1px solid rgb(228, 228, 228); | ||
| 315 | } | ||
| 316 | 335 | ||
| 317 | .right { | 336 | /deep/ .el-tree-node__content { |
| 318 | width: calc(100% - 256px); | 337 | border: 1px solid rgb(228, 228, 228); |
| 319 | height: 100%; | 338 | height: 45px; |
| 320 | // overflow-y: scroll; | 339 | } |
| 321 | overflow: auto; | ||
| 322 | background-color: #f5f5f5; | ||
| 323 | border: 1px solid rgb(228, 228, 228); | ||
| 324 | } | ||
| 325 | } | ||
| 326 | 340 | ||
| 327 | /deep/ .expanded.el-tree-node__expand-icon, | 341 | /deep/ .el-tree-node:focus > .el-tree-node__content { |
| 328 | /deep/ .el-tree-node__expand-icon { | 342 | // background-color: #f5f5f5; |
| 329 | visibility: hidden; | 343 | // color: #0079fe; |
| 330 | } | 344 | // border-right: 4px solid #0079fe; |
| 345 | } | ||
| 331 | 346 | ||
| 332 | /deep/ .el-tree-node__content { | 347 | /deep/.el-tree-node { |
| 333 | border: 1px solid rgb(228, 228, 228); | 348 | white-space: pre-wrap; |
| 334 | height: 45px; | 349 | } |
| 335 | } | ||
| 336 | 350 | ||
| 337 | /deep/.el-tree-node { | 351 | /deep/ .is-current > .el-tree-node__content { |
| 338 | white-space: pre-wrap; | 352 | // background-color: #f5f5f5; |
| 353 | // color: #0079fe; | ||
| 354 | // border-right: 4px solid #0079fe; | ||
| 355 | } | ||
| 356 | /deep/.el-collapse-item__header { | ||
| 357 | width: 100%; | ||
| 358 | cursor: pointer; | ||
| 359 | position: relative; | ||
| 360 | .el-collapse-item__arrow { | ||
| 361 | position: absolute; | ||
| 362 | top: 15px; | ||
| 363 | right: 0px; | ||
| 339 | } | 364 | } |
| 340 | 365 | align-items: center; | |
| 341 | /deep/.el-collapse-item__header { | 366 | .text { |
| 342 | width: 100%; | 367 | width: 100%; |
| 343 | cursor: pointer; | ||
| 344 | position: relative; | ||
| 345 | .el-collapse-item__arrow { | ||
| 346 | position: absolute; | ||
| 347 | top: 15px; | ||
| 348 | right: 0px; | ||
| 349 | } | ||
| 350 | align-items: center; | ||
| 351 | .text { | ||
| 352 | width: 100%; | ||
| 353 | height: 45px; | ||
| 354 | display: inline-block; | ||
| 355 | span { | ||
| 356 | margin-left: 60px; | ||
| 357 | padding-top: 10px; | ||
| 358 | display: inline-block; | ||
| 359 | line-height: 15px; | ||
| 360 | } | ||
| 361 | height: 45px; | ||
| 362 | border: 1px solid rgb(228, 228, 228); | ||
| 363 | border-right: 4px solid #f5f5f5; | ||
| 364 | } | ||
| 365 | height: 45px; | 368 | height: 45px; |
| 366 | display: inline-block; | 369 | display: inline-block; |
| 367 | line-height: 45px; | ||
| 368 | border: 1px solid rgb(228, 228, 228); | ||
| 369 | } | ||
| 370 | /deep/.el-collapse-item__content { | ||
| 371 | padding-bottom: 5px; | ||
| 372 | } | ||
| 373 | /deep/.unselected { | ||
| 374 | // white-space: wrap; | ||
| 375 | border: none; | ||
| 376 | cursor: pointer; | ||
| 377 | width: 250px; | ||
| 378 | height: 45px; | ||
| 379 | border: 1px solid rgb(228, 228, 228); | ||
| 380 | border-right: 4px solid #f5f5f5; | ||
| 381 | margin: auto; | ||
| 382 | text-align: center; | ||
| 383 | align-items: center; | ||
| 384 | span { | 370 | span { |
| 385 | width: 100%; | 371 | margin-left: 60px; |
| 372 | padding-top: 10px; | ||
| 386 | display: inline-block; | 373 | display: inline-block; |
| 387 | justify-content: center; | 374 | line-height: 15px; |
| 388 | align-items: center; | ||
| 389 | } | 375 | } |
| 390 | } | 376 | } |
| 377 | height: 45px; | ||
| 378 | display: inline-block; | ||
| 379 | line-height: 45px; | ||
| 380 | border: 1px solid rgb(228, 228, 228); | ||
| 381 | } | ||
| 382 | /deep/.el-collapse-item__content { | ||
| 383 | padding-bottom: 5px; | ||
| 384 | } | ||
| 385 | /deep/.unselected { | ||
| 386 | // white-space: wrap; | ||
| 387 | border: none; | ||
| 388 | cursor: pointer; | ||
| 389 | width: 250px; | ||
| 390 | height: 45px; | ||
| 391 | border: 1px solid rgb(228, 228, 228); | ||
| 392 | border-right: 4px solid #f5f5f5; | ||
| 393 | margin: auto; | ||
| 394 | text-align: center; | ||
| 395 | align-items: center; | ||
| 396 | span { | ||
| 397 | width: 100%; | ||
| 398 | display: inline-block; | ||
| 399 | justify-content: center; | ||
| 400 | align-items: center; | ||
| 401 | } | ||
| 402 | } | ||
| 391 | 403 | ||
| 392 | .select { | 404 | .select { |
| 393 | border: none; | 405 | border: none; |
| 394 | cursor: pointer; | 406 | cursor: pointer; |
| 395 | width: 250px; | 407 | width: 250px; |
| 396 | height: 45px; | 408 | height: 45px; |
| 397 | background-color: #f5f5f5; | 409 | background-color: #f5f5f5; |
| 398 | color: #0079fe; | 410 | color: #0079fe; |
| 399 | border-right: 4px solid #0079fe; | 411 | border-right: 4px solid #0079fe; |
| 400 | margin: auto; | 412 | margin: auto; |
| 401 | text-align: center; | 413 | text-align: center; |
| 414 | align-items: center; | ||
| 415 | span { | ||
| 416 | width: 100%; | ||
| 417 | display: inline-block; | ||
| 418 | justify-content: center; | ||
| 402 | align-items: center; | 419 | align-items: center; |
| 403 | span { | ||
| 404 | width: 100%; | ||
| 405 | display: inline-block; | ||
| 406 | justify-content: center; | ||
| 407 | align-items: center; | ||
| 408 | } | ||
| 409 | } | 420 | } |
| 421 | } | ||
| 410 | </style> | 422 | </style> | ... | ... |
| ... | @@ -203,8 +203,8 @@ export default { | ... | @@ -203,8 +203,8 @@ export default { |
| 203 | this.isIndeterminate = | 203 | this.isIndeterminate = |
| 204 | checkedCount > 0 && checkedCount < this.cities.length; | 204 | checkedCount > 0 && checkedCount < this.cities.length; |
| 205 | let lists = []; | 205 | let lists = []; |
| 206 | this.cities.forEach((item, index) => { | 206 | this.checkedCities.forEach((el) => { |
| 207 | this.checkedCities.forEach((el) => { | 207 | this.cities.forEach((item, index) => { |
| 208 | if (item.name == el) { | 208 | if (item.name == el) { |
| 209 | lists.push(this.cities[index]); | 209 | lists.push(this.cities[index]); |
| 210 | } | 210 | } | ... | ... |
| ... | @@ -73,11 +73,17 @@ | ... | @@ -73,11 +73,17 @@ |
| 73 | </el-form-item> | 73 | </el-form-item> |
| 74 | </el-col> | 74 | </el-col> |
| 75 | </el-row> | 75 | </el-row> |
| 76 | <div class="slxx_title title-block"> | 76 | <div class="slxx_title title-block"> |
| 77 | 查封不动产情况 | 77 | <el-row> |
| 78 | <el-col :span="16"> | ||
| 79 | 查封不动产情况 | ||
| 80 | </el-col> | ||
| 81 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'"> | ||
| 82 | <el-button @click="compare">变化情况对比+</el-button> | ||
| 83 | </el-col> | ||
| 84 | </el-row> | ||
| 78 | <div class="triangle"></div> | 85 | <div class="triangle"></div> |
| 79 | </div> | 86 | </div> |
| 80 | |||
| 81 | <el-row :gutter="10"> | 87 | <el-row :gutter="10"> |
| 82 | <el-col :span="8"> | 88 | <el-col :span="8"> |
| 83 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:"> | 89 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:"> |
| ... | @@ -168,7 +174,7 @@ | ... | @@ -168,7 +174,7 @@ |
| 168 | v-model="ruleForm.cfdj.cfjg" | 174 | v-model="ruleForm.cfdj.cfjg" |
| 169 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> | 175 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> |
| 170 | </el-form-item> | 176 | </el-form-item> |
| 171 | </el-col> | 177 | </el-col> |
| 172 | </el-row> | 178 | </el-row> |
| 173 | <el-row :gutter="10"> | 179 | <el-row :gutter="10"> |
| 174 | <el-col :span="8"> | 180 | <el-col :span="8"> |
| ... | @@ -215,7 +221,7 @@ | ... | @@ -215,7 +221,7 @@ |
| 215 | </el-form-item> | 221 | </el-form-item> |
| 216 | </el-col> | 222 | </el-col> |
| 217 | </el-row> | 223 | </el-row> |
| 218 | 224 | ||
| 219 | <el-row :gutter="10"> | 225 | <el-row :gutter="10"> |
| 220 | <el-col :span="24"> | 226 | <el-col :span="24"> |
| 221 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> | 227 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> |
| ... | @@ -389,7 +395,23 @@ | ... | @@ -389,7 +395,23 @@ |
| 389 | return item.dcode == e; | 395 | return item.dcode == e; |
| 390 | }); | 396 | }); |
| 391 | this.ruleForm.cfdj.cflxmc = cflxItem.dname | 397 | this.ruleForm.cfdj.cflxmc = cflxItem.dname |
| 392 | } | 398 | }, |
| 399 | /** | ||
| 400 | * @description: compare | ||
| 401 | * @author: renchao | ||
| 402 | */ | ||
| 403 | compare () { | ||
| 404 | this.$popupDialog( | ||
| 405 | this.ruleForm.qlxx.qllxmc, | ||
| 406 | "registerBook/comparison", | ||
| 407 | { | ||
| 408 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
| 409 | dqqllx: "FDCQ2", | ||
| 410 | }, | ||
| 411 | "80%", | ||
| 412 | true | ||
| 413 | ); | ||
| 414 | }, | ||
| 393 | } | 415 | } |
| 394 | } | 416 | } |
| 395 | </script> | 417 | </script> | ... | ... |
| ... | @@ -54,10 +54,16 @@ | ... | @@ -54,10 +54,16 @@ |
| 54 | </el-col> | 54 | </el-col> |
| 55 | </el-row> | 55 | </el-row> |
| 56 | <div class="slxx_title title-block"> | 56 | <div class="slxx_title title-block"> |
| 57 | 抵押不动产情况 | 57 | <el-row> |
| 58 | <el-col :span="16"> | ||
| 59 | 抵押不动产情况 | ||
| 60 | </el-col> | ||
| 61 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'"> | ||
| 62 | <el-button @click="compare">变化情况对比+</el-button> | ||
| 63 | </el-col> | ||
| 64 | </el-row> | ||
| 58 | <div class="triangle"></div> | 65 | <div class="triangle"></div> |
| 59 | </div> | 66 | </div> |
| 60 | |||
| 61 | <el-row :gutter="10"> | 67 | <el-row :gutter="10"> |
| 62 | <el-col :span="8"> | 68 | <el-col :span="8"> |
| 63 | <el-form-item label="权利人:"> | 69 | <el-form-item label="权利人:"> |
| ... | @@ -570,6 +576,21 @@ | ... | @@ -570,6 +576,21 @@ |
| 570 | if (!_.isEqual(val, this.ruleForm.ywrList)) { | 576 | if (!_.isEqual(val, this.ruleForm.ywrList)) { |
| 571 | this.ruleForm.ywrList = _.cloneDeep(val); | 577 | this.ruleForm.ywrList = _.cloneDeep(val); |
| 572 | } | 578 | } |
| 579 | }, /** | ||
| 580 | * @description: compare | ||
| 581 | * @author: renchao | ||
| 582 | */ | ||
| 583 | compare () { | ||
| 584 | this.$popupDialog( | ||
| 585 | this.ruleForm.qlxx.qllxmc, | ||
| 586 | "registerBook/comparison", | ||
| 587 | { | ||
| 588 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
| 589 | dqqllx: "FDCQ2", | ||
| 590 | }, | ||
| 591 | "80%", | ||
| 592 | true | ||
| 593 | ); | ||
| 573 | }, | 594 | }, |
| 574 | }, | 595 | }, |
| 575 | }; | 596 | }; | ... | ... |
| ... | @@ -65,6 +65,9 @@ | ... | @@ -65,6 +65,9 @@ |
| 65 | </el-radio-group> | 65 | </el-radio-group> |
| 66 | </el-form-item> | 66 | </el-form-item> |
| 67 | </el-col> | 67 | </el-col> |
| 68 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'"> | ||
| 69 | <el-button @click="compare">变化情况对比+</el-button> | ||
| 70 | </el-col> | ||
| 68 | </el-row> | 71 | </el-row> |
| 69 | <div class="triangle"></div> | 72 | <div class="triangle"></div> |
| 70 | </div> | 73 | </div> |
| ... | @@ -545,7 +548,22 @@ | ... | @@ -545,7 +548,22 @@ |
| 545 | return false | 548 | return false |
| 546 | } | 549 | } |
| 547 | }) | 550 | }) |
| 548 | } | 551 | }, /** |
| 552 | * @description: compare | ||
| 553 | * @author: renchao | ||
| 554 | */ | ||
| 555 | compare () { | ||
| 556 | this.$popupDialog( | ||
| 557 | this.ruleForm.qlxx.qllxmc, | ||
| 558 | "registerBook/comparison", | ||
| 559 | { | ||
| 560 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
| 561 | dqqllx: "FDCQ2", | ||
| 562 | }, | ||
| 563 | "80%", | ||
| 564 | true | ||
| 565 | ); | ||
| 566 | }, | ||
| 549 | } | 567 | } |
| 550 | } | 568 | } |
| 551 | </script> | 569 | </script> | ... | ... |
| 1 | <!-- | ||
| 2 | * @Description: 受理信息 | ||
| 3 | * @Autor: renchao | ||
| 4 | * @LastEditTime: 2024-03-04 14:16:21 | ||
| 5 | --> | ||
| 6 | <template> | ||
| 7 | <div class="slxx"> | ||
| 8 | <el-form | ||
| 9 | :model="ruleForm" | ||
| 10 | :rules="rules" | ||
| 11 | v-Loading="loading" | ||
| 12 | ref="ruleForm" | ||
| 13 | :label-position="flag ? 'top' : ''" | ||
| 14 | :inline="flag" | ||
| 15 | label-width="120px"> | ||
| 16 | <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> | ||
| 17 | <div class="slxx_title title-block"> | ||
| 18 | 申请业务信息 | ||
| 19 | <div class="triangle"></div> | ||
| 20 | </div> | ||
| 21 | <el-row :gutter="10" v-if="ruleForm.slsq"> | ||
| 22 | <el-col :span="8"> | ||
| 23 | <el-form-item label="业务号:"> | ||
| 24 | <el-input disabled v-model="ruleForm.flow.ywh"></el-input> | ||
| 25 | </el-form-item> | ||
| 26 | </el-col> | ||
| 27 | <el-col :span="8"> | ||
| 28 | <el-form-item label="受理人员:"> | ||
| 29 | <el-input disabled v-model="ruleForm.slsq.slry"></el-input> | ||
| 30 | </el-form-item> | ||
| 31 | </el-col> | ||
| 32 | <el-col :span="8"> | ||
| 33 | <el-form-item label="受理时间:"> | ||
| 34 | <el-input disabled v-model="ruleForm.slsq.slsj"></el-input> | ||
| 35 | </el-form-item> | ||
| 36 | </el-col> | ||
| 37 | </el-row> | ||
| 38 | <el-row :gutter="10" v-if="ruleForm.slsq"> | ||
| 39 | <el-col :span="8"> | ||
| 40 | <el-form-item label="权利类型:"> | ||
| 41 | <el-input disabled v-model="ruleForm.sldy.qllxmc"></el-input> | ||
| 42 | </el-form-item> | ||
| 43 | </el-col> | ||
| 44 | <el-col :span="8"> | ||
| 45 | <el-form-item label="登记类型:"> | ||
| 46 | <el-input disabled v-model="ruleForm.sldy.djlxmc"></el-input> | ||
| 47 | </el-form-item> | ||
| 48 | </el-col> | ||
| 49 | <el-col :span="8"> | ||
| 50 | <el-form-item label="登记情形:"> | ||
| 51 | <el-input disabled v-model="ruleForm.slsq.djqxmc"></el-input> | ||
| 52 | </el-form-item> | ||
| 53 | </el-col> | ||
| 54 | </el-row> | ||
| 55 | <div class="slxx_title title-block"> | ||
| 56 | <el-row> | ||
| 57 | <el-col :span="16"> | ||
| 58 | 不动产单元情况 | ||
| 59 | </el-col> | ||
| 60 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='500'"> | ||
| 61 | <el-form-item label="是否创建证书:" style="height:24px"> | ||
| 62 | <el-radio-group v-model="ruleForm.sldy.sfxysczs"> | ||
| 63 | <el-radio label="1">是</el-radio> | ||
| 64 | <el-radio label="0">否</el-radio> | ||
| 65 | </el-radio-group> | ||
| 66 | </el-form-item> | ||
| 67 | </el-col> | ||
| 68 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'"> | ||
| 69 | <el-button @click="compare">变化情况对比+</el-button> | ||
| 70 | </el-col> | ||
| 71 | </el-row> | ||
| 72 | <div class="triangle"></div> | ||
| 73 | </div> | ||
| 74 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | ||
| 75 | <el-col :span="8"> | ||
| 76 | <el-form-item label="原不动产权证号:"> | ||
| 77 | <el-input disabled v-model="ruleForm.sldy.ybdcqzsh"></el-input> | ||
| 78 | </el-form-item> | ||
| 79 | </el-col> | ||
| 80 | <el-col :span="8"> | ||
| 81 | <el-form-item label="不动产单元号:"> | ||
| 82 | <el-input disabled v-model="ruleForm.sldy.bdcdyh"></el-input> | ||
| 83 | </el-form-item> | ||
| 84 | </el-col> | ||
| 85 | <el-col :span="8"> | ||
| 86 | <el-form-item label="坐落:"> | ||
| 87 | <el-input maxlength="100" :disabled="!viewEdit" v-model="ruleForm.sldy.zl"></el-input> | ||
| 88 | </el-form-item> | ||
| 89 | </el-col> | ||
| 90 | </el-row> | ||
| 91 | <el-row :gutter="10" v-if="ruleForm.fdcq2"> | ||
| 92 | <el-col :span="8"> | ||
| 93 | <el-form-item label="宗地面积:"> | ||
| 94 | <div class="flex"> | ||
| 95 | <el-input :disabled="!viewEdit" v-model="ruleForm.zdjbxx.zdmj"></el-input> | ||
| 96 | <el-select | ||
| 97 | disabled | ||
| 98 | v-model="ruleForm.zdjbxx.mjdw" | ||
| 99 | style="width: 68px"> | ||
| 100 | <el-option | ||
| 101 | v-for="item in dictData['A7']" | ||
| 102 | :key="item.dcode" | ||
| 103 | :label="item.dname" | ||
| 104 | :value="item.dcode"> | ||
| 105 | </el-option> | ||
| 106 | </el-select> | ||
| 107 | </div> | ||
| 108 | </el-form-item> | ||
| 109 | </el-col> | ||
| 110 | <el-col :span="8"> | ||
| 111 | <el-form-item label="土地使用权人:"> | ||
| 112 | <el-input :disabled="!viewEdit" v-model="ruleForm.fdcq2.tdsyqr"></el-input> | ||
| 113 | </el-form-item> | ||
| 114 | </el-col> | ||
| 115 | <el-col :span="8"> | ||
| 116 | <el-form-item label="土地性质:"> | ||
| 117 | <treeselect | ||
| 118 | :disabled="!viewEdit" | ||
| 119 | v-model="ruleForm.fdcq2.tdxz" | ||
| 120 | noOptionsText="暂无数据" | ||
| 121 | placeholder="" | ||
| 122 | :normalizer="normalizer" | ||
| 123 | :default-expand-level="1" | ||
| 124 | :show-count="true" | ||
| 125 | :options="dictData['A9']" /> | ||
| 126 | </el-form-item> | ||
| 127 | </el-col> | ||
| 128 | </el-row> | ||
| 129 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | ||
| 130 | <el-col :span="8"> | ||
| 131 | <el-form-item label="独用土地面积:"> | ||
| 132 | <div class="flex"> | ||
| 133 | <el-input | ||
| 134 | maxlength="12" | ||
| 135 | v-model="ruleForm.fdcq2.dytdmj" | ||
| 136 | :disabled="!viewEdit" | ||
| 137 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
| 138 | <el-select disabled v-model="mjdw" style="width: 68px"> | ||
| 139 | <el-option | ||
| 140 | v-for="item in dictData['A7']" | ||
| 141 | :key="item.dcode" | ||
| 142 | :label="item.dname" | ||
| 143 | :value="item.dcode"> | ||
| 144 | </el-option> | ||
| 145 | </el-select> | ||
| 146 | </div> | ||
| 147 | </el-form-item> | ||
| 148 | </el-col> | ||
| 149 | <el-col :span="8"> | ||
| 150 | <el-form-item label="分摊土地面积:"> | ||
| 151 | <div class="flex"> | ||
| 152 | <el-input | ||
| 153 | maxlength="12" | ||
| 154 | v-model="ruleForm.fdcq2.fttdmj" | ||
| 155 | :disabled="!viewEdit" | ||
| 156 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
| 157 | <el-select disabled v-model="mjdw" style="width: 68px"> | ||
| 158 | <el-option | ||
| 159 | v-for="item in dictData['A7']" | ||
| 160 | :key="item.dcode" | ||
| 161 | :label="item.dname" | ||
| 162 | :value="item.dcode"> | ||
| 163 | </el-option> | ||
| 164 | </el-select> | ||
| 165 | </div> | ||
| 166 | </el-form-item> | ||
| 167 | </el-col> | ||
| 168 | <el-col :span="8"> | ||
| 169 | <el-form-item label="房屋性质:"> | ||
| 170 | <el-select v-model="ruleForm.fdcq2.fwxz" :disabled="!viewEdit"> | ||
| 171 | <el-option | ||
| 172 | v-for="item in dictData['A19']" | ||
| 173 | :key="item.dcode" | ||
| 174 | :label="item.dname" | ||
| 175 | :value="item.dcode"> | ||
| 176 | </el-option> | ||
| 177 | </el-select> | ||
| 178 | </el-form-item> | ||
| 179 | </el-col> | ||
| 180 | </el-row> | ||
| 181 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | ||
| 182 | <el-col :span="8"> | ||
| 183 | <el-form-item label="房屋用途:"> | ||
| 184 | <treeselect | ||
| 185 | v-model="ruleForm.fdcq2.ghyt" | ||
| 186 | :disabled="!viewEdit" | ||
| 187 | noOptionsText="" | ||
| 188 | placeholder="" | ||
| 189 | :normalizer="normalizer" | ||
| 190 | :show-count="true" | ||
| 191 | :options="dictData['A17']" /> | ||
| 192 | </el-form-item> | ||
| 193 | </el-col> | ||
| 194 | <el-col :span="8"> | ||
| 195 | <el-form-item label="房屋结构:"> | ||
| 196 | <el-select v-model="ruleForm.fdcq2.fwjg" :disabled="!viewEdit"> | ||
| 197 | <el-option | ||
| 198 | v-for="item in dictData['A46']" | ||
| 199 | :key="item.dcode" | ||
| 200 | :label="item.dname" | ||
| 201 | :value="item.dcode"> | ||
| 202 | </el-option> | ||
| 203 | </el-select> | ||
| 204 | </el-form-item> | ||
| 205 | </el-col> | ||
| 206 | <el-col :span="8"> | ||
| 207 | <el-form-item label="竣工时间:"> | ||
| 208 | <el-date-picker | ||
| 209 | v-model="ruleForm.fdcq2.jgsj" | ||
| 210 | class="width100" | ||
| 211 | type="date" | ||
| 212 | placeholder="选择日期" | ||
| 213 | value-format="yyyy-MM-dd" | ||
| 214 | :disabled="!viewEdit"></el-date-picker> | ||
| 215 | </el-form-item> | ||
| 216 | </el-col> | ||
| 217 | </el-row> | ||
| 218 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | ||
| 219 | <el-col :span="8"> | ||
| 220 | <el-form-item label="所在层:"> | ||
| 221 | <el-input | ||
| 222 | maxlength="20" | ||
| 223 | v-model="ruleForm.fdcq2.szc" | ||
| 224 | :disabled="!viewEdit"></el-input> | ||
| 225 | </el-form-item> | ||
| 226 | </el-col> | ||
| 227 | <el-col :span="8"> | ||
| 228 | <el-form-item label="总层数:"> | ||
| 229 | <el-input | ||
| 230 | maxlength="4" | ||
| 231 | :disabled="!viewEdit" | ||
| 232 | v-model.number="ruleForm.fdcq2.zcs" | ||
| 233 | oninput="value=value.replace(/[^0-9]/g,'')"></el-input> | ||
| 234 | </el-form-item> | ||
| 235 | </el-col> | ||
| 236 | <el-col :span="8"> | ||
| 237 | <el-form-item label="房地产交易价格:"> | ||
| 238 | <div class="flex"> | ||
| 239 | <el-input | ||
| 240 | maxlength="11" | ||
| 241 | v-model="ruleForm.fdcq2.fdcjyjg" | ||
| 242 | style="width: 500%" | ||
| 243 | :disabled="!viewEdit" | ||
| 244 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
| 245 | <el-select v-model="ruleForm.fdcq2.jedw" :disabled="!viewEdit"> | ||
| 246 | <el-option | ||
| 247 | v-for="item in dictData['A57']" | ||
| 248 | :key="item.dcode" | ||
| 249 | :label="item.dname" | ||
| 250 | :value="item.dcode"> | ||
| 251 | </el-option> | ||
| 252 | </el-select> | ||
| 253 | </div> | ||
| 254 | </el-form-item> | ||
| 255 | </el-col> | ||
| 256 | </el-row> | ||
| 257 | <el-row :gutter="10" v-if="ruleForm.fdcq2"> | ||
| 258 | <el-col :span="8"> | ||
| 259 | <el-form-item label="建筑面积:"> | ||
| 260 | <div class="flex"> | ||
| 261 | <el-input | ||
| 262 | maxlength="12" | ||
| 263 | v-model="ruleForm.fdcq2.jzmj" | ||
| 264 | :disabled="!viewEdit" | ||
| 265 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
| 266 | <el-select disabled v-model="mjdw" style="width: 68px"> | ||
| 267 | <el-option | ||
| 268 | v-for="item in dictData['A7']" | ||
| 269 | :key="item.dcode" | ||
| 270 | :label="item.dname" | ||
| 271 | :value="item.dcode"> | ||
| 272 | </el-option> | ||
| 273 | </el-select> | ||
| 274 | </div> | ||
| 275 | </el-form-item> | ||
| 276 | </el-col> | ||
| 277 | <el-col :span="8"> | ||
| 278 | <el-form-item label="专有建筑面积:"> | ||
| 279 | <div class="flex"> | ||
| 280 | <el-input | ||
| 281 | maxlength="12" | ||
| 282 | v-model="ruleForm.fdcq2.zyjzmj" | ||
| 283 | :disabled="!viewEdit" | ||
| 284 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
| 285 | <el-select disabled v-model="mjdw" style="width: 68px"> | ||
| 286 | <el-option | ||
| 287 | v-for="item in dictData['A7']" | ||
| 288 | :key="item.dcode" | ||
| 289 | :label="item.dname" | ||
| 290 | :value="item.dcode"> | ||
| 291 | </el-option> | ||
| 292 | </el-select> | ||
| 293 | </div> | ||
| 294 | </el-form-item> | ||
| 295 | </el-col> | ||
| 296 | <el-col :span="8"> | ||
| 297 | <el-form-item label="分摊建筑面积:"> | ||
| 298 | <div class="flex"> | ||
| 299 | <el-input | ||
| 300 | maxlength="12" | ||
| 301 | v-model="ruleForm.fdcq2.ftjzmj" | ||
| 302 | :disabled="!viewEdit" | ||
| 303 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
| 304 | <el-select disabled v-model="mjdw" style="width: 68px"> | ||
| 305 | <el-option | ||
| 306 | v-for="item in dictData['A7']" | ||
| 307 | :key="item.dcode" | ||
| 308 | :label="item.dname" | ||
| 309 | :value="item.dcode"> | ||
| 310 | </el-option> | ||
| 311 | </el-select> | ||
| 312 | </div> | ||
| 313 | </el-form-item> | ||
| 314 | </el-col> | ||
| 315 | </el-row> | ||
| 316 | <el-row :gutter="10"> | ||
| 317 | <el-col :span="24"> | ||
| 318 | <el-form-item label="附记:"> | ||
| 319 | <el-input | ||
| 320 | v-model="ruleForm.fdcq2.fj" | ||
| 321 | type="textarea" | ||
| 322 | maxlength="500" | ||
| 323 | show-word-limit | ||
| 324 | :disabled="!viewEdit"></el-input> | ||
| 325 | </el-form-item> | ||
| 326 | </el-col> | ||
| 327 | </el-row> | ||
| 328 | <div class="slxx_title title-block"> | ||
| 329 | 土地用途 | ||
| 330 | <div class="triangle"></div> | ||
| 331 | </div> | ||
| 332 | <tdytTable | ||
| 333 | :ableOperation="viewEdit" | ||
| 334 | :tableData="ruleForm.tdytqxList" | ||
| 335 | @upDateTdytxxList="upDateTdytxxList" /> | ||
| 336 | <div class="slxx_title title-block"> | ||
| 337 | 权利人信息 | ||
| 338 | <div class="triangle"></div> | ||
| 339 | </div> | ||
| 340 | <el-row :gutter="10"> | ||
| 341 | <el-col :span="12"> | ||
| 342 | <el-form-item label="共有方式:"> | ||
| 343 | <el-radio-group | ||
| 344 | :disabled="!viewEdit" | ||
| 345 | v-model="ruleForm.sldy.gyfs"> | ||
| 346 | <el-radio label="0">单独所有</el-radio> | ||
| 347 | <el-radio label="1">共同共有</el-radio> | ||
| 348 | <el-radio label="2">按份所有</el-radio> | ||
| 349 | <el-radio label="3">其它共有</el-radio> | ||
| 350 | </el-radio-group> | ||
| 351 | </el-form-item> | ||
| 352 | </el-col> | ||
| 353 | <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> | ||
| 354 | <el-form-item label="是否分别持证:"> | ||
| 355 | <el-radio-group | ||
| 356 | v-model="ruleForm.sldy.sqfbcz" | ||
| 357 | :disabled="!viewEdit" | ||
| 358 | @input="updaterow()"> | ||
| 359 | <el-radio :label="1">是</el-radio> | ||
| 360 | <el-radio :label="0">否</el-radio> | ||
| 361 | </el-radio-group> | ||
| 362 | </el-form-item> | ||
| 363 | </el-col> | ||
| 364 | <el-col | ||
| 365 | :span="6" | ||
| 366 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | ||
| 367 | <el-form-item label="持证人:"> | ||
| 368 | <el-select | ||
| 369 | v-model="czr" | ||
| 370 | placeholder="持证人" | ||
| 371 | :disabled="!viewEdit"> | ||
| 372 | <el-option | ||
| 373 | v-for="(item,index) in czrOptions" | ||
| 374 | :key="index" | ||
| 375 | :label="item.sqrmc" | ||
| 376 | :value="item.id"> | ||
| 377 | </el-option> | ||
| 378 | </el-select> | ||
| 379 | </el-form-item> | ||
| 380 | </el-col> | ||
| 381 | </el-row> | ||
| 382 | <qlrCommonTable | ||
| 383 | @upDateQlrxxList="upDateQlrxxList" | ||
| 384 | :disabled="!viewEdit" | ||
| 385 | :tableData="ruleForm.qlrList" | ||
| 386 | :gyfs="ruleForm.sldy.gyfs" /> | ||
| 387 | <div class="slxx_title title-block"> | ||
| 388 | 登记原因 | ||
| 389 | <div class="triangle"></div> | ||
| 390 | </div> | ||
| 391 | <el-row :gutter="10"> | ||
| 392 | <el-col> | ||
| 393 | <el-form-item v-if="ruleForm.fdcq2" label="登记原因:" prop="fdcq2.djyy"> | ||
| 394 | <el-input | ||
| 395 | class="textArea" | ||
| 396 | type="textarea" | ||
| 397 | maxlength="500" | ||
| 398 | show-word-limit | ||
| 399 | :disabled="!viewEdit" | ||
| 400 | v-model="ruleForm.fdcq2.djyy"> | ||
| 401 | </el-input> | ||
| 402 | </el-form-item> | ||
| 403 | </el-col> | ||
| 404 | </el-row> | ||
| 405 | </div> | ||
| 406 | <el-row class="btn" v-if="isSave"> | ||
| 407 | <el-form-item> | ||
| 408 | <el-button type="primary" @click="onSubmit">保存</el-button> | ||
| 409 | </el-form-item> | ||
| 410 | </el-row> | ||
| 411 | </el-form> | ||
| 412 | </div> | ||
| 413 | </template> | ||
| 414 | <script> | ||
| 415 | import ywmix from "@/views/ywbl/mixin/index"; | ||
| 416 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | ||
| 417 | import tdytTable from "@/views/workflow/components/tdytTable"; | ||
| 418 | import { Init, saveData } from "@/api/workflow/fwsyqFlow.js"; | ||
| 419 | import { mapGetters } from "vuex"; | ||
| 420 | export default { | ||
| 421 | mixins: [ywmix], | ||
| 422 | mounted () { | ||
| 423 | let that = this | ||
| 424 | this.loading = true | ||
| 425 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; | ||
| 426 | this.propsParam = this.$attrs; | ||
| 427 | var formdata = new FormData(); | ||
| 428 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | ||
| 429 | formdata.append("djlx", this.propsParam.djlx); | ||
| 430 | formdata.append("isEdit", this.viewEdit); | ||
| 431 | Init(formdata).then((res) => { | ||
| 432 | setTimeout(() => { | ||
| 433 | this.loading = false | ||
| 434 | }, 200) | ||
| 435 | if (res.code === 200 && res.result) { | ||
| 436 | that.ruleForm = { | ||
| 437 | ...res.result, | ||
| 438 | ...res.result.zdjbxxdatas, | ||
| 439 | ...res.result.qlxxdatas, | ||
| 440 | ...res.result.jsydsyqdatas, | ||
| 441 | }; | ||
| 442 | that.ruleForm.qlrList.forEach((item) => { | ||
| 443 | item.id = item.bsmSqr | ||
| 444 | if (item.sfczr == '1') { | ||
| 445 | that.czr = item.bsmSqr | ||
| 446 | } | ||
| 447 | }) | ||
| 448 | that.czrOptions = that.ruleForm.qlrList; | ||
| 449 | that.isSave = that.viewEdit | ||
| 450 | } else { | ||
| 451 | that.isSave = false | ||
| 452 | that.$confirm(res.message, '提示', { | ||
| 453 | cancelButtonText: '取消', | ||
| 454 | showConfirmButton: false, | ||
| 455 | type: 'warning' | ||
| 456 | }) | ||
| 457 | } | ||
| 458 | }).catch(() => { | ||
| 459 | this.loading = false | ||
| 460 | this.isSave = false | ||
| 461 | }) | ||
| 462 | }, | ||
| 463 | components: { qlrCommonTable, tdytTable }, | ||
| 464 | computed: { | ||
| 465 | ...mapGetters(["dictData", "flag"]), | ||
| 466 | }, | ||
| 467 | data () { | ||
| 468 | return { | ||
| 469 | normalizer (node) { | ||
| 470 | if (node.children == null || node.children == "null") { | ||
| 471 | delete node.children; | ||
| 472 | } | ||
| 473 | return { | ||
| 474 | id: node.dcode, | ||
| 475 | label: node.dname, | ||
| 476 | children: node.children, | ||
| 477 | }; | ||
| 478 | }, | ||
| 479 | isSave: true, | ||
| 480 | loading: false, | ||
| 481 | mjdw: "1", | ||
| 482 | //表单是否可操作 | ||
| 483 | viewEdit: false, | ||
| 484 | disabled: true, | ||
| 485 | tdytOption: [], | ||
| 486 | czrOptions: [], | ||
| 487 | czr: "", | ||
| 488 | ruleForm: { | ||
| 489 | flow: { | ||
| 490 | ywh: "", | ||
| 491 | }, | ||
| 492 | slry: "", | ||
| 493 | slsj: "", | ||
| 494 | qllx: "", | ||
| 495 | djlx: "", | ||
| 496 | djqx: "", | ||
| 497 | sldy: { | ||
| 498 | gyfs: "", | ||
| 499 | }, | ||
| 500 | // 宗地代码 | ||
| 501 | zddm: "", | ||
| 502 | bdcdyh: "", | ||
| 503 | qlxzmc: "", | ||
| 504 | qlrxx: [], | ||
| 505 | // 自然幢号 | ||
| 506 | zrzh: "", | ||
| 507 | // 户不动产单元号 | ||
| 508 | hbdcdyh: "", | ||
| 509 | djzt: "", | ||
| 510 | // 图幅丘幢号 | ||
| 511 | tfqzh: "", | ||
| 512 | zl: "", | ||
| 513 | // 房屋用途 | ||
| 514 | fwyt: "", | ||
| 515 | fwxz: "", | ||
| 516 | fwjg: "", | ||
| 517 | // 权利人信息 | ||
| 518 | // 是否分别持证 | ||
| 519 | sffbcz: "", | ||
| 520 | // 持证人 | ||
| 521 | czr: "", | ||
| 522 | djyy: "", | ||
| 523 | // 规划用途名称 | ||
| 524 | zdjbxx: { | ||
| 525 | ghytmc: "", | ||
| 526 | }, | ||
| 527 | fdcq2: { | ||
| 528 | fwxzmc: "", | ||
| 529 | }, | ||
| 530 | slsq: { | ||
| 531 | gyfs: "", | ||
| 532 | }, | ||
| 533 | }, | ||
| 534 | //传递参数 | ||
| 535 | propsParam: {}, | ||
| 536 | rules: { | ||
| 537 | 'fdcq2.djyy': [ | ||
| 538 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
| 539 | ] | ||
| 540 | } | ||
| 541 | } | ||
| 542 | }, | ||
| 543 | methods: { | ||
| 544 | /** | ||
| 545 | * @description: dataSelectClick | ||
| 546 | * @author: renchao | ||
| 547 | */ | ||
| 548 | dataSelectClick () { | ||
| 549 | this.$popup( | ||
| 550 | "房屋所有权", | ||
| 551 | this.BASE_API.SERVERAPI + "/rest/workflow/main/dataCompare/slxxCompareDetai", | ||
| 552 | { | ||
| 553 | formData: { | ||
| 554 | bsmSldy: this.propsParam.bsmSldy, | ||
| 555 | qllx: this.propsParam.qllx, | ||
| 556 | }, | ||
| 557 | } | ||
| 558 | ); | ||
| 559 | }, | ||
| 560 | /** | ||
| 561 | * @description: 更新土地用途信息 | ||
| 562 | * @param {*} val | ||
| 563 | * @author: renchao | ||
| 564 | */ | ||
| 565 | upDateTdytxxList (val) { | ||
| 566 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
| 567 | this.key++; | ||
| 568 | }, | ||
| 569 | /** | ||
| 570 | * @description: 是否持证人变化 | ||
| 571 | * @param {*} val | ||
| 572 | * @author: renchao | ||
| 573 | */ | ||
| 574 | updaterow () { | ||
| 575 | this.czr = ""; | ||
| 576 | }, | ||
| 577 | /** | ||
| 578 | * @description: 更新权利人信息 | ||
| 579 | * @param {*} val | ||
| 580 | * @author: renchao | ||
| 581 | */ | ||
| 582 | upDateQlrxxList (val) { | ||
| 583 | if (!_.isEqual(val, this.ruleForm.qlrList)) { | ||
| 584 | this.ruleForm.qlrList = _.cloneDeep(val); | ||
| 585 | this.czrOptions = this.ruleForm.qlrList; | ||
| 586 | } | ||
| 587 | this.num = 0 | ||
| 588 | this.ruleForm.qlrList.forEach(item => { | ||
| 589 | if (item.id == this.czr) { | ||
| 590 | this.num++ | ||
| 591 | } | ||
| 592 | }) | ||
| 593 | if (this.num == 0) { | ||
| 594 | this.czr = '' | ||
| 595 | } | ||
| 596 | }, | ||
| 597 | /** | ||
| 598 | * @description: 更新权利人信息 | ||
| 599 | * @param {*} val | ||
| 600 | * @author: renchao | ||
| 601 | */ | ||
| 602 | upDateYwrxxList (val) { | ||
| 603 | this.ruleForm.ywrList = _.cloneDeep(val); | ||
| 604 | }, | ||
| 605 | /** | ||
| 606 | * @description: onSubmit | ||
| 607 | * @author: renchao | ||
| 608 | */ | ||
| 609 | onSubmit () { | ||
| 610 | let that = this; | ||
| 611 | let arr = this.ruleForm.tdytqxList.filter((item) => !item.yt); | ||
| 612 | if (arr.length > 0) { | ||
| 613 | this.$message({ | ||
| 614 | showClose: true, | ||
| 615 | message: "土地用途不能为空", | ||
| 616 | type: "error", | ||
| 617 | }); | ||
| 618 | return false; | ||
| 619 | } | ||
| 620 | if (this.ruleForm.qlrList.length == 0) { | ||
| 621 | this.$message({ | ||
| 622 | showClose: true, | ||
| 623 | message: "请确认权利人信息", | ||
| 624 | type: "error", | ||
| 625 | }); | ||
| 626 | return false; | ||
| 627 | } | ||
| 628 | |||
| 629 | if (this.ruleForm.sldy.gyfs == "0") { | ||
| 630 | if (this.ruleForm.qlrList.length > 1) { | ||
| 631 | this.$message({ | ||
| 632 | showClose: true, | ||
| 633 | message: "共有方式:单独所有,权利人只能是一个人", | ||
| 634 | type: "error", | ||
| 635 | }); | ||
| 636 | return false; | ||
| 637 | } | ||
| 638 | this.ruleForm.qlrList[0].sfczr = "1"; | ||
| 639 | } else { | ||
| 640 | if (this.ruleForm.qlrList.length <= 1) { | ||
| 641 | this.$message({ | ||
| 642 | showClose: true, | ||
| 643 | message: | ||
| 644 | "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
| 645 | type: "error", | ||
| 646 | }); | ||
| 647 | return false; | ||
| 648 | } | ||
| 649 | //是否分别持证 | ||
| 650 | if (this.ruleForm.sldy.sqfbcz == "1") { | ||
| 651 | //是 | ||
| 652 | this.ruleForm.qlrList.forEach((item, index) => { | ||
| 653 | item.sfczr = "1"; | ||
| 654 | }); | ||
| 655 | } else { | ||
| 656 | if (that.czr === '') { | ||
| 657 | that.$message({ | ||
| 658 | showClose: true, | ||
| 659 | message: "请选择持证人", | ||
| 660 | type: "error" | ||
| 661 | }); | ||
| 662 | return false; | ||
| 663 | } | ||
| 664 | this.ruleForm.qlrList.forEach(item => { | ||
| 665 | if (item.id == that.czr) { | ||
| 666 | item.sfczr = "1" | ||
| 667 | } else { | ||
| 668 | item.sfczr = "0" | ||
| 669 | } | ||
| 670 | }) | ||
| 671 | } | ||
| 672 | } | ||
| 673 | this.$refs['ruleForm'].validate((valid) => { | ||
| 674 | if (valid) { | ||
| 675 | that.$store.dispatch("user/refreshPage", false); | ||
| 676 | saveData(that.ruleForm).then((res) => { | ||
| 677 | if (res.code === 200) { | ||
| 678 | that.$message({ | ||
| 679 | showClose: true, | ||
| 680 | message: "保存成功!", | ||
| 681 | type: "success", | ||
| 682 | }); | ||
| 683 | that.$store.dispatch("user/refreshPage", true); | ||
| 684 | } else { | ||
| 685 | that.$message({ | ||
| 686 | showClose: true, | ||
| 687 | message: res.message, | ||
| 688 | type: "error", | ||
| 689 | }); | ||
| 690 | } | ||
| 691 | }) | ||
| 692 | |||
| 693 | } else { | ||
| 694 | that.$message({ | ||
| 695 | showClose: true, | ||
| 696 | message: "请输入登记原因", | ||
| 697 | type: "error" | ||
| 698 | }) | ||
| 699 | return false | ||
| 700 | } | ||
| 701 | }) | ||
| 702 | }, | ||
| 703 | /** | ||
| 704 | * @description: compare | ||
| 705 | * @author: renchao | ||
| 706 | */ | ||
| 707 | compare () { | ||
| 708 | this.$popupDialog( | ||
| 709 | this.ruleForm.qlxx.qllxmc, | ||
| 710 | "registerBook/comparison", | ||
| 711 | { | ||
| 712 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
| 713 | dqqllx: "FDCQ2", | ||
| 714 | }, | ||
| 715 | "80%", | ||
| 716 | true | ||
| 717 | ); | ||
| 718 | }, | ||
| 719 | }, | ||
| 720 | }; | ||
| 721 | </script> | ||
| 722 | <style scoped lang="scss"> | ||
| 723 | @import "~@/styles/public.scss"; | ||
| 724 | @import "~@/styles/slxx/slxx.scss"; | ||
| 725 | /deep/.el-form { | ||
| 726 | display: flex; | ||
| 727 | flex-direction: column; | ||
| 728 | height: calc(100vh - 130px); | ||
| 729 | } | ||
| 730 | |||
| 731 | /deep/.el-form-item__label { | ||
| 732 | padding: 0; | ||
| 733 | } | ||
| 734 | |||
| 735 | /deep/.el-radio { | ||
| 736 | margin-right: 10px; | ||
| 737 | } | ||
| 738 | |||
| 739 | /deep/.el-select { | ||
| 740 | width: 100%; | ||
| 741 | } | ||
| 742 | |||
| 743 | /deep/.el-form-item { | ||
| 744 | margin-bottom: 3px; | ||
| 745 | } | ||
| 746 | |||
| 747 | .marginBot0 { | ||
| 748 | margin-bottom: 0 !important; | ||
| 749 | } | ||
| 750 | |||
| 751 | .slxx { | ||
| 752 | box-sizing: border-box; | ||
| 753 | } | ||
| 754 | |||
| 755 | .slxx_con { | ||
| 756 | flex: 1; | ||
| 757 | height: 100%; | ||
| 758 | background-color: #ffffff; | ||
| 759 | overflow-y: auto; | ||
| 760 | padding-right: 3px; | ||
| 761 | overflow-x: hidden; | ||
| 762 | } | ||
| 763 | |||
| 764 | .submit_btn { | ||
| 765 | height: 50px; | ||
| 766 | } | ||
| 767 | |||
| 768 | .btn { | ||
| 769 | text-align: center; | ||
| 770 | padding-top: 10px; | ||
| 771 | height: 36px; | ||
| 772 | background-color: #ffffff; | ||
| 773 | padding: 5px 0; | ||
| 774 | } | ||
| 775 | |||
| 776 | .textArea { | ||
| 777 | /deep/.el-textarea__inner { | ||
| 778 | min-height: 90px !important; | ||
| 779 | } | ||
| 780 | } | ||
| 781 | |||
| 782 | /deep/.el-form-item__label { | ||
| 783 | padding-bottom: 0px; | ||
| 784 | } | ||
| 785 | </style> | ... | ... |
| ... | @@ -61,6 +61,9 @@ | ... | @@ -61,6 +61,9 @@ |
| 61 | </el-radio-group> | 61 | </el-radio-group> |
| 62 | </el-form-item> | 62 | </el-form-item> |
| 63 | </el-col> | 63 | </el-col> |
| 64 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'"> | ||
| 65 | <el-button @click="compare">变化情况对比+</el-button> | ||
| 66 | </el-col> | ||
| 64 | </el-row> | 67 | </el-row> |
| 65 | <div class="triangle"></div> | 68 | <div class="triangle"></div> |
| 66 | </div> | 69 | </div> |
| ... | @@ -579,6 +582,21 @@ | ... | @@ -579,6 +582,21 @@ |
| 579 | return item.dcode == e; | 582 | return item.dcode == e; |
| 580 | }); | 583 | }); |
| 581 | this.ruleForm.nydsyq.ydyhflmc = itemLx.dname; | 584 | this.ruleForm.nydsyq.ydyhflmc = itemLx.dname; |
| 585 | }, /** | ||
| 586 | * @description: compare | ||
| 587 | * @author: renchao | ||
| 588 | */ | ||
| 589 | compare () { | ||
| 590 | this.$popupDialog( | ||
| 591 | this.ruleForm.qlxx.qllxmc, | ||
| 592 | "registerBook/comparison", | ||
| 593 | { | ||
| 594 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
| 595 | dqqllx: "FDCQ2", | ||
| 596 | }, | ||
| 597 | "80%", | ||
| 598 | true | ||
| 599 | ); | ||
| 582 | }, | 600 | }, |
| 583 | }, | 601 | }, |
| 584 | }; | 602 | }; | ... | ... |
| ... | @@ -67,6 +67,9 @@ | ... | @@ -67,6 +67,9 @@ |
| 67 | </el-radio-group> | 67 | </el-radio-group> |
| 68 | </el-form-item> | 68 | </el-form-item> |
| 69 | </el-col> | 69 | </el-col> |
| 70 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'"> | ||
| 71 | <el-button @click="compare">变化情况对比+</el-button> | ||
| 72 | </el-col> | ||
| 70 | </el-row> | 73 | </el-row> |
| 71 | <div class="triangle"></div> | 74 | <div class="triangle"></div> |
| 72 | </div> | 75 | </div> |
| ... | @@ -487,6 +490,21 @@ | ... | @@ -487,6 +490,21 @@ |
| 487 | upDateYwrxxList (val) { | 490 | upDateYwrxxList (val) { |
| 488 | this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)); | 491 | this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)); |
| 489 | this.key++; | 492 | this.key++; |
| 493 | }, /** | ||
| 494 | * @description: compare | ||
| 495 | * @author: renchao | ||
| 496 | */ | ||
| 497 | compare () { | ||
| 498 | this.$popupDialog( | ||
| 499 | this.ruleForm.qlxx.qllxmc, | ||
| 500 | "registerBook/comparison", | ||
| 501 | { | ||
| 502 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
| 503 | dqqllx: "FDCQ2", | ||
| 504 | }, | ||
| 505 | "80%", | ||
| 506 | true | ||
| 507 | ); | ||
| 490 | }, | 508 | }, |
| 491 | /** | 509 | /** |
| 492 | * @description: onSubmit | 510 | * @description: onSubmit | ... | ... |
| ... | @@ -66,6 +66,9 @@ | ... | @@ -66,6 +66,9 @@ |
| 66 | </el-radio-group> | 66 | </el-radio-group> |
| 67 | </el-form-item> | 67 | </el-form-item> |
| 68 | </el-col> | 68 | </el-col> |
| 69 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'"> | ||
| 70 | <el-button @click="compare">变化情况对比+</el-button> | ||
| 71 | </el-col> | ||
| 69 | </el-row> | 72 | </el-row> |
| 70 | <div class="triangle"></div> | 73 | <div class="triangle"></div> |
| 71 | </div> | 74 | </div> |
| ... | @@ -490,6 +493,21 @@ | ... | @@ -490,6 +493,21 @@ |
| 490 | */ | 493 | */ |
| 491 | updaterow () { | 494 | updaterow () { |
| 492 | this.czr = ""; | 495 | this.czr = ""; |
| 496 | }, /** | ||
| 497 | * @description: compare | ||
| 498 | * @author: renchao | ||
| 499 | */ | ||
| 500 | compare () { | ||
| 501 | this.$popupDialog( | ||
| 502 | this.ruleForm.qlxx.qllxmc, | ||
| 503 | "registerBook/comparison", | ||
| 504 | { | ||
| 505 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
| 506 | dqqllx: "FDCQ2", | ||
| 507 | }, | ||
| 508 | "80%", | ||
| 509 | true | ||
| 510 | ); | ||
| 493 | }, | 511 | }, |
| 494 | /** | 512 | /** |
| 495 | * @description: onSubmit | 513 | * @description: onSubmit | ... | ... |
| ... | @@ -48,8 +48,15 @@ | ... | @@ -48,8 +48,15 @@ |
| 48 | </el-form-item> | 48 | </el-form-item> |
| 49 | </el-col> | 49 | </el-col> |
| 50 | </el-row> | 50 | </el-row> |
| 51 | <div class="slxx_title title-block"> | 51 | <div class="slxx_title title-block"> |
| 52 | 不动产情况 | 52 | <el-row> |
| 53 | <el-col :span="16"> | ||
| 54 | 不动产情况 | ||
| 55 | </el-col> | ||
| 56 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'"> | ||
| 57 | <el-button @click="compare">变化情况对比+</el-button> | ||
| 58 | </el-col> | ||
| 59 | </el-row> | ||
| 53 | <div class="triangle"></div> | 60 | <div class="triangle"></div> |
| 54 | </div> | 61 | </div> |
| 55 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | 62 | <el-row :gutter="10" v-if="ruleForm.qlxx"> |
| ... | @@ -387,6 +394,21 @@ | ... | @@ -387,6 +394,21 @@ |
| 387 | */ | 394 | */ |
| 388 | upDateYwrxxList (val) { | 395 | upDateYwrxxList (val) { |
| 389 | this.ruleForm.ywrList = _.cloneDeep(val); | 396 | this.ruleForm.ywrList = _.cloneDeep(val); |
| 397 | }, /** | ||
| 398 | * @description: compare | ||
| 399 | * @author: renchao | ||
| 400 | */ | ||
| 401 | compare () { | ||
| 402 | this.$popupDialog( | ||
| 403 | this.ruleForm.qlxx.qllxmc, | ||
| 404 | "registerBook/comparison", | ||
| 405 | { | ||
| 406 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
| 407 | dqqllx: "FDCQ2", | ||
| 408 | }, | ||
| 409 | "80%", | ||
| 410 | true | ||
| 411 | ); | ||
| 390 | }, | 412 | }, |
| 391 | /** | 413 | /** |
| 392 | * @description: 是否持证人变化 | 414 | * @description: 是否持证人变化 | ... | ... |
| ... | @@ -49,7 +49,14 @@ | ... | @@ -49,7 +49,14 @@ |
| 49 | </el-col> | 49 | </el-col> |
| 50 | </el-row> | 50 | </el-row> |
| 51 | <div class="slxx_title title-block"> | 51 | <div class="slxx_title title-block"> |
| 52 | 预告买卖登记情况 | 52 | <el-row> |
| 53 | <el-col :span="16"> | ||
| 54 | 预告买卖登记情况 | ||
| 55 | </el-col> | ||
| 56 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'"> | ||
| 57 | <el-button @click="compare">变化情况对比+</el-button> | ||
| 58 | </el-col> | ||
| 59 | </el-row> | ||
| 53 | <div class="triangle"></div> | 60 | <div class="triangle"></div> |
| 54 | </div> | 61 | </div> |
| 55 | <el-row :gutter="10"> | 62 | <el-row :gutter="10"> |
| ... | @@ -419,6 +426,21 @@ | ... | @@ -419,6 +426,21 @@ |
| 419 | */ | 426 | */ |
| 420 | upDateYwrxxList (val) { | 427 | upDateYwrxxList (val) { |
| 421 | this.ruleForm.ywrList = _.cloneDeep(val); | 428 | this.ruleForm.ywrList = _.cloneDeep(val); |
| 429 | }, /** | ||
| 430 | * @description: compare | ||
| 431 | * @author: renchao | ||
| 432 | */ | ||
| 433 | compare () { | ||
| 434 | this.$popupDialog( | ||
| 435 | this.ruleForm.qlxx.qllxmc, | ||
| 436 | "registerBook/comparison", | ||
| 437 | { | ||
| 438 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
| 439 | dqqllx: "FDCQ2", | ||
| 440 | }, | ||
| 441 | "80%", | ||
| 442 | true | ||
| 443 | ); | ||
| 422 | }, | 444 | }, |
| 423 | /** | 445 | /** |
| 424 | * @description: 是否持证人变化 | 446 | * @description: 是否持证人变化 | ... | ... |
| ... | @@ -48,8 +48,15 @@ | ... | @@ -48,8 +48,15 @@ |
| 48 | </el-form-item> | 48 | </el-form-item> |
| 49 | </el-col> | 49 | </el-col> |
| 50 | </el-row> | 50 | </el-row> |
| 51 | <div class="slxx_title title-block"> | 51 | <div class="slxx_title title-block"> |
| 52 | 抵押户信息情况 | 52 | <el-row> |
| 53 | <el-col :span="16"> | ||
| 54 | 抵押户信息情况 | ||
| 55 | </el-col> | ||
| 56 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'"> | ||
| 57 | <el-button @click="compare">变化情况对比+</el-button> | ||
| 58 | </el-col> | ||
| 59 | </el-row> | ||
| 53 | <div class="triangle"></div> | 60 | <div class="triangle"></div> |
| 54 | </div> | 61 | </div> |
| 55 | <el-row :gutter="10"> | 62 | <el-row :gutter="10"> |
| ... | @@ -563,7 +570,23 @@ | ... | @@ -563,7 +570,23 @@ |
| 563 | if (!_.isEqual(val, this.ruleForm.ywrList)) { | 570 | if (!_.isEqual(val, this.ruleForm.ywrList)) { |
| 564 | this.ruleForm.ywrList = _.cloneDeep(val); | 571 | this.ruleForm.ywrList = _.cloneDeep(val); |
| 565 | } | 572 | } |
| 566 | } | 573 | }, |
| 574 | /** | ||
| 575 | * @description: compare | ||
| 576 | * @author: renchao | ||
| 577 | */ | ||
| 578 | compare () { | ||
| 579 | this.$popupDialog( | ||
| 580 | this.ruleForm.qlxx.qllxmc, | ||
| 581 | "registerBook/comparison", | ||
| 582 | { | ||
| 583 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
| 584 | dqqllx: "FDCQ2", | ||
| 585 | }, | ||
| 586 | "80%", | ||
| 587 | true | ||
| 588 | ); | ||
| 589 | }, | ||
| 567 | } | 590 | } |
| 568 | } | 591 | } |
| 569 | </script> | 592 | </script> | ... | ... |
| ... | @@ -4,9 +4,10 @@ | ... | @@ -4,9 +4,10 @@ |
| 4 | * @LastEditTime: 2024-02-23 16:27:17 | 4 | * @LastEditTime: 2024-02-23 16:27:17 |
| 5 | */ | 5 | */ |
| 6 | import Vue from 'vue' | 6 | import Vue from 'vue' |
| 7 | import { getPrintTemplateByCode, getPrintAcceptance, getPrintReceiveSupplementalMaterials } from "@/api/print"; | 7 | import { getPrintTemplateByCode, getPrintAcceptance,getPrintReceiveSupplementalMaterials,getPrintRejectForms,getPrintSendBackMaterials,getPrintRiviseForms} from "@/api/print"; |
| 8 | import { uploadUndo } from "@/api/clxx"; | 8 | import { uploadUndo } from "@/api/clxx"; |
| 9 | import { getLodop } from "@/utils/LodopFuncs"; | 9 | import { getLodop } from "@/utils/LodopFuncs"; |
| 10 | import { getNewDate } from '@/utils/util' | ||
| 10 | import adapter from "@/utils/sqs/adapter"; | 11 | import adapter from "@/utils/sqs/adapter"; |
| 11 | import { | 12 | import { |
| 12 | stepExpandInfo, | 13 | stepExpandInfo, |
| ... | @@ -40,7 +41,8 @@ export default { | ... | @@ -40,7 +41,8 @@ export default { |
| 40 | batchButtonName: '', | 41 | batchButtonName: '', |
| 41 | // 受理申请信息 | 42 | // 受理申请信息 |
| 42 | slsq: {}, | 43 | slsq: {}, |
| 43 | dqhj: "" | 44 | dqhj: "", |
| 45 | newDate: getNewDate() | ||
| 44 | } | 46 | } |
| 45 | }, | 47 | }, |
| 46 | mounted () { | 48 | mounted () { |
| ... | @@ -253,8 +255,12 @@ export default { | ... | @@ -253,8 +255,12 @@ export default { |
| 253 | let key = index + 1 | 255 | let key = index + 1 |
| 254 | this.$set(infoRes.result, "file" + key, it.sjmc) | 256 | this.$set(infoRes.result, "file" + key, it.sjmc) |
| 255 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) | 257 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) |
| 258 | // this.$set(infoRes.result, "file" + key + 'xs', it.) | ||
| 256 | }) | 259 | }) |
| 257 | } | 260 | } |
| 261 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | ||
| 262 | infoRes.result.nowyue = this.newDate.slice(5,7) | ||
| 263 | infoRes.result.nowri = this.newDate.slice(8,10) | ||
| 258 | let date = infoRes.result.sqrq | 264 | let date = infoRes.result.sqrq |
| 259 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] | 265 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] |
| 260 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | 266 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] |
| ... | @@ -279,25 +285,29 @@ export default { | ... | @@ -279,25 +285,29 @@ export default { |
| 279 | } | 285 | } |
| 280 | }) | 286 | }) |
| 281 | break; | 287 | break; |
| 282 | // 补充材料通知书 | 288 | // 补充材料通知书 |
| 283 | case "bccltzs": | 289 | case "bccltzs": |
| 284 | this.$popupDialog("补充材料通知书", "workflow/top/bcclml/index", | 290 | this.$popupDialog("补充材料通知书", "workflow/top/bccltzs/index", |
| 285 | { bsmSlsq: this.$route.query.bsmSlsq, bsmSldy: this.currentSelectProps.bsmSldy }, | 291 | { bsmSlsq: this.$route.query.bsmSlsq, bsmSldy: this.currentSelectProps.bsmSldy,type:"bccltzs" }, |
| 286 | '70%', true) | 292 | '70%', true) |
| 287 | break; | 293 | break; |
| 288 | // 获取补充材料接收凭证 | 294 | // 补充材料接收凭证 |
| 289 | case "slpz": | 295 | case "bccljspz": |
| 290 | getPrintTemplateByCode({ tmpno: 'bdcdjslpz' }).then(res => { | 296 | getPrintTemplateByCode({ tmpno: 'bdcdjbccljspz' }).then(res => { |
| 291 | if (res.code === 200) { | 297 | if (res.code === 200) { |
| 292 | getPrintAcceptance(this.currentSelectProps.bsmSldy).then(infoRes => { | 298 | getPrintReceiveSupplementalMaterials(this.currentSelectProps.bsmSldy).then(infoRes => { |
| 293 | if (infoRes.code === 200) { | 299 | if (infoRes.code === 200) { |
| 294 | if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { | 300 | if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { |
| 295 | infoRes.result.fileList.forEach((it, index) => { | 301 | infoRes.result.fileList.forEach((it, index) => { |
| 296 | let key = index + 1 | 302 | let key = index + 1 |
| 297 | this.$set(infoRes.result, "file" + key, it.sjmc) | 303 | this.$set(infoRes.result, "file" + key, it.sjmc) |
| 298 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) | 304 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) |
| 305 | this.$set(infoRes.result, "file" + key + 'lx', it.sjlx==1?"原件":"复印件") | ||
| 299 | }) | 306 | }) |
| 300 | } | 307 | } |
| 308 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | ||
| 309 | infoRes.result.nowyue = this.newDate.slice(5,7) | ||
| 310 | infoRes.result.nowri = this.newDate.slice(8,10) | ||
| 301 | let date = infoRes.result.sqrq | 311 | let date = infoRes.result.sqrq |
| 302 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] | 312 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] |
| 303 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | 313 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] |
| ... | @@ -322,6 +332,129 @@ export default { | ... | @@ -322,6 +332,129 @@ export default { |
| 322 | } | 332 | } |
| 323 | }) | 333 | }) |
| 324 | break; | 334 | break; |
| 335 | |||
| 336 | // 不予登记告知书 | ||
| 337 | case "bydjgzs": | ||
| 338 | getPrintTemplateByCode({ tmpno: 'bydjgzs' }).then(res => { | ||
| 339 | if (res.code === 200) { | ||
| 340 | getPrintRejectForms(this.currentSelectProps.bsmSldy).then(infoRes => { | ||
| 341 | if (infoRes.code === 200) { | ||
| 342 | if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { | ||
| 343 | infoRes.result.fileList.forEach((it, index) => { | ||
| 344 | let key = index + 1 | ||
| 345 | this.$set(infoRes.result, "file" + key, it.sjmc) | ||
| 346 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) | ||
| 347 | }) | ||
| 348 | } | ||
| 349 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | ||
| 350 | infoRes.result.nowyue = this.newDate.slice(5,7) | ||
| 351 | infoRes.result.nowri = this.newDate.slice(8,10) | ||
| 352 | let date = infoRes.result.sqrq | ||
| 353 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] | ||
| 354 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | ||
| 355 | infoRes.result.sqri = date.split(' ')[0].split('-')[2] | ||
| 356 | console.log(infoRes.result) | ||
| 357 | let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); | ||
| 358 | |||
| 359 | // 装载第一个模板并设置数据 | ||
| 360 | LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent); | ||
| 361 | for (let key in infoRes.result) { | ||
| 362 | LODOP.SET_PRINT_STYLEA(key, "CONTENT", infoRes.result[key]); | ||
| 363 | } | ||
| 364 | |||
| 365 | // 进行预览 | ||
| 366 | LODOP.PREVIEW(); | ||
| 367 | } else { | ||
| 368 | this.$message.error(infoRes.message); | ||
| 369 | } | ||
| 370 | }); | ||
| 371 | } else { | ||
| 372 | this.$message.error(res.message); | ||
| 373 | } | ||
| 374 | }) | ||
| 375 | break; | ||
| 376 | // 申请材料退回通知书 | ||
| 377 | case "sqclthtzs": | ||
| 378 | getPrintTemplateByCode({ tmpno: 'bdcdjsqclthtzs' }).then(res => { | ||
| 379 | if (res.code === 200) { | ||
| 380 | getPrintSendBackMaterials(this.currentSelectProps.bsmSldy).then(infoRes => { | ||
| 381 | if (infoRes.code === 200) { | ||
| 382 | if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { | ||
| 383 | infoRes.result.fileList.forEach((it, index) => { | ||
| 384 | let key = index + 1 | ||
| 385 | this.$set(infoRes.result, "file" + key, it.sjmc) | ||
| 386 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) | ||
| 387 | }) | ||
| 388 | } | ||
| 389 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | ||
| 390 | infoRes.result.nowyue = this.newDate.slice(5,7) | ||
| 391 | infoRes.result.nowri = this.newDate.slice(8,10) | ||
| 392 | let date = infoRes.result.sqrq | ||
| 393 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] | ||
| 394 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | ||
| 395 | infoRes.result.sqri = date.split(' ')[0].split('-')[2] | ||
| 396 | console.log(infoRes.result) | ||
| 397 | let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); | ||
| 398 | |||
| 399 | // 装载第一个模板并设置数据 | ||
| 400 | LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent); | ||
| 401 | for (let key in infoRes.result) { | ||
| 402 | LODOP.SET_PRINT_STYLEA(key, "CONTENT", infoRes.result[key]); | ||
| 403 | } | ||
| 404 | |||
| 405 | // 进行预览 | ||
| 406 | LODOP.PREVIEW(); | ||
| 407 | } else { | ||
| 408 | this.$message.error(infoRes.message); | ||
| 409 | } | ||
| 410 | }); | ||
| 411 | } else { | ||
| 412 | this.$message.error(res.message); | ||
| 413 | } | ||
| 414 | }) | ||
| 415 | break; | ||
| 416 | // 不动产更正登记通知书 | ||
| 417 | case "gzdjtzs": | ||
| 418 | getPrintTemplateByCode({ tmpno: 'bdcgzdjtzs' }).then(res => { | ||
| 419 | if (res.code === 200) { | ||
| 420 | getPrintRiviseForms(this.currentSelectProps.bsmSldy).then(infoRes => { | ||
| 421 | if (infoRes.code === 200) { | ||
| 422 | if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { | ||
| 423 | infoRes.result.fileList.forEach((it, index) => { | ||
| 424 | let key = index + 1 | ||
| 425 | this.$set(infoRes.result, "file" + key, it.sjmc) | ||
| 426 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) | ||
| 427 | |||
| 428 | }) | ||
| 429 | } | ||
| 430 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | ||
| 431 | infoRes.result.nowyue = this.newDate.slice(5,7) | ||
| 432 | infoRes.result.nowri = this.newDate.slice(8,10) | ||
| 433 | let date = infoRes.result.sqrq | ||
| 434 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] | ||
| 435 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | ||
| 436 | infoRes.result.sqri = date.split(' ')[0].split('-')[2] | ||
| 437 | console.log(infoRes.result) | ||
| 438 | let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); | ||
| 439 | |||
| 440 | // 装载第一个模板并设置数据 | ||
| 441 | LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent); | ||
| 442 | for (let key in infoRes.result) { | ||
| 443 | LODOP.SET_PRINT_STYLEA(key, "CONTENT", infoRes.result[key]); | ||
| 444 | } | ||
| 445 | |||
| 446 | // 进行预览 | ||
| 447 | LODOP.PREVIEW(); | ||
| 448 | } else { | ||
| 449 | this.$message.error(infoRes.message); | ||
| 450 | } | ||
| 451 | }); | ||
| 452 | } else { | ||
| 453 | this.$message.error(res.message); | ||
| 454 | } | ||
| 455 | }) | ||
| 456 | break; | ||
| 457 | |||
| 325 | } | 458 | } |
| 326 | }, | 459 | }, |
| 327 | /** | 460 | /** | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description:补充材料通知书 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2024-02-26 09:04:04 | 4 | * @LastEditTime: 2024-02-26 09:04:04 |
| 5 | --> | 5 | --> |
| ... | @@ -20,6 +20,7 @@ | ... | @@ -20,6 +20,7 @@ |
| 20 | import { ywPopupCacel } from "@/utils/popup.js"; | 20 | import { ywPopupCacel } from "@/utils/popup.js"; |
| 21 | import { getLodop } from "@/utils/LodopFuncs"; | 21 | import { getLodop } from "@/utils/LodopFuncs"; |
| 22 | import { updateClml, InitClml } from "@/api/clxx.js"; | 22 | import { updateClml, InitClml } from "@/api/clxx.js"; |
| 23 | import { getNewDate } from '@/utils/util' | ||
| 23 | import { getPrintTemplateByCode, getPrintSupplementalMaterials } from "@/api/print"; | 24 | import { getPrintTemplateByCode, getPrintSupplementalMaterials } from "@/api/print"; |
| 24 | export default { | 25 | export default { |
| 25 | props: { | 26 | props: { |
| ... | @@ -35,6 +36,7 @@ | ... | @@ -35,6 +36,7 @@ |
| 35 | selectList: [], | 36 | selectList: [], |
| 36 | loading: false, | 37 | loading: false, |
| 37 | sortable: null, | 38 | sortable: null, |
| 39 | newDate: getNewDate(), | ||
| 38 | column: [ | 40 | column: [ |
| 39 | { | 41 | { |
| 40 | type: 'selection', | 42 | type: 'selection', |
| ... | @@ -127,20 +129,27 @@ | ... | @@ -127,20 +129,27 @@ |
| 127 | this.loading = true | 129 | this.loading = true |
| 128 | if (this.selectList.length == 0) { | 130 | if (this.selectList.length == 0) { |
| 129 | this.$message.error('请先选择材料目录') | 131 | this.$message.error('请先选择材料目录') |
| 132 | this.loading = false | ||
| 130 | return | 133 | return |
| 131 | } | 134 | } |
| 132 | getPrintTemplateByCode({ tmpno: 'bdcdjbccltts' }).then(res => { | 135 | getPrintTemplateByCode({ tmpno: 'bdcdjbccltts' }).then(res => { |
| 133 | if (res.code === 200) { | 136 | if (res.code === 200) { |
| 137 | console.log("this.selectListssssssssss",this.selectList); | ||
| 134 | getPrintSupplementalMaterials(this.formData.bsmSldy, this.selectList).then(infoRes => { | 138 | getPrintSupplementalMaterials(this.formData.bsmSldy, this.selectList).then(infoRes => { |
| 135 | this.loading = false | 139 | this.loading = false |
| 136 | if (infoRes.code === 200) { | 140 | if (infoRes.code === 200) { |
| 141 | console.log("infoRes.resultsssssssssss",infoRes.result); | ||
| 137 | if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { | 142 | if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { |
| 138 | infoRes.result.fileList.forEach((it, index) => { | 143 | infoRes.result.fileList.forEach((it, index) => { |
| 139 | let key = index + 1 | 144 | let key = index + 1 |
| 140 | this.$set(infoRes.result, "file" + key, it.sjmc) | 145 | this.$set(infoRes.result, "file" + key, it.sjmc) |
| 141 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) | 146 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) |
| 147 | this.$set(infoRes.result, "file" + key + 'lx', it.sjlx==1?"原件":"复印件") | ||
| 142 | }) | 148 | }) |
| 143 | } | 149 | } |
| 150 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | ||
| 151 | infoRes.result.nowyue = this.newDate.slice(5,7) | ||
| 152 | infoRes.result.nowri = this.newDate.slice(8,10) | ||
| 144 | let date = infoRes.result.sqrq | 153 | let date = infoRes.result.sqrq |
| 145 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] | 154 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] |
| 146 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | 155 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | ... | ... |
| ... | @@ -152,9 +152,12 @@ | ... | @@ -152,9 +152,12 @@ |
| 152 | } | 152 | } |
| 153 | 153 | ||
| 154 | .iconName { | 154 | .iconName { |
| 155 | line-height: 24px; | 155 | height: 10px; |
| 156 | text-align: center; | ||
| 157 | line-height: 15px; | ||
| 156 | font-size: 12px; | 158 | font-size: 12px; |
| 157 | white-space: nowrap; | 159 | width: 70px; |
| 160 | // white-space: nowrap; | ||
| 158 | } | 161 | } |
| 159 | 162 | ||
| 160 | .container { | 163 | .container { |
| ... | @@ -242,4 +245,4 @@ | ... | @@ -242,4 +245,4 @@ |
| 242 | position: absolute; | 245 | position: absolute; |
| 243 | left: 0; | 246 | left: 0; |
| 244 | bottom: 0; | 247 | bottom: 0; |
| 245 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 248 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-11-16 16:48:57 | 4 | * @LastEditTime: 2024-03-04 14:13:04 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -58,7 +58,7 @@ | ... | @@ -58,7 +58,7 @@ |
| 58 | label="选择" | 58 | label="选择" |
| 59 | width="50"> | 59 | width="50"> |
| 60 | <template slot-scope="scope"> | 60 | <template slot-scope="scope"> |
| 61 | <el-radio v-model="radioVal" @change="handleSelect" @click.native.stop :label="scope.row.bdcdyh">{{''}}</el-radio> | 61 | <el-radio v-model="radioVal" @change="handleSelect" @click.native.stop :label="scope.row.bhqkbsm">{{''}}</el-radio> |
| 62 | </template> | 62 | </template> |
| 63 | </el-table-column> | 63 | </el-table-column> |
| 64 | <el-table-column | 64 | <el-table-column |
| ... | @@ -106,7 +106,7 @@ | ... | @@ -106,7 +106,7 @@ |
| 106 | property="syqmj" | 106 | property="syqmj" |
| 107 | label="面积"> | 107 | label="面积"> |
| 108 | </el-table-column> | 108 | </el-table-column> |
| 109 | <el-table-column | 109 | <el-table-column |
| 110 | property="qlytmc" | 110 | property="qlytmc" |
| 111 | label="用途"> | 111 | label="用途"> |
| 112 | </el-table-column> | 112 | </el-table-column> |
| ... | @@ -287,7 +287,7 @@ | ... | @@ -287,7 +287,7 @@ |
| 287 | */ | 287 | */ |
| 288 | handleRowClick (row) { | 288 | handleRowClick (row) { |
| 289 | this.queryForm.bhqkbsm = row.bhqkbsm | 289 | this.queryForm.bhqkbsm = row.bhqkbsm |
| 290 | //this.radioVal = row.bdcdyh | 290 | this.radioVal = row.bhqkbsm |
| 291 | //row.bglx = '1' | 291 | //row.bglx = '1' |
| 292 | selectZdjbxxSplitMerge({ ...this.queryForm }).then((res) => { | 292 | selectZdjbxxSplitMerge({ ...this.queryForm }).then((res) => { |
| 293 | this.$endLoading(); | 293 | this.$endLoading(); | ... | ... |
-
Please register or sign in to post a comment