-
+
diff --git a/src/views/course/components/setMainTeacher.vue b/src/views/course/components/setMainTeacher.vue
index 2f8aec3..51aac09 100644
--- a/src/views/course/components/setMainTeacher.vue
+++ b/src/views/course/components/setMainTeacher.vue
@@ -68,8 +68,7 @@
show({
id: this.id
}).then(res => {
- this.form = this.base.requestToForm(res, this.form)
- this.$forceUpdate()
+ this.form = this.base.deepCopy(res, this.form)
})
},
},
diff --git a/src/views/course/components/showCode.vue b/src/views/course/components/showCode.vue
index 3c6a77b..4e1d792 100644
--- a/src/views/course/components/showCode.vue
+++ b/src/views/course/components/showCode.vue
@@ -16,8 +16,10 @@
-
-
![]()
+
+
+
![]()
+
@@ -86,12 +88,12 @@
}
.code {
- height: 300px;
+ height: 200px;
text-align: center;
- >img {
- width: 300px;
- height: 300px;
+ img {
+ width: 200px;
+ height: 200px;
}
}
diff --git a/src/views/course/pay.vue b/src/views/course/pay.vue
index c755d18..5136c4d 100644
--- a/src/views/course/pay.vue
+++ b/src/views/course/pay.vue
@@ -80,8 +80,8 @@
diff --git a/src/views/student/index.vue b/src/views/student/index.vue
index 52ac1e4..1896ad9 100644
--- a/src/views/student/index.vue
+++ b/src/views/student/index.vue
@@ -10,9 +10,9 @@
-
-
-
+
+
+
@@ -64,12 +64,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
查询
- 导入
+ 导入
批量设置校友库
批量取消校友库
@@ -106,20 +106,20 @@
-
-
-
{{item.value}}
+
+
+ {{item.value}}
-
-
- VIP学员
+
+
+ VIP学员
普通学员
@@ -134,7 +134,9 @@
-
+
+
+
@@ -146,25 +148,27 @@
indexStudy,
updateSchoolmate
} from '@/api/student/index.js'
+ import imports from "@/views/component/imports.vue"
export default {
mixins: [myMixins, formMixin],
components: {
- studentDetail
+ studentDetail,
+ imports
},
data() {
return {
path: '',
select: {
- name: '',
- mobile:'',
+ name: '',
+ mobile: '',
course_name: '',
company_name: '',
company_position: '',
company_area: '',
company_type: '',
company_industry: '',
- is_vip: '',
- is_schoolmate:'',
+ is_vip: '',
+ is_schoolmate: '',
courses_end_date: '',
page: 1,
page_size: 10,
@@ -236,7 +240,16 @@
created() {
this.getList()
},
- methods: {
+ methods: {
+ importTable(row) {
+ // this.$refs.imports.tableData = {
+ // 'data[course_id]': row.course_id,
+ // 'data[course_content_id]': row.id
+ // }
+ this.$refs.imports.show()
+
+ // {"course_id":15,"course_content_id":188}
+ },
pageIndexChange(e) {
this.select.page = e
this.getList()
@@ -250,16 +263,16 @@
const res = await indexStudy({
page: this.select.page,
page_size: this.select.page_size,
- name: this.select.name,
- mobile:this.select.mobile,
+ name: this.select.name,
+ mobile: this.select.mobile,
company_name: this.select.company_name,
company_position: this.select.company_position,
company_area: this.select.company_area,
company_type: this.select.company_type,
company_industry: this.select.company_industry,
is_vip: this.select.is_vip,
- courses_end_date: this.select.courses_end_date,
- is_schoolmate:this.select.is_schoolmate
+ courses_end_date: this.select.courses_end_date,
+ is_schoolmate: this.select.is_schoolmate
})
this.list = res.list.data
this.total = res.list.total
@@ -316,11 +329,12 @@
flex-wrap: wrap;
&>div {
- margin-right: 10px;
- margin-bottom: 10px;
- width: 150px;
- &:last-child {
- width:auto
+ margin-right: 10px;
+ margin-bottom: 10px;
+ width: 150px;
+
+ &:last-child {
+ width: auto
}
}
diff --git a/src/views/student/search.vue b/src/views/student/search.vue
index 918a482..761bfd2 100644
--- a/src/views/student/search.vue
+++ b/src/views/student/search.vue
@@ -72,7 +72,7 @@