From 2269640d26a7a9b21a3828c75fb5aaa56ccfd6f8 Mon Sep 17 00:00:00 2001
From: yang <1441163367@qq.com>
Date: 星期三, 02 十一月 2022 09:26:40 +0800
Subject: [PATCH] 修改问题

---
 src/views/padSunmaryProcedure/index.vue |   72 ++++++++++++++++++------------------
 1 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/src/views/padSunmaryProcedure/index.vue b/src/views/padSunmaryProcedure/index.vue
index 158f0d6..0e6f3a9 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="look()">鏌ヨ</el-button>
+        <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"
@@ -74,59 +74,59 @@
 
   data() {
     return {
-      isShow:false,
+      isShow: false,
       formInline: {
         litigant: '',
         phone: ''
       },
-      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(){
+    /*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
-          })
-          this.formInline.phone = window.android.getAppToken()
-        }else {
-          // this.formInline.user=333
-          getObj().then(res =>{
-            this.tableData =res.data.data.records
-          })
-        }
+      if (type == 0) {
+        this.formInline.type = type
+        getObj(this.formInline).then(res => {
+          this.tableData = res.data.data.records
+          this.total =res.data.data.total
+        })
+      } else {
+        // this.formInline.user=333
+        getObj().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: {
-          name:row.casePoint
+          name: row.casePoint,
         }
       })
-        this.$store.commit('SET_ID',row.id)
+      this.$store.commit('SET_ID', row.id)
+      // }
+
     },
     //鎵撳紑鏂板寮规
-    getById(){
+    getById() {
       this.$router.push({
         path: '/fromAdd',
       })
@@ -151,7 +151,7 @@
 </script>
 
 <style lang="scss" scoped>
-#box{
-  font-size: 30px!important;
+#box {
+  font-size: 30px !important;
 }
 </style>

--
Gitblit v1.9.1