| | |
| | | <template> |
| | | <div> |
| | | <el-dialog :title="title" :visible.sync="open" width="1200px" append-to-body @close="quxiao"> |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px"> |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px" @submit.native.prevent="handleQuery"> |
| | | |
| | | <el-form-item label="内容" prop="xmg"> |
| | | <el-input v-model="queryParams.xmgz" placeholder="请输入内容" clearable @keyup.enter.native="handleQuery" |
| | | style="width: 130px;" /> |
| | | <el-input v-model="queryParams.xmgz" placeholder="请输入内容" clearable |
| | | style="width: 130px;" @keyup.enter.native="handleQuery"/> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> |
| | |
| | | placeholder="" |
| | | style="width: 400px;" |
| | | clearable |
| | | |
| | | /> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | queryParams: { xmgz: '' } |
| | | }; |
| | | }, |
| | | |
| | | mounted() { |
| | | }, |
| | | methods: { |
| | |
| | | this.list = []; // 清空已选列表 |
| | | }, |
| | | handleQuery() { |
| | | this.getList(); |
| | | this.loading = true; |
| | | selectZT({ |
| | | proId: this.proId, |
| | | xmgz: this.queryParams.xmgz |
| | | }).then((res) => { |
| | | if (res.data.length > 0) { |
| | | this.open = true |
| | | this.dataList = res.data; |
| | | this.loading = false; |
| | | } else { |
| | | this.dataList = res.data; |
| | | this.loading = false; |
| | | } |
| | | }); |
| | | }, |
| | | handleSelectionChange(selection) { |
| | | this.list = selection |
| | | console.log(this.list); |
| | | |
| | | }, |
| | | getList() { |
| | | getList(row,date) { |
| | | console.log(row) |
| | | this.proId=row.proId |
| | | this.loading = true; |
| | | selectZT({ |
| | | proId: this.proId, |