Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea-resources-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
tea-resources-web
Commits
2da625fd
Commit
2da625fd
authored
Mar 30, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
试题管理
parent
0bb26d00
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
224 additions
and
121 deletions
+224
-121
index.vue
src/views/contentManagement/banner/index.vue
+14
-0
index.vue
src/views/courseInformation/classManagement/index.vue
+7
-7
index.vue
src/views/courseInformation/feedback/index.vue
+108
-76
index.vue
src/views/courseInformation/tryoutApplication/index.vue
+13
-0
index.vue
src/views/courseInformation/tryoutCommencement/index.vue
+15
-0
index.vue
src/views/courseInformation/unitManagement/index.vue
+42
-13
index.vue
src/views/system/role/index.vue
+8
-23
index.vue
src/views/system/user/index.vue
+17
-2
No files found.
src/views/contentManagement/banner/index.vue
0 → 100644
View file @
2da625fd
<
template
>
<div>
banner管理
</div>
</
template
>
<
script
>
export
default
{
name
:
'Index'
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/courseInformation/classManagement/index.vue
View file @
2da625fd
...
@@ -21,8 +21,8 @@
...
@@ -21,8 +21,8 @@
@
keyup
.
enter
.
native=
"handleQuery"
@
keyup
.
enter
.
native=
"handleQuery"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"
适用岗位
"
prop=
"value"
>
<el-form-item
label=
"
岗位分类
"
prop=
"value"
>
<el-select
v-model=
"queryParams.value"
placeholder=
"
适用岗位
"
clearable
>
<el-select
v-model=
"queryParams.value"
placeholder=
"
岗位分类
"
clearable
>
<el-option
<el-option
v-for=
"item in valueOptions"
v-for=
"item in valueOptions"
:key=
"item.value"
:key=
"item.value"
...
@@ -31,8 +31,8 @@
...
@@ -31,8 +31,8 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"技术
方向
"
prop=
"teDirection"
>
<el-form-item
label=
"技术
分类
"
prop=
"teDirection"
>
<el-select
v-model=
"queryParams.teDirection"
placeholder=
"技术
方向
"
clearable
>
<el-select
v-model=
"queryParams.teDirection"
placeholder=
"技术
分类
"
clearable
>
<el-option
<el-option
v-for=
"item in courseDirection"
v-for=
"item in courseDirection"
:key=
"item.value"
:key=
"item.value"
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
<div
class=
"tableTitle"
>
开课管理列表
</div>
<div
class=
"tableTitle"
>
开课管理列表
</div>
<el-table
v-loading=
"loading"
border
:data=
"dateList"
>
<el-table
v-loading=
"loading"
border
:data=
"dateList"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"90"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"90"
/>
<el-table-column
label=
"单位"
prop=
"roleName"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"单位
名称
"
prop=
"roleName"
:show-overflow-tooltip=
"true"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
unitName
||
'-'
}}
{{
scope
.
row
.
unitName
||
'-'
}}
</
template
>
</
template
>
...
@@ -105,12 +105,12 @@
...
@@ -105,12 +105,12 @@
{{
scope
.
row
.
lessonName
||
'-'
}}
{{
scope
.
row
.
lessonName
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"
适用岗位
"
prop=
"roleSort"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"
岗位分类
"
prop=
"roleSort"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
后端开发
</span>
<span>
后端开发
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"技术
方向
"
prop=
"value"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"技术
分类
"
prop=
"value"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
teDirection
||
'-'
}}
{{
scope
.
row
.
teDirection
||
'-'
}}
</
template
>
</
template
>
...
...
src/views/courseInformation/feedback/index.vue
View file @
2da625fd
This diff is collapsed.
Click to expand it.
src/views/courseInformation/tryoutApplication/index.vue
0 → 100644
View file @
2da625fd
<
template
>
<div>
试用申请
</div>
</
template
>
<
script
>
export
default
{
name
:
'Index'
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/courseInformation/tryoutCommencement/index.vue
0 → 100644
View file @
2da625fd
<
template
>
<div>
试用开课
</div>
</
template
>
<
script
>
export
default
{
name
:
'Index'
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/courseInformation/unitManagement/index.vue
View file @
2da625fd
...
@@ -22,6 +22,16 @@
...
@@ -22,6 +22,16 @@
style=
"width: 200px"
style=
"width: 200px"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"unitName"
label=
"单位管理员账号"
>
<el-input
v-model=
"queryParams.unitNumber"
placeholder=
"单位管理员账号"
clearable
:maxlength=
"255"
size=
"small"
style=
"width: 200px"
/>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
<el-button
:class=
"commonField.queryClass"
:class=
"commonField.queryClass"
...
@@ -64,26 +74,36 @@
...
@@ -64,26 +74,36 @@
{{
scope
.
row
.
unitName
||
'-'
}}
{{
scope
.
row
.
unitName
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"单位管理员"
width=
"150"
prop=
"unitNumber"
:show-overflow-tooltip=
"true"
>
<!-- <el-table-column label="单位管理员" width="150" prop="unitNumber" :show-overflow-tooltip="true">-->
<!-- <template slot-scope="scope">-->
<!-- {{ scope.row.unitNumber || '-' }}-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column
label=
"单位管理员账号"
width=
"150"
prop=
"unitNumber"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
unitNumber
||
'-'
}}
{{
scope
.
row
.
unitNumber
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"出口ip"
width=
"200"
prop=
"exitId"
:show-overflow-tooltip=
"true"
>
<!-- <el-table-column label="备注" width="520" prop="exitId" :show-overflow-tooltip="true">-->
<!-- <template slot-scope="scope">-->
<!-- {{ scope.row.exitId || '-' }}-->
<!-- </template>-->
<!-- </el-table-column> -->
<el-table-column
label=
"备注"
width=
"520"
prop=
"remarks"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
exitId
||
'-'
}}
{{
scope
.
row
.
remarks
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
:show-overflow-tooltip=
"true"
label=
"创建人"
prop=
"createDate"
width=
"160"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
creteName
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
:show-overflow-tooltip=
"true"
label=
"创建时间"
prop=
"createDate"
width=
"160"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
createDate
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column :show-overflow-tooltip="true" label="创建人" prop="createDate" width="160">-->
<!-- <template slot-scope="scope">-->
<!-- <span>{{ scope.row.creteName || '-' }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- <el-table-column :show-overflow-tooltip="true" label="创建时间" prop="createDate" width="160">-->
<!-- <template slot-scope="scope">-->
<!-- <span>{{ scope.row.createDate }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column
width=
"70"
label=
"状态"
prop=
"flag"
>
<el-table-column
width=
"70"
label=
"状态"
prop=
"flag"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-switch
<el-switch
...
@@ -149,6 +169,15 @@
...
@@ -149,6 +169,15 @@
<el-form-item
label=
"出口Ip"
prop=
"exitId"
>
<el-form-item
label=
"出口Ip"
prop=
"exitId"
>
<el-input
v-model
.
trim=
"form.exitId"
:maxlength=
"255"
placeholder=
"请输入出口ip"
/>
<el-input
v-model
.
trim=
"form.exitId"
:maxlength=
"255"
placeholder=
"请输入出口ip"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"备注"
prop=
"remarks"
>
<el-input
v-model
.
trim=
"form.remarks"
type=
"textarea"
:rows=
"4"
:maxlength=
"255"
placeholder=
"请输入备注"
/>
</el-form-item>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
class=
"cancelBtn"
@
click=
"cancel"
>
取 消
</el-button>
<el-button
class=
"cancelBtn"
@
click=
"cancel"
>
取 消
</el-button>
...
...
src/views/system/role/index.vue
View file @
2da625fd
...
@@ -13,16 +13,6 @@
...
@@ -13,16 +13,6 @@
@
keyup
.
enter
.
native=
"handleQuery"
@
keyup
.
enter
.
native=
"handleQuery"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"权限字符"
prop=
"roleKey"
>
<el-input
v-model=
"queryParams.roleKey"
placeholder=
"请输入权限字符"
clearable
size=
"small"
style=
"width: 150px"
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"角色状态"
prop=
"flag"
>
<el-form-item
label=
"角色状态"
prop=
"flag"
>
<el-select
<el-select
v-model=
"queryParams.flag"
v-model=
"queryParams.flag"
...
@@ -83,23 +73,13 @@
...
@@ -83,23 +73,13 @@
<div
style=
"padding:5px 10px"
>
<div
style=
"padding:5px 10px"
>
<div
class=
"tableTitle"
>
角色管理列表
</div>
<div
class=
"tableTitle"
>
角色管理列表
</div>
<el-table
v-loading=
"loading"
border
:data=
"roleList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
border
:data=
"roleList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"index"
label=
"
序号"
width=
"9
0"
/>
<el-table-column
type=
"index"
label=
"
角色编号"
width=
"12
0"
/>
<el-table-column
label=
"名称"
prop=
"roleName"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"
角色
名称"
prop=
"roleName"
:show-overflow-tooltip=
"true"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
roleName
||
'-'
}}
{{
scope
.
row
.
roleName
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"权限字符"
prop=
"roleKey"
>
<el-table-column
label=
"角色状态"
align=
"center"
width=
"100"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
roleKey
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"显示顺序"
prop=
"roleSort"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
roleSort
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"状态"
align=
"center"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-switch
<el-switch
v-model=
"scope.row.flag"
v-model=
"scope.row.flag"
...
@@ -114,6 +94,11 @@
...
@@ -114,6 +94,11 @@
<span>
{{
scope
.
row
.
createDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
<span>
{{
scope
.
row
.
createDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"更新时间"
:show-overflow-tooltip=
"true"
align=
"center"
prop=
"createTime"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
createDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"200px"
>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"200px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<!-- //修改-->
<!-- //修改-->
...
...
src/views/system/user/index.vue
View file @
2da625fd
...
@@ -89,22 +89,32 @@
...
@@ -89,22 +89,32 @@
:data=
"userList"
:data=
"userList"
>
>
<el-table-column
type=
"index"
label=
"序号"
width=
"90"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"90"
/>
<!--
<el-table-column
label=
"用户类型"
prop=
"username"
:show-overflow-tooltip=
"true"
>
-->
<!--
<template
slot-scope=
"scope"
>
-->
<!--
{{
scope
.
row
.
username
||
'-'
}}
-->
<!--
</
template
>
-->
<!-- </el-table-column>-->
<el-table-column
label=
"登录名"
prop=
"username"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"登录名"
prop=
"username"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
username
||
'-'
}}
{{
scope
.
row
.
username
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"姓名"
prop=
"userType"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"
用户
姓名"
prop=
"userType"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
name
||
'-'
}}
{{
scope
.
row
.
name
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column label="所属单位" prop="username" :show-overflow-tooltip="true">–>-->
<!-- <template slot-scope="scope">-->
<!-- {{ scope.row.username || '-' }}-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column
label=
"手机号"
prop=
"phone"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"手机号"
prop=
"phone"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
phone
||
'-'
}}
{{
scope
.
row
.
phone
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"120"
label=
"状态"
prop=
"flag"
>
<el-table-column
width=
"120"
label=
"
用户
状态"
prop=
"flag"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-switch
<el-switch
v-model=
"scope.row.flag"
v-model=
"scope.row.flag"
...
@@ -115,6 +125,11 @@
...
@@ -115,6 +125,11 @@
/>
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"角色"
prop=
"phone"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
roleNames
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
:show-overflow-tooltip=
"true"
label=
"创建时间"
prop=
"createDate"
width=
"160"
>
<el-table-column
:show-overflow-tooltip=
"true"
label=
"创建时间"
prop=
"createDate"
width=
"160"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
createDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
<span>
{{
scope
.
row
.
createDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment