style:省厅汇交
Showing
3 changed files
with
36 additions
and
39 deletions
... | @@ -10,18 +10,6 @@ class data extends filter { | ... | @@ -10,18 +10,6 @@ class data extends filter { |
10 | columns () { | 10 | columns () { |
11 | return [ | 11 | return [ |
12 | { | 12 | { |
13 | label: '序号', | ||
14 | type: 'index', | ||
15 | width: '50', | ||
16 | render: (h, scope) => { | ||
17 | return ( | ||
18 | <div> | ||
19 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
20 | </div> | ||
21 | ) | ||
22 | } | ||
23 | }, | ||
24 | { | ||
25 | label: '汇交状态', | 13 | label: '汇交状态', |
26 | width: '110', | 14 | width: '110', |
27 | render: (h, scope) => { | 15 | render: (h, scope) => { | ... | ... |
... | @@ -26,8 +26,8 @@ | ... | @@ -26,8 +26,8 @@ |
26 | <el-col :span="6"> | 26 | <el-col :span="6"> |
27 | <el-form-item label="至" prop="exchangeStartTime" label-width="35px"> | 27 | <el-form-item label="至" prop="exchangeStartTime" label-width="35px"> |
28 | <el-date-picker type="date" class="width100" placeholder="结束日期" clearable | 28 | <el-date-picker type="date" class="width100" placeholder="结束日期" clearable |
29 | :picker-options="pickerOptionsEnd" v-model="form.exchangeEndTime" | 29 | :picker-options="pickerOptionsEnd" v-model="form.exchangeEndTime" value-format="yyyy-MM-dd HH:mm:ss" |
30 | value-format="yyyy-MM-dd HH:mm:ss" @change="endTimeChange"></el-date-picker> | 30 | @change="endTimeChange"></el-date-picker> |
31 | </el-form-item> | 31 | </el-form-item> |
32 | </el-col> | 32 | </el-col> |
33 | <el-col :span="6"> | 33 | <el-col :span="6"> |
... | @@ -91,7 +91,7 @@ import tableMixin from "@/mixins/tableMixin.js"; | ... | @@ -91,7 +91,7 @@ import tableMixin from "@/mixins/tableMixin.js"; |
91 | import dataDetails from "@/components/EditDialog"; | 91 | import dataDetails from "@/components/EditDialog"; |
92 | import { getDataReportPage } from "@/api/dataReport.js"; | 92 | import { getDataReportPage } from "@/api/dataReport.js"; |
93 | //引入日期处理方法 | 93 | //引入日期处理方法 |
94 | import {timeFormat } from "@/utils/operation"; | 94 | import { timeFormat } from "@/utils/operation"; |
95 | export default { | 95 | export default { |
96 | name: "sbbwcx", | 96 | name: "sbbwcx", |
97 | mixins: [tableMixin], | 97 | mixins: [tableMixin], |
... | @@ -123,14 +123,14 @@ export default { | ... | @@ -123,14 +123,14 @@ export default { |
123 | qxdm: "", // 行政区 | 123 | qxdm: "", // 行政区 |
124 | exchangeStartTime: "", // 开始日期 | 124 | exchangeStartTime: "", // 开始日期 |
125 | exchangeEndTime: "", // 结束日期 | 125 | exchangeEndTime: "", // 结束日期 |
126 | hjjg:"", //汇交状态 | 126 | hjjg: "", //汇交状态 |
127 | bdcdyh: "", // 不动产单元号 | 127 | bdcdyh: "", // 不动产单元号 |
128 | ywh: "", // 业务号 | 128 | ywh: "", // 业务号 |
129 | qllx: "", // 权利类型 | 129 | qllx: "", // 权利类型 |
130 | djlx: "", // 登记类型 | 130 | djlx: "", // 登记类型 |
131 | jcjg: "", // 检查结果 | 131 | jcjg: "", // 检查结果 |
132 | rkjg: "", //入库结果 | 132 | rkjg: "", //入库结果 |
133 | currentPage: 1, | 133 | currentPage: 1 |
134 | }, | 134 | }, |
135 | // 分页 | 135 | // 分页 |
136 | pageData: { | 136 | pageData: { |
... | @@ -141,27 +141,35 @@ export default { | ... | @@ -141,27 +141,35 @@ export default { |
141 | // table数据 | 141 | // table数据 |
142 | tableData: { | 142 | tableData: { |
143 | // 表头数据 | 143 | // 表头数据 |
144 | columns: datas.columns().concat([ | 144 | columns: [ |
145 | { | 145 | { |
146 | label: "操作", | 146 | label: "序号", |
147 | width: "80", | 147 | type: "index", |
148 | render: (h, scope) => { | 148 | width: "50", |
149 | return ( | 149 | index: this.indexMethod, |
150 | <div> | 150 | } |
151 | <el-button | 151 | ] |
152 | size="mini" | 152 | .concat(datas.columns().concat([ |
153 | type="primary" | 153 | { |
154 | onClick={() => { | 154 | label: "操作", |
155 | this.handleDetail(scope.row); | 155 | width: "80", |
156 | }} | 156 | render: (h, scope) => { |
157 | > | 157 | return ( |
158 | 详情 | 158 | <div> |
159 | </el-button> | 159 | <el-button |
160 | </div> | 160 | size="mini" |
161 | ); | 161 | type="primary" |
162 | }, | 162 | onClick={() => { |
163 | }, | 163 | this.handleDetail(scope.row); |
164 | ]), | 164 | }} |
165 | > | ||
166 | 详情 | ||
167 | </el-button> | ||
168 | </div> | ||
169 | ); | ||
170 | }, | ||
171 | } | ||
172 | ])), | ||
165 | total: 0, | 173 | total: 0, |
166 | data: [], | 174 | data: [], |
167 | }, | 175 | }, |
... | @@ -173,8 +181,8 @@ export default { | ... | @@ -173,8 +181,8 @@ export default { |
173 | }, | 181 | }, |
174 | methods: { | 182 | methods: { |
175 | //截止日期变化 | 183 | //截止日期变化 |
176 | endTimeChange(val){ | 184 | endTimeChange (val) { |
177 | this.form.exchangeEndTime = timeFormat(new Date(val),true) | 185 | this.form.exchangeEndTime = timeFormat(new Date(val), true) |
178 | }, | 186 | }, |
179 | // 初始化数据 | 187 | // 初始化数据 |
180 | queryClick () { | 188 | queryClick () { | ... | ... |
-
Please register or sign in to post a comment