峰峰执法平台简易案件程序板块 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>
@@ -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>