|
|
@@ -4,6 +4,7 @@
|
|
|
:title="`处理工单`"
|
|
|
append-to-body
|
|
|
:visible.sync="visibleDialog"
|
|
|
+ destroy-on-close
|
|
|
@close="closeWindows"
|
|
|
width="80vw"
|
|
|
:maxable="true"
|
|
|
@@ -17,7 +18,7 @@
|
|
|
v-model="keyWord"
|
|
|
class="input-with-select"
|
|
|
>
|
|
|
- <el-button slot="append" icon="el-icon-search">搜索</el-button>
|
|
|
+ <el-button slot="append" icon="el-icon-search" @click="search">搜索</el-button>
|
|
|
</el-input>
|
|
|
<el-button type="primary" @click="control">处理</el-button>
|
|
|
</div>
|
|
|
@@ -316,6 +317,12 @@
|
|
|
this.getFieldModel();
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 搜索
|
|
|
+ search() {
|
|
|
+ this.pages.keyWord = this.keyWord;
|
|
|
+ this.pages.pageNum = 1;
|
|
|
+ this._getInformation();
|
|
|
+ },
|
|
|
control() {
|
|
|
if (this.selection.length > 0) {
|
|
|
console.log(this.selection);
|
|
|
@@ -447,6 +454,8 @@
|
|
|
this.selection = val;
|
|
|
},
|
|
|
closeWindows() {
|
|
|
+ this.keyWord = '';
|
|
|
+ this.pages.keyWord = '';
|
|
|
this.selection = [];
|
|
|
this.visibleDialog = false;
|
|
|
},
|