Commit 0e910103 by xinla

--no commit message

1 parent d804b6c6
...@@ -545,9 +545,9 @@ export default { ...@@ -545,9 +545,9 @@ export default {
:selected="selectedTag" :selected="selectedTag"
@success="submitSelectTag" @success="submitSelectTag"
> >
<el-button class="ml20" type="primary" @click="dialogVisibleAddTag = true" <!-- <el-button class="ml20" type="primary" @click="dialogVisibleAddTag = true"
>添加标签</el-button >添加标签</el-button
> > -->
</SelectTag> </SelectTag>
<!-- 选择添加人弹窗 --> <!-- 选择添加人弹窗 -->
......
...@@ -53,6 +53,7 @@ export default { ...@@ -53,6 +53,7 @@ export default {
this.query.endTime = '' this.query.endTime = ''
} }
page && (this.query.pageNum = page) page && (this.query.pageNum = page)
this.query.tagIds = this.queryTag.map((d) => d.tagId) + ''
this.loading = true this.loading = true
api api
.getList(this.query) .getList(this.query)
...@@ -100,7 +101,6 @@ export default { ...@@ -100,7 +101,6 @@ export default {
}, },
submitSelectTag(selected) { submitSelectTag(selected) {
if (this.tagDialogType.type === 'query') { if (this.tagDialogType.type === 'query') {
this.query.tagIds = selected.map((d) => d.tagId) + ''
this.queryTag = selected this.queryTag = selected
this.dialogVisible = false this.dialogVisible = false
} else { } else {
...@@ -130,7 +130,10 @@ export default { ...@@ -130,7 +130,10 @@ export default {
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
this.dateRange = [] this.dateRange = []
this.queryTag = []
this.queryUser = []
this.$refs['queryForm'].resetFields() this.$refs['queryForm'].resetFields()
this.getList(1)
}, },
sync() { sync() {
const loading = this.$loading({ const loading = this.$loading({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!