优化前端

This commit is contained in:
1340691923@qq.com 2022-04-12 17:31:46 +08:00
parent 649c0afc07
commit 200531b95a
5 changed files with 8 additions and 7 deletions

View File

@ -76,7 +76,7 @@
dropdown-match-select-width dropdown-match-select-width
show-search show-search
default-active-first-option default-active-first-option
style="width: 120px" style="width: 40%;"
@change="changeEventNameDisplay(index)" @change="changeEventNameDisplay(index)"
> >

View File

@ -77,7 +77,7 @@
dropdown-match-select-width dropdown-match-select-width
show-search show-search
default-active-first-option default-active-first-option
style="width: 120px" style="width: 75%;"
@change="changeEventNameDisplay(index)" @change="changeEventNameDisplay(index)"
> >

View File

@ -71,7 +71,7 @@
dropdown-match-select-width dropdown-match-select-width
show-search show-search
default-active-first-option default-active-first-option
style="width: 120px" style="width: 75%;"
@change="changeEventNameDisplay(index)" @change="changeEventNameDisplay(index)"
> >
@ -139,7 +139,7 @@
dropdown-match-select-width dropdown-match-select-width
show-search show-search
default-active-first-option default-active-first-option
style="width: 120px" style="width: 75%;"
@change="changeEventNameDisplay(index)" @change="changeEventNameDisplay(index)"
> >

View File

@ -83,11 +83,12 @@
</el-row> </el-row>
<el-row style="padding-top: 5px" :span="6"> <el-row style="padding-top: 5px" :span="6">
<a-select <a-select
style="width: 75%;"
v-model="form.zhibiaoArr[index].eventName" v-model="form.zhibiaoArr[index].eventName"
dropdown-match-select-width dropdown-match-select-width
show-search show-search
default-active-first-option default-active-first-option
style="width: 120px"
@change="changeEventNameDisplay(index)" @change="changeEventNameDisplay(index)"
> >

View File

@ -376,8 +376,8 @@ export default {
}, },
async init() { async init() {
this.form.date = [ this.form.date = [
moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD'), moment().startOf('day').subtract(6, 'days').format('YYYY-MM-DD'),
moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD') moment().startOf('day').subtract(0, 'days').format('YYYY-MM-DD')
] ]
this.eventOptions = [] this.eventOptions = []