|
@@ -50,14 +50,16 @@
|
|
|
type="date"
|
|
|
:disabled-date="time => disabledDate(time)"
|
|
|
placeholder="日期"
|
|
|
- @change="onSubmit"
|
|
|
>
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="关键词">
|
|
|
+ <el-input v-model="form.match" placeholder="检索关键词" clearable />
|
|
|
+ </el-form-item>
|
|
|
<el-form-item style="float: right">
|
|
|
- <!-- <el-button type="primary" @click="onSubmit" :loading="load">
|
|
|
+ <el-button type="primary" @click="onSubmit" :loading="load">
|
|
|
查询
|
|
|
- </el-button> -->
|
|
|
+ </el-button>
|
|
|
<el-button type="primary" @click="onExport">导出</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -188,6 +190,7 @@ export default {
|
|
|
form: {
|
|
|
platform: "",
|
|
|
dt: "",
|
|
|
+ match: ""
|
|
|
},
|
|
|
formRael: { platform: "", dt: "" },
|
|
|
tableData: [],
|
|
@@ -209,7 +212,7 @@ export default {
|
|
|
this.onSubmit();
|
|
|
});
|
|
|
},
|
|
|
- computed: {
|
|
|
+ computed: {
|
|
|
agg() {
|
|
|
if (!this.formRael.platform) return [];
|
|
|
return config.tableCol.agg[this.formRael.platform];
|
|
@@ -304,6 +307,7 @@ export default {
|
|
|
return {
|
|
|
platform: this.form.platform || this.pListData[0],
|
|
|
dt: [d.year, d.month, d.day].join("-"),
|
|
|
+ match: this.form.match
|
|
|
};
|
|
|
},
|
|
|
},
|