diff --git a/src/api/user.js b/src/api/user.js
index 9fbdf50..f3f71f5 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -33,3 +33,21 @@ export function getAuthMenu(token) {
isLoading: false
})
}
+
+export function getMsg(param) {
+ return request({
+ url: '/api/admin/auth/send-sms',
+ method: 'get',
+ params:param,
+ isLoading: false
+ })
+}
+
+export function loginMsg(param) {
+ return request({
+ url: '/api/admin/auth/sms-login',
+ method: 'get',
+ params:param,
+ isLoading: false
+ })
+}
diff --git a/src/mixin/formMixin.js b/src/mixin/formMixin.js
index d210914..100d182 100644
--- a/src/mixin/formMixin.js
+++ b/src/mixin/formMixin.js
@@ -122,7 +122,7 @@ export default {
mounted() {},
methods: {
getAllPara(){
- let number = ['company_type','company_area','company_industry','type','education']
+ let number = ['company_position','company_type','company_area','company_industry','type','education']
getparameter({
number:number
}).then(res=>{
diff --git a/src/utils/common.js b/src/utils/common.js
index 51233da..e6c9fbe 100644
--- a/src/utils/common.js
+++ b/src/utils/common.js
@@ -14,6 +14,9 @@ let base = {
isUrl (url) {
return this.checkUrl(url)
},
+ isNull(val){
+ return p == '' || p == undefined || p == null || p == 'undefined' || p == 'null';
+ },
checkUrl (url) {
// url= 协议://(ftp的登录信息)[IP|域名](:端口号)(/或?请求参数)
var strRegex =
diff --git a/src/views/course/components/showAttendance.vue b/src/views/course/components/showAttendance.vue
index d39d2e9..cc7ed56 100644
--- a/src/views/course/components/showAttendance.vue
+++ b/src/views/course/components/showAttendance.vue
@@ -85,7 +85,7 @@
},
list: [],
table_item: [{
- prop: 'name',
+ prop: 'user.name',
label: '学员姓名',
align: 'center'
}, {
diff --git a/src/views/course/components/showCourse.vue b/src/views/course/components/showCourse.vue
index a92c647..bb60c36 100644
--- a/src/views/course/components/showCourse.vue
+++ b/src/views/course/components/showCourse.vue
@@ -136,7 +136,7 @@
getDetail() {
show({
id: this.id,
- show_relation: ['typeDetail', 'image']
+ show_relation: ['type_detail', 'image']
}).then(res => {
this.showform = res
})
diff --git a/src/views/course/pay.vue b/src/views/course/pay.vue
index fdb49d6..451507f 100644
--- a/src/views/course/pay.vue
+++ b/src/views/course/pay.vue
@@ -39,11 +39,11 @@
-
-
-
课程名称:{{subjectObj.title}}
-
开课日期:{{subjectObj.date}}
-
类别:{{subjectObj.leibie}}
+
+
+
课程名称:{{subjectObj.title}}
+
开课日期:{{subjectObj.date}}
+
类别:{{subjectObj.leibie}}
{
- if (item.prop === 'status') {
+ this.table_item.map(item => {
+ console.log("item.prop",item.prop)
+ if (item.prop === 'status') {
+
_export['status_text'] = item.label
- } else {
+ } else if (item.prop === 'fee_status') {
+ _export['fee_status_text'] = item.label
+
+ }else if (item.prop === 'img' || item.prop === 'selection') {
+
+ }else {
_export[item.prop] = item.label
}
})
-
+ console.log("_export",_export)
download(
'/api/admin/course-signs/index',
'get', {
diff --git a/src/views/course/txl.vue b/src/views/course/txl.vue
index c275137..3767eda 100644
--- a/src/views/course/txl.vue
+++ b/src/views/course/txl.vue
@@ -5,21 +5,62 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 导出
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 导出
+
+
+
@@ -64,7 +105,8 @@
@@ -222,17 +294,19 @@
background: url("../../assets/login_bg.png") no-repeat;
overflow: hidden;
background-size: 100% 100%;
- position: relative;
- .login-footer{
- text-align: center;
- position: absolute;
- bottom:20px;
- left:0;
- width:100%;
- color:#274999;
-
-
+ position: relative;
+
+ .login-footer {
+ text-align: center;
+ position: absolute;
+ bottom: 20px;
+ left: 0;
+ width: 100%;
+ color: #274999;
+
+
}
+
.login-logo {
// width: 20vw;
width: 383px;
@@ -316,6 +390,18 @@
height: 47px;
line-height: 47px;
border-radius: 0 5px 5px 0;
+ cursor: pointer;
+ }
+ .hasCode{
+ background-color: #ddd;
+ display: inline-block;
+ width: 30%;
+ text-align: center;
+ color: #000;
+ height: 47px;
+ line-height: 47px;
+ border-radius: 0 5px 5px 0;
+ cursor: pointer;
}
}
@@ -354,12 +440,13 @@
user-select: none;
}
}
-
+
@media (max-width:492px) {
- .login-container {
- .login-logo{
- width:100%;
+ .login-container {
+ .login-logo {
+ width: 100%;
}
+
.login-wrap {
margin-left: 0px;
margin-right: 0px;
@@ -374,7 +461,7 @@
}
}
}
- }
+ }
@media (min-width:493px) {
.login-container {
diff --git a/src/views/system/user.vue b/src/views/system/user.vue
index dd59bdf..ebeaa52 100644
--- a/src/views/system/user.vue
+++ b/src/views/system/user.vue
@@ -61,6 +61,10 @@
+
+
+
+
@@ -115,6 +119,7 @@
name: "",
username: "",
password: "",
+ mobile:'',
department_id: "",
},
rules: {