53a743f1 by renchao@pashanhoo.com

style:证书领取查询功能的完善

1 parent 924f1c58
/*
* @Description:workFramezu.vue组件的方法 头部按钮弹框方法
* @Autor: miaofang
* @LastEditTime: 2023-07-17 16:14:23
* @LastEditTime: 2023-08-10 13:41:26
*/
import { getPrintTemplateByCode } from "@/api/print";
import { getQllxByBdcdyid } from "@/api/djbDetail.js";
......@@ -19,7 +19,7 @@ import {
} from "@/api/workFlow.js";
import { mapGetters } from 'vuex'
export default {
data() {
data () {
return {
//是否开启材料分屏
splitScreen: false,
......@@ -40,7 +40,7 @@ export default {
}
},
mounted() {
mounted () {
this.flowInitParam();
},
methods: {
......@@ -49,7 +49,7 @@ export default {
* @description: 加载流程初始参数
* @author: renchao
*/
flowInitParam() {
flowInitParam () {
var formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
......@@ -60,7 +60,7 @@ export default {
stepExpandInfo(formdata).then((res) => {
if (res.code === 200) {
this.leftButtonList = res.result.button;
if (res.result.properties&&res.result.properties.length) {
if (res.result.properties && res.result.properties.length) {
this.showidea = res.result.properties[0].value
}
......@@ -82,7 +82,7 @@ export default {
* @param {*} item
* @author: renchao
*/
operation(item) {
operation (item) {
//按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿
//操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
let that = this;
......@@ -125,15 +125,6 @@ export default {
//新增材料信息选项卡数据
this.tabList.splice(this.clxxIndex, 0, this.clxxTab);
}
// this.closefp()
// if (this.splitScreen) {
// //如果当前选项卡为材料信息内容,递减到上一个选项卡内容
// if (this.tabName == this.clxxTab.value) {
// this.tabName = this.tabList[0].value;
// this.getFromRouter(this.tabList[0].value);
// }
// }
break;
case "B3": //材料导入
document.getElementById("cldr").click();
......@@ -141,41 +132,6 @@ export default {
case "B4":
this.$popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%', true)
break;
// case "B5":
// const h = this.$createElement;
// this.$msgbox({
// title: '请选择新增权利类型',
// message: h('p', null, [
// h('span', null, '内容可以是 '),
// h('el-button', { style: 'color: teal' }, 'VNode'),
// h('i', { style: 'color: teal' }, 'VNode')
// ]),
// showCancelButton: true,
// confirmButtonText: '确定',
// cancelButtonText: '取消',
// beforeClose: (action, instance, done) => {
// if (action === 'confirm') {
// instance.confirmButtonLoading = true;
// instance.confirmButtonText = '执行中...';
// setTimeout(() => {
// done();
// setTimeout(() => {
// instance.confirmButtonLoading = false;
// }, 300);
// }, 3000);
// } else {
// done();
// }
// }
// }).then(action => {
// this.addRepairRecord()
// this.$message({
// type: 'info',
// message: 'action: ' + action
// });
// });
// break;
case "B5":
if (this.currentSelectProps.bdcdyid) {
getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then(
......@@ -187,10 +143,6 @@ export default {
}
);
}
// this.$refs.Menu.loadBdcdylist("add")
// this.$popupDialog("选择新增权力类型", "djbworkflow/djbBook/components/qllxcloseDailog", this.currentSelectProps, '50%', true)
break;
case "B6":
//根据编号获取对应信息
......@@ -292,7 +244,7 @@ export default {
* @description: del
* @author: renchao
*/
del() {
del () {
let formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
this.$confirm("确定要删除吗, 是否继续?", "提示", {
......@@ -327,7 +279,7 @@ export default {
* @param {*} obj
* @author: renchao
*/
sendToNext(obj) {
sendToNext (obj) {
this.$popupDialog("转出", "djbworkflow/components/zc", {
obj: obj,
bsmSlsq: this.bsmSlsq,
......@@ -340,7 +292,7 @@ export default {
* @description: 转出最后一个流程
* @author: renchao
*/
sendToEnd() {
sendToEnd () {
this.$popupDialog("转出", "djbworkflow/components/zc", {
obj: "",
bsmSlsq: this.bsmSlsq,
......@@ -355,7 +307,7 @@ export default {
* @description: 批量操作
* @author: renchao
*/
handleBatchDel() {
handleBatchDel () {
this.$popupDialog("批量删除", "workflow/components/batchDel", {
width: "50%",
btnShow: false,
......@@ -369,7 +321,7 @@ export default {
* @param {*} file
* @author: renchao
*/
handleChange(file) {
handleChange (file) {
var formdata = new FormData();
formdata.append("file", file.raw);
formdata.append("bsmSldy", this.currentSelectProps.bsmSldy);
......@@ -388,7 +340,7 @@ export default {
* @param {*} file
* @author: renchao
*/
beforeUpload(file) {
beforeUpload (file) {
return true;
}
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-02 15:33:01
* @LastEditTime: 2023-08-10 13:43:32
-->
<template>
<div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;">
......@@ -68,7 +68,6 @@
}
},
methods: {
//获取证书内容
/**
* @description: 获取证书内容
* @param {*} code
......@@ -78,7 +77,6 @@
var value = this.bdcqz[code];
return value;
},
//获取受理申请下全部不动产权证
/**
* @description: 获取受理申请下全部不动产权证
* @author: renchao
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-19 09:29:54
-->
<template>
<img :src="formData.previewImage" class="imgClass">
</template>
<script>
export default {
props: {
formData: {
type: Object,
default: () => { }
}
}
}
</script>
<style>
.imgClass {
width: 100%;
}
</style>
\ No newline at end of file
......@@ -91,9 +91,7 @@ class data extends filter {
width: '80',
render: (h, scope) => {
return (
<div>
<el-link type="primary" onClick={() => { vm.openDialog(scope.row) }}>查看</el-link>
</div>
<el-button type="text" icon="el-icon-view" onClick={() => { vm.openDialog(scope.row) }}>查看</el-button>
)
}
},
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-08 15:23:32
* @LastEditTime: 2023-08-10 14:05:49
-->
<template>
<div class="from-clues">
......@@ -107,20 +107,13 @@
this.$startLoading()
bdcqzPreview(item).then(res => {
this.$endLoading()
this.dialogVisible = true;
let blob = new Blob([res]);
this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) })
this.$popupDialog("证书预览", "workflow/components/dialog/zsyl", {
bsmSlsq: item.bsmSlsq
}, '1210px', true)
})
},
/**
* @description: handleClose
* @author: renchao
*/
handleClose () {
this.dialogVisible = false;
}
},
};
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
......