@@ -516,6 +516,7 @@ export default {
this.$set(this.form_all, 'projectOwner', this.query_object.projectOwner)
this.$set(this.form_all, 'bizType', '')
this.$set(this.form_all, 'creater', '')
+ this.$set(this.form_all, 'tagIdList', [])
this.$message({
message: '已重置',
type: 'success',
@@ -796,7 +796,8 @@ export default {
rqmtProposer: '',
sourceTypeList: [],
isFromDpm: '',
- date: []
+ date: [],
+ tagIdList: []
}
if (this.nowTab === 'charts') {
this.searchForm = { ...this.searchForm, name: '', statusList: [] }
@@ -103,7 +103,7 @@ const data = [
key: 'tagIdList',
type: 'TagSearch',
pageType: 'REQUIRE',
- tyles: { marginBottom: '15px', width: '380px' },
+ styles: { marginBottom: '15px', width: '380px' },
value: []
]
@@ -923,7 +923,8 @@ export default {
creater: '',
priority: '',
this.form_task = { ...this.form_task, name: '', statusList: [] }
@@ -151,7 +151,7 @@ export default {
endTime: moment(this.timeSelectVal[1]).format('YYYY.MM.DD')
},
peoples: [
- ...this.filtrate.checkedMembers
+ ...(this.filtrate.checkedMembers || [])
this.loading = true
@@ -177,6 +177,8 @@ export default {
this.radioChange()
queryTeamIdleList(data) {
+ // 如果数据为空不执行
+ if (JSON.stringify(data) === '{}') return
const today = new Date()
const colorlist = ['#A1DEFF', '#FAB5B5', '#BCED86', '#FFA87F', '#8E44AD', '#1EBC61', '#0287D0']
this.personal = false