整体风格跟中台同步

dev_202412
yujialong 4 months ago
parent 67f40bde06
commit e50eda0900
  1. BIN
      src/assets/img/workbench/1.png
  2. BIN
      src/assets/img/workbench/10.png
  3. BIN
      src/assets/img/workbench/11.png
  4. BIN
      src/assets/img/workbench/12.png
  5. BIN
      src/assets/img/workbench/2.png
  6. BIN
      src/assets/img/workbench/3.png
  7. BIN
      src/assets/img/workbench/4.png
  8. BIN
      src/assets/img/workbench/5.png
  9. BIN
      src/assets/img/workbench/6.png
  10. BIN
      src/assets/img/workbench/7.png
  11. BIN
      src/assets/img/workbench/8.png
  12. BIN
      src/assets/img/workbench/9.png
  13. 100
      src/layouts/navbar/index.vue
  14. 4
      src/pages/achievement/edit/index.vue
  15. 4
      src/pages/achievement/info/course.vue
  16. 4
      src/pages/achievement/info/project.vue
  17. 2
      src/pages/achievement/list/course.vue
  18. 4
      src/pages/achievement/list/project.vue
  19. 2
      src/pages/achievement/show/index.vue
  20. 160
      src/pages/activity/manage/list/index.vue
  21. 84
      src/pages/activity/manage/manage/matchProgress.vue
  22. 95
      src/pages/activity/manage/manage/matchSignup.vue
  23. 66
      src/pages/activity/manage/manage/notice.vue
  24. 2
      src/pages/assessment/add/index.vue
  25. 7
      src/pages/assessment/list/index.vue
  26. 5
      src/pages/course/contentSettings/index.vue
  27. 132
      src/pages/course/list/courseManagement/index.vue
  28. 294
      src/pages/course/list/sortManagement/index.vue
  29. 1149
      src/pages/evaluation/list/index.vue
  30. 143
      src/pages/expSystem/backstage/model.vue
  31. 150
      src/pages/expSystem/backstage/sourceModel.vue
  32. 64
      src/pages/expSystem/list/index.vue
  33. 117
      src/pages/information/contentManage/contentList.vue
  34. 88
      src/pages/match/add/set.vue
  35. 4
      src/pages/match/list/index.vue
  36. 4
      src/pages/match/manage/abnormalTeam.vue
  37. 2
      src/pages/match/manage/matchArch.vue
  38. 2
      src/pages/match/manage/matchArchList.vue
  39. 2
      src/pages/match/manage/matchInfo.vue
  40. 89
      src/pages/match/manage/matchProgress.vue
  41. 4
      src/pages/match/manage/matchRank.vue
  42. 4
      src/pages/match/manage/matchSignup.vue
  43. 70
      src/pages/match/manage/notice.vue
  44. 4
      src/pages/match/manage/otherArchList.vue
  45. 2
      src/pages/match/manage/theoryReport.vue
  46. 2
      src/pages/match/manage/trialReport.vue
  47. 8
      src/pages/project/add/index.vue
  48. 2
      src/pages/project/list/index.vue
  49. 2
      src/pages/student/list/index.vue
  50. 4
      src/pages/system/list/role.vue
  51. 2
      src/pages/system/list/staff.vue
  52. 123
      src/pages/workbench/list/index.vue
  53. 16
      src/router/modules/workbench.js
  54. 8
      src/setting.js
  55. 20
      src/styles/common.scss
  56. 2
      src/styles/default/index.scss
  57. 2
      src/styles/var.scss

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

@ -1,12 +1,12 @@
<template>
<div>
<el-menu v-if="menuRefresh" class="sidebar-el-menu" :default-active="active" background-color="#324157"
text-color="#bfcbd9" active-text-color="#9278FF" unique-opened mode="horizontal" @select="menuSelect">
<div class="menus">
<el-menu class="nav" :default-active="active" background-color="#062c87" text-color="#fff" active-text-color="#333"
unique-opened mode="horizontal" @select="menuSelect">
<template v-for="item in menus">
<template v-if="item.subs">
<el-submenu :index="item.index" :key="item.index">
<template slot="title">
<i :class="item.icon"></i>
<i :class="`${item.icon} icon`"></i>
<span slot="title">{{ item.title }}</span>
</template>
<template v-for="subItem in item.subs">
@ -22,7 +22,7 @@
</template>
<template v-else>
<el-menu-item :index="item.index" :key="item.index">
<i :class="item.icon"></i>
<i :class="`${item.icon} icon`"></i>
<span slot="title">{{ item.title }}</span>
</el-menu-item>
</template>
@ -50,35 +50,10 @@ export default {
index: "/station/list",
title: "教学中心"
},
{
icon: "el-icon-user",
index: "/student/list",
title: "学生管理"
},
{
icon: "el-icon-receiving",
index: "/evaluation/list",
title: "测评管理"
},
{
icon: "el-icon-takeaway-box",
index: "/assessment/list",
title: "考核管理"
},
{
icon: "el-icon-collection",
index: "/achievement/list",
title: "成绩管理",
},
{
icon: "el-icon-news",
index: "/course/list",
title: "理论课程管理"
},
{
icon: "el-icon-document",
index: "/information/list",
title: "资讯管理"
index: "/workbench",
title: "工作台"
},
{
icon: "el-icon-school",
@ -90,31 +65,16 @@ export default {
index: "/activity/list",
title: "创业活动"
},
{
icon: "el-icon-c-scale-to-original",
index: "/expSystem/list",
title: "实验系统管理"
},
{
icon: "el-icon-postcard",
index: "/project/list",
title: "实验项目管理"
},
{
icon: "el-icon-setting",
index: "/system/list",
title: "系统设置"
},
{
icon: "el-icon-setting",
index: "/review",
title: "评阅平台"
},
{
icon: "el-icon-pie-chart",
index: "/screen",
title: "数据看板"
}
},
{
icon: "el-icon-document",
index: "/information/list",
title: "管理后台"
},
],
menus: [],
actives: {
@ -123,7 +83,6 @@ export default {
project: ["addproject", "program", "programOption", "programOptions"],
backstage: ["report"]
},
menuRefresh: 1
};
},
computed: {
@ -196,13 +155,32 @@ export default {
</script>
<style lang="scss" scoped>
/deep/.sidebar {
// border-bottom-color: $main-color !important;
.menus {
display: flex;
justify-content: center;
background-color: #062c87;
/deep/.nav {
border-bottom: 0;
// .el-menu-item {
// &.is-active {
// background-color: $main-color !important;
// }
// }
&>.el-menu-item {
height: 56px;
padding: 0 30px;
line-height: 56px;
}
.icon {
color: #fff;
}
&>.el-menu-item.is-active {
background-color: #fff !important;
border-bottom: 0;
.icon {
color: #062c87;
}
}
}
}
</style>

@ -24,7 +24,7 @@
</div>
<div>
<el-table :data="infoData" class="table" stripe header-align="center">
<el-table :data="infoData" class="table" header-align="center">
<el-table-column prop="projectName" label="实验名称" align="center">
</el-table-column>
<el-table-column prop="period" label="实验学时" align="center">
@ -93,7 +93,7 @@
<p class="meta-title">实验数据</p>
<span>得分50/60</span>
</div>
<el-table :data="expData" class="table" stripe header-align="center">
<el-table :data="expData" class="table" header-align="center">
<el-table-column type="index" width="100" label="序号" align="center">
<template slot-scope="scope">
{{ scope.$index + 1 }}

@ -75,7 +75,7 @@
@click="exportReport">导出成绩详情</el-button> -->
</div>
</div>
<el-table :data="listData" class="table" ref="table" :key="curTab" stripe header-align="center"
<el-table :data="listData" class="table" ref="table" :key="curTab" header-align="center"
@selection-change="handleSelectionChange" row-key="reportId">
<el-table-column type="selection" width="55" align="center" :reserve-selection="true"></el-table-column>
<el-table-column type="index" width="60" label="序号" align="center">
@ -133,7 +133,7 @@
<div class="m-b-10 text-right">
<el-button type="primary" @click="exportDetail">导出</el-button>
</div>
<el-table :data="details" stripe :key="curTab" header-align="center" row-key="id">
<el-table :data="details" :key="curTab" header-align="center" row-key="id">
<el-table-column type="index" width="60" label="序号" align="center">
<template slot-scope="scope">
{{ scope.$index + (pageDetail - 1) * pageSizeDetail + 1 }}

@ -89,7 +89,7 @@
</div>
</div>
<template v-if="curTab == 0">
<el-table :data="list" :key="1" class="table" ref="table" stripe header-align="center"
<el-table :data="list" :key="1" class="table" ref="table" header-align="center"
@selection-change="handleSelectionChange" row-key="reportId">
<el-table-column type="selection" width="55" align="center" :reserve-selection="true"></el-table-column>
<el-table-column type="index" width="60" label="序号" align="center">
@ -132,7 +132,7 @@
</div>
</template>
<template v-else>
<el-table :data="activations" :key="2" ref="table" stripe header-align="center"
<el-table :data="activations" :key="2" ref="table" header-align="center"
@selection-change="handleSelectionActivationChange" row-key="reportId">
<el-table-column type="selection" width="55" align="center" :reserve-selection="true"></el-table-column>
<el-table-column type="index" width="60" label="序号" align="center">

@ -8,7 +8,7 @@
</li>
</ul>
</div>
<el-table :data="list" class="table" ref="table" stripe header-align="center" row-key="id">
<el-table :data="list" class="table" ref="table" header-align="center" row-key="id">
<el-table-column type="index" width="60" label="序号" align="center">
<template slot-scope="scope">
{{ scope.$index + (page - 1) * pageSize + 1 }}

@ -45,8 +45,8 @@
<el-button v-auth type="primary" @click="delAllData">批量删除</el-button>
</div>
</div>
<el-table :data="listData" class="table" ref="table" stripe header-align="center"
@selection-change="handleSelectionChange" row-key="id">
<el-table :data="listData" class="table" ref="table" header-align="center" @selection-change="handleSelectionChange"
row-key="id">
<el-table-column type="selection" width="55" align="center" :reserve-selection="true"
:selectable="disabledSelection"></el-table-column>
<el-table-column type="index" width="60" label="序号" align="center">

@ -74,7 +74,7 @@
<img src="@/assets/img/report4.png" alt="">
实验数据
</h6>
<el-table :data="expData" class="table" border stripe header-align="center">
<el-table :data="expData" class="table" border header-align="center">
<el-table-column type="index" label="序号" align="center" width="60">
<template slot-scope="scope">
{{ scope.$index + 1 }}

@ -1,10 +1,8 @@
<template>
<div>
<el-card shadow="hover"
class="m-b-20">
<el-card shadow="hover" class="m-b-20">
<div class="flex-between">
<el-page-header @back="back"
content="管理项目"></el-page-header>
<el-page-header @back="back" content="管理项目"></el-page-header>
</div>
</el-card>
<div class="page">
@ -16,12 +14,9 @@
<div class="single-choice">
<dl>
<dd>
<el-radio-group v-model="form.month"
@change="initData">
<el-radio v-for="(item,index) in dateList"
:key="index"
:label="item.id"
border>{{ item.name }}</el-radio>
<el-radio-group v-model="form.month" @change="initData">
<el-radio v-for="(item, index) in dateList" :key="index" :label="item.id" border>{{ item.name
}}</el-radio>
</el-radio-group>
</dd>
</dl>
@ -29,22 +24,13 @@
</li>
<li>
<label>创建区间</label>
<el-date-picker v-model="date"
align="right"
unlink-panels
type="daterange"
start-placeholder="开始日期"
end-placeholder="结束日期"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
clearable></el-date-picker>
<el-date-picker v-model="date" align="right" unlink-panels type="daterange" start-placeholder="开始日期"
end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" clearable></el-date-picker>
</li>
<li>
<label>搜索</label>
<el-input placeholder="请输入项目名称/创建人"
suffix-icon="el-icon-search"
v-model="form.keyword"
clearable></el-input>
<el-input placeholder="请输入项目名称/创建人" suffix-icon="el-icon-search" v-model="form.keyword"
clearable></el-input>
</li>
</ul>
</div>
@ -54,120 +40,66 @@
<label>状态</label>
<dl>
<dd>
<el-radio-group v-model="form.publishStatus"
@change="initData">
<el-radio v-for="(item,index) in statuses"
:key="index"
:label="item.id"
border>{{ item.name }}</el-radio>
<el-radio-group v-model="form.publishStatus" @change="initData">
<el-radio v-for="(item, index) in statuses" :key="index" :label="item.id" border>{{ item.name
}}</el-radio>
</el-radio-group>
</dd>
</dl>
</li>
<li>
<label>来源</label>
<el-select v-model="form.founder"
@change="initData">
<el-option v-for="(item, i) in founders"
:key="i"
:label="item.name"
:value="item.id"></el-option>
<el-select v-model="form.founder" @change="initData">
<el-option v-for="(item, i) in founders" :key="i" :label="item.name" :value="item.id"></el-option>
</el-select>
</li>
</ul>
<div>
<el-button type="primary"
round
@click="add"
v-auth="'/activity/list:创建项目'">创建项目</el-button>
<el-button type="primary"
round
@click="delAllSelection"
v-auth="'/activity/list:批量删除'">批量删除</el-button>
<el-button type="primary" round @click="add" v-auth="'/activity/list:创建项目'">创建项目</el-button>
<el-button type="primary" round @click="delAllSelection" v-auth="'/activity/list:批量删除'">批量删除</el-button>
</div>
</div>
<el-table ref="table"
:data="activityData"
class="table"
stripe
header-align="center"
@selection-change="handleSelectionChange"
row-key="id">
<el-table-column type="selection"
width="55"
align="center"
:reserve-selection="true"></el-table-column>
<el-table-column type="index"
width="60"
label="序号"
align="center">
<el-table ref="table" :data="activityData" class="table" header-align="center"
@selection-change="handleSelectionChange" row-key="id">
<el-table-column type="selection" width="55" align="center" :reserve-selection="true"></el-table-column>
<el-table-column type="index" width="60" label="序号" align="center">
<template slot-scope="scope">
{{ scope.$index + (page - 1) * pageSize + 1 }}
</template>
</el-table-column>
<el-table-column prop="projectName"
label="项目名称"
align="center"></el-table-column>
<el-table-column prop="applicantNum"
label="报名人数"
align="center"
width="150"></el-table-column>
<el-table-column prop="status"
label="状态"
align="center"
width="90">
<el-table-column prop="projectName" label="项目名称" align="center"></el-table-column>
<el-table-column prop="applicantNum" label="报名人数" align="center" width="150"></el-table-column>
<el-table-column prop="status" label="状态" align="center" width="90">
<template slot-scope="scope">
{{ scope.row.publishStatus ? '已发布' : '未发布' }}
</template>
</el-table-column>
<el-table-column prop="time"
label="项目时间"
align="center"
width="300">
<el-table-column prop="time" label="项目时间" align="center" width="300">
<template slot-scope="scope">
{{ scope.row.playStartTime }} ~ {{ scope.row.playEndTime }}
</template>
</el-table-column>
<el-table-column prop="createTime"
label="创建时间"
align="center"
width="160"></el-table-column>
<el-table-column prop="founderName"
label="创建人"
align="center"
width="130">
<el-table-column prop="createTime" label="创建时间" align="center" width="160"></el-table-column>
<el-table-column prop="founderName" label="创建人" align="center" width="130">
<template slot-scope="scope">
{{ scope.row.founderName || '学校超管' }}
</template>
</el-table-column>
<el-table-column label="操作"
align="center"
width="170">
<el-table-column label="操作" align="center" width="170">
<template slot-scope="scope">
<el-button v-auth="'/activity/list:管理'"
type="text"
@click="manage(scope.row)">管理</el-button>
<el-button v-auth="'/activity/list:删除'"
type="text"
@click="delData(scope.row)">删除</el-button>
<el-switch v-if="scope.row.publishStatus"
v-auth="'/activity/list:禁用'"
v-model="scope.row.schoolOpen"
:active-value="0"
:inactive-value="1"
style="margin: 0 10px 0 5px"
:active-text="scope.row.schoolOpen ? '关' : '开'"
@change="switchOff($event,scope.row,scope.$index)"></el-switch>
<el-button v-auth="'/activity/list:管理'" type="text" @click="manage(scope.row)">管理</el-button>
<el-button v-auth="'/activity/list:删除'" type="text" @click="delData(scope.row)">删除</el-button>
<el-switch v-if="scope.row.publishStatus" v-auth="'/activity/list:禁用'" v-model="scope.row.schoolOpen"
:active-value="0" :inactive-value="1" style="margin: 0 10px 0 5px"
:active-text="scope.row.schoolOpen ? '关' : '开'"
@change="switchOff($event, scope.row, scope.$index)"></el-switch>
</template>
</el-table-column>
</el-table>
<div class="pagination">
<el-pagination background
layout="total, prev, pager, next"
:total="total"
@current-change="handleCurrentChange"
:current-page="page">
<el-pagination background layout="total, prev, pager, next" :total="total" @current-change="handleCurrentChange"
:current-page="page">
</el-pagination>
</div>
</div>
@ -402,22 +334,22 @@ export default {
<style lang="scss" scoped>
/deep/ .tool {
.filter {
.el-input {
min-width: 190px;
}
.filter {
.el-input {
min-width: 190px;
}
}
}
@media (max-width: 1640px) {
.page .page-content .tool .filter {
flex-wrap: wrap;
margin-bottom: -15px;
.page .page-content .tool .filter {
flex-wrap: wrap;
margin-bottom: -15px;
li {
min-width: 34%;
margin-bottom: 15px;
}
li {
min-width: 34%;
margin-bottom: 15px;
}
}
}
</style>

@ -1,71 +1,41 @@
<template>
<!-- 竞赛进展 -->
<div class="page-content"
style="padding: 24px">
<el-table ref="table"
:data="listData"
class="table"
stripe
header-align="center"
@selection-change="handleSelectionChange"
row-key="id">
<el-table-column type="index"
width="60"
label="序号"
align="center">
<div class="page-content" style="padding: 24px">
<el-table ref="table" :data="listData" class="table" header-align="center" @selection-change="handleSelectionChange"
row-key="id">
<el-table-column type="index" width="60" label="序号" align="center">
<template slot-scope="scope">
{{ scope.$index + (pageNo - 1) * pageSize + 1 }}
</template>
</el-table-column>
<el-table-column prop="name"
label="标题">
<el-table-column prop="name" label="标题">
<template slot-scope="scope">
<el-input placeholder="请输入标题"
:disabled="!scope.row.operate"
v-model="scope.row.title"></el-input>
<el-input placeholder="请输入标题" :disabled="!scope.row.operate" v-model="scope.row.title"></el-input>
</template>
</el-table-column>
<el-table-column prop="name"
label="详情描述">
<el-table-column prop="name" label="详情描述">
<template slot-scope="scope">
<el-input placeholder="请输入详情描述"
:disabled="!scope.row.operate"
type="textarea"
v-model="scope.row.description"></el-input>
<el-input placeholder="请输入详情描述" :disabled="!scope.row.operate" type="textarea"
v-model="scope.row.description"></el-input>
</template>
</el-table-column>
<el-table-column prop="name"
label="状态"
width="150">
<el-table-column prop="name" label="状态" width="150">
<template slot-scope="scope">
<el-select v-model="scope.row.status"
:disabled="!scope.row.operate"
clearable
placeholder="请选择状态">
<el-option v-for="(item,index) in statusList"
:key="index"
:label="item.name"
:value="item.value"></el-option>
<el-select v-model="scope.row.status" :disabled="!scope.row.operate" clearable placeholder="请选择状态">
<el-option v-for="(item, index) in statusList" :key="index" :label="item.name"
:value="item.value"></el-option>
</el-select>
</template>
</el-table-column>
<el-table-column label="操作"
align="center"
width="170">
<el-table-column label="操作" align="center" width="170">
<template slot-scope="scope">
<el-button v-if="!scope.row.operate"
type="text"
@click="operateIt(scope.row)">编辑</el-button>
<el-button v-else
type="text"
@click="saveData(scope.row)">保存</el-button>
<el-button type="text"
@click="handleDelete(scope.row, scope.$index)">删除</el-button>
<el-button v-if="!scope.row.operate" type="text" @click="operateIt(scope.row)">编辑</el-button>
<el-button v-else type="text" @click="saveData(scope.row)">保存</el-button>
<el-button type="text" @click="handleDelete(scope.row, scope.$index)">删除</el-button>
</template>
</el-table-column>
</el-table>
<div class="plus"
@click="addData">
<div class="plus" @click="addData">
<i class="el-icon-circle-plus-outline"></i>
</div>
</div>
@ -253,18 +223,18 @@ export default {
<style scoped lang="scss">
.box {
height: calc(100vh - 100px);
overflow: auto;
height: calc(100vh - 100px);
overflow: auto;
}
.plus {
padding: 15px 0 0;
text-align: center;
cursor: pointer;
padding: 15px 0 0;
text-align: center;
cursor: pointer;
i {
font-size: 24px;
color: #cb221c;
}
i {
font-size: 24px;
color: #cb221c;
}
}
</style>

@ -1,90 +1,52 @@
<template>
<!-- 报名人员 -->
<div class="page-content"
style="padding: 24px">
<div class="page-content" style="padding: 24px">
<div class="tool">
<ul class="filter">
<li>
<label>搜索</label>
<el-input placeholder="请输入姓名/手机号/学号"
prefix-icon="el-icon-search"
v-model="keyword"
clearable
size="mini"
style="width: 250px"></el-input>
<el-input placeholder="请输入姓名/手机号/学号" prefix-icon="el-icon-search" v-model="keyword" clearable size="mini"
style="width: 250px"></el-input>
</li>
<li>
<label>报名人员状态</label>
<el-select v-model="isDisable"
@change="initData">
<el-option v-for="(item, i) in statusList"
:key="i"
:label="item.name"
:value="item.id"></el-option>
<el-select v-model="isDisable" @change="initData">
<el-option v-for="(item, i) in statusList" :key="i" :label="item.name" :value="item.id"></el-option>
</el-select>
</li>
</ul>
<div>
<el-button type="primary"
round
@click="exportAll">批量导出</el-button>
<el-button type="primary" round @click="exportAll">批量导出</el-button>
</div>
</div>
<el-table ref="table"
:data="listData"
class="table"
stripe
header-align="center"
@selection-change="handleSelectionChange"
row-key="id"
@sort-change="sortChange">
<el-table-column type="selection"
width="80"
align="center"
:reserve-selection="true"></el-table-column>
<el-table-column type="index"
width="60"
label="序号"
align="center">
<el-table ref="table" :data="listData" class="table" header-align="center" @selection-change="handleSelectionChange"
row-key="id" @sort-change="sortChange">
<el-table-column type="selection" width="80" align="center" :reserve-selection="true"></el-table-column>
<el-table-column type="index" width="60" label="序号" align="center">
<template slot-scope="scope">
{{ scope.$index + (page - 1) * pageSize + 1 }}
</template>
</el-table-column>
<el-table-column prop="schoolName"
label="学校"
sortable="custom">
<el-table-column prop="schoolName" label="学校" sortable="custom">
</el-table-column>
<el-table-column prop="username"
label="姓名">
<el-table-column prop="username" label="姓名">
</el-table-column>
<el-table-column prop="workNumber"
label="学号/工号">
<el-table-column prop="workNumber" label="学号/工号">
</el-table-column>
<el-table-column prop="phone"
label="手机号">
<el-table-column prop="phone" label="手机号">
</el-table-column>
<el-table-column label="操作"
align="center"
width="320">
<el-table-column label="操作" align="center" width="320">
<template slot-scope="scope">
<el-button type="text"
@click="delData(scope.row)">删除</el-button>
<el-switch v-model="scope.row.isDisable"
:active-text="scope.row.isDisable ? '关' : '开'"
:active-value="0"
:inactive-value="1"
style="margin-left: 5px"
@change="switchOff($event,scope.row,scope.$index)"></el-switch>
<el-button type="text" @click="delData(scope.row)">删除</el-button>
<el-switch v-model="scope.row.isDisable" :active-text="scope.row.isDisable ? '' : ''" :active-value="0"
:inactive-value="1" style="margin-left: 5px" @change="switchOff($event, scope.row, scope.$index)"></el-switch>
</template>
</el-table-column>
</el-table>
<div class="pagination">
<el-pagination background
layout="total, prev, pager, next"
:total="total"
@current-change="handleCurrentChange"
:current-page="page">
<el-pagination background layout="total, prev, pager, next" :total="total" @current-change="handleCurrentChange"
:current-page="page">
</el-pagination>
</div>
</div>
@ -212,13 +174,14 @@ export default {
<style lang="scss" scoped>
/deep/.dia-form {
.w-100 {
width: 100%;
}
.tips {
display: flex;
justify-content: center;
align-items: center;
}
.w-100 {
width: 100%;
}
.tips {
display: flex;
justify-content: center;
align-items: center;
}
}
</style>

@ -1,68 +1,41 @@
<template>
<!-- 报名人员 -->
<div class="page-content"
style="padding: 24px">
<div class="tool"
style="justify-content: flex-end">
<el-button type="primary"
round
@click="add">新增</el-button>
<div class="page-content" style="padding: 24px">
<div class="tool" style="justify-content: flex-end">
<el-button type="primary" round @click="add">新增</el-button>
</div>
<el-table ref="table"
:data="listData"
class="table"
stripe
header-align="center"
@selection-change="handleSelectionChange"
row-key="id">
<el-table-column type="index"
width="60"
label="序号"
align="center">
<el-table ref="table" :data="listData" class="table" header-align="center" @selection-change="handleSelectionChange"
row-key="id">
<el-table-column type="index" width="60" label="序号" align="center">
<template slot-scope="scope">
{{ scope.$index + (page - 1) * pageSize + 1 }}
</template>
</el-table-column>
<el-table-column prop="announcementTitle"
label="标题名称">
<el-table-column prop="announcementTitle" label="标题名称">
</el-table-column>
<el-table-column prop="createTime"
label="创建时间">
<el-table-column prop="createTime" label="创建时间">
</el-table-column>
<el-table-column prop="updateTime"
label="发布时间">
<el-table-column prop="updateTime" label="发布时间">
</el-table-column>
<el-table-column prop="phone"
label="状态">
<el-table-column prop="phone" label="状态">
<template slot-scope="scope">
{{ scope.row.status ? '已发布' : '草稿' }}
</template>
</el-table-column>
<el-table-column label="操作"
align="center"
width="250">
<el-table-column label="操作" align="center" width="250">
<template slot-scope="scope">
<el-button type="text"
@click="edit(scope.row)">编辑</el-button>
<el-button type="text"
@click="del(scope.row)">删除</el-button>
<el-switch v-model="scope.row.isOpen"
:active-text="scope.row.isOpen ? '关' : '开'"
:active-value="0"
:inactive-value="1"
style="margin: 0 10px 0 5px"
@change="switchOff($event,scope.row,scope.$index)"></el-switch>
<el-button type="text" @click="edit(scope.row)">编辑</el-button>
<el-button type="text" @click="del(scope.row)">删除</el-button>
<el-switch v-model="scope.row.isOpen" :active-text="scope.row.isOpen ? '' : ''" :active-value="0"
:inactive-value="1" style="margin: 0 10px 0 5px"
@change="switchOff($event, scope.row, scope.$index)"></el-switch>
</template>
</el-table-column>
</el-table>
<div class="pagination">
<el-pagination background
layout="total, prev, pager, next"
:total="totals"
@current-change="handleCurrentChange"
:current-page="page"
:page-size="pageSize">
<el-pagination background layout="total, prev, pager, next" :total="totals" @current-change="handleCurrentChange"
:current-page="page" :page-size="pageSize">
</el-pagination>
</div>
</div>
@ -155,5 +128,4 @@ export default {
};
</script>
<style scoped>
</style>
<style scoped></style>

@ -81,7 +81,7 @@
</div>
</div>
<!-- 实训项目表格 -->
<el-table :data="projectData" class="table" stripe header-align="center">
<el-table :data="projectData" class="table" header-align="center">
<!-- 单选实训项目ID -->
<el-table-column width="60" label="选择" align="center">
<template slot-scope="scope">

@ -15,7 +15,8 @@
<li>
<label>发布类型</label>
<el-select v-model="form.type" clearable placeholder="请选择发布类型" @change="initData">
<el-option v-for="(item, index) in typeList" :key="index" :label="item.name" :value="item.value"></el-option>
<el-option v-for="(item, index) in typeList" :key="index" :label="item.name"
:value="item.value"></el-option>
</el-select>
</li>
<li>
@ -55,8 +56,8 @@
</div>
</div>
<el-table ref="table" :data="listData" class="table" stripe header-align="center"
@selection-change="handleSelectionChange" row-key="id">
<el-table ref="table" :data="listData" class="table" header-align="center" @selection-change="handleSelectionChange"
row-key="id">
<el-table-column type="selection" :selectable="row => row.status !== 1" width="50" align="center"
:reserve-selection="true"></el-table-column>
<el-table-column type="index" width="60" label="序号" align="center">

@ -46,7 +46,7 @@
</div>
</div>
<el-table :data="chapter.subsectionList" class="table" stripe header-align="center">
<el-table :data="chapter.subsectionList" class="table" header-align="center">
<el-table-column v-if="sorting" width="55" align="center">
<template slot-scope="scope">
<el-checkbox v-model="scope.row.check"></el-checkbox>
@ -146,7 +146,8 @@
</span>
</el-dialog>
<div v-show="previewImg" class="el-image-viewer__wrapper" :class="{ active: previewImg }" style="z-index: 2000">
<div v-show="previewImg" class="el-image-viewer__wrapper" :class="{ active: previewImg }"
style="z-index: 2000">
<div class="el-image-viewer__mask"></div>
<span class="el-image-viewer__btn el-image-viewer__close" @click="previewImg = ''"><i
class="el-icon-circle-close" style="color: #fff"></i></span>

@ -2,132 +2,72 @@
<!-- 课程管理 -->
<div style="padding-top: 24px">
<div class="tool">
<ul class="filter"
style="align-items: flex-start">
<ul class="filter" style="align-items: flex-start">
<li>
<label>课程分类</label>
<el-select v-model="categoryId"
clearable
placeholder="请选择课程分类"
@change="categoryChange">
<el-option label="不限"
value=""></el-option>
<el-option v-for="(item,index) in classificationList"
:key="index"
:label="item.classificationName"
:value="item.id"></el-option>
<el-select v-model="categoryId" clearable placeholder="请选择课程分类" @change="categoryChange">
<el-option label="不限" value=""></el-option>
<el-option v-for="(item, index) in classificationList" :key="index" :label="item.classificationName"
:value="item.id"></el-option>
</el-select>
</li>
<li>
<label>搜索</label>
<el-input placeholder="请输入课程名称/创建人"
suffix-icon="el-icon-search"
v-model="keyword"
clearable
size="small"></el-input>
<el-input placeholder="请输入课程名称/创建人" suffix-icon="el-icon-search" v-model="keyword" clearable
size="small"></el-input>
</li>
</ul>
<div>
<el-button v-auth="'课程管理:新增'"
type="info"
round
@click="addCourse">新增</el-button>
<el-button v-auth="'课程管理:批量删除'"
type="primary"
round
@click="delAllData">批量删除</el-button>
<el-button v-auth="'课程管理:新增'" type="info" round @click="addCourse">新增</el-button>
<el-button v-auth="'课程管理:批量删除'" type="primary" round @click="delAllData">批量删除</el-button>
</div>
</div>
<el-table :data="list"
class="table"
ref="table"
stripe
header-align="center"
@selection-change="handleSelectionChange"
row-key="id">
<el-table-column type="selection"
width="80"
align="center"
:reserve-selection="true"></el-table-column>
<el-table-column type="index"
width="100"
label="序号"
align="center">
<el-table :data="list" class="table" ref="table" header-align="center" @selection-change="handleSelectionChange"
row-key="id">
<el-table-column type="selection" width="80" align="center" :reserve-selection="true"></el-table-column>
<el-table-column type="index" width="100" label="序号" align="center">
<template slot-scope="scope">
{{ scope.$index + (page - 1) * pageSize + 1 }}
</template>
</el-table-column>
<el-table-column prop="courseName"
label="课程名称"
align="center">
<el-table-column prop="courseName" label="课程名称" align="center">
</el-table-column>
<el-table-column prop="courseClassification"
label="课程分类"
align="center"
show-overflow-tooltip>
<el-table-column prop="courseClassification" label="课程分类" align="center" show-overflow-tooltip>
</el-table-column>
<el-table-column label="可见范围"
align="center">
<el-table-column label="可见范围" align="center">
<template slot-scope="scope">
{{ regionName[scope.row.visibleRange] }}
</template>
</el-table-column>
<el-table-column prop="createTime"
label="创建时间"
align="center">
<el-table-column prop="createTime" label="创建时间" align="center">
</el-table-column>
<el-table-column prop="founder"
label="创建人"
align="center">
<el-table-column prop="founder" label="创建人" align="center">
</el-table-column>
<el-table-column label="操作"
align="center"
width="250">
<el-table-column label="操作" align="center" width="250">
<template slot-scope="scope">
<el-button v-auth="'课程管理:编辑信息'"
type="text"
@click="editCourse(scope.row)">编辑信息</el-button>
<el-divider v-auth="'课程管理:编辑信息'"
direction="vertical"></el-divider>
<el-button v-auth="'课程管理:内容设置'"
type="text"
@click="config(scope.row)">内容设置</el-button>
<el-divider v-auth="'课程管理:内容设置'"
direction="vertical"></el-divider>
<el-button v-auth="'课程管理:预览'"
type="text"
@click="preview(scope.row)">预览</el-button>
<el-divider v-auth="'课程管理:预览'"
direction="vertical"></el-divider>
<el-button v-auth="'课程管理:删除'"
type="text"
@click="handleDelete(scope.row)">删除</el-button>
<el-button v-auth="'课程管理:编辑信息'" type="text" @click="editCourse(scope.row)">编辑信息</el-button>
<el-divider v-auth="'课程管理:编辑信息'" direction="vertical"></el-divider>
<el-button v-auth="'课程管理:内容设置'" type="text" @click="config(scope.row)">内容设置</el-button>
<el-divider v-auth="'课程管理:内容设置'" direction="vertical"></el-divider>
<el-button v-auth="'课程管理:预览'" type="text" @click="preview(scope.row)">预览</el-button>
<el-divider v-auth="'课程管理:预览'" direction="vertical"></el-divider>
<el-button v-auth="'课程管理:删除'" type="text" @click="handleDelete(scope.row)">删除</el-button>
</template>
</el-table-column>
<el-table-column label="可授权状态"
align="center"
width="120">
<el-table-column label="可授权状态" align="center" width="120">
<template slot-scope="scope">
<!-- 列表展示中台的禁启用依据zt_open展示职站的禁启用依据is_open展示 -->
<!-- 中台禁用了这个学校发布的学校这边还能看到但是学校这边不能启用 -->
<el-switch v-auth="'课程管理:禁用'"
v-model="scope.row.isOpen"
:active-value="0"
:inactive-value="1"
style="margin: 0 10px 0 5px"
:active-text="scope.row.isOpen ? '关' : '开'"
@change="switchOff($event,scope.row,scope.$index)"></el-switch>
<el-switch v-auth="'课程管理:禁用'" v-model="scope.row.isOpen" :active-value="0" :inactive-value="1"
style="margin: 0 10px 0 5px" :active-text="scope.row.isOpen ? '关' : '开'"
@change="switchOff($event, scope.row, scope.$index)"></el-switch>
</template>
</el-table-column>
</el-table>
<div class="pagination">
<el-pagination background
layout="total, prev, pager, next"
:total="total"
@current-change="handleCurrentChange"
:current-page="page"
:page-size="pageSize">
<el-pagination background layout="total, prev, pager, next" :total="total" @current-change="handleCurrentChange"
:current-page="page" :page-size="pageSize">
</el-pagination>
</div>
</div>
@ -307,10 +247,10 @@ export default {
<style lang="scss" scoped>
/deep/ .tool {
.filter {
.el-input {
min-width: 215px;
}
.filter {
.el-input {
min-width: 215px;
}
}
}
</style>

@ -1,163 +1,163 @@
<template>
<!-- 分类管理 -->
<div>
<div class="tool">
<ul class="filter">
<!-- 分类管理 -->
<div>
<div class="tool">
<ul class="filter">
</ul>
<div style="margin-top: 24px">
<el-button v-auth="'分类管理:新增'" type="primary" round @click="addClass">新增</el-button>
</div>
</div>
<el-table :data="list" class="table" stripe header-align="center" @selection-change="handleSelectionChange" row-key="id">
<el-table-column type="index" width="100" label="序号" align="center">
<template slot-scope="scope">
{{ scope.$index + (page - 1) * pageSize + 1 }}
</template>
</el-table-column>
<el-table-column prop="classificationName" label="课程分类名称">
</el-table-column>
<el-table-column label="操作" align="center" width="300">
<template slot-scope="scope">
<el-button v-auth="'分类管理:修改'" type="text" @click="editClass(scope.row)">修改</el-button>
<el-divider v-auth="'分类管理:修改'" direction="vertical"></el-divider>
<el-button v-auth="'分类管理:删除'" type="text" @click="handleDelete(scope.row)">删除</el-button>
</template>
</el-table-column>
</el-table>
<div class="pagination">
<el-pagination background layout="total, prev, pager, next" :total="total" @current-change="handleCurrentChange" :current-page="page">
</el-pagination>
</div>
<el-dialog :title="!curRow.id ? '添加分类' : '编辑分类'" :visible.sync="classVisible" width="400px" :close-on-click-modal="false" @close="closeColumn">
<el-form>
<el-form-item>
<el-input placeholder="分类名称" v-model="classificationName"></el-input>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="classVisible = false"> </el-button>
<el-button type="primary" @click="classSubmit"> </el-button>
</span>
</el-dialog>
</ul>
<div style="margin-top: 24px">
<el-button v-auth="'分类管理:新增'" type="primary" round @click="addClass">新增</el-button>
</div>
</div>
<el-table :data="list" class="table" header-align="center" @selection-change="handleSelectionChange" row-key="id">
<el-table-column type="index" width="100" label="序号" align="center">
<template slot-scope="scope">
{{ scope.$index + (page - 1) * pageSize + 1 }}
</template>
</el-table-column>
<el-table-column prop="classificationName" label="课程分类名称">
</el-table-column>
<el-table-column label="操作" align="center" width="300">
<template slot-scope="scope">
<el-button v-auth="'分类管理:修改'" type="text" @click="editClass(scope.row)">修改</el-button>
<el-divider v-auth="'分类管理:修改'" direction="vertical"></el-divider>
<el-button v-auth="'分类管理:删除'" type="text" @click="handleDelete(scope.row)">删除</el-button>
</template>
</el-table-column>
</el-table>
<div class="pagination">
<el-pagination background layout="total, prev, pager, next" :total="total" @current-change="handleCurrentChange"
:current-page="page">
</el-pagination>
</div>
<el-dialog :title="!curRow.id ? '添加分类' : '编辑分类'" :visible.sync="classVisible" width="400px"
:close-on-click-modal="false" @close="closeColumn">
<el-form>
<el-form-item>
<el-input placeholder="分类名称" v-model="classificationName"></el-input>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="classVisible = false"> </el-button>
<el-button type="primary" @click="classSubmit"> </el-button>
</span>
</el-dialog>
</div>
</template>
<script>
import util from "@/libs/util";
import Setting from '@/setting'
export default {
name: "sortManagement",
data() {
return {
list: [],
multipleSelection: [],
page: 1,
pageSize: 10,
total: 0,
classVisible: false,
curRow: {},
classificationName: "",
nameRepeat: false
};
},
watch: {
classificationName: function(val) {
clearTimeout(this.searchTimer);
this.searchTimer = setTimeout(() => {
this.nameChange();
}, 100);
}
},
mounted() {
this.getData();
name: "sortManagement",
data () {
return {
list: [],
multipleSelection: [],
page: 1,
pageSize: 10,
total: 0,
classVisible: false,
curRow: {},
classificationName: "",
nameRepeat: false
};
},
watch: {
classificationName: function (val) {
clearTimeout(this.searchTimer);
this.searchTimer = setTimeout(() => {
this.nameChange();
}, 100);
}
},
mounted () {
this.getData();
},
methods: {
getData () {
this.$post(this.api.listClassification, {
pageNum: this.page,
pageSize: this.pageSize,
platformSource: Setting.platformSource
}).then(({ page }) => {
this.list = page.records
this.total = page.total
}).catch(res => {
});
},
methods: {
getData() {
this.$post(this.api.listClassification, {
pageNum: this.page,
pageSize: this.pageSize,
platformSource: Setting.platformSource
}).then(({ page }) => {
this.list = page.records
this.total = page.total
}).catch(res => {
});
},
handleDelete(row) {
this.$confirm("此删除操作不可逆,是否确认删除选中项?", "提示", {
type: "warning"
})
.then(() => {
this.$post(this.api.delClassification, [row.id]).then(res => {
util.successMsg("删除成功");
this.getData();
}).catch(res => {
});
})
.catch(() => {
});
},
handleSelectionChange(val) {
this.multipleSelection = val;
},
closeColumn() {
this.classificationName = "";
this.curRow = {};
},
handleCurrentChange(val) {
this.page = val;
handleDelete (row) {
this.$confirm("此删除操作不可逆,是否确认删除选中项?", "提示", {
type: "warning"
})
.then(() => {
this.$post(this.api.delClassification, [row.id]).then(res => {
util.successMsg("删除成功");
this.getData();
},
addClass() {
this.classVisible = true;
},
editClass(row) {
this.curRow = row;
this.classificationName = row.classificationName;
this.classVisible = true;
},
nameChange(val) {
const row = this.curRow
this.$post(this.api.checkRepeat, {
id: row.id,
platformSource: Setting.platformSource,
classificationName: this.classificationName
}).then(res => {
this.nameRepeat = false
}).catch(res => {
this.nameRepeat = true
})
},
classSubmit() {
if (!this.classificationName) return util.errorMsg("请填写分类名称");
if (this.nameRepeat) return util.errorMsg("当前分类已存在!");
let data = {
classificationName: this.classificationName,
platformSource: Setting.platformSource
};
if (this.curRow.id) {
data.id = this.curRow.id;
this.$post(this.api.updateClassification, data).then(res => {
util.successMsg("修改成功");
this.classVisible = false;
this.getData();
}).catch(res => {
});
} else {
this.$post(this.api.saveClassification, data).then(res => {
util.successMsg("添加成功");
this.classVisible = false;
this.getData();
}).catch(res => {
});
}
}
});
})
.catch(() => {
});
},
handleSelectionChange (val) {
this.multipleSelection = val;
},
closeColumn () {
this.classificationName = "";
this.curRow = {};
},
handleCurrentChange (val) {
this.page = val;
this.getData();
},
addClass () {
this.classVisible = true;
},
editClass (row) {
this.curRow = row;
this.classificationName = row.classificationName;
this.classVisible = true;
},
nameChange (val) {
const row = this.curRow
this.$post(this.api.checkRepeat, {
id: row.id,
platformSource: Setting.platformSource,
classificationName: this.classificationName
}).then(res => {
this.nameRepeat = false
}).catch(res => {
this.nameRepeat = true
})
},
classSubmit () {
if (!this.classificationName) return util.errorMsg("请填写分类名称");
if (this.nameRepeat) return util.errorMsg("当前分类已存在!");
let data = {
classificationName: this.classificationName,
platformSource: Setting.platformSource
};
if (this.curRow.id) {
data.id = this.curRow.id;
this.$post(this.api.updateClassification, data).then(res => {
util.successMsg("修改成功");
this.classVisible = false;
this.getData();
}).catch(res => {
});
} else {
this.$post(this.api.saveClassification, data).then(res => {
util.successMsg("添加成功");
this.classVisible = false;
this.getData();
}).catch(res => {
});
}
}
}
};
</script>
<style lang="scss" scoped>
</style>
<style lang="scss" scoped></style>

File diff suppressed because it is too large Load Diff

@ -1,9 +1,7 @@
<template>
<div class="wrap">
<div class="side">
<org ref="tree"
@initData="initData"
@getData="getData"></org>
<org ref="tree" @initData="initData" @getData="getData"></org>
</div>
<div class="right">
@ -11,90 +9,45 @@
<div class="tool">
<ul class="filter">
<li>
<el-input placeholder="请输入模型名称"
prefix-icon="el-icon-search"
v-model.trim="keyword"
clearable></el-input>
<el-input placeholder="请输入模型名称" prefix-icon="el-icon-search" v-model.trim="keyword" clearable></el-input>
</li>
</ul>
<div>
<el-button v-auth="'/expSystem/list:进入:模型列表管理:导入模型'"
type="primary"
round
@click="add">导入模型</el-button>
<el-button v-auth="'/expSystem/list:进入:模型列表管理:批量移除'"
type="primary"
round
@click="batchDel">批量移除</el-button>
<el-button v-auth="'/expSystem/list:进入:模型列表管理:导入模型'" type="primary" round @click="add">导入模型</el-button>
<el-button v-auth="'/expSystem/list:进入:模型列表管理:批量移除'" type="primary" round @click="batchDel">批量移除</el-button>
</div>
</div>
<el-table :data="listData"
class="table"
ref="table"
stripe
header-align="center"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55"
align="center"></el-table-column>
<el-table-column type="index"
label="序号"
width="55"
align="center"></el-table-column>
<el-table-column prop="modelName"
label="模型名称"
align="center"></el-table-column>
<el-table-column v-if="isTopLevel"
prop="categoryName"
label="分类"
width="150"
align="center"></el-table-column>
<el-table-column prop="createTime"
label="导入时间"
align="center"></el-table-column>
<el-table-column label="状态"
align="center">
<el-table :data="listData" class="table" ref="table" header-align="center"
@selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center"></el-table-column>
<el-table-column type="index" label="序号" width="55" align="center"></el-table-column>
<el-table-column prop="modelName" label="模型名称" align="center"></el-table-column>
<el-table-column v-if="isTopLevel" prop="categoryName" label="分类" width="150" align="center"></el-table-column>
<el-table-column prop="createTime" label="导入时间" align="center"></el-table-column>
<el-table-column label="状态" align="center">
<template slot-scope="scope">
{{ scope.row.isOpen || scope.row.ztOpen ? '禁用' : '启用' }}
</template>
</el-table-column>
<el-table-column label="操作"
width="200"
align="center">
<el-table-column label="操作" width="200" align="center">
<template slot-scope="scope">
<el-button v-auth="'/expSystem/list:进入:模型列表管理:查看'"
type="text"
@click="show(scope.row)">查看</el-button>
<el-button v-auth="'/expSystem/list:进入:模型列表管理:移除'"
type="text"
@click="del(scope.row)">移除</el-button>
<el-button v-auth="'/expSystem/list:进入:模型列表管理:查看'" type="text" @click="show(scope.row)">查看</el-button>
<el-button v-auth="'/expSystem/list:进入:模型列表管理:移除'" type="text" @click="del(scope.row)">移除</el-button>
</template>
</el-table-column>
</el-table>
<div class="pagination">
<el-pagination background
layout="total, prev, pager, next"
:current-page="page"
@current-change="handleCurrentChange"
:total="total"></el-pagination>
<el-pagination background layout="total, prev, pager, next" :current-page="page"
@current-change="handleCurrentChange" :total="total"></el-pagination>
</div>
</div>
<el-dialog title="请选择需要导入的模型"
:visible.sync="modelVisible"
width="500px"
class="dialog"
:close-on-click-modal="false"
v-loading="modelLoading">
<el-dialog title="请选择需要导入的模型" :visible.sync="modelVisible" width="500px" class="dialog"
:close-on-click-modal="false" v-loading="modelLoading">
<div class="model-wrap">
<el-tree v-if="schoolModels.length"
:data="schoolModels"
ref="schoolModel"
default-expand-all
show-checkbox
node-key="id"
:props="{children: 'children', label: 'categoryName', isLeaf: 'leaf'}">
<el-tree v-if="schoolModels.length" :data="schoolModels" ref="schoolModel" default-expand-all show-checkbox
node-key="id" :props="{ children: 'children', label: 'categoryName', isLeaf: 'leaf' }">
</el-tree>
<!-- <el-tree v-if="systemModels.length"
:data="systemModels"
@ -105,14 +58,11 @@
:props="{children: 'children', label: 'categoryName', isLeaf: 'leaf'}">
</el-tree> -->
<div class="none"
v-else>暂无可导入的模型</div>
<div class="none" v-else>暂无可导入的模型</div>
</div>
<span slot="footer"
class="dialog-footer">
<span slot="footer" class="dialog-footer">
<el-button @click="modelVisible = false"> </el-button>
<el-button type="primary"
@click="submit"> </el-button>
<el-button type="primary" @click="submit"> </el-button>
</span>
</el-dialog>
</div>
@ -367,29 +317,34 @@ export default {
</script>
<style lang="scss" scoped>
.wrap {
display: flex;
min-height: calc(100vh - 310px);
padding: 0 24px;
.side {
width: 300px;
padding: 24px 10px 24px 0;
margin-right: 24px;
border-right: 1px solid rgba(0, 0, 0, 0.06);
}
.right {
width: calc(100% - 374px);
padding: 24px;
}
display: flex;
min-height: calc(100vh - 310px);
padding: 0 24px;
.side {
width: 300px;
padding: 24px 10px 24px 0;
margin-right: 24px;
border-right: 1px solid rgba(0, 0, 0, 0.06);
}
.right {
width: calc(100% - 374px);
padding: 24px;
}
}
.el-input__inner {
height: 32px;
height: 32px;
}
.model-wrap {
max-height: 400px;
overflow: auto;
.none {
text-align: center;
color: #8b8b8b;
}
max-height: 400px;
overflow: auto;
.none {
text-align: center;
color: #8b8b8b;
}
}
</style>

@ -1,9 +1,7 @@
<template>
<div class="wrap">
<div class="side">
<org ref="tree"
@initData="catetoryClick"
@loadData="loadData"></org>
<org ref="tree" @initData="catetoryClick" @loadData="loadData"></org>
</div>
<div class="right">
@ -11,117 +9,60 @@
<div class="tool">
<ul class="filter">
<li>
<el-input placeholder="请输入模型名称"
prefix-icon="el-icon-search"
v-model.trim="keyword"
clearable></el-input>
<el-input placeholder="请输入模型名称" prefix-icon="el-icon-search" v-model.trim="keyword" clearable></el-input>
</li>
</ul>
<div>
<template v-if="!isSystem">
<el-button v-auth="'/expSystem/list:进入:源模型管理:新增模型'"
type="primary"
round
@click="add">新增模型</el-button>
<el-button v-auth="'/expSystem/list:进入:源模型管理:批量删除'"
type="primary"
round
@click="batchDel">批量删除</el-button>
<el-button v-auth="'/expSystem/list:进入:源模型管理:新增模型'" type="primary" round @click="add">新增模型</el-button>
<el-button v-auth="'/expSystem/list:进入:源模型管理:批量删除'" type="primary" round @click="batchDel">批量删除</el-button>
</template>
<el-button v-auth="'/expSystem/list:进入:源模型管理:批量禁用'"
type="primary"
round
@click="batchOff(1)">批量禁用</el-button>
<el-button v-auth="'/expSystem/list:进入:源模型管理:批量开启'"
type="primary"
round
@click="batchOff(0)">批量开启</el-button>
<el-button v-auth="'/expSystem/list:进入:源模型管理:批量禁用'" type="primary" round @click="batchOff(1)">批量禁用</el-button>
<el-button v-auth="'/expSystem/list:进入:源模型管理:批量开启'" type="primary" round @click="batchOff(0)">批量开启</el-button>
</div>
</div>
<el-table :data="listData"
class="table"
ref="table"
stripe
header-align="center"
@selection-change="handleSelectionChange">
<el-table-column type="selection"
width="55"
align="center"></el-table-column>
<el-table-column type="index"
label="序号"
width="55"
align="center"></el-table-column>
<el-table-column prop="modelName"
label="模型名称"
align="center"></el-table-column>
<el-table-column v-if="isTopLevel"
prop="categoryName"
label="分类"
width="150"
align="center"></el-table-column>
<el-table-column v-if="isTopLevel || !isSystem"
prop="modifyName"
label="编辑人"
align="center">
<el-table :data="listData" class="table" ref="table" header-align="center"
@selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center"></el-table-column>
<el-table-column type="index" label="序号" width="55" align="center"></el-table-column>
<el-table-column prop="modelName" label="模型名称" align="center"></el-table-column>
<el-table-column v-if="isTopLevel" prop="categoryName" label="分类" width="150" align="center"></el-table-column>
<el-table-column v-if="isTopLevel || !isSystem" prop="modifyName" label="编辑人" align="center">
<template slot-scope="scope">
{{ isSystem ? '系统' : scope.row.modifyName }}
</template>
</el-table-column>
<el-table-column prop="updateTime"
label="最新编辑时间"
width="150"
align="center"></el-table-column>
<el-table-column prop="workNumber"
label="状态"
width="100"
align="center">
<el-table-column prop="updateTime" label="最新编辑时间" width="150" align="center"></el-table-column>
<el-table-column prop="workNumber" label="状态" width="100" align="center">
<template slot-scope="scope">
{{ isSystem ?
(scope.row.isOpen ? '禁用' : '启用') :
(scope.row.postStatus ? '已发布' : '草稿') }}
(scope.row.isOpen ? '禁用' : '启用') :
(scope.row.postStatus ? '已发布' : '草稿') }}
</template>
</el-table-column>
<el-table-column label="操作"
width="230">
<el-table-column label="操作" width="230">
<template slot-scope="scope">
<el-button v-auth="'/expSystem/list:进入:源模型管理:查看'"
type="text"
@click="show(scope.row)">查看</el-button>
<el-button v-auth="'/expSystem/list:进入:源模型管理:查看'" type="text" @click="show(scope.row)">查看</el-button>
<template v-if="!isSystem">
<el-button v-auth="'/expSystem/list:进入:源模型管理:编辑'"
type="text"
@click="edit(scope.row)">编辑</el-button>
<el-button v-auth="'/expSystem/list:进入:源模型管理:删除'"
type="text"
@click="del(scope.row)">删除</el-button>
<el-button v-auth="'/expSystem/list:进入:源模型管理:编辑'" type="text" @click="edit(scope.row)">编辑</el-button>
<el-button v-auth="'/expSystem/list:进入:源模型管理:删除'" type="text" @click="del(scope.row)">删除</el-button>
<el-switch v-auth="'/expSystem/list:进入:源模型管理:禁用'"
v-if="scope.row.postStatus"
v-model="scope.row.isOpen"
:active-value="0"
:inactive-value="1"
style="margin: 0 10px 0 5px"
:active-text="scope.row.isOpen ? '禁用' : '启用'"
@change="switchOff($event,scope.row,scope.$index)"></el-switch>
<el-switch v-auth="'/expSystem/list:进入:源模型管理:禁用'" v-if="scope.row.postStatus" v-model="scope.row.isOpen"
:active-value="0" :inactive-value="1" style="margin: 0 10px 0 5px"
:active-text="scope.row.isOpen ? '禁用' : '启用'"
@change="switchOff($event, scope.row, scope.$index)"></el-switch>
</template>
<el-switch v-else-if="!scope.row.isOpen"
v-auth="'/expSystem/list:进入:源模型管理:禁用'"
v-model="scope.row.isClose"
:active-value="0"
:inactive-value="1"
style="margin: 0 10px 0 5px"
:active-text="scope.row.isOpen ? '禁用' : '启用'"
@change="switchOffSystem($event,scope.row,scope.$index)"></el-switch>
<el-switch v-else-if="!scope.row.isOpen" v-auth="'/expSystem/list:进入:源模型管理:禁用'" v-model="scope.row.isClose"
:active-value="0" :inactive-value="1" style="margin: 0 10px 0 5px"
:active-text="scope.row.isOpen ? '禁用' : '启用'"
@change="switchOffSystem($event, scope.row, scope.$index)"></el-switch>
</template>
</el-table-column>
</el-table>
<div class="pagination">
<el-pagination background
layout="total, prev, pager, next"
:current-page="page"
@current-change="handleCurrentChange"
:total="total"></el-pagination>
<el-pagination background layout="total, prev, pager, next" :current-page="page"
@current-change="handleCurrentChange" :total="total"></el-pagination>
</div>
</div>
</div>
@ -321,20 +262,23 @@ export default {
</script>
<style lang="scss" scoped>
.wrap {
display: flex;
padding: 0 24px;
.side {
width: 300px;
padding: 24px 10px 24px 0;
margin-right: 24px;
border-right: 1px solid rgba(0, 0, 0, 0.06);
}
.right {
width: calc(100% - 374px);
padding: 24px;
}
display: flex;
padding: 0 24px;
.side {
width: 300px;
padding: 24px 10px 24px 0;
margin-right: 24px;
border-right: 1px solid rgba(0, 0, 0, 0.06);
}
.right {
width: calc(100% - 374px);
padding: 24px;
}
}
.el-input__inner {
height: 32px;
height: 32px;
}
</style>

@ -1,74 +1,46 @@
<template>
<div>
<div class="page"
v-loading="loading">
<div class="page" v-loading="loading">
<h6 class="p-title">筛选</h6>
<div class="tool mul">
<ul class="filter">
<li>
<label>系统类型</label>
<el-select v-model="systemType"
clearable
placeholder="请选择系统类型"
@change="systemChange">
<el-option v-for="(item,index) in systemTypeList"
:key="index"
:label="item.label"
:value="item.value"></el-option>
<el-select v-model="systemType" clearable placeholder="请选择系统类型" @change="systemChange">
<el-option v-for="(item, index) in systemTypeList" :key="index" :label="item.label"
:value="item.value"></el-option>
</el-select>
</li>
<li>
<el-input placeholder="请输入系统名称"
prefix-icon="el-icon-search"
v-model.trim="keyword"
clearable></el-input>
<el-input placeholder="请输入系统名称" prefix-icon="el-icon-search" v-model.trim="keyword" clearable></el-input>
</li>
</ul>
</div>
<el-table :data="systemData"
class="table"
stripe
header-align="center">
<el-table-column type="index"
width="100"
label="序号"
align="center">
<el-table :data="systemData" class="table" header-align="center">
<el-table-column type="index" width="100" label="序号" align="center">
</el-table-column>
<el-table-column prop="systemName"
label="系统名称"
align="center"></el-table-column>
<el-table-column prop="type"
label="系统类型"
align="center">
<el-table-column prop="systemName" label="系统名称" align="center"></el-table-column>
<el-table-column prop="type" label="系统类型" align="center">
<template slot-scope="scope">
{{ systemTypeKeys[scope.row.type] }}
</template>
</el-table-column>
<el-table-column prop="state"
label="系统状态"
align="center">
<el-table-column prop="state" label="系统状态" align="center">
<template slot-scope="scope">
{{ systemStatusKeys[scope.row.state] }}
</template>
</el-table-column>
<el-table-column prop="payamount"
label="系统后台"
align="center">
<el-table-column prop="payamount" label="系统后台" align="center">
<template slot-scope="scope">
<el-button type="text"
@click="toBackstage(scope.row)"
v-if="scope.row.systemId !== '11' && scope.row.systemId !== '12'"
v-auth>进入</el-button>
<el-button type="text" @click="toBackstage(scope.row)"
v-if="scope.row.systemId !== '11' && scope.row.systemId !== '12'" v-auth>进入</el-button>
</template>
</el-table-column>
</el-table>
<div class="pagination">
<el-pagination background
:current-page="page"
@current-change="handleCurrentChange"
layout="total, prev, pager, next"
:total="totals">
<el-pagination background :current-page="page" @current-change="handleCurrentChange"
layout="total, prev, pager, next" :total="totals">
</el-pagination>
</div>
</div>
@ -191,10 +163,10 @@ export default {
<style lang="scss" scoped>
.card {
min-height: calc(100vh - 300px);
min-height: calc(100vh - 300px);
}
.mag {
margin-right: 20px;
margin-right: 20px;
}
</style>

@ -4,109 +4,54 @@
<!-- <a class="item" v-for="(item,index) in tabs" :key="index" :class="{active: index == activeName}" @click="tabChange(index)">{{item}}</a>-->
<!-- </div>-->
<div class="btn-wrap">
<el-button v-auth="'内容管理:保存排序'"
class="action-btn"
type="primary"
@click="sortSubmit">保存排序</el-button>
<el-button v-auth="'内容管理:批量删除'"
class="action-btn"
type="primary"
@click="delAllData">批量删除</el-button>
<el-button v-auth="'内容管理:新增文章'"
class="action-btn"
type="info"
@click="addArticle">新增文章</el-button>
<el-button v-auth="'内容管理:保存排序'" class="action-btn" type="primary" @click="sortSubmit">保存排序</el-button>
<el-button v-auth="'内容管理:批量删除'" class="action-btn" type="primary" @click="delAllData">批量删除</el-button>
<el-button v-auth="'内容管理:新增文章'" class="action-btn" type="info" @click="addArticle">新增文章</el-button>
</div>
<div class="page-content"
style="padding-top: 24px">
<el-table ref="table"
:data="list"
class="table"
stripe
header-align="center"
@selection-change="handleSelectionChange"
row-key="id">
<el-table-column type="selection"
width="80"
align="center"
:reserve-selection="true"></el-table-column>
<el-table-column type="index"
width="60"
label="序号"
align="center">
<div class="page-content" style="padding-top: 24px">
<el-table ref="table" :data="list" class="table" header-align="center" @selection-change="handleSelectionChange"
row-key="id">
<el-table-column type="selection" width="80" align="center" :reserve-selection="true"></el-table-column>
<el-table-column type="index" width="60" label="序号" align="center">
<template slot-scope="scope">
{{ scope.$index + (pageNo - 1) * pageSize + 1 }}
</template>
</el-table-column>
<el-table-column prop="title"
label="标题"
show-overflow-tooltip
align="center">
<el-table-column prop="title" label="标题" show-overflow-tooltip align="center">
</el-table-column>
<el-table-column prop="title"
label="栏目"
show-overflow-tooltip
align="center">
<el-table-column prop="title" label="栏目" show-overflow-tooltip align="center">
{{ columnName }}
</el-table-column>
<el-table-column prop="name"
label="排序值"
width="80"
align="center">
<el-table-column prop="name" label="排序值" width="80" align="center">
<template slot-scope="scope">
<el-input class="sort-input"
width="120"
min="1"
v-model.number="scope.row.sort"
type="number"></el-input>
<el-input class="sort-input" width="120" min="1" v-model.number="scope.row.sort" type="number"></el-input>
<span>{{ scope.row.sort }}</span>
</template>
</el-table-column>
<el-table-column prop="date"
label="添加日期"
align="center">
<el-table-column prop="date" label="添加日期" align="center">
<template slot-scope="scope">
{{ transferDate(scope.row.date) }}
</template>
</el-table-column>
<el-table-column label="操作"
align="center"
width="170">
<el-table-column label="操作" align="center" width="170">
<template slot-scope="scope">
<el-button v-auth="'内容管理:编辑'"
type="text"
@click="editArticle(scope)">编辑</el-button>
<el-divider v-auth="'内容管理:编辑'"
direction="vertical"></el-divider>
<el-button v-auth="'内容管理:删除'"
type="text"
@click="delData(scope.row)">删除</el-button>
<el-button v-auth="'内容管理:编辑'" type="text" @click="editArticle(scope)">编辑</el-button>
<el-divider v-auth="'内容管理:编辑'" direction="vertical"></el-divider>
<el-button v-auth="'内容管理:删除'" type="text" @click="delData(scope.row)">删除</el-button>
</template>
</el-table-column>
<el-table-column prop="name"
label="文章发布状态"
width="120"
align="center">
<el-table-column prop="name" label="文章发布状态" width="120" align="center">
<template slot-scope="scope">
<el-switch v-auth="'内容管理:禁用'"
class="off"
v-model="scope.row.status"
:active-value="0"
:inactive-value="1"
style="margin: 0 5px"
:active-text="scope.row.status ? '关' : '开'"
@change="switchOff($event,scope.row,scope.$index)"></el-switch>
<el-switch v-auth="'内容管理:禁用'" class="off" v-model="scope.row.status" :active-value="0" :inactive-value="1"
style="margin: 0 5px" :active-text="scope.row.status ? '关' : '开'"
@change="switchOff($event, scope.row, scope.$index)"></el-switch>
<span>{{ scope.row.status ? "禁用" : "启用" }}</span>
</template>
</el-table-column>
</el-table>
<div class="pagination">
<el-pagination background
layout="total, prev, pager, next"
:total="totals"
@current-change="handleCurrentChange"
:current-page="pageNo"
:page-size="pageSize">
<el-pagination background layout="total, prev, pager, next" :total="totals"
@current-change="handleCurrentChange" :current-page="pageNo" :page-size="pageSize">
</el-pagination>
</div>
</div>
@ -262,20 +207,20 @@ export default {
<style lang="scss" scoped>
.btn-wrap {
text-align: right;
text-align: right;
}
.sort-input {
/deep/ .el-input__inner {
padding: 0 0 0 10px;
}
/deep/ .el-input__inner {
padding: 0 0 0 10px;
}
}
.sort-input + span {
display: none;
.sort-input+span {
display: none;
}
.off + span {
display: none;
.off+span {
display: none;
}
</style>

@ -1,102 +1,67 @@
<template>
<div>
<el-card shadow="hover"
class="m-b-20">
<el-card shadow="hover" class="m-b-20">
<div>
<p class="m-b-20">比赛名称</p>
{{ form.stageName }}
</div>
</el-card>
<el-card shadow="hover"
class="m-b-20">
<el-card shadow="hover" class="m-b-20">
<div>
<p class="m-b-20">比赛时间</p>
<div class="date-inputs">
起止时间
<div style="display: inline-flex;align-items: center;">
<el-date-picker v-model="form.time"
type="datetimerange"
range-separator="~"
start-placeholder="开始日期"
end-placeholder="结束日期"
format="yyyy-MM-dd HH:mm:ss"
value-format="yyyy-MM-dd HH:mm:ss"
@change="timeChange">
<el-date-picker v-model="form.time" type="datetimerange" range-separator="~" start-placeholder="开始日期"
end-placeholder="结束日期" format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss"
@change="timeChange">
</el-date-picker>
<el-alert style="width: auto;padding: 4px 16px;margin-left: 10px;"
:title="'(请设置在 ' + step1.playStartTime + ' ~ ' + step1.playEndTime + '间)'"
type="error"
:closable="false"
effect="dark">
:title="'(请设置在 ' + step1.playStartTime + ' ~ ' + step1.playEndTime + '间)'" type="error" :closable="false"
effect="dark">
</el-alert>
</div>
</div>
</div>
</el-card>
<el-card shadow="hover"
class="mgr20 m-b-20">
<el-card shadow="hover" class="mgr20 m-b-20">
<div>
<p class="m-b-20">课程</p>
<div class="inline-input">
<el-cascader v-model="mallIds"
:options="curs"
:props="{ checkStrictly: true, value: 'id' }"
popper-class="course-cas"
@expand-change="curChange"
@change="curChange"></el-cascader>
<el-cascader v-model="mallIds" :options="curs" :props="{ checkStrictly: true, value: 'id' }"
popper-class="course-cas" @expand-change="curChange" @change="curChange"></el-cascader>
</div>
</div>
</el-card>
<el-card shadow="hover"
class="m-b-20">
<el-card shadow="hover" class="m-b-20">
<div class="flex-between m-b-20">
<span>实训项目</span>
<div style="display: inline-flex;">
<div>
<el-input placeholder="请输入项目名称"
prefix-icon="el-icon-search"
v-model.trim="keyword"
clearable></el-input>
<el-input placeholder="请输入项目名称" prefix-icon="el-icon-search" v-model.trim="keyword" clearable></el-input>
</div>
<el-button style="margin-left: 5px"
type="primary"
round
@click="toProject">自定义实验项目</el-button>
<el-button style="margin-left: 5px" type="primary" round @click="toProject">自定义实验项目</el-button>
</div>
</div>
<!-- 实训项目表格 -->
<el-table :data="projects"
class="table"
stripe
header-align="center">
<el-table-column width="60"
label="选择"
align="center">
<el-table :data="projects" class="table" header-align="center">
<el-table-column width="60" label="选择" align="center">
<template slot-scope="scope">
<el-radio v-model="form.projectId"
:label="scope.row.projectId">&nbsp;</el-radio>
<el-radio v-model="form.projectId" :label="scope.row.projectId">&nbsp;</el-radio>
</template>
</el-table-column>
<el-table-column prop="projectName"
label="项目名称"
align="center"></el-table-column>
<el-table-column prop="auth"
label="项目权限"
align="center">
<el-table-column prop="projectName" label="项目名称" align="center"></el-table-column>
<el-table-column prop="auth" label="项目权限" align="center">
<template slot-scope="scope">
{{ permissionsKeys[scope.row.permissions] }}
</template>
</el-table-column>
<el-table-column prop="founder"
label="创建人"
align="center">
<el-table-column prop="founder" label="创建人" align="center">
<template slot-scope="scope">
{{ scope.row.founder ? '老师创建' : '系统内置' }}
</template>
</el-table-column>
<el-table-column prop="createTime"
label="创建时间"
align="center"></el-table-column>
<el-table-column prop="createTime" label="创建时间" align="center"></el-table-column>
<!-- <el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button type="text" @click="showProject(scope.row)">查看</el-button>
@ -104,18 +69,14 @@
</el-table-column> -->
</el-table>
<div class="pagination">
<el-pagination background
:page-size="pageSize"
@current-change="handleCurrentChange"
layout="total,prev, pager, next"
:total="total"></el-pagination>
<el-pagination background :page-size="pageSize" @current-change="handleCurrentChange"
layout="total,prev, pager, next" :total="total"></el-pagination>
</div>
</el-card>
<div style="text-align: center">
<el-button @click="back">返回</el-button>
<el-button type="primary"
@click="save">保存</el-button>
<el-button type="primary" @click="save">保存</el-button>
</div>
</div>
</template>
@ -285,5 +246,4 @@ export default {
};
</script>
<style scoped lang="scss">
</style>
<style scoped lang="scss"></style>

@ -47,7 +47,7 @@
</div>
</div>
<el-table ref="table" :data="matchData" class="table" stripe header-align="center"
<el-table ref="table" :data="matchData" class="table" header-align="center"
@selection-change="handleSelectionChange" row-key="id">
<el-table-column type="selection" width="55" align="center" :reserve-selection="true"></el-table-column>
<el-table-column type="index" width="60" label="序号" align="center">
@ -100,7 +100,7 @@
</div>
<el-dialog title="修改当前阶段结束时间" :visible.sync="modifyVisible" width="900px" :close-on-click-modal="false">
<el-table :data="curRow.playingStages" class="table" ref="table" stripe header-align="center">
<el-table :data="curRow.playingStages" class="table" ref="table" header-align="center">
<el-table-column prop="stageName" label="阶段名称" min-width="100" align="center"></el-table-column>
<el-table-column label="竞赛起止时间" width="300" align="center">
<template slot-scope="scope">

@ -22,8 +22,8 @@
</div>
</div>
<el-table ref="table" :data="listData" class="table" stripe header-align="center"
@selection-change="handleSelectionChange" row-key="id" v-loading="loading" @sort-change="sortChange">
<el-table ref="table" :data="listData" class="table" header-align="center" @selection-change="handleSelectionChange"
row-key="id" v-loading="loading" @sort-change="sortChange">
<el-table-column type="selection" width="80" align="center" :reserve-selection="true"></el-table-column>
<el-table-column type="index" width="60" label="序号" align="center">
<template slot-scope="scope">

@ -1,7 +1,7 @@
<template>
<!-- 报名人员 -->
<div class="page-content" style="padding: 24px">
<el-table ref="table" :data="list" class="table" stripe header-align="center" row-key="stageId">
<el-table ref="table" :data="list" class="table" header-align="center" row-key="stageId">
<el-table-column type="index" width="60" label="序号" align="center">
<template slot-scope="scope">
{{ scope.$index + 1 }}

@ -48,7 +48,7 @@
<el-button type="primary" :loading="exporting" @click="exportData">{{ exporting ? '正在导出' : '批量导出'
}}</el-button>
</div>
<el-table :data="list" class="table" :key="1" ref="table" stripe header-align="center"
<el-table :data="list" class="table" :key="1" ref="table" header-align="center"
@selection-change="handleSelectionChange" row-key="id">
<el-table-column type="selection" width="55" align="center" :reserve-selection="true"></el-table-column>
<el-table-column type="index" width="60" label="序号" align="center">

@ -147,7 +147,7 @@
<p>队长{{ info.captain.userName }}</p>
<el-button type="primary" @click="transfer">转让队长</el-button>
</div>
<el-table :data="info.teamDetail" stripe header-align="center">
<el-table :data="info.teamDetail" header-align="center">
<el-table-column prop="userName" label="成员姓名" min-width="100" align="center"></el-table-column>
<el-table-column prop="realSchool" label="学校" min-width="100" align="center"></el-table-column>
<el-table-column prop="workNumber" label="学号" min-width="100" align="center"></el-table-column>

@ -1,74 +1,43 @@
<template>
<!-- 竞赛进展 -->
<div class="page-content"
style="padding: 24px">
<el-table ref="table"
:data="listData"
class="table"
stripe
header-align="center"
@selection-change="handleSelectionChange"
row-key="id">
<el-table-column type="index"
width="60"
label="序号"
align="center">
<div class="page-content" style="padding: 24px">
<el-table ref="table" :data="listData" class="table" header-align="center" @selection-change="handleSelectionChange"
row-key="id">
<el-table-column type="index" width="60" label="序号" align="center">
<template slot-scope="scope">
{{ scope.$index + (pageNo - 1) * pageSize + 1 }}
</template>
</el-table-column>
<el-table-column prop="name"
label="标题">
<el-table-column prop="name" label="标题">
<template slot-scope="scope">
<el-input placeholder="请输入标题"
:disabled="!scope.row.operate"
v-model="scope.row.title"></el-input>
<el-input placeholder="请输入标题" :disabled="!scope.row.operate" v-model="scope.row.title"></el-input>
</template>
</el-table-column>
<el-table-column prop="name"
label="详情描述">
<el-table-column prop="name" label="详情描述">
<template slot-scope="scope">
<el-input placeholder="请输入详情描述"
:disabled="!scope.row.operate"
type="textarea"
v-model="scope.row.description"></el-input>
<el-input placeholder="请输入详情描述" :disabled="!scope.row.operate" type="textarea"
v-model="scope.row.description"></el-input>
</template>
</el-table-column>
<el-table-column prop="name"
label="状态"
width="150">
<el-table-column prop="name" label="状态" width="150">
<template slot-scope="scope">
<el-select v-model="scope.row.status"
:disabled="!scope.row.operate"
clearable
placeholder="请选择状态">
<el-option v-for="(item,index) in statusList"
:key="index"
:label="item.name"
:value="item.value"></el-option>
<el-select v-model="scope.row.status" :disabled="!scope.row.operate" clearable placeholder="请选择状态">
<el-option v-for="(item, index) in statusList" :key="index" :label="item.name"
:value="item.value"></el-option>
</el-select>
</template>
</el-table-column>
<el-table-column label="操作"
align="center"
width="170">
<el-table-column label="操作" align="center" width="170">
<template slot-scope="scope">
<el-button v-if="!scope.row.operate"
type="text"
@click="operateIt(scope.row)"
v-auth="'/match:管理:竞赛进展:编辑'">编辑</el-button>
<el-button v-else
type="text"
@click="saveData(scope.row)">保存</el-button>
<el-button type="text"
@click="handleDelete(scope.row, scope.$index)"
v-auth="'/match/list:管理:竞赛进展:删除'">删除</el-button>
<el-button v-if="!scope.row.operate" type="text" @click="operateIt(scope.row)"
v-auth="'/match:管理:竞赛进展:编辑'">编辑</el-button>
<el-button v-else type="text" @click="saveData(scope.row)">保存</el-button>
<el-button type="text" @click="handleDelete(scope.row, scope.$index)"
v-auth="'/match/list:管理:竞赛进展:删除'">删除</el-button>
</template>
</el-table-column>
</el-table>
<div class="plus"
@click="addData"
v-auth="'/match/list:管理:竞赛进展:新增'">
<div class="plus" @click="addData" v-auth="'/match/list:管理:竞赛进展:新增'">
<i class="el-icon-circle-plus-outline"></i>
</div>
</div>
@ -260,18 +229,18 @@ export default {
<style scoped lang="scss">
.box {
height: calc(100vh - 100px);
overflow: auto;
height: calc(100vh - 100px);
overflow: auto;
}
.plus {
padding: 15px 0 0;
text-align: center;
cursor: pointer;
padding: 15px 0 0;
text-align: center;
cursor: pointer;
i {
font-size: 24px;
color: #cb221c;
}
i {
font-size: 24px;
color: #cb221c;
}
}
</style>

@ -34,8 +34,8 @@
}}</el-button>
</div>
</div>
<el-table :data="list" class="table" ref="table" stripe row-key="scoreId"
@selection-change="handleSelectionChange" header-align="center">
<el-table :data="list" class="table" ref="table" row-key="scoreId" @selection-change="handleSelectionChange"
header-align="center">
<el-table-column type="selection" width="55" align="center" :reserve-selection="true"></el-table-column>
<el-table-column type="index" width="60" label="排名" align="center">
<template slot-scope="scope">

@ -41,8 +41,8 @@
</div>
</div>
<el-table ref="table" :data="listData" class="table" stripe header-align="center"
@selection-change="handleSelectionChange" row-key="id" v-loading="loading" @sort-change="sortChange">
<el-table ref="table" :data="listData" class="table" header-align="center" @selection-change="handleSelectionChange"
row-key="id" v-loading="loading" @sort-change="sortChange">
<el-table-column type="selection" width="80" align="center" :reserve-selection="true"></el-table-column>
<el-table-column type="index" width="60" label="序号" align="center">
<template slot-scope="scope">

@ -1,72 +1,41 @@
<template>
<!-- 报名人员 -->
<div class="page-content"
style="padding: 24px">
<div class="tool"
style="justify-content: flex-end">
<el-button type="primary"
round
@click="add"
v-auth="'/match/list:管理:公告通知:新增'">新增</el-button>
<div class="page-content" style="padding: 24px">
<div class="tool" style="justify-content: flex-end">
<el-button type="primary" round @click="add" v-auth="'/match/list:管理:公告通知:新增'">新增</el-button>
</div>
<el-table ref="table"
:data="listData"
class="table"
stripe
header-align="center"
@selection-change="handleSelectionChange"
row-key="id">
<el-table-column type="index"
width="60"
label="序号"
align="center">
<el-table ref="table" :data="listData" class="table" header-align="center" @selection-change="handleSelectionChange"
row-key="id">
<el-table-column type="index" width="60" label="序号" align="center">
<template slot-scope="scope">
{{ scope.$index + (pageNo - 1) * pageSize + 1 }}
</template>
</el-table-column>
<el-table-column prop="announcementTitle"
label="标题名称">
<el-table-column prop="announcementTitle" label="标题名称">
</el-table-column>
<el-table-column prop="createTime"
label="创建时间">
<el-table-column prop="createTime" label="创建时间">
</el-table-column>
<el-table-column prop="updateTime"
label="发布时间">
<el-table-column prop="updateTime" label="发布时间">
</el-table-column>
<el-table-column prop="phone"
label="状态">
<el-table-column prop="phone" label="状态">
<template slot-scope="scope">
{{ scope.row.status ? '已发布' : '草稿' }}
</template>
</el-table-column>
<el-table-column label="操作"
align="center"
width="250">
<el-table-column label="操作" align="center" width="250">
<template slot-scope="scope">
<el-button type="text"
@click="edit(scope.row)"
v-auth="'/match/list:管理:公告通知:编辑'">编辑</el-button>
<el-button type="text"
@click="del(scope.row)"
v-auth="'/match/list:管理:公告通知:删除'">删除</el-button>
<el-switch v-auth="'/match/list:管理:公告通知:启用'"
v-model="scope.row.isOpen"
:active-text="scope.row.isOpen ? '关' : '开'"
:active-value="0"
:inactive-value="1"
style="margin: 0 10px 0 5px"
@change="switchOff($event,scope.row,scope.$index)"></el-switch>
<el-button type="text" @click="edit(scope.row)" v-auth="'/match/list:管理:公告通知:编辑'">编辑</el-button>
<el-button type="text" @click="del(scope.row)" v-auth="'/match/list:管理:公告通知:删除'">删除</el-button>
<el-switch v-auth="'/match/list:管理:公告通知:启用'" v-model="scope.row.isOpen"
:active-text="scope.row.isOpen ? '关' : '开'" :active-value="0" :inactive-value="1"
style="margin: 0 10px 0 5px" @change="switchOff($event, scope.row, scope.$index)"></el-switch>
</template>
</el-table-column>
</el-table>
<div class="pagination">
<el-pagination background
layout="total, prev, pager, next"
:total="totals"
@current-change="handleCurrentChange"
:current-page="pageNo"
:page-size="pageSize">
<el-pagination background layout="total, prev, pager, next" :total="totals" @current-change="handleCurrentChange"
:current-page="pageNo" :page-size="pageSize">
</el-pagination>
</div>
</div>
@ -169,5 +138,4 @@ export default {
};
</script>
<style scoped>
</style>
<style scoped></style>

@ -49,7 +49,7 @@
</div>
</div>
<template v-if="!active">
<el-table :data="list" class="table" ref="table" stripe header-align="center"
<el-table :data="list" class="table" ref="table" header-align="center"
@selection-change="handleSelectionChange" row-key="reportId">
<el-table-column type="selection" width="55" align="center" :reserve-selection="true"></el-table-column>
<el-table-column type="index" width="60" label="序号" align="center">
@ -98,7 +98,7 @@
</div>
</template>
<template v-else>
<el-table :data="list1" class="table" :key="2" stripe header-align="center"
<el-table :data="list1" class="table" :key="2" header-align="center"
@selection-change="handleSelectionChange1" row-key="reportId">
<el-table-column type="selection" width="55" align="center" :reserve-selection="true"></el-table-column>
<el-table-column type="index" width="60" label="序号" align="center">

@ -88,7 +88,7 @@
<img src="@/assets/img/report4.png" alt="">
得分情况
</h6>
<el-table :data="outlines" class="table" border stripe header-align="center">
<el-table :data="outlines" class="table" border header-align="center">
<el-table-column prop="outlineName" label="大题名称" align="center"></el-table-column>
<el-table-column prop="questionNum" label="小题总数" align="center"></el-table-column>
<el-table-column prop="targetScore" label="总分" align="center">

@ -74,7 +74,7 @@
<img src="@/assets/img/report4.png" alt="">
实验数据
</h6>
<el-table :data="expData" class="table" border stripe header-align="center">
<el-table :data="expData" class="table" border header-align="center">
<el-table-column type="index" label="序号" align="center" width="60">
<template slot-scope="scope">
{{ scope.$index + 1 }}

@ -88,7 +88,7 @@
<el-button type="primary" icon="el-icon-delete" round @click="batchDeleteProjectJudgment"
style="margin-bottom: 10px">批量删除</el-button>
<div class="draggable">
<u-table ref="projectJudgementTable" :data="projectJudgmentData" class="table" stripe header-align="center"
<u-table ref="projectJudgementTable" :data="projectJudgmentData" class="table" header-align="center"
:use-virtual="isLc" :max-height="600" :row-height="60" :border="false"
@selection-change="handleSelectionProjectJudgment" row-key="judgmentId" v-loading="listLoading">
<u-table-column type="selection" width="55" align="center"></u-table-column>
@ -150,9 +150,9 @@
clearable></el-input>
</div>
</div>
<u-table v-loading="visibleLoading" :data="judgementData" ref="judgementTable" class="table" stripe
header-align="center" use-virtual :row-height="45" :max-height="400" :border="false"
@selection-change="handleSelectionJudgment" :row-key="rowKey">
<u-table v-loading="visibleLoading" :data="judgementData" ref="judgementTable" class="table" header-align="center"
use-virtual :row-height="45" :max-height="400" :border="false" @selection-change="handleSelectionJudgment"
:row-key="rowKey">
<u-table-column type="selection" width="55" align="center" :reserve-selection="true"></u-table-column>
<u-table-column prop="id" label="序号" align="center" width="100">
<template slot-scope="scope">

@ -44,7 +44,7 @@
</div>
</div>
<el-table :data="listData" class="table" ref="table" stripe header-align="center"
<el-table :data="listData" class="table" ref="table" header-align="center"
@selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" :selectable="disabledSelection"></el-table-column>
<el-table-column type="index" width="100" label="序号" align="center">

@ -77,7 +77,7 @@
</div>
</div>
<el-table :data="listData" class="table" ref="table" stripe header-align="center"
<el-table :data="listData" class="table" ref="table" header-align="center"
@selection-change="handleSelectionChange" :row-key="getRowKeys">
<el-table-column type="selection" width="55" align="center" :reserve-selection="true"></el-table-column>
<el-table-column type="index" width="60" label="序号" align="center"></el-table-column>

@ -13,8 +13,8 @@
</div>
</div>
<el-table :data="listData" class="table" ref="table" stripe header-align="center"
@selection-change="handleSelectionChange" :row-key="getRowKeys">
<el-table :data="listData" class="table" ref="table" header-align="center" @selection-change="handleSelectionChange"
:row-key="getRowKeys">
<el-table-column type="selection" width="55" align="center" :selectable="practiceSelectable"
:reserve-selection="true"></el-table-column>
<el-table-column type="index" width="60" label="序号" align="center"></el-table-column>

@ -20,7 +20,7 @@
</div>
</div>
<el-table :data="listData" class="table" ref="table" stripe header-align="center"
<el-table :data="listData" class="table" ref="table" header-align="center"
@selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center"></el-table-column>
<el-table-column type="index" label="序号" width="55" align="center"></el-table-column>

@ -0,0 +1,123 @@
<template>
<div class="wrap">
<div class="block">
<div class="title">功能模块</div>
<div class="apps">
<div class="app" @click="to('/assessment')">
<img src="@/assets/img/workbench/1.png" alt="">
<p class="name">考核管理</p>
</div>
<div class="app" @click="to('/achievement')">
<img src="@/assets/img/workbench/2.png" alt="">
<p class="name">成绩管理</p>
</div>
<div class="app" @click="to('/evaluation')">
<img src="@/assets/img/workbench/3.png" alt="">
<p class="name">测评管理</p>
</div>
<div class="app" @click="to('/course')">
<img src="@/assets/img/workbench/4.png" alt="">
<p class="name">精品课程管理</p>
</div>
<div class="app" @click="to('/review')">
<img src="@/assets/img/workbench/5.png" alt="">
<p class="name">评阅中心</p>
</div>
<div class="app" @click="to('/information')">
<img src="@/assets/img/workbench/6.png" alt="">
<p class="name">资讯管理</p>
</div>
<div class="app" @click="to('/project')">
<img src="@/assets/img/workbench/7.png" alt="">
<p class="name">项目管理</p>
</div>
<div class="app" @click="to('/resourse')">
<img src="@/assets/img/workbench/8.png" alt="">
<p class="name">资源库</p>
</div>
</div>
</div>
<div class="block block1">
<div class="title">全部应用</div>
<div class="apps">
<div class="app" @click="to('/match')">
<img src="@/assets/img/workbench/9.png" alt="">
<p class="name">理论考试系统</p>
</div>
<div class="app" @click="to('/data')">
<img src="@/assets/img/workbench/10.png" alt="">
<p class="name">备课管理</p>
</div>
<div class="app" @click="to('/match')">
<img src="@/assets/img/workbench/11.png" alt="">
<p class="name">赛事管理专业版</p>
</div>
<div class="app" @click="to('data')">
<img src="@/assets/img/workbench/12.png" alt="">
<p class="name">数据前瞻平台</p>
</div>
</div>
</div>
</div>
</template>
<script>
import Setting from '@/setting'
export default {
data () {
return {
systems: [],
};
},
mounted () {
},
methods: {
to (path) {
path === 'data' ? window.open('https://www.dataforward.cn/') : this.$router.push(path)
},
}
};
</script>
<style lang="scss" scoped>
.wrap {
width: 90%;
margin: 0 auto;
.block {
padding: 30px 30px 40px;
margin-bottom: 30px;
background-color: #fff;
border-radius: 20px;
box-sizing: border-box;
}
.title {
margin-bottom: 30px;
font-size: 18px;
font-weight: 600;
}
.apps {
display: flex;
flex-wrap: wrap;
}
.app {
padding: 0 30px;
margin: 0 20px;
text-align: center;
cursor: pointer;
}
.name {
margin-top: 10px;
font-size: 14px;
color: #333;
}
}
</style>

@ -0,0 +1,16 @@
import BasicLayout from "@/layouts/home";
const meta = {};
export default {
path: '/workbench',
meta,
component: BasicLayout,
children: [
{
path: '/workbench',
component: () => import('@/pages/workbench/list'),
meta: { title: '工作台' }
}
]
};

@ -5,8 +5,8 @@ const url = location.host;
const isDev = process.env.NODE_ENV === "development"; // 开发环境
const isHh = url.includes("10.196.131.73"); //河海版本
const isCH = url.includes("124.71.12.62"); //巢湖版本
const isPro = url.includes("occupationlab.com") || url.includes("izhixinyun.com"); //生产
const isTest = url.includes('118.31.167.228'); //中台测试服
const isPro = url.includes("izhixinyun.com"); //生产
const isTest = url.includes('occupationlab.com'); //中台测试服
const isSq = url.includes('10.20.100.204'); // 商丘
let zcPath = `120.78.139.126:8879` // 众筹
@ -30,7 +30,7 @@ if (isPro) {
uploadURL = `http://118.31.167.228/`
host = "http://118.31.167.228/"; // 中台测试服
host = 'https://www.occupationlab.com/' // 正式服
const ips = ['http://192.168.31.217:9000/', 'http://192.168.31.51:9000/', 'http://118.31.167.228/']
const ips = ['http://192.168.31.217:9000/', 'http://192.168.31.51:9000/', 'https://www.occupationlab.com/']
host = ips[+localStorage.getItem('ip')]
// host = 'http://192.168.31.217:9000/'
} else if (isSq) {
@ -97,7 +97,7 @@ const Setting = {
// 相同路由,不同参数间进行切换,是否强力更新
sameRouteForceUpdate: false,
// 是否使用动态路由(即角色权限,开启了的话就会取后端返回的权限树来显示头部导肮和页面按钮)
dynamicRoute: true,
dynamicRoute: false,
// 文件上传
upload: {
apiURL: uploadURL,

@ -137,23 +137,11 @@
}
.el-table {
border-radius: 8px;
border: 1px solid rgba(0, 0, 0, 0.06);
border-bottom: 0;
.cell {
font-size: 12px;
line-height: 35px;
}
th {
background: $--color-primary !important;
.cell {
color: #fff;
font-size: 14px;
font-weight: normal;
}
font-size: 14px;
font-weight: normal;
color: #000;
background: #f5f7fa !important;
}
}

@ -1,6 +1,6 @@
/* 改变主题色变量 */
$--color-primary: #9278ff;
$--color-primary: #062c87;
/* 改变 icon 字体路径变量,必需 */
$--font-path: '~element-ui/lib/theme-chalk/fonts';

@ -1,4 +1,4 @@
$main-color: #9278ff;
$main-color: #062c87;
$max-width: 1440px;
$min-width: 1280px;

Loading…
Cancel
Save