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
bdcd419d
Commit
bdcd419d
authored
Jul 23, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
openApi问题修改
parent
f5b5c33d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
19 deletions
+50
-19
index.vue
src/views/OpenApi/index.vue
+27
-0
index.vue
src/views/courseInformation/courseManagement/index.vue
+3
-3
index.vue
src/views/courseInformation/tryoutCommencement/index.vue
+20
-16
No files found.
src/views/OpenApi/index.vue
View file @
bdcd419d
...
...
@@ -208,6 +208,20 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"单位名称:"
prop=
"unitId"
>
<el-select
v-model=
"form.unitId"
placeholder=
"请选择用户类型"
:disabled=
"formDisabled"
style=
"width: 100%"
>
<el-option
v-for=
"(item,index) in unitIdList"
:key=
"index"
:label=
"item.unitName"
:value=
"item.businessId"
/>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
label=
"apiSecretKey:"
prop=
"apiSecretKey"
>
...
...
@@ -269,6 +283,7 @@ import {
organizationUpdataApi
,
iaminstitutionDecrypt
}
from
'@/api/openApi'
import
{
listUnitAll
}
from
"@/api/sysUnit"
;
export
default
{
name
:
'Index'
,
...
...
@@ -277,6 +292,7 @@ export default {
},
data
()
{
return
{
unitIdList
:
[],
formDisabled
:
false
,
dateRange
:
[],
// 遮罩层
...
...
@@ -292,6 +308,7 @@ export default {
organizationalStructure
:
''
},
form
:
{
unitId
:
''
,
flag
:
'1'
,
apiSecretKey
:
''
,
apiPubKey
:
''
,
...
...
@@ -317,12 +334,19 @@ export default {
}
},
created
()
{
this
.
getListUnitAll
()
// 查询单位下拉
this
.
getList
()
// 列表查询
},
mounted
()
{
},
methods
:
{
/** 查询单位下拉*/
getListUnitAll
()
{
listUnitAll
().
then
(
res
=>
{
this
.
unitIdList
=
res
.
data
})
},
/** 新增修改的时候选择时间*/
handleChangeTime
()
{
if
(
this
.
dateRange
&&
this
.
dateRange
!==
''
&&
this
.
dateRange
!==
undefined
&&
this
.
dateRange
.
length
>
0
)
{
...
...
@@ -366,6 +390,7 @@ export default {
/** 表单重置*/
reset
()
{
this
.
form
=
{
unitId
:
''
,
flag
:
'1'
,
apiSecretKey
:
''
,
apiPubKey
:
''
,
...
...
@@ -465,6 +490,7 @@ export default {
if
(
this
.
form
.
businessId
!==
undefined
)
{
const
params
=
{
flag
:
this
.
form
.
flag
,
unitId
:
this
.
form
.
unitId
,
apiSecretKey
:
this
.
form
.
apiSecretKey
,
apiPubKey
:
this
.
form
.
apiPubKey
,
secretKey
:
this
.
encrypt
(
this
.
form
.
secretKey
),
...
...
@@ -489,6 +515,7 @@ export default {
}
else
{
const
paramsAdd
=
{
flag
:
this
.
form
.
flag
,
unitId
:
this
.
form
.
unitId
,
apiSecretKey
:
this
.
form
.
apiSecretKey
,
apiPubKey
:
this
.
form
.
apiPubKey
,
secretKey
:
this
.
encrypt
(
this
.
form
.
secretKey
),
...
...
src/views/courseInformation/courseManagement/index.vue
View file @
bdcd419d
...
...
@@ -878,7 +878,7 @@ export default {
homeDisplay
:
''
,
flag
:
''
,
qualityLesson
:
''
,
lessonType
:
''
,
lessonType
:
[]
,
chronologicalOrdering
:
1
}
,
...
...
@@ -1033,16 +1033,16 @@ export default {
lessonName
:
''
,
classHour
:
''
,
classPlan
:
''
,
classPlanSchool
:
''
,
jobClassify
:
''
,
tecClassify
:
''
,
tecClassifySchool
:
''
,
difficultyClassify
:
''
,
lessonBrief
:
''
,
lessonTeaName
:
''
,
lessonPrice
:
''
,
homeDisplay
:
''
,
flag
:
''
,
qualityLesson
:
''
,
lessonType
:
[],
chronologicalOrdering
:
1
}
this
.
loadData
()
...
...
src/views/courseInformation/tryoutCommencement/index.vue
View file @
bdcd419d
...
...
@@ -166,7 +166,7 @@
</el-table-column>
<el-table-column
prop=
"applicantName"
label=
"申请人"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
applicantName
}}
(
{{
scope
.
row
.
userName
}}
-
{{
scope
.
row
.
applicantPhone
}}
)
{{
scope
.
row
.
applicantName
}}
(
{{
scope
.
row
.
userName
}}
-
{{
scope
.
row
.
applicantPhone
}}
)
</
template
>
</el-table-column>
<el-table-column
label=
"课程名称"
prop=
"roleKey"
:show-overflow-tooltip=
"true"
>
...
...
@@ -805,18 +805,19 @@
</div>
</div>
</div>
</div
>
<div
class=
"drawerfooter
"
>
<div
class=
"drawer-area
"
>
<div
class=
"test"
>
<
span
style=
"color: #FF9900;cursor: pointer;"
@
click=
"showSelectedLesson"
><span
style=
"text-decoration: underline"
>
已选{{ selectedLessonCount }}门
</span>
课程
</span
>
</div
>
<div
class=
"cancelArea"
>
<el-button
class=
"cancelBtn"
@
click=
"drawerController.drawer = false"
>
取 消
</el-button>
<
el-button
class=
"submitBtn"
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button
>
<div
class=
"drawerfooter"
>
<div
class=
"drawer-area
"
>
<div
class=
"test
"
>
<span
style=
"color: #FF9900;cursor: pointer;"
@
click=
"showSelectedLesson"
><span
style=
"text-decoration: underline"
>
已选{{ selectedLessonCount }}门
</span>
课程
</span
>
<
/div
>
<div
class=
"cancelArea"
>
<el-button
class=
"cancelBtn"
@
click=
"drawerController.drawer = false"
>
取 消
</el-button
>
<el-button
class=
"submitBtn"
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
<
/div
>
</div>
</div>
</div>
</el-drawer>
</div>
</template>
...
...
@@ -1755,10 +1756,13 @@ input::-webkit-inner-spin-button {
}
.lessonDrawer
{
::v-deep
.el-drawer__body
{
overflow-y
:
auto
;
}
.drawerBoby
{
width
:
100%
;
height
:
750px
;;
overflow-y
:
auto
;
//
height: 750px;;
//
overflow-y: auto;
//标题样式
.step-header
{
...
...
@@ -1809,10 +1813,10 @@ input::-webkit-inner-spin-button {
}
.drawerfooter
{
position
:
relative
;
top
:
2%
;
height
:
400px
;
//
position: relative;
//
top: 2%;
//
height: 400px;
margin
:
20px
70px
20px
0
;
.drawer-area
{
margin-left
:
7%
;
display
:
flex
;
...
...
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