峰峰执法平台简易案件程序板块 pad端
yang
2022-10-31 cbec633fda4ecf0f77288f25067a8512915b565a
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>
@@ -90,20 +90,19 @@
    this.getDataList(0)
  },
  methods: {
    look(){
    /*look(){
      // this.formInline.phone =1111
      this.formInline.phone = window.android.getAppToken()
    },
    },*/
    // 查询列表
    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()
        this.formInline.litigant = 222
        }else {
          // this.formInline.user=333
          getObj().then(res =>{
@@ -114,16 +113,16 @@
    },
    //点击点跳转查看
    rowget(row,column) {
      console.log(row,'row===')
      // console.log(column,'column===')
      // this.$router.push({name: 'process_manage', params: {name: id}})
      // if (row.casePoint){
      this.$router.push({
        path: '/padWord',
        query: {
          name:row.casePoint
          name: row.casePoint,
        }
      })
        this.$store.commit('SET_ID',row.id)
      // }
    },
    //打开新增弹框
    getById(){