style:宗地基本信息
Showing
5 changed files
with
20 additions
and
61 deletions
1 | .tableDivCss { | 1 | .tableDivCss { |
2 | width: 100%; | 2 | width: 100%; |
3 | height: 100%; | 3 | height: 95%; |
4 | background-color: #f5f5f5; | 4 | background-color: #f5f5f5; |
5 | padding: 5px; | 5 | padding: 5px; |
6 | overflow-y: scroll; | 6 | overflow-y: scroll; |
7 | box-sizing: border-box; | ||
7 | } | 8 | } |
8 | 9 | ||
9 | .tableCss { | 10 | .tableCss { | ... | ... |
1 | /* | 1 | /* |
2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 | 2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-26 14:25:23 | 4 | * @LastEditTime: 2023-12-19 10:02:20 |
5 | */ | 5 | */ |
6 | import { getPrintTemplateByCode } from "@/api/print"; | 6 | import { getPrintTemplateByCode } from "@/api/print"; |
7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; | 7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; |
... | @@ -143,27 +143,9 @@ export default { | ... | @@ -143,27 +143,9 @@ export default { |
143 | } | 143 | } |
144 | break; | 144 | break; |
145 | case "B6": | 145 | case "B6": |
146 | //根据编号获取对应信息 | 146 | this.$popupDialog("打印申请书", "workflow/components/dialog/sqs", |
147 | getPrintTemplateByCode({ tmpno: 'dysqs' }).then(res => { | 147 | { bsmSldy: this.currentSelectProps.bsmSldy }, '30%', true |
148 | if (res.code == 200) { | 148 | ) |
149 | getPrintApplicationForm(this.currentSelectProps.bsmSldy).then(infoRes => { | ||
150 | if (infoRes.code == 200) { | ||
151 | //打开模板设计 | ||
152 | let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); | ||
153 | LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent); //装载模板 | ||
154 | //todo 调取后端接口获取数据 循环set | ||
155 | for (let key in infoRes.result) { | ||
156 | LODOP.SET_PRINT_STYLEA(key, "CONTENT", infoRes.result[key]); | ||
157 | } | ||
158 | LODOP.PREVIEW(); | ||
159 | } else { | ||
160 | this.$message.error(infoRes.message) | ||
161 | } | ||
162 | }) | ||
163 | } else { | ||
164 | this.$message.error(res.message) | ||
165 | } | ||
166 | }) | ||
167 | break; | 149 | break; |
168 | case "B7": | 150 | case "B7": |
169 | this.$popupDialog("证书领取", "workflow/components/dialog/zslq", | 151 | this.$popupDialog("证书领取", "workflow/components/dialog/zslq", | ... | ... |
... | @@ -219,10 +219,9 @@ | ... | @@ -219,10 +219,9 @@ |
219 | </script> | 219 | </script> |
220 | <style lang="scss" scoped> | 220 | <style lang="scss" scoped> |
221 | @import "~@/styles/tablecss.scss"; | 221 | @import "~@/styles/tablecss.scss"; |
222 | .tableDivCss{ | 222 | .tableDivCss { |
223 | width: 100%; | 223 | width: 100%; |
224 | height: 100%; | 224 | height: 100%; |
225 | background-color: rgb(255, 255, 255); | 225 | background-color: rgb(255, 255, 255); |
226 | |||
227 | } | 226 | } |
228 | </style> | 227 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description :宗地基本信息 | 2 | * @Description :宗地基本信息 |
3 | * @Autor : miaofang | 3 | * @Autor : miaofang |
4 | * @LastEditTime: 2023-08-04 10:06:45 | 4 | * @LastEditTime: 2023-12-19 14:48:11 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="tableDivCss"> | 7 | <div class="tableDivCss"> |
... | @@ -29,7 +29,7 @@ | ... | @@ -29,7 +29,7 @@ |
29 | <td style="width: 15%">宗地面积</td> | 29 | <td style="width: 15%">宗地面积</td> |
30 | <td style="width: 30%">{{ zdjbxx.zdmj }}m²</td> | 30 | <td style="width: 30%">{{ zdjbxx.zdmj }}m²</td> |
31 | <td style="width: 15%">用途</td> | 31 | <td style="width: 15%">用途</td> |
32 | <td style="width: 30%">{{ zdjbxx.yt | dicyt("tdyt") }}</td> | 32 | <td style="width: 30%">{{ zdjbxx.ghytmc }}</td> |
33 | </tr> | 33 | </tr> |
34 | <tr> | 34 | <tr> |
35 | <td>等级</td> | 35 | <td>等级</td> |
... | @@ -112,11 +112,11 @@ | ... | @@ -112,11 +112,11 @@ |
112 | </template> | 112 | </template> |
113 | 113 | ||
114 | <script> | 114 | <script> |
115 | import store from "@/store/index.js"; | 115 | import store from "@/store/index.js"; |
116 | import { getZdjjxxBybdcdyid } from "@/api/djbDetail.js"; | 116 | import { getZdjjxxBybdcdyid } from "@/api/djbDetail.js"; |
117 | 117 | ||
118 | export default { | 118 | export default { |
119 | data() { | 119 | data () { |
120 | return { | 120 | return { |
121 | printObj: { | 121 | printObj: { |
122 | id: "box", | 122 | id: "box", |
... | @@ -197,7 +197,7 @@ export default { | ... | @@ -197,7 +197,7 @@ export default { |
197 | } | 197 | } |
198 | }, | 198 | }, |
199 | }, | 199 | }, |
200 | created() { | 200 | created () { |
201 | this.loadData(); | 201 | this.loadData(); |
202 | }, | 202 | }, |
203 | methods: { | 203 | methods: { |
... | @@ -205,7 +205,7 @@ export default { | ... | @@ -205,7 +205,7 @@ export default { |
205 | * @description: loadData | 205 | * @description: loadData |
206 | * @author: renchao | 206 | * @author: renchao |
207 | */ | 207 | */ |
208 | loadData() { | 208 | loadData () { |
209 | getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | 209 | getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { |
210 | if (res.code === 200) { | 210 | if (res.code === 200) { |
211 | this.zdjbxx = res.result.zdjbxx; | 211 | this.zdjbxx = res.result.zdjbxx; |
... | @@ -218,11 +218,11 @@ export default { | ... | @@ -218,11 +218,11 @@ export default { |
218 | }, | 218 | }, |
219 | 219 | ||
220 | }, | 220 | }, |
221 | }; | 221 | }; |
222 | </script> | 222 | </script> |
223 | <style lang="scss" scoped> | 223 | <style lang="scss" scoped> |
224 | @import "~@/styles/tablecss.scss"; | 224 | @import "~@/styles/tablecss.scss"; |
225 | .tableDivCss { | 225 | .tableDivCss { |
226 | position: relative; | 226 | position: relative; |
227 | .print { | 227 | .print { |
228 | display: inline; | 228 | display: inline; |
... | @@ -232,5 +232,5 @@ export default { | ... | @@ -232,5 +232,5 @@ export default { |
232 | left: 11px; | 232 | left: 11px; |
233 | top: 11px; | 233 | top: 11px; |
234 | } | 234 | } |
235 | } | 235 | } |
236 | </style> | 236 | </style> | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-22 17:05:55 | 4 | * @LastEditTime: 2023-12-19 10:02:03 |
5 | */ | 5 | */ |
6 | import Vue from 'vue' | 6 | import Vue from 'vue' |
7 | import { getPrintTemplateByCode } from "@/api/print"; | 7 | import { getPrintTemplateByCode } from "@/api/print"; |
... | @@ -137,29 +137,6 @@ export default { | ... | @@ -137,29 +137,6 @@ export default { |
137 | this.$popupDialog("打印申请书", "workflow/components/dialog/sqs", | 137 | this.$popupDialog("打印申请书", "workflow/components/dialog/sqs", |
138 | { bsmSldy: this.currentSelectProps.bsmSldy }, '30%', true | 138 | { bsmSldy: this.currentSelectProps.bsmSldy }, '30%', true |
139 | ) | 139 | ) |
140 | //根据编号获取对应信息 | ||
141 | // getPrintTemplateByCode({ tmpno: Vue.prototype.BASE_API.adapter }).then(res => { | ||
142 | // if (res.code === 200) { | ||
143 | // getPrintApplicationForm(this.currentSelectProps.bsmSldy).then(infoRes => { | ||
144 | // if (infoRes.code === 200) { | ||
145 | // let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); | ||
146 | |||
147 | // // 装载第一个模板并设置数据 | ||
148 | // LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent); | ||
149 | // for (let key in infoRes.result) { | ||
150 | // LODOP.SET_PRINT_STYLEA(key, "CONTENT", infoRes.result[key]); | ||
151 | // } | ||
152 | |||
153 | // // 进行预览 | ||
154 | // LODOP.PREVIEW(); | ||
155 | // } else { | ||
156 | // this.$message.error(infoRes.message); | ||
157 | // } | ||
158 | // }); | ||
159 | // } else { | ||
160 | // this.$message.error(res.message); | ||
161 | // } | ||
162 | // }) | ||
163 | break; | 140 | break; |
164 | case "B7": | 141 | case "B7": |
165 | this.$popupDialog("证书领取", "workflow/components/dialog/zslq", | 142 | this.$popupDialog("证书领取", "workflow/components/dialog/zslq", | ... | ... |
-
Please register or sign in to post a comment