1111
Showing
4 changed files
with
183 additions
and
23 deletions
| ... | @@ -242,6 +242,10 @@ export default { | ... | @@ -242,6 +242,10 @@ export default { |
| 242 | case "B-HLGXSJ": | 242 | case "B-HLGXSJ": |
| 243 | this.$popupDialog("互联网数据共享", "sjgx/gbmhlgxsjgx/gbmhlgxsjgx", {}, '90%', true) | 243 | this.$popupDialog("互联网数据共享", "sjgx/gbmhlgxsjgx/gbmhlgxsjgx", {}, '90%', true) |
| 244 | break; | 244 | break; |
| 245 | //查封回执单 | ||
| 246 | case "cfhzd": | ||
| 247 | this.$popupDialog("查封回执单", "workflow/top/receipt/cfhzd", {}, '90%', true) | ||
| 248 | break; | ||
| 245 | } | 249 | } |
| 246 | }, | 250 | }, |
| 247 | /** | 251 | /** | ... | ... |
src/views/workflow/top/receipt/cfhzd.vue
0 → 100644
| 1 | <!-- | ||
| 2 | * @Description: | ||
| 3 | * @Autor: miaofang | ||
| 4 | * @LastEditTime: 2023-07-19 09:52:42 | ||
| 5 | --> | ||
| 6 | <template> | ||
| 7 | <div class="fm" id="boxaaa"> | ||
| 8 | <div class="title">不动产登记簿</div> | ||
| 9 | <div class="title">(回执)</div> | ||
| 10 | <p class="bian"> | ||
| 11 | 编号: <span>{{ Receiptdata.sldyList[0].ybdcqzsh||"" }}</span> | ||
| 12 | </p> | ||
| 13 | <div class="texts"> | ||
| 14 | <p class="jsjg">{{ Receiptdata.cfdjList[0].cfjg }}:</p> | ||
| 15 | <p class="concent"> | ||
| 16 | <span>{{ sj }}</span> ,你院协助执行通知书订单号为:<font>{{ | ||
| 17 | Receiptdata.qlxxList[0].ywh||"" | ||
| 18 | }}</font | ||
| 19 | >收悉,具体执行情况如下。 | ||
| 20 | </p> | ||
| 21 | </div> | ||
| 22 | |||
| 23 | <p class="bian">{{ Receiptdata.user.organizationName }}</p> | ||
| 24 | <p class="bian">{{ sj }}(盖章)</p> | ||
| 25 | <table class="xxTable"> | ||
| 26 | <tr> | ||
| 27 | <td>序号</td> | ||
| 28 | <td>坐落</td> | ||
| 29 | <td>控制反馈</td> | ||
| 30 | <td>控制措施</td> | ||
| 31 | </tr> | ||
| 32 | <tr v-for="(item, index) in Receiptdata.sldyList" :key="index"> | ||
| 33 | <td>{{ index + 1 }}</td> | ||
| 34 | <td>{{ item.zl }}</td> | ||
| 35 | <td>已控</td> | ||
| 36 | <td>{{ item.djlxmc }}</td> | ||
| 37 | </tr> | ||
| 38 | </table> | ||
| 39 | </div> | ||
| 40 | </template> | ||
| 41 | |||
| 42 | |||
| 43 | <script> | ||
| 44 | import { BatchInit } from "@/api/workflow/cfdjFlow.js"; | ||
| 45 | export default { | ||
| 46 | props: { | ||
| 47 | Receiptdata: { | ||
| 48 | type: Object, | ||
| 49 | default: {}, | ||
| 50 | }, | ||
| 51 | }, | ||
| 52 | data() { | ||
| 53 | return { | ||
| 54 | sj: "", | ||
| 55 | data:false | ||
| 56 | }; | ||
| 57 | }, | ||
| 58 | mounted() { | ||
| 59 | this.loadData(); | ||
| 60 | }, | ||
| 61 | watch: { | ||
| 62 | Receiptdata: { | ||
| 63 | handler(newValue, oldValue) { | ||
| 64 | this.$nextTick(() => { | ||
| 65 | this.Receiptdata = newValue; | ||
| 66 | this.loadData(); | ||
| 67 | }); | ||
| 68 | }, | ||
| 69 | }, | ||
| 70 | }, | ||
| 71 | methods: { | ||
| 72 | openPrint () { | ||
| 73 | // 获取打印回执数据 | ||
| 74 | var formdata = new FormData(); | ||
| 75 | formdata.append("bsmSldy", this.currentSelectProps.bsmSldy); | ||
| 76 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | ||
| 77 | formdata.append("djlx", this.currentSelectProps.djlx); | ||
| 78 | BatchInit(formdata).then((res) => { | ||
| 79 | if (res.code === 200 && res.result) { | ||
| 80 | this.Receiptdata = res.result | ||
| 81 | this.shows = true | ||
| 82 | setTimeout(() => { | ||
| 83 | this.prinsss() | ||
| 84 | }, 100) | ||
| 85 | } else { | ||
| 86 | this.$message.error(res.message) | ||
| 87 | } | ||
| 88 | }) | ||
| 89 | }, | ||
| 90 | /** | ||
| 91 | * @description: loadData | ||
| 92 | * @author: miaofang | ||
| 93 | */ | ||
| 94 | loadData() { | ||
| 95 | let dateTime = new Date(this.Receiptdata.slsq.slsj); | ||
| 96 | let y = dateTime.getFullYear(); | ||
| 97 | let m = dateTime.getMonth() + 1; | ||
| 98 | m = m < 10 ? "0" + m : m; | ||
| 99 | let d = dateTime.getDate(); | ||
| 100 | d = d < 10 ? "0" + d : d; | ||
| 101 | let h = dateTime.getHours(); | ||
| 102 | h = h < 10 ? "0" + h : h; | ||
| 103 | let M = dateTime.getMinutes(); | ||
| 104 | M = M < 10 ? "0" + M : M; | ||
| 105 | let s = dateTime.getSeconds(); | ||
| 106 | s = s < 10 ? "0" + s : s; | ||
| 107 | this.sj = y + "年" + m + "月" + d + "日"; | ||
| 108 | }, | ||
| 109 | }, | ||
| 110 | }; | ||
| 111 | </script> | ||
| 112 | |||
| 113 | <style lang="scss" scoped> | ||
| 114 | #boxaaa{ | ||
| 115 | font { | ||
| 116 | border-bottom: 1px solid #000; | ||
| 117 | display: inline-block; | ||
| 118 | padding: 0 15px; | ||
| 119 | line-height: 16px; | ||
| 120 | } | ||
| 121 | |||
| 122 | .title { | ||
| 123 | height: 60px; | ||
| 124 | display: flex; | ||
| 125 | font-size: 32px; | ||
| 126 | color: #000; | ||
| 127 | justify-content: center; | ||
| 128 | align-items: center; | ||
| 129 | } | ||
| 130 | .bian { | ||
| 131 | text-align: right; | ||
| 132 | } | ||
| 133 | .texts{ | ||
| 134 | margin-top: 40px; | ||
| 135 | margin-bottom: 40px; | ||
| 136 | |||
| 137 | } | ||
| 138 | .jsjg { | ||
| 139 | text-align: left; | ||
| 140 | } | ||
| 141 | .concent { | ||
| 142 | width: 100%; | ||
| 143 | |||
| 144 | line-height: 40px; | ||
| 145 | text-align: left; | ||
| 146 | text-indent: 2em; | ||
| 147 | } | ||
| 148 | p { | ||
| 149 | font-family: serif; | ||
| 150 | } | ||
| 151 | .xxTable { | ||
| 152 | |||
| 153 | width: 100%; | ||
| 154 | border-collapse: collapse; | ||
| 155 | font-family: serif; | ||
| 156 | margin-top: 20px; | ||
| 157 | |||
| 158 | tr td { | ||
| 159 | border: 1px solid #000; | ||
| 160 | text-align: center; | ||
| 161 | height: 40px; | ||
| 162 | line-height: 17px; | ||
| 163 | font-size: 13px; | ||
| 164 | min-width: 80px; | ||
| 165 | z-index: 1; | ||
| 166 | min-width: 80px; | ||
| 167 | padding: 5px; | ||
| 168 | } | ||
| 169 | } | ||
| 170 | } | ||
| 171 | .fm { | ||
| 172 | background: #fff; | ||
| 173 | font-size: 18px; | ||
| 174 | margin: auto; | ||
| 175 | } | ||
| 176 | |||
| 177 | </style> |
| ... | @@ -117,17 +117,14 @@ | ... | @@ -117,17 +117,14 @@ |
| 117 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; | 117 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; |
| 118 | // 引入左侧菜单 | 118 | // 引入左侧菜单 |
| 119 | import segmentMenu from "./components/leftmenu/segmentMenu.vue"; | 119 | import segmentMenu from "./components/leftmenu/segmentMenu.vue"; |
| 120 | // 回执单 | ||
| 121 | import receipt from "./components/receipt.vue"; | ||
| 122 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; | 120 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; |
| 123 | import { BatchInit } from "@/api/workflow/cfdjFlow.js"; | 121 | |
| 124 | export default { | 122 | export default { |
| 125 | components: { | 123 | components: { |
| 126 | selectBdc, | 124 | selectBdc, |
| 127 | NoticeBar, | 125 | NoticeBar, |
| 128 | ordinaryMenu, | 126 | ordinaryMenu, |
| 129 | segmentMenu, | 127 | segmentMenu |
| 130 | receipt, | ||
| 131 | }, | 128 | }, |
| 132 | mixins: [WorkFlow, publicFlow], | 129 | mixins: [WorkFlow, publicFlow], |
| 133 | data () { | 130 | data () { |
| ... | @@ -176,24 +173,6 @@ | ... | @@ -176,24 +173,6 @@ |
| 176 | window.removeEventListener("unload", (e) => this.unloadHandler(e)); | 173 | window.removeEventListener("unload", (e) => this.unloadHandler(e)); |
| 177 | }, | 174 | }, |
| 178 | methods: { | 175 | methods: { |
| 179 | openPrint () { | ||
| 180 | // 获取打印回执数据 | ||
| 181 | var formdata = new FormData(); | ||
| 182 | formdata.append("bsmSldy", this.currentSelectProps.bsmSldy); | ||
| 183 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | ||
| 184 | formdata.append("djlx", this.currentSelectProps.djlx); | ||
| 185 | BatchInit(formdata).then((res) => { | ||
| 186 | if (res.code === 200 && res.result) { | ||
| 187 | this.Receiptdata = res.result | ||
| 188 | this.shows = true | ||
| 189 | setTimeout(() => { | ||
| 190 | this.prinsss() | ||
| 191 | }, 100) | ||
| 192 | } else { | ||
| 193 | this.$message.error(res.message) | ||
| 194 | } | ||
| 195 | }) | ||
| 196 | }, | ||
| 197 | prinsss () { | 176 | prinsss () { |
| 198 | printJS({ | 177 | printJS({ |
| 199 | printable: "boxaaa", // // 文档来源:pdf或图像的url,html元素的id或json数据的对象 | 178 | printable: "boxaaa", // // 文档来源:pdf或图像的url,html元素的id或json数据的对象 | ... | ... |
-
Please register or sign in to post a comment