缮证页面
Showing
3 changed files
with
214 additions
and
15 deletions
| ... | @@ -122,3 +122,19 @@ export function record (data) { | ... | @@ -122,3 +122,19 @@ export function record (data) { | 
| 122 | data | 122 | data | 
| 123 | }) | 123 | }) | 
| 124 | } | 124 | } | 
| 125 | // 获取不动产权证列表 | ||
| 126 | export function getBdcqzList (params) { | ||
| 127 | return request({ | ||
| 128 | url: '/business/workFlow/getBdcqzList', | ||
| 129 | method: 'get', | ||
| 130 | params: params | ||
| 131 | }) | ||
| 132 | } | ||
| 133 | // 获取印刷序列号 | ||
| 134 | export function readYsxlh (params) { | ||
| 135 | return request({ | ||
| 136 | url: '/business/workFlow/readYsxlh', | ||
| 137 | method: 'get', | ||
| 138 | params: params | ||
| 139 | }) | ||
| 140 | } | ... | ... | 
src/views/ywbl/fqsq/components/szxx.vue
0 → 100644
| 1 | <template> | ||
| 2 | <div class="szxx"> | ||
| 3 | <el-card class="box-card" v-for="(item,index) in tableData" :key="index"> | ||
| 4 | <div slot="header" class="szxx_header"> | ||
| 5 | <span class="header_type">{{item.bdcqzlx == 1 ? '不动产权证书' : '不动产登记证明'}}</span> | ||
| 6 | <div class="header_text">{{item.bdcqzh}}</div> | ||
| 7 | </div> | ||
| 8 | <div class="szxx_body card_padding"> | ||
| 9 | <div class="text color_iray"> | ||
| 10 | <span>{{item.qllxmc}}</span> | ||
| 11 | </div> | ||
| 12 | <div class="text color_red"> | ||
| 13 | <span>{{item.qlr}}</span> | ||
| 14 | </div> | ||
| 15 | <div class="text color_iray"> | ||
| 16 | <span>{{item.gyfs == 1 ? '单独所有' : item.gyfs == 2 ? '共同共有' : '按份所有'}}</span> | ||
| 17 | </div> | ||
| 18 | <div class="text color_red"> | ||
| 19 | <span>{{item.bdcdyh}}</span> | ||
| 20 | </div> | ||
| 21 | <div class="text color_iray"> | ||
| 22 | <span>{{item.yt}}</span> | ||
| 23 | </div> | ||
| 24 | <div class="text color_red"> | ||
| 25 | <span>{{item.mj}}</span> | ||
| 26 | </div> | ||
| 27 | <div class="text color_iray"> | ||
| 28 | <span>{{item.syqx}}</span> | ||
| 29 | </div> | ||
| 30 | <div v-if="item.ysxlh"> | ||
| 31 | <div class="top_line middle_margin"></div> | ||
| 32 | <div class="text color_iray"> | ||
| 33 | <span>印刷序列号:{{item.ysxlh}}</span> | ||
| 34 | </div> | ||
| 35 | </div> | ||
| 36 | </div> | ||
| 37 | <div class="card_padding"> | ||
| 38 | <div class="top_line middle_margin"></div> | ||
| 39 | <div class="text"> | ||
| 40 | <el-button class="operation_button" type="text" @click="openZsylDialog(item)">证书预览</el-button> | ||
| 41 | <el-button class="operation_button" type="text">证书打印(1)</el-button> | ||
| 42 | </div> | ||
| 43 | </div> | ||
| 44 | </el-card> | ||
| 45 | <zsylDialog ref="zsylDialog" v-model="zsylFlag" :value='zsylFlag'/> | ||
| 46 | </div> | ||
| 47 | </template> | ||
| 48 | <script> | ||
| 49 | import zsylDialog from "./zsyl"; | ||
| 50 | import { getBdcqzList } from "@/api/fqsq.js"; | ||
| 51 | |||
| 52 | export default { | ||
| 53 | components: { zsylDialog }, | ||
| 54 | props: { | ||
| 55 | |||
| 56 | }, | ||
| 57 | |||
| 58 | data() { | ||
| 59 | return { | ||
| 60 | tableData: [], | ||
| 61 | zsylFlag: false, | ||
| 62 | bdcqzlx: 1, | ||
| 63 | bdcqz: {} | ||
| 64 | }; | ||
| 65 | }, | ||
| 66 | async created() { | ||
| 67 | var bsmSldy = this.$parent._data.unitData[0].bsmSldy; | ||
| 68 | this.list(bsmSldy); | ||
| 69 | }, | ||
| 70 | methods: { | ||
| 71 | list(bsmSldy){ | ||
| 72 | getBdcqzList({bsmSldy:bsmSldy}).then(res => { | ||
| 73 | if (res.code === 200) { | ||
| 74 | this.tableData = res.result | ||
| 75 | } | ||
| 76 | }) | ||
| 77 | }, | ||
| 78 | openZsylDialog(item){ | ||
| 79 | this.zsylFlag = true; | ||
| 80 | this.bdcqz = item; | ||
| 81 | this.$nextTick(() => { | ||
| 82 | this.$refs.zsylDialog.ysxlhList(); | ||
| 83 | }); | ||
| 84 | } | ||
| 85 | }, | ||
| 86 | }; | ||
| 87 | </script> | ||
| 88 | <style scoped lang='scss'> | ||
| 89 | @import "~@/styles/public.scss"; | ||
| 90 | .szxx { | ||
| 91 | box-sizing: border-box; | ||
| 92 | padding-right: 15px; | ||
| 93 | width: 100%; | ||
| 94 | height: 600px; | ||
| 95 | overflow-y: scroll; | ||
| 96 | .box-card { | ||
| 97 | float: left; | ||
| 98 | width: 330px; | ||
| 99 | margin-top: 20px; | ||
| 100 | margin-right: 20px; | ||
| 101 | height: 440px; | ||
| 102 | .szxx_body { | ||
| 103 | height: 240px; | ||
| 104 | } | ||
| 105 | } | ||
| 106 | } | ||
| 107 | |||
| 108 | .szxx_header { | ||
| 109 | color:white; | ||
| 110 | font-weight:bolder; | ||
| 111 | font-size: 18px; | ||
| 112 | .header_type{ | ||
| 113 | display: flex; | ||
| 114 | justify-content: center; | ||
| 115 | align-content: center; | ||
| 116 | } | ||
| 117 | .header_text{ | ||
| 118 | text-align: center; | ||
| 119 | margin-top:10px; | ||
| 120 | height: 50px; | ||
| 121 | line-height: 30px; | ||
| 122 | } | ||
| 123 | } | ||
| 124 | .top_line { | ||
| 125 | border-top: 2px solid rgb(222,222,222); | ||
| 126 | } | ||
| 127 | .text { | ||
| 128 | margin-bottom: 10px; | ||
| 129 | text-align: center; | ||
| 130 | } | ||
| 131 | .color_iray { | ||
| 132 | color: rgb(153,153,153); | ||
| 133 | } | ||
| 134 | .color_red { | ||
| 135 | color: rgb(255,89,24); | ||
| 136 | } | ||
| 137 | .middle_margin { | ||
| 138 | margin-bottom: 10px; | ||
| 139 | } | ||
| 140 | .operation_button { | ||
| 141 | border: 1px solid rgb(0,121,254); | ||
| 142 | padding: 15px 10px; | ||
| 143 | text-align: center; | ||
| 144 | width: 100px; | ||
| 145 | } | ||
| 146 | .card_padding { | ||
| 147 | padding-top:20px | ||
| 148 | } | ||
| 149 | |||
| 150 | /deep/.el-card__header{ | ||
| 151 | background-color: rgb(198,67,83); | ||
| 152 | } | ||
| 153 | /deep/.el-card__body{ | ||
| 154 | padding: 0px | ||
| 155 | } | ||
| 156 | </style> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | 
| ... | @@ -3,6 +3,17 @@ | ... | @@ -3,6 +3,17 @@ | 
| 3 | @closeDialog="closeDialog" v-model="value"> | 3 | @closeDialog="closeDialog" v-model="value"> | 
| 4 | <div class="from-clues"> | 4 | <div class="from-clues"> | 
| 5 | <!-- 表单部分 --> | 5 | <!-- 表单部分 --> | 
| 6 | <div class="middle_padding" v-if="zslx"> | ||
| 7 | <span>印刷序列号:</span> | ||
| 8 | <el-select v-model="selectYsxlh" placeholder="请选择"> | ||
| 9 | <el-option | ||
| 10 | v-for="item in ysxlh" | ||
| 11 | :key="item.bsmZswj" | ||
| 12 | :label="item.ysxlh" | ||
| 13 | :value="item.bsmZswj"> | ||
| 14 | </el-option> | ||
| 15 | </el-select> | ||
| 16 | </div> | ||
| 6 | <div class="zsyl-box"> | 17 | <div class="zsyl-box"> | 
| 7 | <div class="zsyl-left"> | 18 | <div class="zsyl-left"> | 
| 8 | <div class="zsyl-title"> | 19 | <div class="zsyl-title"> | 
| ... | @@ -22,19 +33,21 @@ | ... | @@ -22,19 +33,21 @@ | 
| 22 | <div class="zsyl-text"></div> | 33 | <div class="zsyl-text"></div> | 
| 23 | </div> | 34 | </div> | 
| 24 | </div> | 35 | </div> | 
| 36 | <div class="zsyl-button" v-if="zslx"> | ||
| 37 | <el-button class="operation_button dy-button" type="text">打印证书</el-button> | ||
| 38 | <el-button class="operation_button gb-button" type="text" @click="closeDialog()">关闭</el-button> | ||
| 39 | </div> | ||
| 25 | </div> | 40 | </div> | 
| 26 | </dialogBox> | 41 | </dialogBox> | 
| 27 | </template> | 42 | </template> | 
| 28 | 43 | ||
| 29 | <script> | 44 | <script> | 
| 30 | import { getTaskBackNode,sendBackTask } from "@/api/fqsq.js" | 45 | import { readYsxlh } from "@/api/fqsq.js" | 
| 31 | export default { | 46 | export default { | 
| 32 | components: { | 47 | components: { | 
| 33 | }, | 48 | }, | 
| 34 | props: { | 49 | props: { | 
| 35 | value: { type: Boolean, default: false }, | 50 | value: { type: Boolean, default: false }, | 
| 36 | queryForm:{type:Object}, | ||
| 37 | bsmBusiness:{type:String} | ||
| 38 | }, | 51 | }, | 
| 39 | data () { | 52 | data () { | 
| 40 | const columns=[ | 53 | const columns=[ | 
| ... | @@ -58,6 +71,9 @@ export default { | ... | @@ -58,6 +71,9 @@ export default { | 
| 58 | 71 | ||
| 59 | ]; | 72 | ]; | 
| 60 | return { | 73 | return { | 
| 74 | ysxlh: [], | ||
| 75 | selectYsxlh: '', | ||
| 76 | zslx: '', | ||
| 61 | columns, | 77 | columns, | 
| 62 | tableData:[{ | 78 | tableData:[{ | 
| 63 | activityName:'权利人', | 79 | activityName:'权利人', | 
| ... | @@ -93,21 +109,17 @@ export default { | ... | @@ -93,21 +109,17 @@ export default { | 
| 93 | } | 109 | } | 
| 94 | }, | 110 | }, | 
| 95 | mounted(){ | 111 | mounted(){ | 
| 96 | // if(this.$route.query.bsmSlsq){ | ||
| 97 | // this.list.bsmSlsq = this.$route.query.bsmSlsq | ||
| 98 | // } | ||
| 99 | }, | 112 | }, | 
| 100 | methods: { | 113 | methods: { | 
| 101 | 114 | ysxlhList() { | |
| 102 | tablelistFn(){ | 115 | this.zslx = this.$parent.bdcqzlx | 
| 103 | // getTaskBackNode({taskId:this.taskId}).then(res => { | 116 | readYsxlh({zslx:this.$parent.bdcqzlx}).then(res => { | 
| 104 | // if (res.code === 200) { | 117 | if (res.code === 200) { | 
| 105 | // this.tableData = res.result | 118 | this.ysxlh = res.result | 
| 106 | // } | 119 | } | 
| 107 | // }) | 120 | }) | 
| 121 | |||
| 108 | }, | 122 | }, | 
| 109 | |||
| 110 | |||
| 111 | closeDialog () { | 123 | closeDialog () { | 
| 112 | this.$emit("input", false); | 124 | this.$emit("input", false); | 
| 113 | }, | 125 | }, | 
| ... | @@ -150,4 +162,19 @@ export default { | ... | @@ -150,4 +162,19 @@ export default { | 
| 150 | background: #FAFBE5!important; | 162 | background: #FAFBE5!important; | 
| 151 | } | 163 | } | 
| 152 | } | 164 | } | 
| 165 | .middle_padding { | ||
| 166 | padding-bottom: 10px; | ||
| 167 | } | ||
| 168 | .zsyl-button{ | ||
| 169 | text-align: center; | ||
| 170 | margin-top: 20px; | ||
| 171 | .operation_button{ | ||
| 172 | width: 100px; | ||
| 173 | border: 1px solid rgb(0,121,254); | ||
| 174 | } | ||
| 175 | .dy-button { | ||
| 176 | color: white; | ||
| 177 | background-color: rgb(0,121,254); | ||
| 178 | } | ||
| 179 | } | ||
| 153 | </style> | 180 | </style> | ... | ... | 
- 
Please register or sign in to post a comment