| | |
| | | <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> |
| | |
| | | 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 =>{ |
| | |
| | | }, |
| | | //点击点跳转查看 |
| | | 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(){ |