Sfoglia il codice sorgente

添加搜索条件

lex-xin 4 anni fa
parent
commit
1cc9664261

+ 12 - 1
src/views/teamBuild/components/forecast-list.vue

@@ -32,6 +32,16 @@
                         <el-option v-for="item in selects.subjects" :value="item.id" :label="item.name" :key="item.id"></el-option>
                     </el-select>
                 </el-form-item>
+                <el-form-item prop="cloudTeacherMethod">
+                    <el-select
+                        v-model.trim="searchForm.cloudTeacherMethod"
+                        clearable
+                        placeholder="系统意向"
+                    >
+                        <el-option label="团购" value="GROUP"></el-option>
+                        <el-option label="自备" value="OWNED"></el-option>
+                    </el-select>
+                </el-form-item>
                 <el-form-item>
                     <el-button type="danger" native-type="seach">搜索</el-button>
                     <el-button native-type="reset" type="primary">重置</el-button>
@@ -119,7 +129,7 @@
                         label="系统意向"
                     >
                         <template slot-scope="scope">
-                            {{ scope.row.cloudTeacherMethod |instrumentType }}
+                            {{ scope.row.cloudTeacherMethod | instrumentType }}
                         </template>
                     </el-table-column>
                     <el-table-column
@@ -160,6 +170,7 @@ export default {
                 name: null,
                 subjectId: null,
                 isAllowAdjust: null,
+                cloudTeacherMethod: null
             },
             tableList: [],
             pageInfo: {

+ 12 - 1
src/views/teamBuild/forecastName.vue

@@ -63,6 +63,16 @@
                         <el-option v-for="item in selects.subjects" :value="item.id" :label="item.name" :key="item.id"></el-option>
                     </el-select>
                 </el-form-item>
+                <el-form-item prop="cloudTeacherMethod">
+                    <el-select
+                        v-model.trim="searchForm.cloudTeacherMethod"
+                        clearable
+                        placeholder="系统意向"
+                    >
+                        <el-option label="团购" value="GROUP"></el-option>
+                        <el-option label="自备" value="OWNED"></el-option>
+                    </el-select>
+                </el-form-item>
                 <el-form-item>
                     <el-button type="danger" native-type="seach">搜索</el-button>
                     <el-button native-type="reset" type="primary">重置</el-button>
@@ -156,7 +166,7 @@
                         label="系统意向"
                     >
                         <template slot-scope="scope">
-                            {{ scope.row.cloudTeacherMethod |instrumentType }}
+                            {{ scope.row.cloudTeacherMethod | instrumentType }}
                         </template>
                     </el-table-column>
                     <el-table-column
@@ -270,6 +280,7 @@ export default {
                 name: null,
                 subjectId: null,
                 isAllowAdjust: null,
+                cloudTeacherMethod: null,
             },
             tableList: [],
             pageInfo: {