From 3b1fc9088c6efc28bbfdab55b61b1626a863036d Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期二, 03 一月 2023 14:42:14 +0800 Subject: [PATCH] 布局调整 --- src/views/padSunmaryProcedure/index.vue | 32 ++++++++++++++++++++------------ 1 files changed, 20 insertions(+), 12 deletions(-) diff --git a/src/views/padSunmaryProcedure/index.vue b/src/views/padSunmaryProcedure/index.vue index a3b64ca..39745d1 100644 --- a/src/views/padSunmaryProcedure/index.vue +++ b/src/views/padSunmaryProcedure/index.vue @@ -1,16 +1,16 @@ <template> <basic-container id="box" style="width: 100vw"> <el-form :inline="true" :model="formInline" class="demo-form-inline"> - <el-form-item label="瀹℃壒浜�"> - <el-input v-model="formInline.litigant" placeholder="瀹℃壒浜�"></el-input> + <el-form-item label="褰撲簨浜�"> + <el-input v-model="formInline.litigant" placeholder="褰撲簨浜�" style="width:110px!important"></el-input> </el-form-item> <el-form-item label="鐢佃瘽"> - <el-input v-model="formInline.phone" placeholder="鐢佃瘽"></el-input> + <el-input v-model="formInline.phone" placeholder="鐢佃瘽" style="width:130px!important"></el-input> </el-form-item> <el-form-item> <el-button type="primary" @click="getDataList(0)">鏌ヨ</el-button> </el-form-item> - <el-form-item style="float: right"> + <el-form-item> <el-button type="primary" @click="getById">鏂板</el-button> </el-form-item> </el-form> @@ -23,7 +23,7 @@ prop="casePoint" label="妗堢敱" :show-overflow-tooltip="true" - min-width="22%" + min-width="20%" ></el-table-column> <el-table-column prop="litigant" @@ -77,17 +77,20 @@ isShow: false, formInline: { litigant: '', - phone: '' + phone: '', + current:this.pageIndex, + size:this.pageSize }, pageSize: 10, pageIndex: 1, total: 10, - tableHeight: 460, + tableHeight: 600, tableData: [] } }, created() { this.getDataList(0) + // this.formInline.litigant = window.android.getAppToken() }, methods: { /*look(){ @@ -98,14 +101,19 @@ getDataList(type) { // this.$nextTick(()=>{ if (type == 0) { - this.formInline.type = type + this.formInline.type = type; + this.formInline.current=this.pageIndex; + this.formInline.size=this.pageSize; getObj(this.formInline).then(res => { this.tableData = res.data.data.records + this.total =res.data.data.total }) - this.formInline.litigant = 222 } else { + // this.formInline.type = type; + this.formInline.current=this.pageIndex; + this.formInline.size=this.pageSize; // this.formInline.user=333 - getObj().then(res => { + getObj(this.formInline).then(res => { this.tableData = res.data.data.records }) } @@ -138,12 +146,12 @@ sizeChangeHandle(val) { this.pageSize = val; this.pageIndex = 1; - // this.getDataList(); + this.getDataList(0); }, // 褰撳墠椤� currentChangeHandle(val) { this.pageIndex = val; - // this.getDataList(); + this.getDataList(0); }, } } -- Gitblit v1.9.1