Merge branch 'master' into dev
Showing
3 changed files
with
19 additions
and
22 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,7 +141,15 @@ export default { | ... | @@ -141,7 +141,15 @@ export default { |
| 141 | // table数据 | 141 | // table数据 |
| 142 | tableData: { | 142 | tableData: { |
| 143 | // 表头数据 | 143 | // 表头数据 |
| 144 | columns: datas.columns().concat([ | 144 | columns: [ |
| 145 | { | ||
| 146 | label: "序号", | ||
| 147 | type: "index", | ||
| 148 | width: "50", | ||
| 149 | index: this.indexMethod, | ||
| 150 | } | ||
| 151 | ] | ||
| 152 | .concat(datas.columns().concat([ | ||
| 145 | { | 153 | { |
| 146 | label: "操作", | 154 | label: "操作", |
| 147 | width: "80", | 155 | width: "80", |
| ... | @@ -160,8 +168,8 @@ export default { | ... | @@ -160,8 +168,8 @@ export default { |
| 160 | </div> | 168 | </div> |
| 161 | ); | 169 | ); |
| 162 | }, | 170 | }, |
| 163 | }, | 171 | } |
| 164 | ]), | 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