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
5cb30ea8
Commit
5cb30ea8
authored
Apr 01, 2024
by
王飞龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开课页面添加
parent
d1720904
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1294 additions
and
108 deletions
+1294
-108
applicationTrial.js
src/api/try/applicationTrial.js
+68
-0
index.vue
src/views/contentManagement/newsInformation/index.vue
+0
-22
index.vue
src/views/courseInformation/classManagement/index.vue
+230
-63
index.vue
src/views/courseInformation/courseManagement/index.vue
+16
-16
index.vue
src/views/courseInformation/tryoutApplication/index.vue
+490
-3
index.vue
src/views/courseInformation/tryoutCommencement/index.vue
+490
-4
No files found.
src/api/try/applicationTrial.js
0 → 100644
View file @
5cb30ea8
import
request
from
'@/utils/request'
import
Qs
from
'qs'
/**
* 1. 列表查询
* 2. 查询详细信息
* 3. 新增
* 4. 修改
* 5. 逻辑删除
* 6. 导出
*
*/
// 1. 查询试用申请列表
export
function
listApplicationTrial
(
query
)
{
return
request
({
url
:
'/applicationtrial/queryApplicationTrialByPagination'
,
method
:
'get'
,
params
:
query
})
}
// 2. 查询试用申请详细信息
export
function
getApplicationTrial
(
businessId
)
{
return
request
({
url
:
'/applicationtrial/detail/'
+
businessId
,
method
:
'get'
})
}
// 3. 新增试用申请
export
function
addApplicationTrial
(
data
)
{
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/applicationtrial/add'
,
method
:
'post'
,
data
:
data
})
}
// 4. 修改试用申请
export
function
updateApplicationTrial
(
data
)
{
const
businessId
=
data
.
businessId
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/applicationtrial/update/'
+
businessId
,
method
:
'put'
,
data
})
}
// 5. 逻辑删除试用申请
export
function
delApplicationTrial
(
businessId
)
{
return
request
({
url
:
'/applicationtrial/deleteLogical/'
+
businessId
,
method
:
'delete'
})
}
// 6. 导出试用申请
export
function
exportApplicationTrial
(
query
)
{
return
request
({
url
:
'/applicationtrial/export'
,
method
:
'get'
,
params
:
query
,
responseType
:
'blob'
})
}
src/views/contentManagement/newsInformation/index.vue
View file @
5cb30ea8
...
...
@@ -135,28 +135,6 @@
<span>
{{
scope
.
row
.
nickName
}}
</span>
</
template
>
</el-table-column>
<!-- <el-table-column align="left" label="权重" prop="weight" show-overflow-tooltip>-->
<!-- <template slot-scope="scope">-->
<!-- <span>{{ scope.row.weight }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- <el-table-column align="left" label="板块" prop="plate">-->
<!-- <template slot-scope="scope">-->
<!-- <span>{{ changPlate (scope.row.plate) }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- <el-table-column align="left" label="状态" prop="flag">-->
<!-- <template slot-scope="scope">-->
<!-- <el-switch-->
<!-- v-model="scope.row.flag"-->
<!-- class="switchDisabledStyle"-->
<!-- inactive-value="0"-->
<!-- active-value="1"-->
<!-- @click.native="handleStatusChange(scope.row)"-->
<!-- />-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column
align=
"center"
label=
"操作"
width=
"150"
>
<
template
slot-scope=
"scope"
>
<el-button
...
...
src/views/courseInformation/classManagement/index.vue
View file @
5cb30ea8
This diff is collapsed.
Click to expand it.
src/views/courseInformation/courseManagement/index.vue
View file @
5cb30ea8
...
...
@@ -85,22 +85,22 @@
@
click=
"handleAdd"
>
{{
commonField
.
addName
}}
</el-button>
<!-- //下载模板按钮-->
<el-button
:class=
"commonField.importClass"
:type=
"commonField.typeWarning"
:icon=
"commonField.importIcon"
:size=
"commonField.smallSize"
@
click=
"exportmould"
>
下载模板
</el-button
>
<!-- //导入按钮
-->
<el-button
:class=
"commonField.importClass"
:type=
"commonField.typeWarning"
:icon=
"commonField.importIcon"
:size=
"commonField.smallSize"
@
click=
"importmould"
>
{{
commonField
.
importName
}}
</el-button
>
<input
id=
"btn_file"
type=
"file"
style=
"display:none"
@
change=
"fileupload"
>
<!--
<el-button-->
<!-- :class="commonField.importClass"-->
<!-- :type="commonField.typeWarning"-->
<!-- :icon="commonField.importIcon"-->
<!-- :size="commonField.smallSize"-->
<!-- @click="exportmould"-->
<!-- >下载模板
</el-button>
--
>
<!-- <!– //导入按钮–>
-->
<!--
<el-button-->
<!-- :class="commonField.importClass"-->
<!-- :type="commonField.typeWarning"-->
<!-- :icon="commonField.importIcon"-->
<!-- :size="commonField.smallSize"-->
<!-- @click="importmould"-->
<!-- >
{{
commonField
.
importName
}}
</el-button>
--
>
<!--
<input
id=
"btn_file"
type=
"file"
style=
"display:none"
@
change=
"fileupload"
>
--
>
</el-form-item>
</div>
</el-form>
...
...
src/views/courseInformation/tryoutApplication/index.vue
View file @
5cb30ea8
This diff is collapsed.
Click to expand it.
src/views/courseInformation/tryoutCommencement/index.vue
View file @
5cb30ea8
This diff is collapsed.
Click to expand it.
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