diff --git a/api/apiRoute.js b/api/apiRoute.js
index f483e37..f99b173 100644
--- a/api/apiRoute.js
+++ b/api/apiRoute.js
@@ -38,6 +38,20 @@ export default {
return res;
})
},
+ //教师/销售端请假/打卡/签退-编辑
+ common_attendanceEdit(data = {}) {
+ let url = '/attendance/edit'
+ return http.post(url, data).then(res => {
+ return res;
+ })
+ },
+ //教师/销售端请假/打卡/签退-列表
+ common_attendanceIndex(data = {}) {
+ let url = '/attendance/index'
+ return http.post(url, data).then(res => {
+ return res;
+ })
+ },
//获取字典数据
common_Dictionary(data = {}) {
let url = '/common/getDictionary'
@@ -67,6 +81,13 @@ export default {
return res;
})
},
+ //公共端-教师/销售端验证旧密码是否正确
+ common_getPersonnelCampus(data = {}) {
+ let url = '/campus/getPersonnelCampus'
+ return http.get(url, data).then(res => {
+ return res;
+ })
+ },
@@ -131,6 +152,20 @@ export default {
return res;
})
},
+ //获取试卷
+ getTeachingTestPaper(data = {}) {
+ let url = '/teachingResearch/teachingTestPaper'
+ return http.get(url, data).then(res => {
+ return res;
+ })
+ },
+ //提交试卷
+ submitTestPaper(data = {}) {
+ let url = '/teachingResearch/submitTestPaper'
+ return http.get(url, data).then(res => {
+ return res;
+ })
+ },
//↑↑↑↑↑↑↑↑↑↑↑↑-----教练接口相关-----↑↑↑↑↑↑↑↑↑↑↑↑
@@ -206,6 +241,29 @@ export default {
})
},
+ //销售端-获取好友关系绑定详情
+ xs_chatGetChatFriendsInfo(data = {}) {
+ let url = '/chat/getChatFriendsInfo'
+ return http.get(url, data).then(res => {
+ return res;
+ })
+ },
+ //销售端-获取聊天消息列表
+ xs_chatGetChatMessagesList(data = {}) {
+ let url = '/chat/getChatMessagesList'
+ return http.get(url, data).then(res => {
+ return res;
+ })
+ },
+ //销售端-发送聊天消息
+ xs_chatSendChatMessages(data = {}) {
+ let url = '/chat/sendChatMessages'
+ return http.post(url, data).then(res => {
+ return res;
+ })
+ },
+
+
diff --git a/common/config.js b/common/config.js
index 14b8dd8..1da14de 100644
--- a/common/config.js
+++ b/common/config.js
@@ -10,8 +10,8 @@ const img_domian = 'http://zhjwxt.test/'
// const Api_url='https://zh.hnhbty.cn/api'
// const img_domian = 'https://zh.hnhbty.cn/'
-// const Api_url='http://146.56.228.75:20024/api'
-// const img_domian = 'http://146.56.228.75:20024/'
+const Api_url='http://146.56.228.75:20024/api'
+const img_domian = 'http://146.56.228.75:20024/'
const IsDemo = false
diff --git a/components/AQ/AQUplodeImage.vue b/components/AQ/AQUplodeImage.vue
new file mode 100644
index 0000000..7d67ef8
--- /dev/null
+++ b/components/AQ/AQUplodeImage.vue
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
diff --git a/manifest.json b/manifest.json
index 6650176..32f3bbc 100644
--- a/manifest.json
+++ b/manifest.json
@@ -72,9 +72,13 @@
"permission" : {
"scope.userFuzzyLocation" : {
"desc" : "你的位置信息将用于小程序位置接口的效果展示"
+ },
+ "scope.userLocation" : {
+ "desc" : "用于获取当前所在城市信息"
}
},
- "requiredPrivateInfos" : [ "getLocation", "chooseLocation" ]
+ "requiredPrivateInfos" : [ "getLocation", "chooseLocation" ],
+ "libVersion":"latest"
},
"mp-alipay" : {
"usingComponents" : true
@@ -92,6 +96,13 @@
"router" : {
"base" : "./",
"mode" : "history"
+ },
+ "sdkConfigs" : {
+ "maps" : {
+ "tencent" : {
+ "key" : "AKTBZ-OGICT-E5NXQ-LGEGK-H5AJ5-M2BOX"
+ }
+ }
}
}
}
diff --git a/pages.json b/pages.json
index 29bbcd4..e4795b8 100644
--- a/pages.json
+++ b/pages.json
@@ -400,7 +400,24 @@
"navigationBarTextStyle": "black"
}
},
-
+ {
+ "path": "pages/coach/my/gotake_exam",
+ "style": {
+ "navigationBarTitleText": "考试",
+ "navigationStyle": "default",
+ "navigationBarBackgroundColor": "#171717",
+ "navigationBarTextStyle": "black"
+ }
+ },
+ {
+ "path": "pages/coach/my/exam_results",
+ "style": {
+ "navigationBarTitleText": "考试结果",
+ "navigationStyle": "default",
+ "navigationBarBackgroundColor": "#fff",
+ "navigationBarTextStyle": "black"
+ }
+ },
diff --git a/pages/coach/my/exam_results.vue b/pages/coach/my/exam_results.vue
new file mode 100644
index 0000000..1e1083c
--- /dev/null
+++ b/pages/coach/my/exam_results.vue
@@ -0,0 +1,47 @@
+
+
+
+ 答对{{success}},答错{{error}}
+
+
+ 总共得分{{num}}
+
+
+ 返回列表
+
+
+
+
+
+
+
diff --git a/pages/coach/my/gotake_exam.vue b/pages/coach/my/gotake_exam.vue
new file mode 100644
index 0000000..e675ceb
--- /dev/null
+++ b/pages/coach/my/gotake_exam.vue
@@ -0,0 +1,185 @@
+
+
+
+
+
+
+ {{index + 1}}
+ {{item.question_content}}?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item_option.option}}. {{item_option.option_content}}
+
+
+
+
+
+
+
+
+
+
+
+
+ 上一题
+ 下一题
+
+
+ 提交试卷
+
+
+
+
+
+
+
diff --git a/pages/coach/my/teaching_management.vue b/pages/coach/my/teaching_management.vue
index f8aa8bb..7b1d912 100644
--- a/pages/coach/my/teaching_management.vue
+++ b/pages/coach/my/teaching_management.vue
@@ -2,12 +2,16 @@
-
-
+
+
{{item.title}}
{{getTableType(item.table_type)}}
- {{item.create_time}}
+
+
+ {{item.create_time}}
+ 去考试
+
加载中...
没有更多数据了
@@ -100,7 +104,6 @@
return this.tableTypeName[text]
},
info(id) {
- console.log(id)
uni.navigateTo({
url: '/pages/coach/my/teaching_management_info?id=' + id
})
@@ -122,6 +125,11 @@
this.loading = false
}
})
+ },
+ goTake(id,zid) {
+ uni.navigateTo({
+ url: '/pages/coach/my/gotake_exam?id=' + id + '&zid=' + zid
+ })
}
}
}
diff --git a/pages/common/im_chat_info.vue b/pages/common/im_chat_info.vue
index b0852ab..33c8918 100644
--- a/pages/common/im_chat_info.vue
+++ b/pages/common/im_chat_info.vue
@@ -6,25 +6,34 @@
-
- {{v.create_time}}
+
+ {{v.created_at}}
-
- {{v.content}}
+
+
+ {{v.content}}
+
+
+
+
-
- {{v.content}}
+
+ {{v.content}}
+
+
+
+
@@ -36,26 +45,66 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 相册
+
+
+
+
+
+
+
+
@@ -267,13 +452,20 @@ export default {
word-wrap: break-word; /* 允许长单词或 URL 换行 */
word-break: break-all; /* 强制所有字符换行 */
.text_box{}
+ .img_box {
+ .chat_img {
+ width: 200rpx;
+ height: 200rpx;
+ border-radius: 16rpx;
+ }
+ }
}
.left_item{
- background-color: #f4f6f9;
+ //background-color: #f4f6f9;
color: #343434;
}
.right_item{
- background-color: #1684fc;
+ //background-color: #1684fc;
color: #fff;
}
}
@@ -288,12 +480,12 @@ export default {
position: fixed;
bottom: 0;
- padding: 50rpx 50rpx;
+ padding: 50rpx 30rpx;
display: flex;
justify-content:space-between;
align-items: center;
+ gap: 20rpx;
.left_box{
- width: 70%;
.input{
background-color: #f4f6f9;
height: 88rpx;
@@ -301,22 +493,28 @@ export default {
font-size: 28rpx;
border-radius: 32rpx;
- width: 532rpx;
+ width: 480rpx;
color: #292929;
font-size: 28rpx;
}
}
.right_box{
- border-radius: 50%;
- background-color: #a2cefe;
- width: 88rpx;
- height: 88rpx;
+ width: 100%;
display: flex;
- justify-content: center;
+ justify-content: space-between;
align-items: center;
- .send_img{
- width: 36rpx;
- height: 36rpx;
+ .img_box{
+ width: 88rpx;
+ height: 88rpx;
+ border-radius: 50%;
+ background-color: #a2cefe;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ .send_img{
+ width: 36rpx;
+ height: 36rpx;
+ }
}
}
@@ -326,4 +524,44 @@ export default {
color: #999999;
padding-left: 30rpx;
}
+
+
+ /* 更多选项相关 自定义内容区样式需自行控制 */
+ .more_section{
+ .fui-scroll__wrap {
+ padding-top: 30rpx;
+ position: relative;
+ }
+ .fui-title {
+ font-size: 30rpx;
+ font-weight: bold;
+ text-align: center;
+ padding-bottom: 24rpx;
+ }
+ .fui-icon__close {
+ position: absolute;
+ top: 24rpx;
+ left: 24rpx;
+ }
+ .fui-scroll__view {
+ width: 100%;
+ height: 350rpx;
+ }
+
+ .ul{
+ padding: 10rpx 40rpx;
+ display: flex;
+ .li{
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ .icon_box{
+ }
+ .title{
+ font-size: 28rpx;
+ text-align: center;
+ }
+ }
+ }
+ }
\ No newline at end of file
diff --git a/pages/common/my_attendance.vue b/pages/common/my_attendance.vue
index fe56e8d..8e79839 100644
--- a/pages/common/my_attendance.vue
+++ b/pages/common/my_attendance.vue
@@ -3,7 +3,7 @@
-
-
-
+
-
+
- {{v.courses.name}}
+ 普通考勤
- {{v.status == 1 ? '考勤正常':'请假'}}
-
+ {{v.status_name}}
- {{v.add_time}} - {{v.end_time}}
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{v.courses.name}}
- {{v.status == 1 ? '考勤正常':'请假'}}
-
+ 校区:{{v.campus_id_name}}
- {{v.add_time}} - {{v.end_time}}
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{v.courses.name}}
- {{v.status == 1 ? '考勤正常':'请假'}}
-
+ 备注:{{v.remarks || ''}}
- {{v.add_time}} - {{v.end_time}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 普通考勤
- {{v.status == 1 ? '考勤正常':'请假'}}
+ {{v.attendance_date}} {{v.check_in_time}}
+ -
+ {{v.attendance_date}} {{v.check_out_time}}
- {{v.add_time}} - {{v.end_time}}
@@ -136,7 +55,7 @@
普通考勤
- {{v.status == 1 ? '考勤正常':'请假'}}
+ {{v.status_name}}
+
+
+ 校区:{{v.campus_id_name}}
+
+
+ 备注:{{v.remarks || ''}}
+
+
+ {{v.attendance_date}} {{v.check_in_time}}
+ -
+ {{v.attendance_date}} {{v.check_out_time}}
- {{v.add_time}} - {{v.end_time}}
-
普通考勤
- {{v.status == 1 ? '考勤正常':'请假'}}
+ {{v.status_name}}
+
+
+ 校区:{{v.campus_id_name}}
+
+
+ 备注:{{v.remarks || ''}}
+
+
+ {{v.attendance_date}} {{v.check_in_time}}
+ -
+ {{v.attendance_date}} {{v.check_out_time}}
- {{v.add_time}} - {{v.end_time}}
@@ -192,21 +130,147 @@
-
+
- 请假
+
+ 打卡
+
+
+ 请假
+
+
+ 签退
-
-
+
+
+ {{signIn_title}}
+ {{signIn_content}}
+
+
+
+
+
+
+ {{ (formData.campus_id) ? formData.campus_id_name : '点击选择' }}
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确定
+
+
+
+
+
+
+
+
+
+
+
+ 详情
+
+
+ 考勤状态:
+ {{info_data.status_name}}
+
+
+ 考勤日期:
+
+ {{info_data.attendance_date}}
+ {{info_data.check_in_time}}
+ -
+ {{info_data.check_out_time || ''}}
+
+ (未签退)
+
+
+
+ 校区名称:
+ {{info_data.campus_id_name || ''}}
+
+
+ 备注:
+ {{info_data.remarks || ''}}
+
+
+ 地图:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+