Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Q
qualityTesting_adminHome
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
tobacco
qualityTesting_adminHome
Commits
a744c253
提交
a744c253
authored
3月 13, 2023
作者:
wangjialong209
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
关联试题
上级
bc9d56f9
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
28 行增加
和
11 行删除
+28
-11
EmailRetrieve.vue
src/views/retrieve/components/EmailRetrieve.vue
+8
-3
index.vue
src/views/retrieve/index.vue
+2
-2
TableMoudel.vue
.../student/examination_questions/components/TableMoudel.vue
+6
-3
index.vue
src/views/student/examination_questions/detail/index.vue
+12
-3
没有找到文件。
src/views/retrieve/components/EmailRetrieve.vue
浏览文件 @
a744c253
...
...
@@ -142,7 +142,7 @@ export default {
get_email_code
({
email
:
email
}).
then
(
res
=>
{
console
.
log
(
'获取验证码回调'
);
console
.
log
(
res
);
this
.
retrieve_params
.
verification_key
=
res
.
key
||
''
;
this
.
retrieve_params
.
verification_key
=
res
.
key
;
const
_that
=
this
;
this
.
is_repeated_click
=
true
;
// let time = 60, timer = null;
...
...
@@ -167,12 +167,17 @@ export default {
resettingSubmit
()
{
this
.
$refs
.
retrieveForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
let
params
=
this
.
$
handleParams
({
let
params
=
this
.
$
removeProperty
({
verification_key
:
this
.
retrieve_params
.
verification_key
,
password
:
this
.
retrieve_params
.
affirm_password
,
password
:
this
.
$Aesencrypt
(
this
.
retrieve_params
.
affirm_password
)
,
verification_code
:
this
.
retrieve_params
.
verification_code
,
})
console
.
log
(
'要提交的参数'
);
console
.
log
(
params
);
email_updata_user_password
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
'修改成功'
)
}
console
.
log
(
'邮箱修改密码'
);
console
.
log
(
res
);
})
...
...
src/views/retrieve/index.vue
浏览文件 @
a744c253
...
...
@@ -15,9 +15,9 @@
<el-card>
<email-retrieve
@
retrieveType=
"retrieveType"
></email-retrieve>
</el-card>
<
!--
<
el-card>
<el-card>
<phone-retrieve
@
retrieveType=
"retrieveType"
></phone-retrieve>
</el-card>
-->
</el-card>
</div>
</div>
...
...
src/views/student/examination_questions/components/TableMoudel.vue
浏览文件 @
a744c253
...
...
@@ -27,7 +27,7 @@
<el-select
v-model=
"table_info.examination_questions_id"
placeholder=
"请选择"
@
change=
"getExaminationQuestionsDetail(table_info.examination_questions_id)"
>
<el-option
v-for=
"item in examination_questions_all_list"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
:value=
"item.value"
:disabled=
"detail_id == item.value"
>
</el-option>
</el-select>
</div>
...
...
@@ -75,7 +75,7 @@
<div
class=
"el-upload__tip"
slot=
"tip"
v-if=
"!table_info.image || table_info.image == '/'"
>
只能上传jpg/png文件,且不超过20MB
</div>
<div
class=
"imng_view_box"
v-if=
"table_info.image && table_info.image != '/'"
>
<img
:src=
"IP + table_info.image"
alt=
""
>
<img
:src=
"IP + table_info.image
+ '?key=' + new Date().getTime()
"
alt=
""
>
</div>
</el-upload>
</div>
...
...
@@ -153,7 +153,7 @@ export default {
//试题详情列表
examination_question_detail_all_list
:
[],
detail_id
:
null
,
};
},
...
...
@@ -161,6 +161,7 @@ export default {
computed
:
{},
created
()
{
this
.
detail_id
=
this
.
$route
.
query
.
id
;
this
.
father_id
=
this
.
$route
.
query
.
id
;
this
.
position_data
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
position_datas
));
this
.
province_data
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
province_datas
));
...
...
@@ -170,6 +171,8 @@ export default {
this
.
table_info
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
table_data
));
},
mounted
()
{
console
.
log
(
'接收的数据'
);
console
.
log
(
this
.
table_info
);
let
id
=
this
.
table_info
.
examination_questions_id
;
if
(
id
)
{
this
.
getExaminationQuestionsDetail
(
id
);
...
...
src/views/student/examination_questions/detail/index.vue
浏览文件 @
a744c253
...
...
@@ -29,9 +29,10 @@
<
template
slot-scope=
"scope"
>
<el-popover
placement=
"right"
trigger=
"click"
>
<div
class=
"amplify_img_box"
>
<img
:src=
"IP + scope.row.image"
alt=
""
>
<img
:src=
"IP + scope.row.image
+ '?key=' + new Date().getTime()
"
alt=
""
>
</div>
<img
class=
"small_picture"
slot=
"reference"
:src=
"IP + scope.row.image"
alt=
""
>
<img
class=
"small_picture"
slot=
"reference"
:src=
"IP + scope.row.image + '?key=' + new Date().getTime()"
alt=
""
>
</el-popover>
</
template
>
</el-table-column>
...
...
@@ -352,7 +353,15 @@ export default {
console
.
log
(
item
);
//获取详情
let
{
id
,
area
,
fraction
,
province_id
,
breed_name
,
grades_code
,
explain_in_detail
,
image
,
examination_questions_id
,
examination_question_detail_id
}
=
{
...
item
};
this
.
detailed_information
=
{
id
,
area
,
fraction
,
province_id
,
breed_name
,
grades_code
,
explain_in_detail
,
image
,
examination_questions_id
,
examination_question_detail_id
};
this
.
detailed_information
=
{
id
,
area
,
fraction
,
province_id
,
breed_name
,
grades_code
,
explain_in_detail
,
image
};
/* examination_questions_id, examination_question_detail_id */
if
(
item
.
quote
)
{
this
.
detailed_information
[
'examination_questions_id'
]
=
item
.
quote
.
examination_questions_id
;
this
.
detailed_information
[
'examination_question_detail_id'
]
=
item
.
quote
.
id
;
}
else
{
this
.
detailed_information
[
'examination_questions_id'
]
=
null
;
this
.
detailed_information
[
'examination_question_detail_id'
]
=
null
;
}
this
.
detailed_information
[
'question_no'
]
=
index
+
1
;
this
.
is_dialogVisible
=
true
;
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论