修改
Showing
5 changed files
with
132 additions
and
68 deletions
... | @@ -41,6 +41,16 @@ export function getCertificateList (data) { | ... | @@ -41,6 +41,16 @@ export function getCertificateList (data) { |
41 | data | 41 | data |
42 | }) | 42 | }) |
43 | } | 43 | } |
44 | |||
45 | //获取未领取的证书信息 | ||
46 | export function getUnclaimedBdcqz (data) { | ||
47 | return request({ | ||
48 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getUnclaimedBdcqz', | ||
49 | method: 'post', | ||
50 | params: data | ||
51 | }) | ||
52 | } | ||
53 | |||
44 | // 发证 | 54 | // 发证 |
45 | export function issueCertificate (data) { | 55 | export function issueCertificate (data) { |
46 | return request({ | 56 | return request({ | ... | ... |
... | @@ -53,7 +53,7 @@ | ... | @@ -53,7 +53,7 @@ |
53 | <script> | 53 | <script> |
54 | import store from '@/store/index.js' | 54 | import store from '@/store/index.js' |
55 | import table from "@/utils/mixin/table"; | 55 | import table from "@/utils/mixin/table"; |
56 | import { getCertificateList, issueCertificate } from "@/api/fqsq.js"; | 56 | import { getUnclaimedBdcqz, issueCertificate } from "@/api/bdcqz.js"; |
57 | import { datas } from "../javascript/fzxxdata"; | 57 | import { datas } from "../javascript/fzxxdata"; |
58 | export default { | 58 | export default { |
59 | mixins: [table], | 59 | mixins: [table], |
... | @@ -86,27 +86,23 @@ export default { | ... | @@ -86,27 +86,23 @@ export default { |
86 | }, | 86 | }, |
87 | tableData: { | 87 | tableData: { |
88 | total: 0, | 88 | total: 0, |
89 | columns: datas.columns(), | 89 | columns: datas.columns().lzgrid, |
90 | data: [], | 90 | data: [], |
91 | }, | 91 | }, |
92 | } | 92 | } |
93 | }, | 93 | }, |
94 | props: ["formData"], | ||
94 | created () { | 95 | created () { |
95 | this.zslqList = store.getters.dictData['A30'] | 96 | this.zslqList = store.getters.dictData['A30']; |
97 | this.loadGrid(); | ||
96 | }, | 98 | }, |
97 | methods: { | 99 | methods: { |
98 | fetchData () { }, | 100 | fetchData () { }, |
99 | //列表初始化 | 101 | //列表初始化 |
100 | tablelistFn () { | 102 | loadGrid () { |
101 | var bsmSldy = this.$parent._data.unitData[0].bsmSldy | 103 | getUnclaimedBdcqz({bsmSlsq:this.formData.bsmSlsq}).then(res => { |
102 | getCertificateList({ "bsmSldy": bsmSldy }).then(res => { | ||
103 | if (res.code === 200) { | 104 | if (res.code === 200) { |
104 | this.tableData.data = res.result | 105 | this.tableData.data = res.result; |
105 | if (res.result) { | ||
106 | res.result.forEach((item, index) => { | ||
107 | this.ruleForm.bsmBdcqz.push(item.bsmBdcqz) | ||
108 | }) | ||
109 | } | ||
110 | } | 106 | } |
111 | }) | 107 | }) |
112 | }, | 108 | }, | ... | ... |
... | @@ -9,61 +9,119 @@ class data extends filter { | ... | @@ -9,61 +9,119 @@ class data extends filter { |
9 | super() | 9 | super() |
10 | } | 10 | } |
11 | columns() { | 11 | columns() { |
12 | return [ | 12 | return { |
13 | { | 13 | //发证列表 |
14 | label: '序号', | 14 | fzgrid: [ |
15 | type: 'index', | 15 | { |
16 | width: '50' | 16 | label: '序号', |
17 | }, | 17 | type: 'index', |
18 | { | 18 | width: '50' |
19 | prop: "qllxmc", | 19 | }, |
20 | label: "权利类型" | 20 | { |
21 | }, | 21 | prop: "bdcqzlx", |
22 | { | 22 | label: "不动产权证类型", |
23 | prop: "ysxlh", | 23 | render: (h, scope) => { |
24 | label: "印刷序列号" | 24 | if (scope.row.bdcqzlx == "1") { |
25 | }, | 25 | return (<div>不动产权证书</div>) |
26 | { | 26 | } else { |
27 | prop: "bdcqzh", | 27 | return (<div>不动产登记证明</div>) |
28 | label: "不动产权证号" | 28 | } |
29 | }, | 29 | } |
30 | { | 30 | }, |
31 | prop: "qlrmc", | 31 | { |
32 | label: "权利人" | 32 | prop: "qllxmc", |
33 | }, | 33 | label: "权利类型" |
34 | { | 34 | }, |
35 | prop: "ywrmc", | 35 | { |
36 | label: "义务人", | 36 | prop: "ysxlh", |
37 | render: (h, scope) => { | 37 | label: "印刷序列号", |
38 | if (scope.row.bdcqzh=="") { | 38 | width: '100', |
39 | return <div>{scope.row.ywrmc}</div> | 39 | }, |
40 | } else{ | 40 | { |
41 | return <div>{scope.row.ywrmc}</div> | 41 | prop: "bdcqzh", |
42 | } | 42 | label: "不动产权证号" |
43 | }, | ||
44 | { | ||
45 | prop: "qlrmc", | ||
46 | label: "权利人" | ||
47 | }, | ||
48 | { | ||
49 | prop: "ywr", | ||
50 | label: "义务人" | ||
51 | }, | ||
52 | { | ||
53 | prop: "mj", | ||
54 | label: "面积(㎡)" | ||
55 | }, | ||
56 | { | ||
57 | prop: "zl", | ||
58 | label: "坐落" | ||
59 | }, | ||
60 | { | ||
61 | prop: "lzrxm", | ||
62 | label: "领取人" | ||
63 | }, | ||
64 | { | ||
65 | label: '操作', | ||
66 | width: '200', | ||
67 | align: 'center', | ||
68 | fixed: 'right', | ||
69 | render: (h, scope) => { | ||
70 | return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.del(scope.row) }}>添加领取材料</el-button> | ||
71 | } | ||
43 | } | 72 | } |
44 | }, | 73 | ], |
45 | { | 74 | //领证证列表 |
46 | prop: "mj", | 75 | lzgrid: [ |
47 | label: "面积(㎡)" | 76 | { |
48 | }, | 77 | label: '序号', |
49 | { | 78 | type: 'index', |
50 | prop: "zl", | 79 | width: '50' |
51 | label: "坐落" | 80 | }, |
52 | }, | 81 | { |
53 | { | 82 | prop: "bdcqzlx", |
54 | prop: "lzrxm", | 83 | label: "不动产权证类型", |
55 | label: "领取人" | 84 | width: '120', |
56 | }, | 85 | render: (h, scope) => { |
57 | { | 86 | if (scope.row.bdcqzlx == "1") { |
58 | label: '操作', | 87 | return (<div>不动产权证书</div>) |
59 | width: '200', | 88 | } else { |
60 | align: 'center', | 89 | return (<div>不动产登记证明</div>) |
61 | fixed: 'right', | 90 | } |
62 | render: (h, scope) => { | 91 | } |
63 | return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.del(scope.row) }}>添加领取材料</el-button> | 92 | }, |
93 | { | ||
94 | prop: "qllx", | ||
95 | label: "权利类型" | ||
96 | }, | ||
97 | { | ||
98 | prop: "ysxlh", | ||
99 | label: "印刷序列号", | ||
100 | width: '100', | ||
101 | }, | ||
102 | { | ||
103 | prop: "bdcqzh", | ||
104 | label: "不动产权证号" | ||
105 | }, | ||
106 | { | ||
107 | prop: "qlr", | ||
108 | label: "权利人" | ||
109 | }, | ||
110 | { | ||
111 | prop: "ywr", | ||
112 | label: "义务人" | ||
113 | }, | ||
114 | { | ||
115 | prop: "mj", | ||
116 | label: "面积(㎡)", | ||
117 | width: '100', | ||
118 | }, | ||
119 | { | ||
120 | prop: "zl", | ||
121 | label: "坐落" | ||
64 | } | 122 | } |
65 | } | 123 | ] |
66 | ] | 124 | } |
67 | } | 125 | } |
68 | 126 | ||
69 | 127 | ... | ... |
... | @@ -320,13 +320,13 @@ export default { | ... | @@ -320,13 +320,13 @@ export default { |
320 | case "B7": | 320 | case "B7": |
321 | this.$popup("证书领取", "workflow/components/zslq",{ | 321 | this.$popup("证书领取", "workflow/components/zslq",{ |
322 | height: "700px", | 322 | height: "700px", |
323 | formData: {}, | 323 | formData: {bsmSlsq:this.$route.query.bsmSlsq}, |
324 | btnShow: true, | 324 | btnShow: true, |
325 | cancel: () => { | 325 | cancel: () => { |
326 | console.log("取消回调"); | 326 | console.log("取消回调"); |
327 | }, | 327 | }, |
328 | confirm: () => { | 328 | confirm: () => { |
329 | console.log("确认回调"); | 329 | this.submitForm(); |
330 | }, | 330 | }, |
331 | }) | 331 | }) |
332 | break; | 332 | break; | ... | ... |
-
Please register or sign in to post a comment