|
@@ -48,12 +48,10 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="文件级别" prop="docLevel">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.docLevel"
|
|
|
- placeholder="请输入文件级别"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
+ <el-select v-model="queryParams.docLevel" placeholder="请选择文件级别" @change="handleQuery">
|
|
|
+ <el-option v-for="item in levelOptions" :key="item.levelId" :label="item.levelName"
|
|
|
+ :value="item.levelId"></el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="文件年份" prop="createYear">
|
|
|
<el-input
|
|
@@ -67,7 +65,7 @@
|
|
|
<el-select
|
|
|
v-model="queryParams.params"
|
|
|
placeholder="请输入标签名称"
|
|
|
- clearable
|
|
|
+ @change="handleQuery"
|
|
|
style="width: 180px"
|
|
|
>
|
|
|
<el-option
|
|
@@ -408,9 +406,6 @@ export default {
|
|
|
inputVisible: false,
|
|
|
inputValue: "",
|
|
|
|
|
|
- // 文档标签表格数据
|
|
|
- tagList: [],
|
|
|
-
|
|
|
// 遮罩层
|
|
|
loading: true,
|
|
|
// 选中数组
|
|
@@ -442,7 +437,6 @@ export default {
|
|
|
docName: null,
|
|
|
docLevel: null,
|
|
|
createYear: null,
|
|
|
- params: null,
|
|
|
},
|
|
|
// 表单参数
|
|
|
form: {},
|
|
@@ -655,17 +649,17 @@ export default {
|
|
|
remark: null,
|
|
|
isDel: null,
|
|
|
searchValue: this.spaceId,
|
|
|
- tagList:[]
|
|
|
+ tagList:[],
|
|
|
};
|
|
|
this.resetForm("form");
|
|
|
},
|
|
|
/** 搜索按钮操作 */
|
|
|
handleQuery() {
|
|
|
- // const para = {
|
|
|
- // tagId: 1,
|
|
|
- // }
|
|
|
- // console.log(para);
|
|
|
- // this.queryParams.tagName = para;
|
|
|
+ const para = {
|
|
|
+ tagId: 123,
|
|
|
+ }
|
|
|
+ console.log(this.queryParams.params);
|
|
|
+ this.queryParams.params = para;
|
|
|
|
|
|
this.queryParams.pageNum = 1;
|
|
|
this.getList();
|