9193b93f by 任超

style:区县接入

1 parent 422ef20c
...@@ -23,6 +23,7 @@ export default { ...@@ -23,6 +23,7 @@ export default {
23 this.queryClick() 23 this.queryClick()
24 }, 24 },
25 handleCurrentChange (val) { 25 handleCurrentChange (val) {
26 console.log(val, '222222222');
26 this.pageData.currentPage = val 27 this.pageData.currentPage = val
27 if (this.queryClick) { 28 if (this.queryClick) {
28 this.queryClick() 29 this.queryClick()
......
...@@ -150,6 +150,7 @@ export default { ...@@ -150,6 +150,7 @@ export default {
150 this.message = error 150 this.message = error
151 this.$refs.msg.messageShow() 151 this.$refs.msg.messageShow()
152 } 152 }
153
153 }, 154 },
154 async handlDatadetails (index, row) { 155 async handlDatadetails (index, row) {
155 let { result: res, message } = await dataReporting.getQltFwFdcqYzByCondition(row.BSM_SJSB) 156 let { result: res, message } = await dataReporting.getQltFwFdcqYzByCondition(row.BSM_SJSB)
......
...@@ -111,7 +111,7 @@ export default { ...@@ -111,7 +111,7 @@ export default {
111 components: { 111 components: {
112 dataDetails, 112 dataDetails,
113 }, 113 },
114 data() { 114 data () {
115 return { 115 return {
116 // 开始结束日期限制 116 // 开始结束日期限制
117 pickerOptionsStart: { 117 pickerOptionsStart: {
...@@ -140,7 +140,7 @@ export default { ...@@ -140,7 +140,7 @@ export default {
140 djlx: "", // 登记类型 140 djlx: "", // 登记类型
141 jcjg: "", // 检查结果 141 jcjg: "", // 检查结果
142 rkjg: "", //入库结果 142 rkjg: "", //入库结果
143 currentPage: 1, 143 currentPage: 1
144 }, 144 },
145 // 校验规则 145 // 校验规则
146 rules: { 146 rules: {
...@@ -187,29 +187,28 @@ export default { ...@@ -187,29 +187,28 @@ export default {
187 </el-button> 187 </el-button>
188 <el-button type="primary">结果</el-button> 188 <el-button type="primary">结果</el-button>
189 </div> 189 </div>
190 ); 190 )
191 }, 191 }
192 }, 192 }
193 ]), 193 ]),
194 // 表格列表数据 194 // 表格列表数据
195 total: 0, 195 total: 0,
196 data: [{}], 196 data: [],
197 }, 197 },
198 // 分页 198 // 分页
199 pageData: { 199 pageData: {
200 total: 0, 200 total: 0,
201 pageSize: 10, 201 pageSize: 10,
202 current: 1, 202 current: 1
203 }, 203 },
204 // 业务名称 204 // 业务名称
205 statusOptions: [], 205 statusOptions: []
206 title: "", 206 }
207 };
208 }, 207 },
209 methods: { 208 methods: {
210 // 初始化数据 209 // 初始化数据
211 queryClick() { 210 queryClick () {
212 getReceiveDataReportPage({ ...this.form, ...this.pageData }).then( 211 getReceiveDataReportPage({ ...this.form, ...this.formData }).then(
213 (res) => { 212 (res) => {
214 if (res.code === 200) { 213 if (res.code === 200) {
215 let { total, records } = res.result; 214 let { total, records } = res.result;
...@@ -217,22 +216,20 @@ export default { ...@@ -217,22 +216,20 @@ export default {
217 this.tableData.data = records ? records : []; 216 this.tableData.data = records ? records : [];
218 } 217 }
219 } 218 }
220 ); 219 )
221 }, 220 },
222 // 重置 221 // 重置
223 resetForm() { 222 resetForm () {
224 this.$refs.ruleForm.resetFields(); 223 this.$refs.ruleForm.resetFields();
225 }, 224 this.pageData.currentPage = 1
226 featchData() {
227 this.queryClick(); 225 this.queryClick();
228 }, 226 },
229 // 详情 227 featchData () {
230 handleEdit(row) { 228 this.pageData.currentPage = 1
231 this.title = row.rectypeName; 229 this.queryClick();
232 this.$refs.editLog.isShow(row); 230 }
233 }, 231 }
234 }, 232 }
235 };
236 </script> 233 </script>
237 <style scoped lang="scss"> 234 <style scoped lang="scss">
238 // 引入表单整体样式 235 // 引入表单整体样式
......