@@ -361,6 +382,8 @@ export default {
//
appPushShow: false,
//
+ exportPopoverShow: false,
+ //
scanLoginShow: false,
scanLoginLoad: false,
scanLoginCode: '',
@@ -392,6 +415,7 @@ export default {
applyList() {
const list = [
{value: "approve", label: "审批中心", sort: 30, show: this.microAppsIds.includes('approve')},
+ {value: "favorite", label: "我的收藏", sort: 45},
{value: "report", label: "工作报告", sort: 50},
{value: "mybot", label: "我的机器人", sort: 55},
{value: "robot", label: "AI 机器人", sort: 60, show: this.microAppsIds.includes('ai')},
@@ -419,6 +443,7 @@ export default {
{type: 'admin', value: "mail", label: "邮件通知", sort: 170},
{type: 'admin', value: "appPush", label: "APP 推送", sort: 180},
{type: 'admin', value: "complaint", label: "举报管理", sort: 190},
+ {type: 'admin', value: "exportManage", label: "数据导出", sort: 195},
{type: 'admin', value: "allUser", label: "团队管理", sort: 200},
])
}
@@ -457,6 +482,9 @@ export default {
case 'report':
emitter.emit('openReport', params == 'badge' ? 'receive' : 'my');
break;
+ case 'favorite':
+ emitter.emit('openFavorite');
+ break;
case 'mybot':
this.getMybot();
this.mybotShow = true;
@@ -506,6 +534,10 @@ export default {
}
this.$emit("on-click", item.value, params);
},
+ handleExport(type) {
+ this.exportPopoverShow = false;
+ emitter.emit('openManageExport', type);
+ },
// 获取我的机器人
getMybot() {
this.mybotLoad++
diff --git a/resources/assets/sass/pages/page-apply.scss b/resources/assets/sass/pages/page-apply.scss
index 717ed9b76..891597a15 100644
--- a/resources/assets/sass/pages/page-apply.scss
+++ b/resources/assets/sass/pages/page-apply.scss
@@ -49,7 +49,7 @@
.apply-col {
margin-bottom: 16px;
- > div {
+ .apply-item {
font-size: 14px;
font-weight: normal;
background: #FFFFFF;
@@ -63,7 +63,7 @@
position: relative;
border: 1px solid #f1f1f1;
- > .logo {
+ .logo {
width: 40px;
height: 40px;
display: inline-block;
@@ -102,7 +102,7 @@
.apply-col {
margin-bottom: 6px;
- > div {
+ .apply-item {
display: block;
text-align: center;
padding: 12px 0;
@@ -204,6 +204,14 @@
background-image: url("../images/application/mybot.svg");
}
+ &.favorite {
+ background-image: url("../images/application/favorite.svg");
+ }
+
+ &.export-manage {
+ background-image: url("../images/application/export.svg");
+ }
+
&.robot {
background-image: url("../images/application/robot.svg");
}
@@ -233,6 +241,29 @@
}
}
+.apply-export-popover {
+ padding: 4px 0 !important;
+
+ .apply-export-menu {
+ list-style: none;
+ padding: 0;
+ margin: 0;
+ min-width: 160px;
+
+ > li {
+ padding: 8px 16px;
+ cursor: pointer;
+ font-size: 14px;
+ color: #333;
+ white-space: nowrap;
+
+ &:hover {
+ background: #f5f5f5;
+ }
+ }
+ }
+}
+
.ivu-modal-wrap-apply {
position: relative;
overflow: auto;
diff --git a/resources/assets/statics/public/images/application/export.svg b/resources/assets/statics/public/images/application/export.svg
new file mode 100644
index 000000000..733ccc5a9
--- /dev/null
+++ b/resources/assets/statics/public/images/application/export.svg
@@ -0,0 +1,40 @@
+
\ No newline at end of file
diff --git a/resources/assets/statics/public/images/application/favorite.svg b/resources/assets/statics/public/images/application/favorite.svg
new file mode 100644
index 000000000..ca8f630f8
--- /dev/null
+++ b/resources/assets/statics/public/images/application/favorite.svg
@@ -0,0 +1,4 @@
+