mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-07 18:06:46 +08:00
feat:合并
This commit is contained in:
BIN
src/assets/images/leveladd/back.png
Normal file
BIN
src/assets/images/leveladd/back.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
src/assets/images/leveladd/ma.png
Normal file
BIN
src/assets/images/leveladd/ma.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 595 B |
BIN
src/assets/images/leveladd/more.png
Normal file
BIN
src/assets/images/leveladd/more.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
BIN
src/assets/images/leveladd/pub.png
Normal file
BIN
src/assets/images/leveladd/pub.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
@@ -42,6 +42,31 @@ export default {
|
||||
},
|
||||
];
|
||||
}
|
||||
if (n === "/leveladd" || n === "/LevelAdd") {
|
||||
state.list = [
|
||||
{
|
||||
name: "学习路径",
|
||||
href: "/learningpath",
|
||||
},
|
||||
{
|
||||
name: "关卡",
|
||||
},
|
||||
];
|
||||
}
|
||||
if (n === "/leveladddetail" || n === "/LevelAddDetail") {
|
||||
state.list = [
|
||||
{
|
||||
name: "学习路径",
|
||||
href: "/learningpath",
|
||||
},
|
||||
{
|
||||
name: "关卡",
|
||||
},
|
||||
{
|
||||
name: "创建关卡",
|
||||
},
|
||||
];
|
||||
}
|
||||
if (n === "/projectmanage" || n === "/ProjectManage") {
|
||||
state.list = [
|
||||
{
|
||||
@@ -66,6 +91,7 @@ export default {
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
if (n === "/templatelibrary" || n === "/TemplateLibrary") {
|
||||
state.list = [
|
||||
{
|
||||
@@ -99,6 +125,15 @@ export default {
|
||||
},
|
||||
];
|
||||
}
|
||||
if (n === "/researchmanage" || n === "/ResearchManage") {
|
||||
state.list = [
|
||||
{
|
||||
name: "调研管理",
|
||||
href: "",
|
||||
// href: "#/researchmanage",
|
||||
},
|
||||
];
|
||||
}
|
||||
if (n === "/systemmanage" || n === "/SystemManage") {
|
||||
state.list = [
|
||||
{
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
src="../assets/images/navleft/survey.png"
|
||||
/>
|
||||
</div>
|
||||
<span>调研管理</span>
|
||||
<router-link to="/researchmanage">调研管理</router-link>
|
||||
</a-menu-item>
|
||||
|
||||
<a-menu-item key="sub6" @titleClick="titleClick">
|
||||
@@ -251,6 +251,18 @@ export default {
|
||||
selectedKeys: "sub1",
|
||||
pagename: "学习路径",
|
||||
},
|
||||
{
|
||||
href: "/leveladd",
|
||||
openKeys: "sub1",
|
||||
selectedKeys: "sub1",
|
||||
pagename: "关卡",
|
||||
},
|
||||
{
|
||||
href: "/leveladddetail",
|
||||
openKeys: "sub1",
|
||||
selectedKeys: "sub1",
|
||||
pagename: "创建关卡",
|
||||
},
|
||||
{
|
||||
href: "/projectmanage",
|
||||
openKeys: "sub2",
|
||||
|
||||
@@ -62,16 +62,16 @@
|
||||
</div>
|
||||
<div class="btn btn4">
|
||||
<div class="search"></div>
|
||||
<div class="btnText" @click="ft_hShow">新建课程</div>
|
||||
<div class="btnText" @click="of_hShow">新建课程</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 搜索框及按钮 -->
|
||||
</div>
|
||||
|
||||
<!-- 新建面授课弹窗 -->
|
||||
<div class="faceteach" :style="{display:ft_hs ? 'block' :'none' }">
|
||||
<div class="ft_header"></div>
|
||||
<div class="ft_main">
|
||||
<!-- 新建选择线上还是面授课弹窗 -->
|
||||
<div class="selectonlineface" :style="{display:of_hs ? 'block' :'none' }">
|
||||
<div class="of_header"></div>
|
||||
<div class="of_main">
|
||||
<div class="m_header">
|
||||
<div class="add_icon"></div>
|
||||
<span>请选择课程类型</span>
|
||||
@@ -128,11 +128,11 @@
|
||||
<div class="ol_checkbox">
|
||||
<div class="checkbtn"></div>
|
||||
</div>
|
||||
<span style="margin:auto 31px auto 5px;">线上</span>
|
||||
<span style="margin:auto 45px auto 5px;">是</span>
|
||||
<div class="ol_checkbox">
|
||||
<div class="checkbtn"></div>
|
||||
</div>
|
||||
<span style="margin:auto 31px auto 5px;">面授</span>
|
||||
<span style="margin:auto 0px auto 5px;">否</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="b_footer">
|
||||
@@ -140,13 +140,164 @@
|
||||
<div class="btnText">取消</div>
|
||||
</div>
|
||||
<div class="btn btn6" >
|
||||
<div class="btnText">确定</div>
|
||||
<div class="btnText" @click="createft">确定</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新建面授课弹窗 -->
|
||||
<!-- 新建选择线上还是面授课弹窗 -->
|
||||
|
||||
<!-- 确定新建面授课弹窗 -->
|
||||
<div class="faceteach">
|
||||
<div class="ft_header"></div>
|
||||
<div class="ft_main">
|
||||
<div class="m_header">
|
||||
<div class="add_icon"></div>
|
||||
<span>新建面授课</span>
|
||||
<div class="add_exit">x</div>
|
||||
</div>
|
||||
<div class="m_title">课程信息</div>
|
||||
<div class="m_body">
|
||||
<div class="mb_left">
|
||||
<div class="mbl_items1">
|
||||
<span style="font-weight: 900; color: red;margin-right: 6px;">⃰</span>
|
||||
<span style="margin-right:14px;">课程名称</span>
|
||||
<div class="i1_input">
|
||||
<a-input v-model:value="value" style="width: 440px ;height:40px;border-radius: 8px;" placeholder="请输入课程名称" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="mbl_items2">
|
||||
<div class="i2_top">
|
||||
<div class="i2_left">课程命名规则</div>
|
||||
<div class="i2_right" @click="hideShow" >
|
||||
<div class="b_zk" :style="{display:hideshow ? 'block' :'none' }">
|
||||
<span style="color: #4EA6FF;">收起</span>
|
||||
</div>
|
||||
<div class="b_sq" :style="{display:hideshow ? 'none' :'block' }">
|
||||
<span style="color: #4EA6FF;">展开</span>
|
||||
</div>
|
||||
<div class="b_icon"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="i2_detail" :style="{display:hideshow ? 'block' :'none' }">
|
||||
<span style="color: #999BA3;">
|
||||
1、课程名称统一不加书名号。<br/>
|
||||
2、项目名称、属地等信息如需体现在课程名称中,请放在课程名称信息
|
||||
之后,如“时间管理(GROW180项目)”或“时间管理(B*)”确保首先
|
||||
看到的是课程内容主题。<br/>
|
||||
3、同一课程如先后有多个版本,原则上仅开放最新版本,旧版本应停用
|
||||
版本如必须以年份标明,请以“沟通技巧(2022年)”的方式呈现。
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mbl_items3">
|
||||
<div class="i3_top">
|
||||
<span style="font-weight: 900; color: red;margin-right: 6px;">⃰</span>
|
||||
<span style="margin-right:14px;">封面图</span>
|
||||
<div class="i3_upload">
|
||||
<a-upload
|
||||
v-model:file-list="fileList"
|
||||
name="avatar"
|
||||
list-type="picture-card"
|
||||
class="avatar-uploader"
|
||||
:show-upload-list="false"
|
||||
action="https://www.mocky.io/v2/5cc8019d300000980a055e76"
|
||||
:before-upload="beforeUpload"
|
||||
@change="handleChange"
|
||||
>
|
||||
<img v-if="imageUrl" :src="imageUrl" alt="avatar" />
|
||||
<div v-else>
|
||||
<loading-outlined v-if="loading"></loading-outlined>
|
||||
<plus-outlined v-else></plus-outlined>
|
||||
<div class="ant-upload-text">Upload</div>
|
||||
</div>
|
||||
</a-upload>
|
||||
</div>
|
||||
</div>
|
||||
<div class="i3_bottom">
|
||||
<span style="color:#999BA3;">高宽比为16:9 (如:800*450) png或jpg图片</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mbl_items4">
|
||||
<span style="font-weight: 900; color: red;margin-right: 6px;">⃰</span>
|
||||
<span style="margin-right:14px;">目标人群</span>
|
||||
<div class="i1_input">
|
||||
<a-input v-model:value="value" style="width: 440px ;height:40px;border-radius: 8px;" placeholder="请输入目标人群" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="mbl_items5">
|
||||
<span style="margin-right:14px;">课程价值</span>
|
||||
<div class="i1_input">
|
||||
<a-input v-model:value="value" style="width: 440px ;height:40px;border-radius: 8px;" placeholder="请输入课程价值" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="mbl_items6">
|
||||
<span style="font-weight: 900; color: red;margin-right: 6px;">⃰</span>
|
||||
<span style="margin-right:14px;">内容分类</span>
|
||||
<div class="select i6_input">
|
||||
<a-select
|
||||
dropdownClassName="dropdown-style"
|
||||
style="width: 440px"
|
||||
placeholder="请选择"
|
||||
:options="options2"
|
||||
allowClear
|
||||
showSearch
|
||||
></a-select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mbl_items7">
|
||||
<span style="margin-right:14px;">场景</span>
|
||||
<div class="select i7_input">
|
||||
<a-select
|
||||
dropdownClassName="dropdown-style"
|
||||
style="width: 440px"
|
||||
placeholder="请选择"
|
||||
:options="options2"
|
||||
allowClear
|
||||
showSearch
|
||||
></a-select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mbl_items8">
|
||||
<div class="i8_top">
|
||||
<span style="margin-right:14px;">内容标签</span>
|
||||
<div class="i1_input">
|
||||
<a-input v-model:value="value" style="width: 440px ;height:40px;border-radius: 8px;" placeholder="请输入按回车键创建成功" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="i8_bottom">
|
||||
<a-tag closable @close="log">Tag 2</a-tag>
|
||||
<a-tag closable @close.prevent>Prevent Default</a-tag>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb_right">
|
||||
<div class="mbl_items9">
|
||||
<span style="font-weight: 900; color: red;margin-right: 6px;">⃰</span>
|
||||
<span style="margin-right:14px;">授课教师</span>
|
||||
<div class="i1_input">
|
||||
<a-input v-model:value="value" style="width: 440px ;height:40px;border-radius: 8px;" placeholder="请输入" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="mbl_items10">
|
||||
<span style="margin-right:14px;">课程简介</span>
|
||||
<div class="i10_textarea">
|
||||
<a-textarea v-model:value="value" style="width: 440px ;height:100px;border-radius: 8px; " placeholder="请输入" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="mbl_items11">
|
||||
<div class="i11_top">
|
||||
<span style="margin-right: 10px;">附件</span>
|
||||
<div class="accessory_icon"></div>
|
||||
<span style="color:#4EA6FF;">添加附件</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 确定新建面授课弹窗 -->
|
||||
|
||||
<!-- 表格 -->
|
||||
<div class="tableBox">
|
||||
@@ -163,6 +314,8 @@
|
||||
</template>
|
||||
<script>
|
||||
import { reactive, toRefs, defineComponent, ref } from 'vue';
|
||||
import { PlusOutlined, LoadingOutlined } from '@ant-design/icons-vue';
|
||||
import { message } from 'ant-design-vue';
|
||||
const columns = [{
|
||||
title: '序号',
|
||||
width: 200,
|
||||
@@ -280,7 +433,69 @@ const data = [{
|
||||
ynuse: '启用',
|
||||
kkty:true,
|
||||
}];
|
||||
|
||||
function getBase64(img, callback) {
|
||||
const reader = new FileReader();
|
||||
reader.addEventListener('load', () => callback(reader.result));
|
||||
reader.readAsDataURL(img);
|
||||
}
|
||||
export default defineComponent({
|
||||
components: {
|
||||
LoadingOutlined,
|
||||
PlusOutlined,
|
||||
},
|
||||
|
||||
setup() {
|
||||
const fileList = ref([]);
|
||||
const loading = ref(false);
|
||||
const imageUrl = ref('');
|
||||
|
||||
const handleChange = info => {
|
||||
if (info.file.status === 'uploading') {
|
||||
loading.value = true;
|
||||
return;
|
||||
}
|
||||
|
||||
if (info.file.status === 'done') {
|
||||
// Get this url from response in real world.
|
||||
getBase64(info.file.originFileObj, base64Url => {
|
||||
imageUrl.value = base64Url;
|
||||
loading.value = false;
|
||||
});
|
||||
}
|
||||
|
||||
if (info.file.status === 'error') {
|
||||
loading.value = false;
|
||||
message.error('upload error');
|
||||
}
|
||||
};
|
||||
|
||||
const beforeUpload = file => {
|
||||
const isJpgOrPng = file.type === 'image/jpeg' || file.type === 'image/png';
|
||||
|
||||
if (!isJpgOrPng) {
|
||||
message.error('You can only upload JPG file!');
|
||||
}
|
||||
|
||||
const isLt2M = file.size / 1024 / 1024 < 2;
|
||||
|
||||
if (!isLt2M) {
|
||||
message.error('Image must smaller than 2MB!');
|
||||
}
|
||||
|
||||
return isJpgOrPng && isLt2M;
|
||||
};
|
||||
|
||||
return {
|
||||
fileList,
|
||||
loading,
|
||||
imageUrl,
|
||||
handleChange,
|
||||
beforeUpload,
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
data() {
|
||||
const options1 = ref([ {
|
||||
value: 'value1',
|
||||
@@ -314,14 +529,14 @@ export default defineComponent({
|
||||
}]);
|
||||
|
||||
const state = reactive({
|
||||
ft_hs:false,
|
||||
of_hs:false,
|
||||
hideshow: false,
|
||||
bs_hs:true,
|
||||
});
|
||||
|
||||
const ft_hShow = () => {
|
||||
if (state.ft_hs == false) {
|
||||
state.ft_hs = true
|
||||
const of_hShow = () => {
|
||||
if (state.of_hs == false) {
|
||||
state.of_hs = true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -340,15 +555,21 @@ export default defineComponent({
|
||||
state.bs_hs = true
|
||||
}
|
||||
}
|
||||
const createft = () => {
|
||||
if (state.bs_hs == false) {
|
||||
state.of_hs = false
|
||||
}
|
||||
}
|
||||
return {
|
||||
...toRefs(state),
|
||||
data,
|
||||
columns,
|
||||
options1,
|
||||
options2,
|
||||
ft_hShow,
|
||||
of_hShow,
|
||||
hideShow,
|
||||
bs_hShow,
|
||||
createft,
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -481,7 +702,7 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
|
||||
.faceteach{
|
||||
.selectonlineface{
|
||||
z-index: 1000;
|
||||
width: 679px;
|
||||
height: 525px;
|
||||
@@ -491,13 +712,13 @@ export default defineComponent({
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%,-50%);
|
||||
.ft_header{
|
||||
.of_header{
|
||||
position: absolute;
|
||||
width:calc(100%);
|
||||
height: 40px;
|
||||
background: linear-gradient( rgba(78,166,255,0.2) 0%, rgba(78,166,255,0) 100%);
|
||||
}
|
||||
.ft_main{
|
||||
.of_main{
|
||||
width:calc(100%);
|
||||
position: relative;
|
||||
.m_header{
|
||||
@@ -605,6 +826,154 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
|
||||
.faceteach{
|
||||
// display: none;
|
||||
z-index: 1000;
|
||||
width: 1358px;
|
||||
min-width: 1000px;
|
||||
height: 805px;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 1px 35px 0px rgba(118,136,166,0.21);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%,-50%);
|
||||
.ft_header{
|
||||
position: absolute;
|
||||
width:calc(100%);
|
||||
height: 40px;
|
||||
background: linear-gradient( rgba(78,166,255,0.2) 0%, rgba(78,166,255,0) 100%);
|
||||
}
|
||||
.ft_main{
|
||||
width:calc(100%);
|
||||
position: relative;
|
||||
.m_header{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-top: 20px;
|
||||
padding-left: 26px;
|
||||
font-size: 16px;
|
||||
.add_icon{
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-right: 10px;
|
||||
background-image: url(@/assets/images/coursewareManage/add1.png);
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
.add_exit{
|
||||
position: absolute;
|
||||
right:42px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
.m_title{
|
||||
margin: 7px auto 25px 52px;
|
||||
}
|
||||
.m_body{
|
||||
display: flex;
|
||||
.mb_left{
|
||||
.mbl_items1{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 87px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.mbl_items2{
|
||||
margin-left: 164px;
|
||||
margin-bottom: 30px;
|
||||
.i2_top{
|
||||
display: flex;
|
||||
.i2_right{
|
||||
margin-left: 320px;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
.i2_detail{
|
||||
width: 400px;
|
||||
}
|
||||
}
|
||||
.mbl_items3{
|
||||
margin-left: 87px;
|
||||
margin-bottom: 10px;
|
||||
.i3_top{
|
||||
display: flex;
|
||||
align-items: start;
|
||||
}
|
||||
.i3_bottom{
|
||||
margin-left: 60px;
|
||||
}
|
||||
}
|
||||
.mbl_items4{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 87px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.mbl_items5{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 93px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.mbl_items6{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 87px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.mbl_items7{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 121px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.mbl_items8{
|
||||
margin-left: 93px;
|
||||
margin-bottom: 10px;
|
||||
.i8_top{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.i8_bottom{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 71px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.mb_right{
|
||||
.mbl_items9{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 100px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.mbl_items10{
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
margin-left: 107px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.mbl_items11{
|
||||
margin-left: 105px;
|
||||
margin-bottom: 10px;
|
||||
.i11_top{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.accessory_icon{
|
||||
width: 15px ;
|
||||
height: 15px ;
|
||||
background-color: #4EA6FF;
|
||||
margin-right: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tableBox {
|
||||
margin: 20px 38px 30px;
|
||||
}
|
||||
|
||||
@@ -71,53 +71,58 @@
|
||||
:data-source="tableData"
|
||||
:loading="tableDataTotal === -1 ? true : false"
|
||||
expandRowByClick="true"
|
||||
:scroll="{ x: 1600, y: 800 }"
|
||||
@expand="expandTable"
|
||||
:pagination="
|
||||
tableDataTotal > 10
|
||||
? false
|
||||
: {
|
||||
// disabled: true,
|
||||
display: false,
|
||||
showSizeChanger: true,
|
||||
showQuickJumper: true,
|
||||
hideOnSinglePage: true,
|
||||
pageSizeOptions: [],
|
||||
pageSize: pageSize,
|
||||
current: currentPage,
|
||||
total: tableDataTotal,
|
||||
onChange: (page, pageSize) => {
|
||||
currentPage = page;
|
||||
// console.log('page', page)
|
||||
// 加翻页查找代码
|
||||
// this.setState({
|
||||
// currentPage: page,
|
||||
// }, () => {
|
||||
// this.getMilitaryDeployment()
|
||||
// })
|
||||
},
|
||||
}
|
||||
"
|
||||
:pagination="false"
|
||||
/>
|
||||
<!-- :pagination= showSizeChanger: true, showQuickJumper: true,
|
||||
hideOnSinglePage: true, pageSizeOptions: [], pageSize: pageSize, current:
|
||||
currentPage, total: tableDataTotal, -->
|
||||
<div class="pa">
|
||||
<a-pagination
|
||||
showSizeChanger="true"
|
||||
showQuickJumper="true"
|
||||
hideOnSinglePage="true"
|
||||
:pageSize="pageSize"
|
||||
:current="currentPage"
|
||||
:total="tableDataTotal"
|
||||
class="pagination"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 表格 -->
|
||||
<div :class="out ? 'out' : 'unout'">
|
||||
<div class="top">
|
||||
<img class="topimg" src="../../assets/images/courseManage/add1.png" />
|
||||
<div class="topc">创建路径</div>
|
||||
<div @click="handleOut" style="margin-left: 500px; cursor: pointer">
|
||||
x
|
||||
<img
|
||||
style="width: 20px; height: 20px"
|
||||
src="../../assets/images/basicinfo/close.png"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mid clearfix">
|
||||
<div class="name">
|
||||
<div class="d">*</div>
|
||||
<div class="d" style="margin-top: -4px">
|
||||
<img
|
||||
style="width: 10px; height: 10px"
|
||||
src="../../assets/images/basicinfo/asterisk.png"
|
||||
/>
|
||||
</div>
|
||||
<div class="inname">路径图名称</div>
|
||||
<div class="in">
|
||||
<a-input v-model:value="valueE" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="bac">
|
||||
<div class="d">*</div>
|
||||
<div class="d" style="margin-top: 12px">
|
||||
<img
|
||||
style="width: 10px; height: 10px"
|
||||
src="../../assets/images/basicinfo/asterisk.png"
|
||||
/>
|
||||
</div>
|
||||
<div class="inname">路径图背景</div>
|
||||
<div class="in">
|
||||
<!-- <img class="im" src="../../assets/px.jpg" />
|
||||
@@ -319,7 +324,10 @@ export default {
|
||||
发布
|
||||
</span>
|
||||
<span style={{ "margin-left": "25px" }}>编辑</span>
|
||||
<span style={{ "margin-left": "25px" }}>关卡</span>
|
||||
<router-link to="/leveladd">
|
||||
<span style={{ "margin-left": "25px" }}>关卡</span>
|
||||
</router-link>
|
||||
|
||||
<span style={{ "margin-left": "25px" }} class="more">
|
||||
<span>授权</span>
|
||||
<div class="moreArrow"></div>
|
||||
@@ -381,6 +389,7 @@ export default {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
// position: relative;
|
||||
.filter {
|
||||
margin-left: 38px;
|
||||
@@ -485,6 +494,16 @@ export default {
|
||||
> td {
|
||||
background: #f6f9fd;
|
||||
}
|
||||
.pa {
|
||||
left: 0;
|
||||
width: 100%;
|
||||
// height: 20px;
|
||||
// background-color: red;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
}
|
||||
}
|
||||
.out {
|
||||
display: block;
|
||||
@@ -526,6 +545,11 @@ export default {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
.d {
|
||||
// margin-top: 8px;
|
||||
// color: #ff4e4e;
|
||||
margin-left: -5px;
|
||||
}
|
||||
.name {
|
||||
width: 78%;
|
||||
// background-color: lightcoral;
|
||||
@@ -534,10 +558,7 @@ export default {
|
||||
align-items: center;
|
||||
height: 40px;
|
||||
// border: 1px solid black;
|
||||
.d {
|
||||
margin-top: 8px;
|
||||
color: #ff4e4e;
|
||||
}
|
||||
|
||||
.inname {
|
||||
color: #6f6f6f;
|
||||
font-size: 14px;
|
||||
|
||||
605
src/views/learningpath/LevelAdd.vue
Normal file
605
src/views/learningpath/LevelAdd.vue
Normal file
@@ -0,0 +1,605 @@
|
||||
<template>
|
||||
<div class="addwrapper">
|
||||
<div class="addhead">
|
||||
<div class="leftimg">
|
||||
<img class="img" src="../../assets/px.jpg" />
|
||||
</div>
|
||||
<div class="imgfor">
|
||||
<div class="forz">产品经理进阶路径</div>
|
||||
<div class="fort">创建时间:2022-07-21 00:00</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<img class="img1" src="../../assets/images/leveladd/ma.png" />
|
||||
<div class="line"></div>
|
||||
<img class="img2" src="../../assets/images/leveladd/pub.png" />
|
||||
<div class="pub">发布</div>
|
||||
<div class="line"></div>
|
||||
<img
|
||||
style="margin-right: 15px"
|
||||
class="img2"
|
||||
src="../../assets/images/leveladd/more.png"
|
||||
/>
|
||||
<div class="more">
|
||||
<span style="color: #7096e3">更多</span>
|
||||
<div class="moreArrow"></div>
|
||||
<div class="moreItems">
|
||||
<div class="sammo">撤回</div>
|
||||
<div class="sammo">复制</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line"></div>
|
||||
<img class="img2" src="../../assets/images/leveladd/back.png" />
|
||||
<router-link to="/learningpath">
|
||||
<div class="return">返回</div></router-link
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<div class="split"></div>
|
||||
<div class="bom clearfix">
|
||||
<a-tabs
|
||||
class="tab"
|
||||
v-model:activeKey="activeKey"
|
||||
size="large"
|
||||
:tabBarStyle="{ marginLeft: '10px' }"
|
||||
>
|
||||
<a-tab-pane key="1" tab="路径管理">
|
||||
<div class="cont">
|
||||
<div class="pad"></div>
|
||||
<div class="sametab">
|
||||
<div class="Lhead">
|
||||
<a-input
|
||||
v-model:value="value"
|
||||
style="width: 270px; height: 40px; border-radius: 8px"
|
||||
placeholder="关卡名称"
|
||||
/>
|
||||
<div class="btns">
|
||||
<div class="btn btn1">
|
||||
<div class="search"></div>
|
||||
<div class="btnText">搜索</div>
|
||||
</div>
|
||||
<div class="btn btn2">
|
||||
<div class="search"></div>
|
||||
<div class="btnText">重置</div>
|
||||
</div>
|
||||
|
||||
<router-link to="/leveladddetail">
|
||||
<div class="btn btn3" @click="handleOut">
|
||||
<div class="search"></div>
|
||||
<div class="btnText">创建关卡</div>
|
||||
</div>
|
||||
</router-link>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Lbom">
|
||||
<div class="item" v-for="item in level" :key="item.id">
|
||||
<div class="itemhead">
|
||||
<div class="lev">{{ item.lev }}</div>
|
||||
<div class="lin"></div>
|
||||
<div class="nam">{{ item.name }}</div>
|
||||
<div class="count">
|
||||
<span>当前关卡</span>
|
||||
<span>{{ item.count }}</span>
|
||||
<span>个人</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="itembomm">
|
||||
<div class="it">
|
||||
<div class="on" style="color: #ffb145">
|
||||
{{ item.online }}
|
||||
</div>
|
||||
<div class="ittext">在线</div>
|
||||
</div>
|
||||
<div class="linee"></div>
|
||||
<div class="it">
|
||||
<div class="on" style="color: #ff89a4">
|
||||
{{ item.homework }}
|
||||
</div>
|
||||
<div class="ittext">作业</div>
|
||||
</div>
|
||||
<div class="linee"></div>
|
||||
<div class="it">
|
||||
<div class="on" style="color: #3fc5e3">
|
||||
{{ item.juan }}
|
||||
</div>
|
||||
<div class="ittext">问卷</div>
|
||||
</div>
|
||||
<div class="linee"></div>
|
||||
<div class="it">
|
||||
<div class="on" style="color: #5be1c0">
|
||||
{{ item.ballot }}
|
||||
</div>
|
||||
<div class="ittext">投票</div>
|
||||
</div>
|
||||
<div class="linee"></div>
|
||||
<div class="it">
|
||||
<div class="on" style="color: #a498ff">
|
||||
{{ item.test }}
|
||||
</div>
|
||||
<div class="ittext">考试</div>
|
||||
</div>
|
||||
<div class="linee"></div>
|
||||
<div class="itright">
|
||||
<span class="te">编辑</span>
|
||||
<span class="more">
|
||||
<span class="te" style="margin-left: 20px">更多</span>
|
||||
<div class="moreArrow"></div>
|
||||
<div class="moreItems"></div>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pad"></div>
|
||||
</div>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="2" tab="学员管理" force-render
|
||||
><div class="sametab">
|
||||
<div class="Gcon">
|
||||
<div class="pad"></div>
|
||||
<div class="Gin">
|
||||
<div class="headone">
|
||||
<div class="box"></div>
|
||||
<div class="onetitle">关卡内容可见可学设置</div>
|
||||
<div class="oneedi">编辑</div>
|
||||
</div>
|
||||
<div class="onemain">fewfew</div>
|
||||
</div>
|
||||
</div>
|
||||
</div></a-tab-pane
|
||||
>
|
||||
<a-tab-pane key="3" tab="设置">
|
||||
<div class="sametab">eee</div></a-tab-pane
|
||||
>
|
||||
</a-tabs>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { ref, reactive, toRefs } from "vue";
|
||||
export default {
|
||||
name: "LevelAdd",
|
||||
components: {},
|
||||
methods: {},
|
||||
setup() {
|
||||
const state = reactive({
|
||||
activeKey: ref("1"),
|
||||
value: ref(" "),
|
||||
level: [
|
||||
{
|
||||
id: 1,
|
||||
lev: "关卡2",
|
||||
name: "中级产品经理",
|
||||
count: 3,
|
||||
online: 5,
|
||||
homework: 1,
|
||||
juan: 1,
|
||||
ballot: 1,
|
||||
test: 1,
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
lev: "关卡2",
|
||||
name: "初级产品经理",
|
||||
count: 3,
|
||||
online: 5,
|
||||
homework: 1,
|
||||
juan: 1,
|
||||
ballot: 1,
|
||||
test: 1,
|
||||
},
|
||||
],
|
||||
});
|
||||
return {
|
||||
...toRefs(state),
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss" >
|
||||
.clearfix:before,
|
||||
.clearfix:after {
|
||||
content: " ";
|
||||
display: block;
|
||||
clear: both;
|
||||
}
|
||||
.addwrapper {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
// background-color: green;
|
||||
.addhead {
|
||||
width: 100%;
|
||||
height: 130px;
|
||||
// background-color: lightgreen;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
.leftimg {
|
||||
width: 151px;
|
||||
height: 100px;
|
||||
border: 10px solid #e7f2ff;
|
||||
border-radius: 8px;
|
||||
margin-left: 20px;
|
||||
.img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.imgfor {
|
||||
margin-left: 32px;
|
||||
.forz {
|
||||
color: #363636;
|
||||
font-size: 16px;
|
||||
}
|
||||
.fort {
|
||||
color: #878b92;
|
||||
font-size: 14px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1030px) {
|
||||
.imgfor {
|
||||
margin-left: 20px;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
// width: 500px;
|
||||
height: 100%;
|
||||
// background-color: red;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.img1 {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-right: 50px;
|
||||
}
|
||||
.line {
|
||||
height: 65%;
|
||||
width: 1px;
|
||||
background-color: #e8effa;
|
||||
margin-right: 28px;
|
||||
}
|
||||
.img2 {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
margin-right: 22px;
|
||||
}
|
||||
.pub {
|
||||
color: #ffb64e;
|
||||
font-size: 14px;
|
||||
margin-top: 5px;
|
||||
margin-right: 30px;
|
||||
}
|
||||
.return {
|
||||
color: #4ea6ff;
|
||||
font-size: 14px;
|
||||
margin-top: 5px;
|
||||
margin-right: 60px;
|
||||
}
|
||||
|
||||
.more {
|
||||
position: relative;
|
||||
margin-right: 30px;
|
||||
|
||||
.moreArrow {
|
||||
width: 13px;
|
||||
height: 7px;
|
||||
display: inline-block;
|
||||
background-image: url("../../assets/images/navtop/down.png");
|
||||
background-size: 100%;
|
||||
margin: 2px;
|
||||
margin-left: 15px;
|
||||
}
|
||||
.moreItems {
|
||||
width: 110px;
|
||||
height: 80px;
|
||||
display: none;
|
||||
background: #ffffff;
|
||||
box-shadow: 2px 3px 9px 3px rgba(0, 0, 0, 0.05);
|
||||
// border-radius: 3px;
|
||||
border: 0px solid #dcdcdc;
|
||||
position: absolute;
|
||||
left: -48px;
|
||||
top: 28px;
|
||||
z-index: 100;
|
||||
.sammo {
|
||||
text-align: center;
|
||||
margin-top: 12px;
|
||||
}
|
||||
.sammo:hover {
|
||||
color: #4ea6ff;
|
||||
}
|
||||
}
|
||||
.moreItems:hover {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1240px) {
|
||||
.line {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.img1 {
|
||||
margin-right: 15px;
|
||||
}
|
||||
.img2 {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.return {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.pub {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.more {
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.more:hover .moreArrow {
|
||||
background-image: url("../../assets/images/navtop/up.png");
|
||||
}
|
||||
.more:hover .moreItems {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.split {
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
background-color: #edf0f5;
|
||||
}
|
||||
.bom {
|
||||
.tab {
|
||||
margin-top: 10px;
|
||||
// margin-left: 10px;
|
||||
}
|
||||
.cont {
|
||||
display: flex;
|
||||
.pad {
|
||||
height: 100%;
|
||||
width: 40px;
|
||||
// background-color: red;
|
||||
}
|
||||
.sametab {
|
||||
// margin-left: 30px;
|
||||
// margin-right: 30px;
|
||||
margin-top: 30px;
|
||||
width: 100%;
|
||||
// background-color: green;
|
||||
.Lhead {
|
||||
display: flex;
|
||||
.btns {
|
||||
display: flex;
|
||||
margin-left: 20px;
|
||||
// flex-wrap: wrap;
|
||||
.btn {
|
||||
padding: 0px 26px 0px 26px;
|
||||
height: 38px;
|
||||
background: rgba(64, 158, 255, 0);
|
||||
border-radius: 8px;
|
||||
border: 1px solid rgba(64, 158, 255, 1);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-right: 14px;
|
||||
flex-shrink: 0;
|
||||
cursor: pointer;
|
||||
.search {
|
||||
background-size: 100%;
|
||||
}
|
||||
.btnText {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: rgba(64, 158, 255, 1);
|
||||
line-height: 36px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
.btn1 {
|
||||
.search {
|
||||
width: 15px;
|
||||
height: 17px;
|
||||
background-image: url("../../assets/images/courseManage/search1.png");
|
||||
}
|
||||
}
|
||||
.btn2 {
|
||||
.search {
|
||||
width: 16px;
|
||||
height: 18px;
|
||||
background-image: url("../../assets/images/courseManage/reset1.png");
|
||||
}
|
||||
}
|
||||
.btn3 {
|
||||
margin-right: 0px;
|
||||
.search {
|
||||
width: 17px;
|
||||
height: 18px;
|
||||
background-image: url("../../assets/images/courseManage/add1.png");
|
||||
}
|
||||
}
|
||||
.btn1:hover {
|
||||
background: rgba(64, 158, 255, 1);
|
||||
.search {
|
||||
background-image: url("../../assets/images/courseManage/search0.png");
|
||||
}
|
||||
.btnText {
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
.btn2:hover {
|
||||
background: rgba(64, 158, 255, 1);
|
||||
.search {
|
||||
background-image: url("../../assets/images/courseManage/reset0.png");
|
||||
}
|
||||
.btnText {
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
.btn3:hover {
|
||||
background: rgba(64, 158, 255, 1);
|
||||
.search {
|
||||
background-image: url("../../assets/images/courseManage/add0.png");
|
||||
}
|
||||
.btnText {
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.Lbom {
|
||||
position: relative;
|
||||
.item {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
// background-color: green;
|
||||
margin-top: 40px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #f0f4fe;
|
||||
.itemhead {
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
background-color: #f0f4fe;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
.lev {
|
||||
margin-left: 27px;
|
||||
margin-right: 16px;
|
||||
line-height: 100%;
|
||||
color: #409eff;
|
||||
font-size: 16px;
|
||||
}
|
||||
.lin {
|
||||
width: 1px;
|
||||
height: 35%;
|
||||
background-color: #c7cbd2;
|
||||
}
|
||||
.nam {
|
||||
margin-left: 16px;
|
||||
color: #4f5156;
|
||||
line-height: 100%;
|
||||
font-size: 16px;
|
||||
}
|
||||
.count {
|
||||
position: absolute;
|
||||
line-height: 100%;
|
||||
color: #4f5156;
|
||||
font-size: 14px;
|
||||
right: 40px;
|
||||
span:nth-child(2) {
|
||||
color: #63ca8c;
|
||||
}
|
||||
}
|
||||
}
|
||||
.itembomm {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 150px;
|
||||
.it {
|
||||
// margin-left: 110px;
|
||||
// margin-right: 110px;
|
||||
width: 13%;
|
||||
text-align: center;
|
||||
.on {
|
||||
font-size: 30px;
|
||||
}
|
||||
.ittext {
|
||||
color: #4f5156;
|
||||
margin-top: 16px;
|
||||
margin-left: -5px;
|
||||
}
|
||||
}
|
||||
.linee {
|
||||
background-color: #ecf2fb;
|
||||
width: 1px;
|
||||
height: 55%;
|
||||
}
|
||||
.itright {
|
||||
position: absolute;
|
||||
right: 45px;
|
||||
.te {
|
||||
color: #4ea6ff;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
.more {
|
||||
position: relative;
|
||||
.moreArrow {
|
||||
width: 13px;
|
||||
height: 7px;
|
||||
display: inline-block;
|
||||
background-image: url("../../assets/images/navtop/down.png");
|
||||
background-size: 100%;
|
||||
margin: 2px;
|
||||
margin-left: 7px;
|
||||
}
|
||||
.moreItems {
|
||||
width: 80px;
|
||||
height: 70px;
|
||||
display: none;
|
||||
background: #ffffff;
|
||||
box-shadow: 2px 3px 9px 3px rgba(0, 0, 0, 0.05);
|
||||
border-radius: 3px;
|
||||
border: 0px solid #dcdcdc;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 18px;
|
||||
z-index: 100;
|
||||
}
|
||||
}
|
||||
.more:hover .moreArrow {
|
||||
background-image: url("../../assets/images/navtop/up.png");
|
||||
}
|
||||
.more:hover .moreItems {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.Gcon {
|
||||
display: flex;
|
||||
.pad {
|
||||
height: 100%;
|
||||
width: 40px;
|
||||
}
|
||||
.Gin {
|
||||
background-color: #bfa;
|
||||
|
||||
margin-top: 30px;
|
||||
.headone {
|
||||
// background-color: red;
|
||||
display: flex;
|
||||
text-align: center;
|
||||
.box {
|
||||
width: 4px;
|
||||
height: 20px;
|
||||
background-color: #4ea6ff;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.onetitle {
|
||||
margin-left: 15px;
|
||||
color: #333333;
|
||||
font-size: 14px;
|
||||
}
|
||||
.oneedi {
|
||||
margin-left: 15px;
|
||||
color: #4ea6ff;
|
||||
}
|
||||
}
|
||||
.onemain {
|
||||
margin-top: 30px;
|
||||
margin-left: 55px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
12
src/views/learningpath/LevelAddDetail.vue
Normal file
12
src/views/learningpath/LevelAddDetail.vue
Normal file
@@ -0,0 +1,12 @@
|
||||
<template>
|
||||
<div>ddd</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "LevelAddDetail",
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss" >
|
||||
</style>
|
||||
@@ -0,0 +1,72 @@
|
||||
<template>
|
||||
<div class="header">
|
||||
<span class="title">创建调研</span>
|
||||
<div class="goback"><span class="return"></span><router-link class="returntext" to="/researchmanage">返回</router-link></div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="type"></div>
|
||||
<div class="name">
|
||||
<div class="star">*</div>
|
||||
<div class="inname">提干</div>
|
||||
<div class="in">
|
||||
<a-input v-model:value="valueE" placeholder="请输入项目名称"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<div class="btn">
|
||||
<a-button type="primary" style="width: 100px;height: 40px;border-radius: 8px">保存</a-button>
|
||||
<a-button type="primary" ghost style="width: 100px;height: 40px;margin-left: 14px;border-radius: 8px">取消</a-button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<style>
|
||||
.header {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.title {
|
||||
color: #000000;
|
||||
font-size: 18px;
|
||||
//line-height: 36px;
|
||||
padding-top: 30px;
|
||||
padding-left: 37px;
|
||||
//font-weight: 500;
|
||||
}
|
||||
.goback {
|
||||
padding-right: 70px;
|
||||
//padding-top: 37px;
|
||||
position: relative;
|
||||
.return {
|
||||
display: inline-block;
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
margin-top: 17px;
|
||||
margin-right: 10px;
|
||||
background-image: url("../../assets/images/projectadd/return.png");
|
||||
}
|
||||
.returntext {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
top: 27px;
|
||||
color: #4EA6FF;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
}
|
||||
.footer {
|
||||
width: 100%;
|
||||
margin-top: 31px;
|
||||
margin-bottom: 14px;
|
||||
.btn {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,174 @@
|
||||
<!---- 项目调研页面 --->
|
||||
<template>
|
||||
<div class="researchmanage">
|
||||
<!-- 搜索框及按钮 -->
|
||||
<div class="filter">
|
||||
<div class="filterItems">
|
||||
<div class="select">
|
||||
<a-select
|
||||
v-model:value="projectName"
|
||||
style="width: 270px"
|
||||
placeholder="请输入调研名称"
|
||||
:options="projectNameList"
|
||||
@change="selectProjectName"
|
||||
allowClear
|
||||
showSearch
|
||||
></a-select>
|
||||
</div>
|
||||
|
||||
<div class="select">
|
||||
<a-select
|
||||
v-model:value="projectName"
|
||||
style="width: 270px"
|
||||
placeholder="请选择状态"
|
||||
:options="projectNameList"
|
||||
@change="selectProjectName"
|
||||
allowClear
|
||||
showSearch
|
||||
></a-select>
|
||||
</div>
|
||||
<div class="select">
|
||||
<!-- <a-date-picker
|
||||
v-model="selectTime"
|
||||
type="date"
|
||||
placeholder="时间"
|
||||
style="width: 270px"
|
||||
/> -->
|
||||
<a-range-picker
|
||||
v-model:value="value2"
|
||||
separator="至"
|
||||
:placeholder="['开始时间', '结束时间']"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btns">
|
||||
<div class="btn btn1">
|
||||
<div class="search"></div>
|
||||
<div class="btnText">搜索</div>
|
||||
</div>
|
||||
<div class="btn btn2">
|
||||
<div class="search"></div>
|
||||
<div class="btnText">重置</div>
|
||||
</div>
|
||||
<div class="btn btn3" @click="handleOut">
|
||||
<div class="search"></div>
|
||||
<div class="btnText">创建调研</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 搜索框及按钮 -->
|
||||
<!-- 表格 -->
|
||||
<div class="tableBox">
|
||||
|
||||
</div>
|
||||
<!-- 表格 -->
|
||||
<!-- 创建调研 -->
|
||||
|
||||
<!-- 创建调研 -->
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.researchmanage {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.filter {
|
||||
margin-left: 38px;
|
||||
margin-right: 38px;
|
||||
margin-top: 30px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
.filterItems {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
.select {
|
||||
margin-right: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
.btns {
|
||||
display: flex;
|
||||
// flex-wrap: wrap;
|
||||
.btn {
|
||||
padding: 0px 26px 0px 26px;
|
||||
height: 38px;
|
||||
background: rgba(64, 158, 255, 0);
|
||||
border-radius: 8px;
|
||||
border: 1px solid rgba(64, 158, 255, 1);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-right: 14px;
|
||||
flex-shrink: 0;
|
||||
cursor: pointer;
|
||||
.search {
|
||||
background-size: 100%;
|
||||
}
|
||||
.btnText {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: rgba(64, 158, 255, 1);
|
||||
line-height: 36px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
.btn1 {
|
||||
.search {
|
||||
width: 15px;
|
||||
height: 17px;
|
||||
background-image: url("../../assets/images/courseManage/search1.png");
|
||||
}
|
||||
}
|
||||
.btn2 {
|
||||
.search {
|
||||
width: 16px;
|
||||
height: 18px;
|
||||
background-image: url("../../assets/images/courseManage/reset1.png");
|
||||
}
|
||||
}
|
||||
.btn3 {
|
||||
margin-right: 0px;
|
||||
.search {
|
||||
width: 17px;
|
||||
height: 18px;
|
||||
background-image: url("../../assets/images/courseManage/add1.png");
|
||||
}
|
||||
}
|
||||
.btn1:hover {
|
||||
background: rgba(64, 158, 255, 1);
|
||||
.search {
|
||||
background-image: url("../../assets/images/courseManage/search0.png");
|
||||
}
|
||||
.btnText {
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
.btn2:hover {
|
||||
background: rgba(64, 158, 255, 1);
|
||||
.search {
|
||||
background-image: url("../../assets/images/courseManage/reset0.png");
|
||||
}
|
||||
.btnText {
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
.btn3:hover {
|
||||
background: rgba(64, 158, 255, 1);
|
||||
.search {
|
||||
background-image: url("../../assets/images/courseManage/add0.png");
|
||||
}
|
||||
.btnText {
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user