|
@@ -17,6 +17,17 @@
|
|
@keyup.enter.native='search'
|
|
@keyup.enter.native='search'
|
|
placeholder="课程名称"></el-input>
|
|
placeholder="课程名称"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item prop='orgin'>
|
|
|
|
+ <el-select class='multiple'
|
|
|
|
+ v-model="searchForm.orgin"
|
|
|
|
+ clearable
|
|
|
|
+ placeholder="请选择分部">
|
|
|
|
+ <el-option v-for="(item,index) in organList"
|
|
|
|
+ :key="index"
|
|
|
|
+ :label="item.name"
|
|
|
|
+ :value="item.id"></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
<!-- statusList -->
|
|
<!-- statusList -->
|
|
<el-form-item prop='status'>
|
|
<el-form-item prop='status'>
|
|
<el-select class='multiple'
|
|
<el-select class='multiple'
|
|
@@ -29,17 +40,7 @@
|
|
:value="item.value"></el-option>
|
|
:value="item.value"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item prop='orgin'>
|
|
|
|
- <el-select class='multiple'
|
|
|
|
- v-model="searchForm.orgin"
|
|
|
|
- clearable
|
|
|
|
- placeholder="请选择分部">
|
|
|
|
- <el-option v-for="(item,index) in organList"
|
|
|
|
- :key="index"
|
|
|
|
- :label="item.name"
|
|
|
|
- :value="item.id"></el-option>
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
|
|
+
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-select v-model="searchForm.teacherId"
|
|
<el-select v-model="searchForm.teacherId"
|
|
clearable
|
|
clearable
|
|
@@ -239,11 +240,12 @@ export default {
|
|
},
|
|
},
|
|
created () {
|
|
created () {
|
|
if (this.$route.query.searchForm) {
|
|
if (this.$route.query.searchForm) {
|
|
- this.$route.query.searchForm instanceof Object ? this.topForm = this.$route.query.searchForm : this.topForm = JSON.parse(this.$route.query.searchForm);
|
|
|
|
|
|
+ this.$route.query.searchForm instanceof Object ? this.searchForm = this.$route.query.searchForm : this.searchForm = JSON.parse(this.$route.query.searchForm);
|
|
}
|
|
}
|
|
if (this.$route.query.rules) {
|
|
if (this.$route.query.rules) {
|
|
this.$route.query.rules instanceof Object ? this.rules = this.$route.query.rules : this.rules = JSON.parse(this.$route.query.rules);
|
|
this.$route.query.rules instanceof Object ? this.rules = this.$route.query.rules : this.rules = JSON.parse(this.$route.query.rules);
|
|
}
|
|
}
|
|
|
|
+
|
|
},
|
|
},
|
|
mounted () {
|
|
mounted () {
|
|
getEmployeeOrgan().then(res => {
|
|
getEmployeeOrgan().then(res => {
|
|
@@ -277,6 +279,7 @@ export default {
|
|
search: null,
|
|
search: null,
|
|
status: null
|
|
status: null
|
|
}
|
|
}
|
|
|
|
+ this.getList()
|
|
},
|
|
},
|
|
getList () {
|
|
getList () {
|
|
let params = this.searchForm
|
|
let params = this.searchForm
|