Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
rs-admin
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
翟畅
rs-admin
Commits
cecec875
提交
cecec875
authored
1月 23, 2024
作者:
翟畅
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zc视频、图片上传人、所属图书
上级
792c1b9f
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
18 行增加
和
6 行删除
+18
-6
divideGroups.vue
src/views/resource_manage/paperbook_module/divideGroups.vue
+11
-3
index.vue
src/views/resource_manage/picture_module/index.vue
+2
-2
content_dialog.vue
...ews/resource_manage/recommendedContent/content_dialog.vue
+5
-1
没有找到文件。
src/views/resource_manage/paperbook_module/divideGroups.vue
浏览文件 @
cecec875
...
...
@@ -65,7 +65,7 @@
<el-input
v-model=
"bindListQuery.name"
placeholder=
"请输入资源名称"
class=
"selWidth"
/>
</el-form-item>
<el-form-item>
<el-select
v-model=
"bindListQuery.resourceType"
class=
"selWidth"
>
<el-select
v-model=
"bindListQuery.resourceType"
class=
"selWidth"
@
change=
"changeType"
>
<el-option
v-for=
"(item,index) in bindResourceList1"
:key=
"'type'+index"
:label=
"item.text"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -122,7 +122,7 @@
<el-input
v-model=
"bindManageQuery.resourceName"
placeholder=
"请输入资源名称"
class=
"selWidth"
/>
</el-form-item>
<el-form-item>
<el-select
v-model=
"bindManageQuery.resourceType"
class=
"selWidth"
>
<el-select
v-model=
"bindManageQuery.resourceType"
class=
"selWidth"
@
change=
"changeType2"
>
<el-option
v-for=
"(item,index) in bindResourceList"
:key=
"'type'+index"
:label=
"item.text"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -136,7 +136,7 @@
<el-table-column
prop=
"name"
label=
"资源名称"
min-width=
"15%"
align=
"center"
></el-table-column>
<el-table-column
prop=
"sort"
label=
"排序号"
min-width=
"10%"
align=
"center"
></el-table-column>
<el-table-column
prop=
"createdBy"
label=
"上传人"
min-width=
"10%"
show-overflow-tooltip
></el-table-column>
<
el-table-column
prop=
"phyName"
label=
"所属图书"
min-width=
"10%"
show-overflow-tooltip
></el-table-column
>
<
!-- <el-table-column prop="phyName" label="所属图书" min-width="10%" show-overflow-tooltip></el-table-column> --
>
<el-table-column
label=
"资源类型"
min-width=
"10%"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.resourceType == 2"
>
电子书
</span>
...
...
@@ -261,6 +261,7 @@ import { setTimeout } from 'timers';
name
:
null
,
resourceType
:
null
,
status
:
'0'
,
createdBy
:
null
,
},
dialogBindManageVisible
:
false
,
bindManageQuery
:{
...
...
@@ -269,6 +270,7 @@ import { setTimeout } from 'timers';
groupId
:
null
,
resourceName
:
null
,
resourceType
:
null
,
createdBy
:
null
,
},
boundList
:[],
//已绑定资源
boundTotal
:
0
,
...
...
@@ -421,6 +423,9 @@ import { setTimeout } from 'timers';
});
}
},
changeType
(
val
){
this
.
bindListQuery
.
createdBy
=
null
},
//查看数字资源列表
getFilterList
(
num
){
this
.
filterLoading
=
true
;
...
...
@@ -476,6 +481,9 @@ import { setTimeout } from 'timers';
this
.
bindLoading
=
false
}
},
changeType2
(
val
){
this
.
bindManageQuery
.
createdBy
=
''
},
getBindManageList
(
num
){
this
.
manageLoading
=
true
;
this
.
bindManageQuery
.
pageNum
=
num
?
num
:
this
.
bindManageQuery
.
pageNum
...
...
src/views/resource_manage/picture_module/index.vue
浏览文件 @
cecec875
...
...
@@ -94,8 +94,8 @@
<span
v-else
style=
"color:#999999"
><span
class=
"down_status"
></span>
未锁定
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"createdBy"
label=
"上传人"
min-width=
"10%"
align=
"center"
></el-table-column>
<el-table-column
prop=
"phyName"
label=
"所属图书"
min-width=
"10%"
align=
"center"
></el-table-column>
<el-table-column
prop=
"createdBy"
label=
"上传人"
min-width=
"10%"
align=
"center"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop=
"phyName"
label=
"所属图书"
min-width=
"10%"
align=
"center"
show-overflow-tooltip
></el-table-column>
<el-table-column
align=
"center"
prop=
"createdTime"
label=
"关联图书(资源码)"
min-width=
"10%"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.nameList && scope.row.nameList.length > 0"
>
{{
scope
.
row
.
nameList
.
join
(
','
)
}}
</span>
...
...
src/views/resource_manage/recommendedContent/content_dialog.vue
浏览文件 @
cecec875
...
...
@@ -3,7 +3,7 @@
<el-dialog
:title=
"dia_title"
class=
"fixHeight"
:visible
.
sync=
"openDialog"
width=
"70%"
:before-close=
"cancel"
@
close=
"emptyResource"
:close-on-click-modal=
"false"
>
<el-form
inline
:model=
"listQuery"
>
<el-form-item
style=
"width:120px"
>
<el-select
v-model=
"listQuery.resourceType"
placeholder=
"请选择资源"
style=
"width:100%"
@
change=
"
getList(1)
"
>
<el-select
v-model=
"listQuery.resourceType"
placeholder=
"请选择资源"
style=
"width:100%"
@
change=
"
changeType
"
>
<el-option
v-for=
"(item,index) in resourceList"
:key=
"index"
:label=
"item.name"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -137,6 +137,10 @@ export default {
type
:
2
}
},
changeType
(
val
){
this
.
listQuery
.
createdBy
=
''
this
.
getList
(
1
)
},
getList
(
num
)
{
this
.
listQuery
.
type
=
this
.
type
this
.
listQuery
.
pageNum
=
num
?
num
:
this
.
listQuery
.
pageNum
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论