提交 1979fbbe 编写于 作者: 张平's avatar 张平

Merge branch 'dev-saas-phrase2.1-0522' into 'release'

CME菜单控制   code reviewer:张平

CME菜单控制   code reviewer:张平

See merge request !157
...@@ -195,11 +195,13 @@ export default { ...@@ -195,11 +195,13 @@ export default {
height: 14px; height: 14px;
} }
.num { .num {
cursor: pointer;
margin-right: 30px; margin-right: 30px;
} }
.cart-wrapper { .cart-wrapper {
position: relative; position: relative;
.cart { .cart {
cursor: pointer;
position: relative; position: relative;
.count { .count {
position: absolute; position: absolute;
......
...@@ -73,8 +73,8 @@ ...@@ -73,8 +73,8 @@
size="small" size="small"
type="datetime" type="datetime"
placeholder="请选择开始时间" placeholder="请选择开始时间"
value-format="yyyy-MM-dd HH:mm:ss" value-format="yyyy/MM/dd HH:mm:ss"
format="yyyy-MM-dd HH:mm:ss" format="yyyy/MM/dd HH:mm:ss"
:picker-options="pickerOptions0" :picker-options="pickerOptions0"
style="width: 100%;" style="width: 100%;"
:disabled="formData.status4Flag == 1 || isPreview==1" :disabled="formData.status4Flag == 1 || isPreview==1"
...@@ -89,8 +89,8 @@ ...@@ -89,8 +89,8 @@
size="small" size="small"
type="datetime" type="datetime"
placeholder="请选择结束时间" placeholder="请选择结束时间"
value-format="yyyy-MM-dd HH:mm:ss" value-format="yyyy/MM/dd HH:mm:ss"
format="yyyy-MM-dd HH:mm:ss" format="yyyy/MM/dd HH:mm:ss"
:picker-options="pickerOptions1" :picker-options="pickerOptions1"
default-time="00:00:00" default-time="00:00:00"
style="width: 100%;" style="width: 100%;"
...@@ -416,8 +416,8 @@ export default { ...@@ -416,8 +416,8 @@ export default {
// 设置已有的基本信息 // 设置已有的基本信息
setBaseMessage(data) { setBaseMessage(data) {
// data.projectData.projectBegintime = convertTime(data.projectData.projectBegintime); data.projectData.projectBegintime = convertTime(data.projectData.projectBegintime);
// data.projectData.projectEndtime = convertTime(data.projectData.projectEndtime); data.projectData.projectEndtime = convertTime(data.projectData.projectEndtime);
vm.formData = Object.assign(vm.formData, data.projectData); vm.formData = Object.assign(vm.formData, data.projectData);
vm.formData.attachmentUrl1 = data.attachmentData[0].attachmentUrl; vm.formData.attachmentUrl1 = data.attachmentData[0].attachmentUrl;
...@@ -425,8 +425,8 @@ export default { ...@@ -425,8 +425,8 @@ export default {
vm.formData.attachmentMore1 = Object.assign( vm.formData.attachmentMore1, data.attachmentData[0]); vm.formData.attachmentMore1 = Object.assign( vm.formData.attachmentMore1, data.attachmentData[0]);
// 暂存为1 下一步为3 // 暂存为1 下一步为3
vm.formData.projectType = vm.formData.projectType == 0 ? 4 : vm.formData.projectType; vm.formData.projectType = vm.formData.projectType == 0 ? 4 : vm.formData.projectType;
// vm.formData.projectBegintime = vm.formData.projectBegintime ? new Date(vm.formData.projectBegintime) : ""; vm.formData.projectBegintime = vm.formData.projectBegintime ? new Date(vm.formData.projectBegintime) : "";
// vm.formData.projectEndtime = vm.formData.projectBegintime ? new Date(vm.formData.projectEndtime) : ""; vm.formData.projectEndtime = vm.formData.projectBegintime ? new Date(vm.formData.projectEndtime) : "";
if (data.attachmentData[1]) { if (data.attachmentData[1]) {
let attachmentUrl2 = data.attachmentData[1].attachmentUrl; let attachmentUrl2 = data.attachmentData[1].attachmentUrl;
vm.selectedAttachUrl(attachmentUrl2, 2, false); vm.selectedAttachUrl(attachmentUrl2, 2, false);
...@@ -609,14 +609,14 @@ export default { ...@@ -609,14 +609,14 @@ export default {
} }
} }
// vm.formData.projectBegintime = convertTime( vm.formData.projectBegintime = convertTime(
// vm.formData.projectBegintime, vm.formData.projectBegintime,
// false false
// ); );
// vm.formData.projectEndtime = convertTime( vm.formData.projectEndtime = convertTime(
// vm.formData.projectEndtime, vm.formData.projectEndtime,
// false false
// ); );
if (status) { if (status) {
vm.formData.projectStatus = status; vm.formData.projectStatus = status;
} }
......
...@@ -76,6 +76,7 @@ export default { ...@@ -76,6 +76,7 @@ export default {
color: #000000; color: #000000;
background: #f9f9f9; background: #f9f9f9;
img { img {
cursor: pointer;
width: 15px; width: 15px;
height: 15px; height: 15px;
} }
......
...@@ -209,6 +209,7 @@ export default { ...@@ -209,6 +209,7 @@ export default {
} }
} }
.handler { .handler {
cursor: pointer;
width: 35px; width: 35px;
img { img {
// cursor: pointer; // cursor: pointer;
......
...@@ -159,28 +159,28 @@ ...@@ -159,28 +159,28 @@
// } // }
// ] // ]
// }, // },
{ // {
title: 'CME', // title: 'CME',
icon: 'el-icon-reading', // icon: 'el-icon-reading',
index: 'credit-manage', // index: 'credit-manage',
subs: [ // subs: [
{ // {
title: '学分管理列表', // title: '学分管理列表',
icon: 'el-icon-document', // icon: 'el-icon-document',
index: 'credit-manage' // index: 'credit-manage'
}, // },
{ // {
title: '审核权限管理', // title: '审核权限管理',
icon: 'el-icon-document', // icon: 'el-icon-document',
index: 'review-access-manage' // index: 'review-access-manage'
}, // },
{ // {
title: '学分发放管理', // title: '学分发放管理',
icon: 'el-icon-document', // icon: 'el-icon-document',
index: 'credit-send-manage' // index: 'credit-send-manage'
}, // },
] // ]
}, // },
], ],
outsideItems: [ // 外部用户 路由 outsideItems: [ // 外部用户 路由
{ {
...@@ -305,11 +305,34 @@ ...@@ -305,11 +305,34 @@
} }
] ]
} }
const cme = {
title: 'CME',
icon: 'el-icon-reading',
index: 'credit-manage',
subs: [
{
title: '学分管理列表',
icon: 'el-icon-document',
index: 'credit-manage'
},
{
title: '审核权限管理',
icon: 'el-icon-document',
index: 'review-access-manage'
},
{
title: '学分发放管理',
icon: 'el-icon-document',
index: 'credit-send-manage'
},
]
}
vm.items[1].subs.push(itemComponent); vm.items[1].subs.push(itemComponent);
vm.items[1].subs.push(templateManager); vm.items[1].subs.push(templateManager);
vm.items[1].subs.push(followSider); vm.items[1].subs.push(followSider);
vm.items.push(eduRole); vm.items.push(eduRole);
vm.items.push(cme);
}, },
goToMessageSendPage(checkAuth) { goToMessageSendPage(checkAuth) {
if(checkAuth){ if(checkAuth){
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册