087710a0 by 蔡俊立

证书预览

1 parent f054066c
......@@ -67,3 +67,12 @@ export function getSlsqBdcqzList (params) {
params
})
}
// 证书预览
export function bdcqzPreview (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/bdcqzPreview',
method: 'post',
data
})
}
\ No newline at end of file
......
......@@ -97,7 +97,7 @@ export function stepExpandInfo (data) {
// 获取审批意见
export function getSpyjList (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/getSpyjList',
url: SERVER.SERVERAPI + '/rest/ywbl/opinion/getSpyjList',
method: 'post',
data
})
......@@ -106,7 +106,7 @@ export function getSpyjList (data) {
// 保存审批意见
export function saveSpyj (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/saveSpyj',
url: SERVER.SERVERAPI + '/rest/ywbl/opinion/saveSpyj',
method: 'post',
data
})
......@@ -114,7 +114,7 @@ export function saveSpyj (data) {
// 根据受理申请保存审批意见
export function saveSpyjBySlsq (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/saveSpyjBySlsq',
url: SERVER.SERVERAPI + '/rest/ywbl/opinion/saveSpyjBySlsq',
method: 'post',
data
})
......@@ -127,62 +127,7 @@ export function record (data) {
data
})
}
// 获取不动产权证列表
export function getBdcqzList (params) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/getBdcqzList',
method: 'get',
params: params
})
}
// 获取印刷序列号
export function readYsxlh (params) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/readYsxlh',
method: 'get',
params: params
})
}
// 缮证
export function certificate (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/certificate',
method: 'post',
data
})
}
// 作废缮证信息
export function invalidCertificate (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/invalidCertificate',
method: 'post',
data
})
}
// 缮证列表
export function getCertificateList (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/getCertificateList',
method: 'post',
data
})
}
// 发证
export function issueCertificate (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/issueCertificate',
method: 'post',
data
})
}
// 获取受理申请下全部不动产权证
export function getSlsqBdcqzList (params) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/getSlsqBdcqzList',
method: 'get',
params
})
}
// 终止任务
export function stopTask (data) {
return request({
......
......@@ -88,7 +88,7 @@
</div>
</div>
</el-dialog>
<bdcqzPrint v-model="dialog" :bdcqz="bdcqz" />
<bdcqzPrint ref="bdcqzPrint" v-model="dialog" :bdcqz="bdcqz" />
<el-empty description="暂无数据" v-if="tableData.length == 0"></el-empty>
</div>
</template>
......@@ -145,8 +145,11 @@ export default {
},
});
} else {
this.$nextTick(() => {
this.dialog = true;
this.bdcqz = item;
this.$refs.bdcqzPrint.getBdcqzPreview();
})
//证书打印
// this.$popup("证书打印", "workflow/components/zsdy", {
// height: "700px",
......
......@@ -82,7 +82,7 @@
<script>
import { datas } from "../javascript/zsyl.js";
import { readYsxlh, certificate, getSlsqBdcqzList } from "@/api/bdcqz.js";
import { readYsxlh, certificate, getSlsqBdcqzList,bdcqzPreview } from "@/api/bdcqz.js";
export default {
components: {},
props: {
......@@ -139,6 +139,10 @@ export default {
var value = this.bdcqz[code];
return value;
},
getBdcqzPreview(){
bdcqzPreview(this.bdcqz).then(res => {
})
},
//打印证书
childFn() {
this.ruleForm.bsmBdcqz = this.bdcqz.bsmBdcqz;
......