19eb0863 by 田浩浩

修改系统相关功能

1 parent 68659e47
1 import request from '@/utils/request';
2 import SERVER from './config';
3
4 // 获取不动产权证列表
5 export function getBdcqzList (params) {
6 return request({
7 url: SERVER.SERVERAPI + '/rest/business/workFlow/getBdcqzList',
8 method: 'get',
9 params: params
10 })
11 }
12 // 获取印刷序列号
13 export function readYsxlh (params) {
14 return request({
15 url: SERVER.SERVERAPI + '/rest/business/workFlow/readYsxlh',
16 method: 'get',
17 params: params
18 })
19 }
20 // 缮证
21 export function certificate (data) {
22 return request({
23 url: SERVER.SERVERAPI + '/rest/business/workFlow/certificate',
24 method: 'post',
25 data
26 })
27 }
28 // 作废缮证信息
29 export function invalidCertificate (data) {
30 return request({
31 url: SERVER.SERVERAPI + '/rest/business/workFlow/invalidCertificate',
32 method: 'post',
33 data
34 })
35 }
36 // 缮证列表
37 export function getCertificateList (data) {
38 return request({
39 url: SERVER.SERVERAPI + '/rest/business/workFlow/getCertificateList',
40 method: 'post',
41 data
42 })
43 }
44 // 发证
45 export function issueCertificate (data) {
46 return request({
47 url: SERVER.SERVERAPI + '/rest/business/workFlow/issueCertificate',
48 method: 'post',
49 data
50 })
51 }
52 // 获取受理申请下全部不动产权证
53 export function getSlsqBdcqzList (params) {
54 return request({
55 url: SERVER.SERVERAPI + '/rest/business/workFlow/getSlsqBdcqzList',
56 method: 'get',
57 params
58 })
59 }
...\ No newline at end of file ...\ No newline at end of file
1 import request from '@/utils/request'
2 import SERVER from './config'
3
4 // 上传单个文件
5 export function sjClmxUpload (data) {
6 return request({
7 url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/upload',
8 method: 'post',
9 data
10 })
11 }
12 // 删除上传文件
13 export function sjClmxDelete (bsmClmx) {
14 return request({
15 url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/delete?bsmClmx=' + bsmClmx,
16 method: 'delete'
17 })
18 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -60,10 +60,10 @@ export default { ...@@ -60,10 +60,10 @@ export default {
60 methods: { 60 methods: {
61 // 列表渲染接口 61 // 列表渲染接口
62 fetchData () { 62 fetchData () {
63 this.ruleForm.bsmSldy = this.$parent.unitData[0].bsmSldy 63 this.ruleForm.bsmSldy = this.$parent.unitData[0].bsmSldy;
64 getCertificateList(this.ruleForm).then(res => { 64 getCertificateList(this.ruleForm).then(res => {
65 if (res.code === 200) { 65 if (res.code === 200) {
66 this.tableData.data = res.result 66 this.tableData.data = res.result;
67 } 67 }
68 }) 68 })
69 } 69 }
......
1 <template> 1 <template>
2 <div class="szxx"> 2 <div class="szxx">
3 <el-card class="box-card" v-for="(item,index) in tableData" :key="index"> 3 <el-card class="box-card" v-for="(item, index) in tableData" :key="index">
4 <div slot="header" class="szxx_header"> 4 <div slot="header" class="szxx_header">
5 <span class="header_type">{{item.bdcqzlx == 1 ? '不动产权证书' : '不动产登记证明'}}</span> 5 <span class="header_type">{{
6 <div class="header_text">{{item.bdcqzh}}</div> 6 item.bdcqzlx == 1 ? "不动产权证书" : "不动产登记证明"
7 }}</span>
8 <div class="header_text">{{ item.bdcqzh }}</div>
7 </div> 9 </div>
8 <div class="szxx_body card_padding"> 10 <div class="szxx_body card_padding">
9 <div class="text color_iray"> 11 <div class="text color_iray">
10 <span>{{item.qllxmc}}</span> 12 <span>{{ item.qllxmc }}</span>
11 </div> 13 </div>
12 <div class="text color_red"> 14 <div class="text color_red">
13 <span>{{item.qlr}}</span> 15 <span>{{ item.qlr }}</span>
14 </div> 16 </div>
15 <div class="text color_iray"> 17 <div class="text color_iray">
16 <span>{{item.gyfs == 1 ? '单独所有' : item.gyfs == 2 ? '共同共有' : '按份所有'}}</span> 18 <span>{{
19 item.gyqk
20 }}</span>
17 </div> 21 </div>
18 <div class="text color_red"> 22 <div class="text color_red">
19 <span>{{item.bdcdyh}}</span> 23 <span>{{ item.bdcdyh }}</span>
20 </div> 24 </div>
21 <div class="text color_iray"> 25 <div class="text color_iray">
22 <span>{{item.yt}}</span> 26 <span>{{ item.yt }}</span>
23 </div> 27 </div>
24 <div class="text color_red"> 28 <div class="text color_red">
25 <span>{{item.mj}}</span> 29 <span>{{ item.mj }}</span>
26 </div> 30 </div>
27 <div class="text color_iray"> 31 <div class="text color_iray">
28 <span>{{item.syqx}}</span> 32 <span>{{ item.syqx }}</span>
29 </div> 33 </div>
30 <div v-if="item.ysxlh"> 34 <div v-if="item.ysxlh">
31 <div class="top_line middle_margin"></div> 35 <div class="top_line middle_margin"></div>
32 <div class="text color_iray"> 36 <div class="text color_iray">
33 <span>印刷序列号:{{item.ysxlh}}</span> 37 <span>印刷序列号:{{ item.ysxlh }}</span>
34 </div> 38 </div>
35 </div> 39 </div>
36 </div> 40 </div>
37 <div class="card_padding"> 41 <div class="card_padding">
38 <div class="top_line middle_margin"></div> 42 <div class="top_line middle_margin"></div>
39 <div class="text" v-if="item.bsmSz"> 43 <div class="text" v-if="item.ysxlh">
40 <el-button class="operation_button" type="text" @click="openZsylDialog(item,1)">证书预览</el-button> 44 <el-button
41 <el-button class="operation_button" type="text" @click="openInvalidDiglog(item)">再次打印({{item.szcs}})</el-button> 45 class="operation_button"
46 type="text"
47 @click="openZsylDialog(item, 1)"
48 >证书预览</el-button
49 >
50 <el-button
51 class="operation_button"
52 type="text"
53 @click="openInvalidDiglog(item)"
54 >再次打印({{ item.szcs }})</el-button
55 >
42 </div> 56 </div>
43 <div class="text" v-else> 57 <div class="text" v-else>
44 <el-button class="operation_button" type="text" @click="openZsylDialog(item,2)">证书打印({{item.szcs}}</el-button> 58 <el-button
59 class="operation_button"
60 type="text"
61 @click="openZsylDialog(item, 2)"
62 >证书打印({{ item.szcs }}</el-button
63 >
45 </div> 64 </div>
46 </div> 65 </div>
47 </el-card> 66 </el-card>
48 <el-dialog title="证书打印" :visible.sync="invalidDiglog" width="30%" :modal-append-to-body='false' top='30vh'> 67 <el-dialog
68 title="证书打印"
69 :visible.sync="invalidDiglog"
70 width="30%"
71 :modal-append-to-body="false"
72 top="30vh"
73 >
49 <div class="invalid-diglog"> 74 <div class="invalid-diglog">
50 <div class="invalid-title"> 75 <div class="invalid-title">
51 <i class="el-icon-question invalid-icon"></i> 76 <i class="el-icon-question invalid-icon"></i>
52 <div class="invalid-body">您确定作废证书并再次打印?</div> 77 <div class="invalid-body">您确定作废证书并再次打印?</div>
53 </div> 78 </div>
54 <div class="invalid-reson">作废原因:</div> 79 <div class="invalid-reson">作废原因:</div>
55 <el-input v-model="zfyy" placeholder="请输入作废原因" type="textarea" :rows="4"></el-input> 80 <el-input
81 v-model="zfyy"
82 placeholder="请输入作废原因"
83 type="textarea"
84 :rows="4"
85 ></el-input>
56 <div class="dialog-footer"> 86 <div class="dialog-footer">
57 <el-button @click="closeInvalidDiglog()">取 消</el-button> 87 <el-button @click="closeInvalidDiglog()">取 消</el-button>
58 <el-button type="primary" @click="confirmInvalid()">确 定</el-button> 88 <el-button type="primary" @click="confirmInvalid()">确 定</el-button>
59 </div> 89 </div>
60 </div> 90 </div>
61 </el-dialog> 91 </el-dialog>
62 <el-empty description="暂无数据" v-if="tableData.length==0"></el-empty> 92 <el-empty description="暂无数据" v-if="tableData.length == 0"></el-empty>
63 </div> 93 </div>
64 </template> 94 </template>
65 <script> 95 <script>
66 import { getBdcqzList, invalidCertificate } from "@/api/fqsq.js"; 96 import { getSlsqBdcqzList, invalidCertificate } from "@/api/fqsq.js";
67 97
68 export default { 98 export default {
69 components: { }, 99 components: {},
70 props: { 100 props: {},
71 }, 101 data() {
72 data () {
73 return { 102 return {
74 tableData: [], 103 tableData: [],
75 bdcqzlx: 1, 104 bdcqzlx: 1,
76 bdcqz: {}, 105 bdcqz: {},
77 zfyy: '', 106 zfyy: "",
78 invalidDiglog: false, 107 invalidDiglog: false,
79 bsmSz: '', 108 bsmSz: "",
80 }; 109 };
81 }, 110 },
82 created () { 111 created() {
83 this.list(); 112 this.list();
84 }, 113 },
85 methods: { 114 methods: {
86 //初始化列表 115 //初始化列表
87 list () { 116 list() {
88 var bsmSldy = this.$parent.unitData[0].bsmSldy 117 // var bsmSldy = this.$parent.unitData[0].bsmSldy;
89 getBdcqzList({ bsmSldy: bsmSldy }).then(res => { 118 var bsmSlsq = this.$route.query.bsmSlsq;
119 getSlsqBdcqzList({ bsmSlsq: bsmSlsq }).then((res) => {
90 if (res.code === 200) { 120 if (res.code === 200) {
91 this.tableData = res.result 121 this.tableData = res.result;
92 if (res.result) { 122 if (res.result) {
93 this.bdcqz = res.result[0] 123 this.bdcqz = res.result[0];
94 } 124 }
95 } 125 }
96 }) 126 });
97 }, 127 },
98 //打开证书预览弹窗 128 //打开证书预览弹窗
99 openZsylDialog (item, type) { 129 openZsylDialog(item, type) {
100 let that = this; 130 let that = this;
101 if(type == 1){ 131 if (type == 1) {
102 //证书预览 132 //证书预览
103 this.$popup("证书预览","workflow/components/zsyl",{ 133 this.$popup("证书预览", "workflow/components/zsyl", {
104 height: '650px', 134 height: "650px",
105 width: "800px", 135 width: "800px",
106 formData: { 136 formData: {
107 bdcqz: item 137 bdcqz: item,
108 }, 138 },
109 btnShow: false, 139 btnShow: false,
110 cancel: () => { 140 cancel: () => {
...@@ -113,51 +143,51 @@ export default { ...@@ -113,51 +143,51 @@ export default {
113 confirm: () => { 143 confirm: () => {
114 console.log("取消回调"); 144 console.log("取消回调");
115 }, 145 },
116 }) 146 });
117 }else{ 147 } else {
118 //证书打印 148 //证书打印
119 this.$popup("证书打印","workflow/components/zsdy",{ 149 this.$popup("证书打印", "workflow/components/zsdy", {
120 height: '700px', 150 height: "700px",
121 width: "800px", 151 width: "800px",
122 formData: { 152 formData: {
123 bsmSlsq: this.bsmSlsq, 153 bsmSlsq: this.bsmSlsq,
124 bdcqz: item 154 bdcqz: item,
125 }, 155 },
126 btnShow: true, 156 btnShow: true,
127 confirmText: '打印证书', 157 confirmText: "打印证书",
128 cancel: () => { 158 cancel: () => {
129 console.log("取消回调"); 159 console.log("取消回调");
130 }, 160 },
131 confirm: () => { 161 confirm: () => {
132 that.list(); 162 that.list();
133 }, 163 },
134 }) 164 });
135 } 165 }
136 }, 166 },
137 //再次打印 167 //再次打印
138 openInvalidDiglog (item) { 168 openInvalidDiglog(item) {
139 this.bsmSz = item.bsmSz; 169 this.bsmSz = item.bsmSz;
140 this.invalidDiglog = true 170 this.invalidDiglog = true;
141 }, 171 },
142 closeInvalidDiglog () { 172 closeInvalidDiglog() {
143 this.invalidDiglog = false 173 this.invalidDiglog = false;
144 this.bsmSz = ''; 174 this.bsmSz = "";
145 this.zfyy = ''; 175 this.zfyy = "";
146 }, 176 },
147 //作废缮证信息 177 //作废缮证信息
148 confirmInvalid () { 178 confirmInvalid() {
149 invalidCertificate({ "bsmSz": this.bsmSz, "zfyy": this.zfyy }).then(res => { 179 invalidCertificate({ bsmSz: this.bsmSz, zfyy: this.zfyy }).then((res) => {
150 if (res.code === 200) { 180 if (res.code === 200) {
151 this.list(); 181 this.list();
152 this.$message.success('作废成功'); 182 this.$message.success("作废成功");
153 this.invalidDiglog = false; 183 this.invalidDiglog = false;
154 this.openZsylDialog(this.bdcqz); 184 this.openZsylDialog(this.bdcqz);
155 } else { 185 } else {
156 this.$message.error(res.message); 186 this.$message.error(res.message);
157 } 187 }
158 }) 188 });
159 } 189 },
160 } 190 },
161 }; 191 };
162 </script> 192 </script>
163 <style scoped lang='scss'> 193 <style scoped lang='scss'>
...@@ -228,7 +258,7 @@ export default { ...@@ -228,7 +258,7 @@ export default {
228 } 258 }
229 259
230 .card_padding { 260 .card_padding {
231 padding-top: 8px 261 padding-top: 8px;
232 } 262 }
233 263
234 .invalid-diglog { 264 .invalid-diglog {
...@@ -269,6 +299,6 @@ export default { ...@@ -269,6 +299,6 @@ export default {
269 } 299 }
270 300
271 /deep/.el-card__body { 301 /deep/.el-card__body {
272 padding: 0px 302 padding: 0px;
273 } 303 }
274 </style> 304 </style>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
36 </div> 36 </div>
37 <div class="zsyl-right"> 37 <div class="zsyl-right">
38 <div class="zsyl-title">附记</div> 38 <div class="zsyl-title">附记</div>
39 <div class="zsyl-text"></div> 39 <div class="zsyl-text"> {{ bdcqz.fj }}</div>
40 </div> 40 </div>
41 </div> 41 </div>
42 </div> 42 </div>
...@@ -94,17 +94,7 @@ export default { ...@@ -94,17 +94,7 @@ export default {
94 }, 94 },
95 //获取证书内容 95 //获取证书内容
96 getRowValue(code){ 96 getRowValue(code){
97 var value = this.bdcqz[code] 97 var value = this.bdcqz[code];
98 if(code == 'gyqk'){
99 switch(value){
100 case '1':
101 return '单独所有';
102 case '2':
103 return '共同共有';
104 case '3':
105 return '按份所有';
106 }
107 }
108 return value; 98 return value;
109 }, 99 },
110 //打印证书 100 //打印证书
......
...@@ -8,7 +8,7 @@ class data extends filter { ...@@ -8,7 +8,7 @@ class data extends filter {
8 constructor() { 8 constructor() {
9 super() 9 super()
10 } 10 }
11 columns () { 11 columns() {
12 return [ 12 return [
13 { 13 {
14 label: '序号', 14 label: '序号',
...@@ -33,7 +33,14 @@ class data extends filter { ...@@ -33,7 +33,14 @@ class data extends filter {
33 }, 33 },
34 { 34 {
35 prop: "ywrmc", 35 prop: "ywrmc",
36 label: "义务人" 36 label: "义务人",
37 render: (h, scope) => {
38 if (scope.row.bdcqzh=="") {
39 return <div>{scope.row.ywrmc}</div>
40 } else{
41 return <div>{scope.row.ywrmc}</div>
42 }
43 }
37 }, 44 },
38 { 45 {
39 prop: "mj", 46 prop: "mj",
......
...@@ -318,10 +318,10 @@ export default { ...@@ -318,10 +318,10 @@ export default {
318 }) 318 })
319 break; 319 break;
320 case "B7": 320 case "B7":
321 this.$popup({ 321 this.$popup("证书领取", "workflow/components/zslq",{
322 title: "证书领取", 322 height: "8
323 editItem: "workflow/components/zslq", 323
324 height: "500px", 324 00px",
325 formData: {}, 325 formData: {},
326 btnShow: true, 326 btnShow: true,
327 cancel: () => { 327 cancel: () => {
......