feat:样式优化
@ -1373,3 +1373,4 @@ APP推送
|
|||||||
邮件
|
邮件
|
||||||
签到
|
签到
|
||||||
签到管理
|
签到管理
|
||||||
|
常用
|
||||||
@ -18038,5 +18038,16 @@
|
|||||||
"de": "Trag die unterschrift ins management",
|
"de": "Trag die unterschrift ins management",
|
||||||
"fr": "Gestion des inscriptions",
|
"fr": "Gestion des inscriptions",
|
||||||
"id": "Manajemen tanda tangan masuk"
|
"id": "Manajemen tanda tangan masuk"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "常用",
|
||||||
|
"zh": "",
|
||||||
|
"zh-CHT": "常用",
|
||||||
|
"en": "In common use",
|
||||||
|
"ko": "흔히 사용하는",
|
||||||
|
"ja": "よく使います",
|
||||||
|
"de": "Verwende sie.",
|
||||||
|
"fr": "Couramment utilisés",
|
||||||
|
"id": "Umum"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 890 B After Width: | Height: | Size: 890 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
2
public/language/web/de.js
vendored
2
public/language/web/en.js
vendored
2
public/language/web/fr.js
vendored
2
public/language/web/id.js
vendored
2
public/language/web/ja.js
vendored
2
public/language/web/key.js
vendored
2
public/language/web/ko.js
vendored
2
public/language/web/zh-CHT.js
vendored
2
public/language/web/zh.js
vendored
@ -1 +1 @@
|
|||||||
if(typeof window.LANGUAGE_DATA==="undefined")window.LANGUAGE_DATA={};window.LANGUAGE_DATA["zh"]=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""]
|
if(typeof window.LANGUAGE_DATA==="undefined")window.LANGUAGE_DATA={};window.LANGUAGE_DATA["zh"]=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""]
|
||||||
@ -30,7 +30,7 @@
|
|||||||
<template v-else-if="item.name === 'dialog'">
|
<template v-else-if="item.name === 'dialog'">
|
||||||
<Badge class="tabbar-badge" :overflow-count="999" :text="msgUnreadMention"/>
|
<Badge class="tabbar-badge" :overflow-count="999" :text="msgUnreadMention"/>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="item.name === 'apply'">
|
<template v-else-if="item.name === 'application'">
|
||||||
<Badge class="tabbar-badge" :overflow-count="999" :count="reportUnreadNumber + approveUnreadNumber"/>
|
<Badge class="tabbar-badge" :overflow-count="999" :count="reportUnreadNumber + approveUnreadNumber"/>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="item.name === 'more'">
|
<template v-else-if="item.name === 'more'">
|
||||||
@ -71,7 +71,7 @@ export default {
|
|||||||
{icon: '', name: 'project', label: '项目'},
|
{icon: '', name: 'project', label: '项目'},
|
||||||
{icon: '', name: 'dialog', label: '消息'},
|
{icon: '', name: 'dialog', label: '消息'},
|
||||||
{icon: '', name: 'contacts', label: '通讯录'},
|
{icon: '', name: 'contacts', label: '通讯录'},
|
||||||
{icon: '', name: 'apply', label: '应用'},
|
{icon: '', name: 'application', label: '应用'},
|
||||||
// {icon: '', name: 'more', label: '更多'},
|
// {icon: '', name: 'more', label: '更多'},
|
||||||
],
|
],
|
||||||
navMore: [
|
navMore: [
|
||||||
@ -206,9 +206,9 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
activeName() {
|
activeName() {
|
||||||
if (this.isMore || ['manage-calendar', 'manage-file', 'manage-setting', 'manage-apply', 'manage-approve', 'manage-apps'].includes(this.routeName)) {
|
if (this.isMore || ['manage-calendar', 'manage-file', 'manage-setting', 'manage-application', 'manage-approve', 'manage-apps'].includes(this.routeName)) {
|
||||||
// return 'more';
|
// return 'more';
|
||||||
return 'apply';
|
return 'application';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.routeName === 'manage-dashboard') {
|
if (this.routeName === 'manage-dashboard') {
|
||||||
|
|||||||
@ -115,7 +115,7 @@
|
|||||||
<i class="taskfont"></i>
|
<i class="taskfont"></i>
|
||||||
<div class="menu-title">{{$L('文件')}}</div>
|
<div class="menu-title">{{$L('文件')}}</div>
|
||||||
</li>
|
</li>
|
||||||
<li @click="toggleRoute('apply')" :class="classNameRoute('apply')">
|
<li @click="toggleRoute('application')" :class="classNameRoute('application')">
|
||||||
<i class="taskfont"></i>
|
<i class="taskfont"></i>
|
||||||
<div class="menu-title">{{$L('应用')}}</div>
|
<div class="menu-title">{{$L('应用')}}</div>
|
||||||
<Badge class="menu-badge" :overflow-count="999" :text="String((reportUnreadNumber + approveUnreadNumber) || '')"/>
|
<Badge class="menu-badge" :overflow-count="999" :text="String((reportUnreadNumber + approveUnreadNumber) || '')"/>
|
||||||
@ -637,7 +637,7 @@ export default {
|
|||||||
if (this.routeName === 'manage-project' && !/^\d+$/.test(this.$route.params.projectId)) {
|
if (this.routeName === 'manage-project' && !/^\d+$/.test(this.$route.params.projectId)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return ['manage-dashboard', 'manage-calendar', 'manage-messenger', 'manage-file', 'manage-apply'].includes(this.routeName)
|
return ['manage-dashboard', 'manage-calendar', 'manage-messenger', 'manage-file', 'manage-application'].includes(this.routeName)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -838,7 +838,7 @@ export default {
|
|||||||
classNameRoute(path) {
|
classNameRoute(path) {
|
||||||
let routeName = this.routeName
|
let routeName = this.routeName
|
||||||
if(routeName == 'manage-approve' || routeName == 'manage-apps'){
|
if(routeName == 'manage-approve' || routeName == 'manage-apps'){
|
||||||
routeName = `manage-apply`
|
routeName = `manage-application`
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
"active": routeName === `manage-${path}`,
|
"active": routeName === `manage-${path}`,
|
||||||
|
|||||||
@ -10,6 +10,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="apply-row">
|
<div class="apply-row">
|
||||||
|
|
||||||
|
<div v-if="adminApplyList.length > 0" class="apply-row-title">{{ $L('常用') }}</div>
|
||||||
<Row :gutter="16">
|
<Row :gutter="16">
|
||||||
<Col v-if="item.show == undefined || item.show" v-for="(item, key) in applyList" :key="key"
|
<Col v-if="item.show == undefined || item.show" v-for="(item, key) in applyList" :key="key"
|
||||||
:xs="{ span: 8 }"
|
:xs="{ span: 8 }"
|
||||||
@ -24,16 +26,44 @@
|
|||||||
<p>{{ $L(item.label) }}</p>
|
<p>{{ $L(item.label) }}</p>
|
||||||
<div @click.stop="applyClick(item, 'badge')" class="apply-box-top-report">
|
<div @click.stop="applyClick(item, 'badge')" class="apply-box-top-report">
|
||||||
<!-- 审批中心 -->
|
<!-- 审批中心 -->
|
||||||
<Badge v-if="item.value == 'approve' && approveUnreadNumber > 0"
|
<Badge v-if="item.value == 'approve' && approveUnreadNumber > 0" :overflow-count="999"
|
||||||
:overflow-count="999" :count="approveUnreadNumber"/>
|
:count="approveUnreadNumber" />
|
||||||
<!-- 工作报告 -->
|
<!-- 工作报告 -->
|
||||||
<Badge v-if="item.value == 'report' && reportUnreadNumber > 0"
|
<Badge v-if="item.value == 'report' && reportUnreadNumber > 0" :overflow-count="999"
|
||||||
:overflow-count="999" :count="reportUnreadNumber"/>
|
:count="reportUnreadNumber" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
||||||
|
<!-- 管理员 -->
|
||||||
|
<div v-if="adminApplyList.length > 0" class="apply-row-title">{{ $L('管理员') }}</div>
|
||||||
|
<Row :gutter="16">
|
||||||
|
<Col v-if="item.show == undefined || item.show" v-for="(item, key) in adminApplyList" :key="key"
|
||||||
|
:xs="{ span: 8 }"
|
||||||
|
:sm="{ span: 8 }"
|
||||||
|
:lg="{ span: 6 }"
|
||||||
|
:xl="{ span: 4 }"
|
||||||
|
:xxl="{ span: 3 }"
|
||||||
|
>
|
||||||
|
<div class="apply-col">
|
||||||
|
<div @click="applyClick(item)">
|
||||||
|
<img :src="item.src">
|
||||||
|
<p>{{ $L(item.label) }}</p>
|
||||||
|
<div @click.stop="applyClick(item, 'badge')" class="apply-box-top-report">
|
||||||
|
<!-- 审批中心 -->
|
||||||
|
<Badge v-if="item.value == 'approve' && approveUnreadNumber > 0" :overflow-count="999"
|
||||||
|
:count="approveUnreadNumber" />
|
||||||
|
<!-- 工作报告 -->
|
||||||
|
<Badge v-if="item.value == 'report' && reportUnreadNumber > 0" :overflow-count="999"
|
||||||
|
:count="reportUnreadNumber" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Col>
|
||||||
|
</Row>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -117,13 +147,13 @@
|
|||||||
<div class="ivu-modal-wrap-apply-body">
|
<div class="ivu-modal-wrap-apply-body">
|
||||||
<ul class="ivu-modal-wrap-ul" v-if="meetingType == 1">
|
<ul class="ivu-modal-wrap-ul" v-if="meetingType == 1">
|
||||||
<li @click="onMeeting('createMeeting')">
|
<li @click="onMeeting('createMeeting')">
|
||||||
<img :src="$A.apiUrl('../images/apply/meeting.svg')">
|
<img :src="$A.apiUrl('../images/application/meeting.svg')">
|
||||||
<h4>{{ $L('新会议') }}</h4>
|
<h4>{{ $L('新会议') }}</h4>
|
||||||
<p>{{ $L('创建一个全新的会议视频会议,与会者可以在实时中进行面对面的视听交流。通过视频会议平台,参与者可以分享屏幕、共享文档,并与其他与会人员进行讨论和协。作') }}</p>
|
<p>{{ $L('创建一个全新的会议视频会议,与会者可以在实时中进行面对面的视听交流。通过视频会议平台,参与者可以分享屏幕、共享文档,并与其他与会人员进行讨论和协。作') }}</p>
|
||||||
<p class="btn">{{ $L('新建会议') }}</p>
|
<p class="btn">{{ $L('新建会议') }}</p>
|
||||||
</li>
|
</li>
|
||||||
<li @click="onMeeting('joinMeeting')">
|
<li @click="onMeeting('joinMeeting')">
|
||||||
<img :src="$A.apiUrl('../images/apply/joinMeeting.svg')">
|
<img :src="$A.apiUrl('../images/application/joinMeeting.svg')">
|
||||||
<h4>{{ $L('加入会议') }}</h4>
|
<h4>{{ $L('加入会议') }}</h4>
|
||||||
<p>{{ $L('加入视频会议,参与已经创建的会议,在会议过程中与其他参会人员进行远程实时视听交流和协作。') }}</p>
|
<p>{{ $L('加入视频会议,参与已经创建的会议,在会议过程中与其他参会人员进行远程实时视听交流和协作。') }}</p>
|
||||||
<p class="btn">{{ $L('加入会议') }}</p>
|
<p class="btn">{{ $L('加入会议') }}</p>
|
||||||
@ -170,7 +200,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</DrawerOverlay>
|
</DrawerOverlay>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -204,6 +233,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
applyList: [],
|
applyList: [],
|
||||||
|
adminApplyList: [],
|
||||||
//
|
//
|
||||||
workReportShow: false,
|
workReportShow: false,
|
||||||
workReportTabs: "my",
|
workReportTabs: "my",
|
||||||
@ -277,28 +307,38 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
initList() {
|
initList() {
|
||||||
this.applyList = [
|
let applyList = [
|
||||||
{ value: "approve", label: "审批中心", src: $A.apiUrl('../images/apply/approve.svg') },
|
{ value: "approve", label: "审批中心", src: $A.apiUrl('../images/application/approve.svg') },
|
||||||
{ value: "report", label: "工作报告", src: $A.apiUrl('../images/apply/report.svg') },
|
{ value: "report", label: "工作报告", src: $A.apiUrl('../images/application/report.svg') },
|
||||||
{ value: "okr", label: "OKR管理", src: $A.apiUrl('../images/apply/okr.svg') },
|
{ value: "okr", label: "OKR管理", src: $A.apiUrl('../images/application/okr.svg') },
|
||||||
{ value: "okrAnalyze", label: "OKR结果分析", src: $A.apiUrl('../images/apply/okrAnalyze.svg'), show: this.userIsAdmin },
|
{ value: "ai", label: "AI机器人", src: $A.apiUrl('../images/application/robot.svg') },
|
||||||
{ value: "ai", label: "AI机器人", src: $A.apiUrl('../images/apply/robot.svg') },
|
{ value: "signIn", label: "签到", src: $A.apiUrl('../images/application/signin.svg') },
|
||||||
{ value: "signIn", label: "签到", src: $A.apiUrl('../images/apply/signin.svg') },
|
{ value: "meeting", label: "会议", src: $A.apiUrl('../images/application/meeting.svg') },
|
||||||
{ value: "meeting", label: "会议", src: $A.apiUrl('../images/apply/meeting.svg'), show: this.userIsAdmin },
|
|
||||||
{ value: "ldap", label: "LDAP", src: $A.apiUrl('../images/apply/ldap.svg'), show: this.userIsAdmin },
|
|
||||||
{ value: "mail", label: "邮件", src: $A.apiUrl('../images/apply/mail.svg'), show: this.userIsAdmin },
|
|
||||||
{ value: "appPush", label: "APP推送", src: $A.apiUrl('../images/apply/apppush.svg'), show: this.userIsAdmin },
|
|
||||||
{ value: "allUser", label: "团队管理", src: $A.apiUrl('../images/apply/allUser.svg'), show: this.userIsAdmin },
|
|
||||||
];
|
];
|
||||||
|
let appapplyList = [];
|
||||||
if (this.windowOrientation == 'portrait') {
|
if (this.windowOrientation == 'portrait') {
|
||||||
this.applyList.push({ value: "calendar", label: "日历", src: $A.apiUrl('../images/apply/calendar.svg') })
|
appapplyList = [
|
||||||
this.applyList.push({ value: "file", label: "文件", src: $A.apiUrl('../images/apply/file.svg') })
|
{ value: "calendar", label: "日历", src: $A.apiUrl('../images/application/calendar.svg') },
|
||||||
this.applyList.push({ value: "addProject", label: "创建项目", src: $A.apiUrl('../images/apply/addProject.svg') })
|
{ value: "file", label: "文件", src: $A.apiUrl('../images/application/file.svg') },
|
||||||
this.applyList.push({ value: "addTask", label: "添加任务", src: $A.apiUrl('../images/apply/addTask.svg') })
|
{ value: "addProject", label: "创建项目", src: $A.apiUrl('../images/application/addProject.svg') },
|
||||||
|
{ value: "addTask", label: "添加任务", src: $A.apiUrl('../images/application/addTask.svg') },
|
||||||
|
]
|
||||||
if ($A.isEEUiApp) {
|
if ($A.isEEUiApp) {
|
||||||
this.applyList.push({ value: "scan", label: "扫一扫", src: $A.apiUrl('../images/apply/scan.svg') })
|
appapplyList.push({ value: "scan", label: "扫一扫", src: $A.apiUrl('../images/application/scan.svg') })
|
||||||
}
|
}
|
||||||
this.applyList.push({ value: "setting", label: "设置", src: $A.apiUrl('../images/apply/setting.svg') })
|
appapplyList.push({ value: "setting", label: "设置", src: $A.apiUrl('../images/application/setting.svg') })
|
||||||
|
}
|
||||||
|
this.applyList = [...applyList, ...appapplyList]
|
||||||
|
|
||||||
|
// 管理员
|
||||||
|
if (this.userIsAdmin) {
|
||||||
|
this.adminApplyList = [
|
||||||
|
{ value: "okrAnalyze", label: "OKR结果分析", src: $A.apiUrl('../images/application/okrAnalyze.svg') },
|
||||||
|
{ value: "ldap", label: "LDAP", src: $A.apiUrl('../images/application/ldap.svg') },
|
||||||
|
{ value: "mail", label: "邮件", src: $A.apiUrl('../images/application/mail.svg') },
|
||||||
|
{ value: "appPush", label: "APP推送", src: $A.apiUrl('../images/application/apppush.svg') },
|
||||||
|
{ value: "allUser", label: "团队管理", src: $A.apiUrl('../images/application/allUser.svg') },
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 点击应用
|
// 点击应用
|
||||||
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<div class="file-head">
|
<div class="file-head">
|
||||||
<div class="file-nav">
|
<div class="file-nav">
|
||||||
<div class="common-nav-back portrait" @click="goForward({name: 'manage-apply'},true)"><i class="taskfont"></i></div>
|
<div class="common-nav-back portrait" @click="goForward({name: 'manage-application'},true)"><i class="taskfont"></i></div>
|
||||||
<h1>{{$L('文件')}}</h1>
|
<h1>{{$L('文件')}}</h1>
|
||||||
<div v-if="loadIng == 0" class="file-refresh" @click="getFileList"><i class="taskfont"></i></div>
|
<div v-if="loadIng == 0" class="file-refresh" @click="getFileList"><i class="taskfont"></i></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
<div class="setting-head">
|
<div class="setting-head">
|
||||||
<div class="setting-titbox">
|
<div class="setting-titbox">
|
||||||
<div class="setting-title">
|
<div class="setting-title">
|
||||||
<div v-if="showMobileBox" class="common-nav-back portrait" @click="goForward({name: 'manage-apply'},true)"><i class="taskfont"></i></div>
|
<div v-if="showMobileBox" class="common-nav-back portrait" @click="goForward({name: 'manage-application'},true)"><i class="taskfont"></i></div>
|
||||||
<h1>{{settingTitleName}}</h1>
|
<h1>{{settingTitleName}}</h1>
|
||||||
<div v-if="!showMobileBox" class="setting-more" @click="toggleRoute('index')">
|
<div v-if="!showMobileBox" class="setting-more" @click="toggleRoute('index')">
|
||||||
<Icon type="md-close" />
|
<Icon type="md-close" />
|
||||||
|
|||||||
6
resources/assets/js/routes.js
vendored
@ -117,9 +117,9 @@ export default [
|
|||||||
component: () => import('./pages/manage/file.vue'),
|
component: () => import('./pages/manage/file.vue'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'manage-apply',
|
name: 'manage-application',
|
||||||
path: 'apply',
|
path: 'application',
|
||||||
component: () => import('./pages/manage/apply.vue'),
|
component: () => import('./pages/manage/application.vue'),
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
6
resources/assets/sass/pages/page-apply.scss
vendored
@ -36,6 +36,10 @@
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
padding: 16px 30px;
|
padding: 16px 30px;
|
||||||
|
|
||||||
|
.apply-row-title{
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
.apply-col {
|
.apply-col {
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
|
|
||||||
@ -96,7 +100,6 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
// max-width: calc(100vw - 40px);
|
|
||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
@ -105,6 +108,7 @@
|
|||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
padding: 12px 30px;
|
padding: 12px 30px;
|
||||||
|
color: #303133;
|
||||||
|
|
||||||
>p {
|
>p {
|
||||||
float: right;
|
float: right;
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 890 B After Width: | Height: | Size: 890 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |