|
@@ -3,10 +3,10 @@
|
|
|
<el-row>
|
|
|
<el-col :span="24" class="main animate__animated animate__backInRight" v-loading="loading">
|
|
|
<div class="w_1200 one">
|
|
|
- <demand v-show="routeType == 'demand'"></demand>
|
|
|
- <project v-show="routeType == 'project'"></project>
|
|
|
- <match v-show="routeType == 'match'"></match>
|
|
|
- <achievement v-show="routeType == 'achievement'"></achievement>
|
|
|
+ <demand v-if="routeType == 'demand'"></demand>
|
|
|
+ <project v-if="routeType == 'project'"></project>
|
|
|
+ <match v-if="routeType == 'match'"></match>
|
|
|
+ <achievement v-if="routeType == 'achievement'"></achievement>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -215,6 +215,8 @@ watch(
|
|
|
if (newVal) {
|
|
|
type.value = '0'
|
|
|
list.value = []
|
|
|
+ if (routeType.value == 'match') form.value = { file: [], rules: {} }
|
|
|
+ else form.value = {}
|
|
|
searchField()
|
|
|
}
|
|
|
},
|