| | |
| | | openTip ? "关闭提示" : "开启提示" |
| | | }}</Button> |
| | | <Input |
| | | v-model="searchForm.content" |
| | | v-model="searchForm2.content" |
| | | suffix="ios-search" |
| | | @on-change="getDataList" |
| | | @on-change="getDataList2" |
| | | placeholder="输入反馈内容搜索" |
| | | clearable |
| | | style="width: 250px" |
| | |
| | | order: "desc", // 默认排序方式 |
| | | key: "", |
| | | }, |
| | | searchForm2: { |
| | | // 搜索框初始化对象 |
| | | pageNumber: 1, // 当前页数 |
| | | pageSize: 10, // 页面大小 |
| | | sort: "createTime", // 默认排序字段 |
| | | order: "desc", // 默认排序方式 |
| | | key: "", |
| | | }, |
| | | addOilForm: { |
| | | status : 0 |
| | | }, |
| | |
| | | submitLoading: false, |
| | | selectList: [], |
| | | columns: [ |
| | | { |
| | | type: "selection", |
| | | width: 60, |
| | | align: "center", |
| | | }, |
| | | // { |
| | | // type: "selection", |
| | | // width: 60, |
| | | // align: "center", |
| | | // }, |
| | | { |
| | | type: "index", |
| | | width: 60, |
| | |
| | | { |
| | | title: "反馈时间", |
| | | key: "createTime", |
| | | width: 110, |
| | | width: 130, |
| | | render: (h, params) => { |
| | | return h("div",params.row.createTime.substr(0,10)); |
| | | } |
| | |
| | | getDataList() { |
| | | this.loading = true; |
| | | getSuggest(this.searchForm).then((res) => { |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data = res.result.records; |
| | | this.total = res.result.total; |
| | | } |
| | | }); |
| | | }, |
| | | getDataList2() { |
| | | this.loading = true; |
| | | getSuggest(this.searchForm2).then((res) => { |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data = res.result.records; |
| | |
| | | this.init(); |
| | | }, |
| | | }; |
| | | </script> |
| | | </script> |