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 |   86 ++++++++++++++++++++++++------------------
 1 files changed, 49 insertions(+), 37 deletions(-)

diff --git a/src/views/padSunmaryProcedure/index.vue b/src/views/padSunmaryProcedure/index.vue
index f6b6b0a..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.user" 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"
@@ -36,13 +36,13 @@
           min-width="22%"
         ></el-table-column>
         <el-table-column
-          prop="unitName"
+          prop="createTime"
           label="鎻愪氦鏃堕棿"
           sortable
           min-width="18%"
         ></el-table-column>
         <el-table-column
-          prop="caseSource"
+          prop="hanlders"
           label="鎵ф硶浜�"
           :show-overflow-tooltip="true"
           min-width="18%"
@@ -74,54 +74,66 @@
 
   data() {
     return {
-      isShow:false,
+      isShow: false,
       formInline: {
         litigant: '',
-        phone: ''
+        phone: '',
+        current:this.pageIndex,
+        size:this.pageSize
       },
-      pageSize:10,
-      pageIndex:1,
-      total:10,
-      tableHeight: 460,
+      pageSize: 10,
+      pageIndex: 1,
+      total: 10,
+      tableHeight: 600,
       tableData: []
     }
   },
   created() {
     this.getDataList(0)
+    // this.formInline.litigant = window.android.getAppToken()
   },
   methods: {
+    /*look(){
+      // this.formInline.phone =1111
+      this.formInline.phone = window.android.getAppToken()
+    },*/
     // 鏌ヨ鍒楄〃
-    getDataList(type){
+    getDataList(type) {
       // this.$nextTick(()=>{
-        if(type==0){
-          this.formInline.type = type
-          // this.formInline.user=222
-          getObj(this.formInline).then(res =>{
-            this.tableData =res.data.data.records
-          })
-        }else {
-          // this.formInline.user=333
-          getObj().then(res =>{
-            this.tableData =res.data.data.records
-          })
-        }
+      if (type == 0) {
+        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
+        })
+      } else {
+        // this.formInline.type = type;
+        this.formInline.current=this.pageIndex;
+        this.formInline.size=this.pageSize;
+        // this.formInline.user=333
+        getObj(this.formInline).then(res => {
+          this.tableData = res.data.data.records
+        })
+      }
       // })
     },
     //鐐瑰嚮鐐硅烦杞煡鐪�
-    rowget(row,column) {
-      /*console.log(row,'row===')
-      console.log(column,'column===')*/
-      // this.$router.push({name: 'process_manage', params: {name: id}})
+    rowget(row, column) {
+      // if (row.casePoint){
       this.$router.push({
         path: '/padWord',
         query: {
-          id: row.id,
-          name:row.casePoint
+          name: row.casePoint,
         }
       })
+      this.$store.commit('SET_ID', row.id)
+      // }
+
     },
     //鎵撳紑鏂板寮规
-    getById(){
+    getById() {
       this.$router.push({
         path: '/fromAdd',
       })
@@ -134,19 +146,19 @@
     sizeChangeHandle(val) {
       this.pageSize = val;
       this.pageIndex = 1;
-      // this.getDataList();
+      this.getDataList(0);
     },
     // 褰撳墠椤�
     currentChangeHandle(val) {
       this.pageIndex = val;
-      // this.getDataList();
+      this.getDataList(0);
     },
   }
 }
 </script>
 
 <style lang="scss" scoped>
-#box{
-  font-size: 30px!important;
+#box {
+  font-size: 30px !important;
 }
 </style>

--
Gitblit v1.9.1