|
@@ -7,7 +7,13 @@
|
|
|
<!-- <el-cascader class="cascaders" v-model="cascaderSel" :options="options" style="width: 200px"
|
|
|
:props="{ checkStrictly: true, label: 'name', value: 'id' , children:'children', expandTrigger: 'hover' }" clearable>
|
|
|
</el-cascader> -->
|
|
|
- <el-input v-model="fuzzyQuery" placeholder="请输入" clearable />
|
|
|
+ <!-- <el-input v-model="fuzzyQuery" placeholder="请输入" clearable /> -->
|
|
|
+ <el-cascader
|
|
|
+ v-model="fuzzyQuery"
|
|
|
+ :options="options"
|
|
|
+ style="width: 240px"
|
|
|
+ :props="{ checkStrictly: true, label: 'name', value: 'id', children:'children'}"
|
|
|
+ clearable />
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button icon="el-icon-search" type="primary" native-type="submit" @click="handleQuery">
|
|
@@ -73,7 +79,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- fuzzyQuery: "",
|
|
|
+ fuzzyQuery: [],
|
|
|
imgShow: true,
|
|
|
list: [],
|
|
|
cascaderSel: "",
|
|
@@ -169,15 +175,11 @@ export default {
|
|
|
handleQuery() {
|
|
|
this.queryForm.pageNo = 1
|
|
|
this.fetchData()
|
|
|
- // console.log(1111111111111111111);
|
|
|
- // this.$router.push({
|
|
|
- // path: "/others/statisticAnalysis/form",
|
|
|
- // });
|
|
|
},
|
|
|
async fetchData() {
|
|
|
this.listLoading = true
|
|
|
api.projectplan({
|
|
|
- projectid: this.fuzzyQuery,
|
|
|
+ projectid: this.fuzzyQuery[2] || "",
|
|
|
pagenum: this.queryForm.pageNo,
|
|
|
pagesize: this.queryForm.pageSize,
|
|
|
}).then(res => {
|