修改
Showing
5 changed files
with
90 additions
and
26 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,19 +9,33 @@ class data extends filter { | ... | @@ -9,19 +9,33 @@ class data extends filter { |
| 9 | super() | 9 | super() |
| 10 | } | 10 | } |
| 11 | columns() { | 11 | columns() { |
| 12 | return [ | 12 | return { |
| 13 | //发证列表 | ||
| 14 | fzgrid: [ | ||
| 13 | { | 15 | { |
| 14 | label: '序号', | 16 | label: '序号', |
| 15 | type: 'index', | 17 | type: 'index', |
| 16 | width: '50' | 18 | width: '50' |
| 17 | }, | 19 | }, |
| 18 | { | 20 | { |
| 21 | prop: "bdcqzlx", | ||
| 22 | label: "不动产权证类型", | ||
| 23 | render: (h, scope) => { | ||
| 24 | if (scope.row.bdcqzlx == "1") { | ||
| 25 | return (<div>不动产权证书</div>) | ||
| 26 | } else { | ||
| 27 | return (<div>不动产登记证明</div>) | ||
| 28 | } | ||
| 29 | } | ||
| 30 | }, | ||
| 31 | { | ||
| 19 | prop: "qllxmc", | 32 | prop: "qllxmc", |
| 20 | label: "权利类型" | 33 | label: "权利类型" |
| 21 | }, | 34 | }, |
| 22 | { | 35 | { |
| 23 | prop: "ysxlh", | 36 | prop: "ysxlh", |
| 24 | label: "印刷序列号" | 37 | label: "印刷序列号", |
| 38 | width: '100', | ||
| 25 | }, | 39 | }, |
| 26 | { | 40 | { |
| 27 | prop: "bdcqzh", | 41 | prop: "bdcqzh", |
| ... | @@ -32,15 +46,8 @@ class data extends filter { | ... | @@ -32,15 +46,8 @@ class data extends filter { |
| 32 | label: "权利人" | 46 | label: "权利人" |
| 33 | }, | 47 | }, |
| 34 | { | 48 | { |
| 35 | prop: "ywrmc", | 49 | prop: "ywr", |
| 36 | label: "义务人", | 50 | 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 | } | ||
| 44 | }, | 51 | }, |
| 45 | { | 52 | { |
| 46 | prop: "mj", | 53 | prop: "mj", |
| ... | @@ -63,8 +70,59 @@ class data extends filter { | ... | @@ -63,8 +70,59 @@ class data extends filter { |
| 63 | return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.del(scope.row) }}>添加领取材料</el-button> | 70 | return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.del(scope.row) }}>添加领取材料</el-button> |
| 64 | } | 71 | } |
| 65 | } | 72 | } |
| 73 | ], | ||
| 74 | //领证证列表 | ||
| 75 | lzgrid: [ | ||
| 76 | { | ||
| 77 | label: '序号', | ||
| 78 | type: 'index', | ||
| 79 | width: '50' | ||
| 80 | }, | ||
| 81 | { | ||
| 82 | prop: "bdcqzlx", | ||
| 83 | label: "不动产权证类型", | ||
| 84 | width: '120', | ||
| 85 | render: (h, scope) => { | ||
| 86 | if (scope.row.bdcqzlx == "1") { | ||
| 87 | return (<div>不动产权证书</div>) | ||
| 88 | } else { | ||
| 89 | return (<div>不动产登记证明</div>) | ||
| 90 | } | ||
| 91 | } | ||
| 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: "坐落" | ||
| 122 | } | ||
| 66 | ] | 123 | ] |
| 67 | } | 124 | } |
| 125 | } | ||
| 68 | 126 | ||
| 69 | 127 | ||
| 70 | } | 128 | } | ... | ... |
| ... | @@ -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