From cbec633fda4ecf0f77288f25067a8512915b565a Mon Sep 17 00:00:00 2001
From: yang <1441163367@qq.com>
Date: 星期一, 31 十月 2022 08:23:55 +0800
Subject: [PATCH] 修改问题

---
 src/views/padSunmaryProcedure/index.vue |   59 +++++++++++++++++++++++++++++------------------------------
 1 files changed, 29 insertions(+), 30 deletions(-)

diff --git a/src/views/padSunmaryProcedure/index.vue b/src/views/padSunmaryProcedure/index.vue
index 158f0d6..a3b64ca 100644
--- a/src/views/padSunmaryProcedure/index.vue
+++ b/src/views/padSunmaryProcedure/index.vue
@@ -8,7 +8,7 @@
         <el-input v-model="formInline.phone" placeholder="鐢佃瘽"></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-button type="primary" @click="getById">鏂板</el-button>
@@ -74,14 +74,14 @@
 
   data() {
     return {
-      isShow:false,
+      isShow: false,
       formInline: {
         litigant: '',
         phone: ''
       },
-      pageSize:10,
-      pageIndex:1,
-      total:10,
+      pageSize: 10,
+      pageIndex: 1,
+      total: 10,
       tableHeight: 460,
       tableData: []
     }
@@ -90,43 +90,42 @@
     this.getDataList(0)
   },
   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.formInline.litigant = 222
+      } 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 +150,7 @@
 </script>
 
 <style lang="scss" scoped>
-#box{
-  font-size: 30px!important;
+#box {
+  font-size: 30px !important;
 }
 </style>

--
Gitblit v1.9.1