087710a0 by 蔡俊立

证书预览

1 parent f054066c
...@@ -67,3 +67,12 @@ export function getSlsqBdcqzList (params) { ...@@ -67,3 +67,12 @@ export function getSlsqBdcqzList (params) {
67 params 67 params
68 }) 68 })
69 } 69 }
70
71 // 证书预览
72 export function bdcqzPreview (data) {
73 return request({
74 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/bdcqzPreview',
75 method: 'post',
76 data
77 })
78 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -97,7 +97,7 @@ export function stepExpandInfo (data) { ...@@ -97,7 +97,7 @@ export function stepExpandInfo (data) {
97 // 获取审批意见 97 // 获取审批意见
98 export function getSpyjList (data) { 98 export function getSpyjList (data) {
99 return request({ 99 return request({
100 url: SERVER.SERVERAPI + '/rest/business/workFlow/getSpyjList', 100 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/getSpyjList',
101 method: 'post', 101 method: 'post',
102 data 102 data
103 }) 103 })
...@@ -106,7 +106,7 @@ export function getSpyjList (data) { ...@@ -106,7 +106,7 @@ export function getSpyjList (data) {
106 // 保存审批意见 106 // 保存审批意见
107 export function saveSpyj (data) { 107 export function saveSpyj (data) {
108 return request({ 108 return request({
109 url: SERVER.SERVERAPI + '/rest/business/workFlow/saveSpyj', 109 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/saveSpyj',
110 method: 'post', 110 method: 'post',
111 data 111 data
112 }) 112 })
...@@ -114,7 +114,7 @@ export function saveSpyj (data) { ...@@ -114,7 +114,7 @@ export function saveSpyj (data) {
114 // 根据受理申请保存审批意见 114 // 根据受理申请保存审批意见
115 export function saveSpyjBySlsq (data) { 115 export function saveSpyjBySlsq (data) {
116 return request({ 116 return request({
117 url: SERVER.SERVERAPI + '/rest/business/workFlow/saveSpyjBySlsq', 117 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/saveSpyjBySlsq',
118 method: 'post', 118 method: 'post',
119 data 119 data
120 }) 120 })
...@@ -127,62 +127,7 @@ export function record (data) { ...@@ -127,62 +127,7 @@ export function record (data) {
127 data 127 data
128 }) 128 })
129 } 129 }
130 // 获取不动产权证列表 130
131 export function getBdcqzList (params) {
132 return request({
133 url: SERVER.SERVERAPI + '/rest/business/workFlow/getBdcqzList',
134 method: 'get',
135 params: params
136 })
137 }
138 // 获取印刷序列号
139 export function readYsxlh (params) {
140 return request({
141 url: SERVER.SERVERAPI + '/rest/business/workFlow/readYsxlh',
142 method: 'get',
143 params: params
144 })
145 }
146 // 缮证
147 export function certificate (data) {
148 return request({
149 url: SERVER.SERVERAPI + '/rest/business/workFlow/certificate',
150 method: 'post',
151 data
152 })
153 }
154 // 作废缮证信息
155 export function invalidCertificate (data) {
156 return request({
157 url: SERVER.SERVERAPI + '/rest/business/workFlow/invalidCertificate',
158 method: 'post',
159 data
160 })
161 }
162 // 缮证列表
163 export function getCertificateList (data) {
164 return request({
165 url: SERVER.SERVERAPI + '/rest/business/workFlow/getCertificateList',
166 method: 'post',
167 data
168 })
169 }
170 // 发证
171 export function issueCertificate (data) {
172 return request({
173 url: SERVER.SERVERAPI + '/rest/business/workFlow/issueCertificate',
174 method: 'post',
175 data
176 })
177 }
178 // 获取受理申请下全部不动产权证
179 export function getSlsqBdcqzList (params) {
180 return request({
181 url: SERVER.SERVERAPI + '/rest/business/workFlow/getSlsqBdcqzList',
182 method: 'get',
183 params
184 })
185 }
186 // 终止任务 131 // 终止任务
187 export function stopTask (data) { 132 export function stopTask (data) {
188 return request({ 133 return request({
......
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
88 </div> 88 </div>
89 </div> 89 </div>
90 </el-dialog> 90 </el-dialog>
91 <bdcqzPrint v-model="dialog" :bdcqz="bdcqz" /> 91 <bdcqzPrint ref="bdcqzPrint" v-model="dialog" :bdcqz="bdcqz" />
92 <el-empty description="暂无数据" v-if="tableData.length == 0"></el-empty> 92 <el-empty description="暂无数据" v-if="tableData.length == 0"></el-empty>
93 </div> 93 </div>
94 </template> 94 </template>
...@@ -145,8 +145,11 @@ export default { ...@@ -145,8 +145,11 @@ export default {
145 }, 145 },
146 }); 146 });
147 } else { 147 } else {
148 this.$nextTick(() => {
148 this.dialog = true; 149 this.dialog = true;
149 this.bdcqz = item; 150 this.bdcqz = item;
151 this.$refs.bdcqzPrint.getBdcqzPreview();
152 })
150 //证书打印 153 //证书打印
151 // this.$popup("证书打印", "workflow/components/zsdy", { 154 // this.$popup("证书打印", "workflow/components/zsdy", {
152 // height: "700px", 155 // height: "700px",
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
82 82
83 <script> 83 <script>
84 import { datas } from "../javascript/zsyl.js"; 84 import { datas } from "../javascript/zsyl.js";
85 import { readYsxlh, certificate, getSlsqBdcqzList } from "@/api/bdcqz.js"; 85 import { readYsxlh, certificate, getSlsqBdcqzList,bdcqzPreview } from "@/api/bdcqz.js";
86 export default { 86 export default {
87 components: {}, 87 components: {},
88 props: { 88 props: {
...@@ -139,6 +139,10 @@ export default { ...@@ -139,6 +139,10 @@ export default {
139 var value = this.bdcqz[code]; 139 var value = this.bdcqz[code];
140 return value; 140 return value;
141 }, 141 },
142 getBdcqzPreview(){
143 bdcqzPreview(this.bdcqz).then(res => {
144 })
145 },
142 //打印证书 146 //打印证书
143 childFn() { 147 childFn() {
144 this.ruleForm.bsmBdcqz = this.bdcqz.bsmBdcqz; 148 this.ruleForm.bsmBdcqz = this.bdcqz.bsmBdcqz;
......