Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Q
qualityTesting_adminHome
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
tobacco
qualityTesting_adminHome
Commits
2ff433cc
提交
2ff433cc
authored
4月 18, 2023
作者:
Yroc
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
'购物车功能完善'
上级
ed9820d2
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
12 行增加
和
5 行删除
+12
-5
index.vue
src/components/AnalyseModule/index.vue
+1
-1
AddFeatures.vue
src/components/TableHead/AddFeatures.vue
+1
-0
index.vue
src/views/student/examination_questions/list/index.vue
+10
-4
没有找到文件。
src/components/AnalyseModule/index.vue
浏览文件 @
2ff433cc
...
@@ -105,7 +105,7 @@ export default {
...
@@ -105,7 +105,7 @@ export default {
computed
:
{},
computed
:
{},
created
()
{
created
()
{
this
.
original_data
=
{
...
this
.
module_data
};
this
.
original_data
=
{
...
this
.
module_data
};
console
.
log
(
this
.
original_data
);
//
console.log(this.original_data);
},
},
mounted
()
{},
mounted
()
{},
...
...
src/components/TableHead/AddFeatures.vue
浏览文件 @
2ff433cc
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
: head_data.search_placeholder
: head_data.search_placeholder
"
"
@
change=
"searchChange"
@
change=
"searchChange"
@
keydown
.
enter=
"search"
></el-input>
></el-input>
<el-button
type=
"warning"
size=
"small"
@
click=
"search"
<el-button
type=
"warning"
size=
"small"
@
click=
"search"
>
搜索
</el-button
>
搜索
</el-button
...
...
src/views/student/examination_questions/list/index.vue
浏览文件 @
2ff433cc
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: AnthonyD
* @Author: AnthonyD
* @Date: 2023-04-10 18:06:52
* @Date: 2023-04-10 18:06:52
* @Last Modified by: AnthonyD
* @Last Modified by: AnthonyD
* @Last Modified time: 2023-04-1
5 15:59:3
1
* @Last Modified time: 2023-04-1
8 11:45:1
1
*/
*/
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -21,12 +21,17 @@
...
@@ -21,12 +21,17 @@
<el-table
<el-table
ref=
"multipleTable"
ref=
"multipleTable"
v-loading=
"is_loading"
v-loading=
"is_loading"
row-key=
"id"
:data=
"tableData"
:data=
"tableData"
style=
"width: 100%; margin-bottom: 20px"
style=
"width: 100%; margin-bottom: 20px"
height=
"650"
height=
"650"
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
>
>
<el-table-column
type=
"selection"
width=
"50"
></el-table-column>
<el-table-column
type=
"selection"
:reserve-selection=
"true"
width=
"50"
></el-table-column>
<!--
<el-table-column
prop=
"id"
label=
"编号"
width=
"50"
>
<!--
<el-table-column
prop=
"id"
label=
"编号"
width=
"50"
>
<template
slot=
"header"
>
<template
slot=
"header"
>
<el-checkbox
<el-checkbox
...
@@ -744,7 +749,6 @@ export default {
...
@@ -744,7 +749,6 @@ export default {
//表格多选监听
//表格多选监听
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
if
(
!
this
.
is_change
)
return
;
if
(
!
this
.
is_change
)
return
;
console
.
log
(
'ssss'
);
this
.
select_ids
=
this
.
head_data
.
select_data
.
map
((
e
)
=>
{
this
.
select_ids
=
this
.
head_data
.
select_data
.
map
((
e
)
=>
{
return
e
.
id
;
return
e
.
id
;
});
});
...
@@ -785,7 +789,9 @@ export default {
...
@@ -785,7 +789,9 @@ export default {
this
.
head_data
.
select_data
.
splice
(
index
,
1
);
this
.
head_data
.
select_data
.
splice
(
index
,
1
);
for
(
let
i
of
this
.
tableData
)
{
for
(
let
i
of
this
.
tableData
)
{
if
(
i
.
id
==
id
)
{
if
(
i
.
id
==
id
)
{
i
.
is_select
=
false
;
// i.is_select = false;
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
i
);
// this.$refs.multipleTable.clearSelection();
}
}
}
}
// this.update_data_select();
// this.update_data_select();
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论