| | |
| | | <template> |
| | | <basic-container style="width: 100%"> |
| | | <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.user" placeholder="审批人"></el-input> |
| | | <el-input v-model="formInline.litigant" placeholder="审批人"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="活动区域"> |
| | | <el-select v-model="formInline.region" placeholder="活动区域"> |
| | | <el-option label="区域一" value="shanghai"></el-option> |
| | | <el-option label="区域二" value="beijing"></el-option> |
| | | </el-select> |
| | | <el-form-item label="电话"> |
| | | <el-input v-model="formInline.phone" placeholder="电话"></el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" @click="lookToken">查询</el-button> |
| | | <el-button type="primary" @click="look()">查询</el-button> |
| | | </el-form-item> |
| | | <el-form-item style="float: right"> |
| | | <el-button type="primary" @click="getById">新增</el-button> |
| | |
| | | min-width="22%" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | prop="unitName" |
| | | prop="createTime" |
| | | label="提交时间" |
| | | sortable |
| | | min-width="18%" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | prop="caseSource" |
| | | prop="hanlders" |
| | | label="执法人" |
| | | :show-overflow-tooltip="true" |
| | | min-width="18%" |
| | | ></el-table-column> |
| | | <!-- <el-table-column |
| | | label="操作" |
| | | align="center" |
| | | header-align="center" |
| | | min-width="18%"> |
| | | <template v-slot:="scope"> |
| | | <el-button type="text" @click="goProcess(scope.row)"> |
| | | <img src="../../../assets/lawImg/seeIcon.png" alt=""> |
| | | </el-button> |
| | | <el-button type="text" @click="getById(scope.row.id)"> |
| | | <img src="../../../assets/lawImg/editIcon2.png" alt=""> |
| | | </el-button> |
| | | </template> |
| | | </el-table-column>--> |
| | | </el-table> |
| | | </div> |
| | | <div class="avue-crud__pagination"> |
| | |
| | | return { |
| | | isShow:false, |
| | | formInline: { |
| | | user: '', |
| | | region: '' |
| | | litigant: '', |
| | | phone: '' |
| | | }, |
| | | pageSize:10, |
| | | pageIndex:1, |
| | | total:10, |
| | | tableHeight: 460, |
| | | tableData: [{ |
| | | phone:'1883029', |
| | | date: '2016-05-02', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1518 弄' |
| | | }, { |
| | | date: '2016-05-04', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1517 弄' |
| | | }, { |
| | | date: '2016-05-01', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1519 弄' |
| | | }, { |
| | | date: '2016-05-03', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江路 1516 弄' |
| | | }] |
| | | tableData: [] |
| | | } |
| | | }, |
| | | created() { |
| | | this.getDataList() |
| | | this.getDataList(0) |
| | | }, |
| | | methods: { |
| | | look(){ |
| | | // this.formInline.phone =1111 |
| | | this.formInline.phone = window.android.getAppToken() |
| | | }, |
| | | // 查询列表 |
| | | lookToken(){ |
| | | getDataList(type){ |
| | | // this.$nextTick(()=>{ |
| | | // let a =window.android.getAppToken() |
| | | this.formInline.user=window.android.getAppToken() |
| | | // console.log(window.android.getAppToken(),'window==') |
| | | 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 |
| | | }) |
| | | } |
| | | // }) |
| | | }, |
| | | //点击点跳转查看 |
| | | rowget(row,column) { |
| | | console.log(row,'row===') |
| | | console.log(column,'column===') |
| | | // console.log(column,'column===') |
| | | // this.$router.push({name: 'process_manage', params: {name: id}}) |
| | | this.$router.push({ |
| | | path: '/padWord', |
| | | query: { |
| | | id: row.id, |
| | | name:row.casePoint |
| | | } |
| | | }) |
| | | this.$store.commit('SET_ID',row.id) |
| | | }, |
| | | //打开新增弹框 |
| | | getById(id){ |
| | | this.isShow = true; |
| | | this.$nextTick(() => { |
| | | this.$refs.sunmaryProcedure.init(id) |
| | | getById(){ |
| | | this.$router.push({ |
| | | path: '/fromAdd', |
| | | }) |
| | | }, |
| | | //关闭添加弹框 |
| | | cancel() { |
| | | this.isShow = false; |
| | | }, |
| | | //查询 |
| | | getDataList() { |
| | | getObj().then(res =>{ |
| | | |
| | | }) |
| | | }, |
| | | // 每页数 |
| | | sizeChangeHandle(val) { |
| | |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | |
| | | <style lang="scss" scoped> |
| | | #box{ |
| | | font-size: 30px!important; |
| | | } |
| | | </style> |