style:证书领取
Showing
4 changed files
with
23 additions
and
14 deletions
... | @@ -25,7 +25,7 @@ | ... | @@ -25,7 +25,7 @@ |
25 | </el-table> | 25 | </el-table> |
26 | 26 | ||
27 | <el-table v-else ref="elTable" id="heightNumSetting" class="table-fixed" :row-style="{ height: '50px' }" | 27 | <el-table v-else ref="elTable" id="heightNumSetting" class="table-fixed" :row-style="{ height: '50px' }" |
28 | :border='border' :row-class-name="tableRowClassName" :show-header='showHeader' v-bind="$attrs" | 28 | :border='border' :row-class-name="tableRowClassName" :show-header='showHeader' @row-dblclick="singleElection" v-bind="$attrs" |
29 | :max-height="maxHeight" :height="tableHeight" v-on="$listeners" :data="data" style="width: 100%" | 29 | :max-height="maxHeight" :height="tableHeight" v-on="$listeners" :data="data" style="width: 100%" |
30 | :span-method="this.merge ? this.mergeMethod : this.spanMethod"> | 30 | :span-method="this.merge ? this.mergeMethod : this.spanMethod"> |
31 | 31 | ... | ... |
... | @@ -18,7 +18,9 @@ | ... | @@ -18,7 +18,9 @@ |
18 | </el-col> | 18 | </el-col> |
19 | </el-row> | 19 | </el-row> |
20 | 20 | ||
21 | <lb-table :column="tableData.columns" :data="tableData.data" :pagination="false" :calcHeight="300"> | 21 | <lb-table :column="tableData.columns" @row-dblclick="handleRowClick" ref="table" @selection-change="handleSelectionChange" :data="tableData.data" |
22 | :pagination="false" | ||
23 | :calcHeight="300"> | ||
22 | </lb-table> | 24 | </lb-table> |
23 | <el-row> | 25 | <el-row> |
24 | <el-col :span="6"> | 26 | <el-col :span="6"> |
... | @@ -58,7 +60,6 @@ | ... | @@ -58,7 +60,6 @@ |
58 | import table from "@/utils/mixin/table"; | 60 | import table from "@/utils/mixin/table"; |
59 | import { getUnclaimedBdcqz, issueCertificate } from "@/api/bdcqz.js"; | 61 | import { getUnclaimedBdcqz, issueCertificate } from "@/api/bdcqz.js"; |
60 | import { datas } from "../../javascript/fzxxdata"; | 62 | import { datas } from "../../javascript/fzxxdata"; |
61 | import { log } from 'bpmn-js-token-simulation'; | ||
62 | export default { | 63 | export default { |
63 | props: { | 64 | props: { |
64 | formData: { | 65 | formData: { |
... | @@ -117,18 +118,22 @@ | ... | @@ -117,18 +118,22 @@ |
117 | this.ruleForm.fzrmc = res.result.fzrmc | 118 | this.ruleForm.fzrmc = res.result.fzrmc |
118 | this.ruleForm.fzsj = res.result.fzsj | 119 | this.ruleForm.fzsj = res.result.fzsj |
119 | this.ruleForm.fzsl = res.result.fzsl | 120 | this.ruleForm.fzsl = res.result.fzsl |
120 | |||
121 | } | 121 | } |
122 | }) | 122 | }) |
123 | }, | 123 | }, |
124 | handleSelectionChange (val) { | ||
125 | this.ruleForm.bdcqzList = val | ||
126 | }, | ||
127 | handleRowClick (row) { | ||
128 | this.$refs.table.toggleRowSelection(row) | ||
129 | }, | ||
124 | handleSubmit () { | 130 | handleSubmit () { |
125 | this.$refs.ruleForm.validate(valid => { | 131 | this.$refs.ruleForm.validate(valid => { |
126 | if (valid) { | 132 | if (valid) { |
127 | issueCertificate(this.ruleForm).then(res => { | 133 | issueCertificate(this.ruleForm).then(res => { |
128 | if (res.code == 200) { | 134 | if (res.code == 200) { |
129 | this.$message.success('保存成功'); | 135 | this.$message.success('保存成功') |
130 | this.$parent.queryClick(); | 136 | this.$popupCacel() |
131 | this.$emit("input", false); | ||
132 | } else { | 137 | } else { |
133 | this.$message.error(res.message) | 138 | this.$message.error(res.message) |
134 | } | 139 | } |
... | @@ -145,3 +150,4 @@ | ... | @@ -145,3 +150,4 @@ |
145 | <style scoped lang="scss"> | 150 | <style scoped lang="scss"> |
146 | @import "~@/styles/mixin.scss"; | 151 | @import "~@/styles/mixin.scss"; |
147 | </style> | 152 | </style> |
153 | ... | ... |
... | @@ -22,9 +22,9 @@ class data extends filter { | ... | @@ -22,9 +22,9 @@ class data extends filter { |
22 | label: "不动产权证类型", | 22 | label: "不动产权证类型", |
23 | render: (h, scope) => { | 23 | render: (h, scope) => { |
24 | return ( | 24 | return ( |
25 | <div> | 25 | <div> |
26 | <span v-show={scope.row.bdcqzlx == '1'}>不动产权证书</span> | 26 | <span v-show={scope.row.bdcqzlx == '1'}>不动产权证书</span> |
27 | <span v-show={scope.row.bdcqzlx == '2'}>不动产登记证明</span> | 27 | <span v-show={scope.row.bdcqzlx == '2'}>不动产登记证明</span> |
28 | </div> | 28 | </div> |
29 | ) | 29 | ) |
30 | } | 30 | } |
... | @@ -58,7 +58,7 @@ class data extends filter { | ... | @@ -58,7 +58,7 @@ class data extends filter { |
58 | { | 58 | { |
59 | prop: "zl", | 59 | prop: "zl", |
60 | label: "坐落" | 60 | label: "坐落" |
61 | }, | 61 | }, |
62 | { | 62 | { |
63 | prop: "fzsj", | 63 | prop: "fzsj", |
64 | label: "发证时间", | 64 | label: "发证时间", |
... | @@ -72,6 +72,9 @@ class data extends filter { | ... | @@ -72,6 +72,9 @@ class data extends filter { |
72 | //领证证列表 | 72 | //领证证列表 |
73 | lzgrid: [ | 73 | lzgrid: [ |
74 | { | 74 | { |
75 | type: 'selection' | ||
76 | }, | ||
77 | { | ||
75 | label: '序号', | 78 | label: '序号', |
76 | type: 'index', | 79 | type: 'index', |
77 | width: '50' | 80 | width: '50' |
... | @@ -82,9 +85,9 @@ class data extends filter { | ... | @@ -82,9 +85,9 @@ class data extends filter { |
82 | width: '120', | 85 | width: '120', |
83 | render: (h, scope) => { | 86 | render: (h, scope) => { |
84 | return ( | 87 | return ( |
85 | <div> | 88 | <div> |
86 | <span v-show={scope.row.bdcqzlx == '1'}>不动产权证书</span> | 89 | <span v-show={scope.row.bdcqzlx == '1'}>不动产权证书</span> |
87 | <span v-show={scope.row.bdcqzlx == '2'}>不动产登记证明</span> | 90 | <span v-show={scope.row.bdcqzlx == '2'}>不动产登记证明</span> |
88 | </div> | 91 | </div> |
89 | ) | 92 | ) |
90 | } | 93 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-04-18 10:51:37 | 4 | * @LastEditTime: 2023-05-05 09:45:31 |
5 | */ | 5 | */ |
6 | import Router from '@/router' | 6 | import Router from '@/router' |
7 | export default { | 7 | export default { |
8 | methods: { | 8 | methods: { |
9 | //点击行选中或取消复选框 | 9 | //点击行选中或取消复选框 |
10 | handleRowClick (row, column, event) { | 10 | handleRowClick (row, column, event) { |
11 | row.djblzt != 1 && (this.$refs.table.toggleRowSelection(row)) | 11 | (this.$refs.table.toggleRowSelection(row)) |
12 | }, | 12 | }, |
13 | jump (data, type) { | 13 | jump (data, type) { |
14 | const { href } = Router.resolve( | 14 | const { href } = Router.resolve( | ... | ... |
-
Please register or sign in to post a comment