|
|
@@ -1,322 +1,320 @@ |
|
|
|
<template>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
:class="
|
|
|
|
isShowRightManager == true
|
|
|
|
? 'AnimatedRightIn flex_right_pain'
|
|
|
|
: 'flex_right_pain'
|
|
|
|
"
|
|
|
|
>
|
|
|
|
<!-- 新申请 -->
|
|
|
|
<div class="flex_right_pain_body_box">
|
|
|
|
<div class="flex_right_pain_head">
|
|
|
|
<div class="EC_col_12">
|
|
|
|
<h4 class="RdiaheaderTitle">工作名称</h4>
|
|
|
|
<h4 class="RdiaheaderTitle">我发起的申请</h4>
|
|
|
|
<h4 class="RdiaheaderTitle">新申请</h4>
|
|
|
|
</div>
|
|
|
|
<div class="EC_col_12">
|
|
|
|
<i
|
|
|
|
class="Cicon icon font_family icon-icon_quxiaohuoguanbi fr"
|
|
|
|
title="关闭"
|
|
|
|
@click="closeAppManagePain"
|
|
|
|
></i>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="pxline"></div>
|
|
|
|
<div class="flex_right_pain_body flex_rightheight3">
|
|
|
|
<div class="yiyun_app_itemClasss">
|
|
|
|
<span class="yiyun_yinyongname">工作详情</span>
|
|
|
|
<span class="yiyun_yinyongname">申请状态:审核中</span>
|
|
|
|
<span class="yiyun_yinyongname">对方 需要您的文件</span>
|
|
|
|
<ul class="yiyun_app_info_box newapplay">
|
|
|
|
<li>
|
|
|
|
<label class="tinylabel">协作对象</label>
|
|
|
|
<span class="fl">工作名称</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<label class="tinylabel">对方工作负责人</label>
|
|
|
|
<span class="fl">负责人名称</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<label class="tinylabel">工作参与职员数</label>
|
|
|
|
<span class="fl">1人</span>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div style="text-align: center">
|
|
|
|
<div>
|
|
|
|
<span class="yiyun_yinyongname nostyle"></span>
|
|
|
|
</div>
|
|
|
|
<div class="btn_double">
|
|
|
|
<button type="button" class="btn_doubleItem">
|
|
|
|
解除文件交换关系
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="btn_double">
|
|
|
|
<button type="button" class="btn_doubleItem">取消申请</button>
|
|
|
|
</div>
|
|
|
|
<div class="btn_double">
|
|
|
|
<button type="button" class="btn_doubleItem">同意并建立协作</button>
|
|
|
|
<div class="pxline"></div>
|
|
|
|
<button type="button" class="btn_doubleItem">驳回申请</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="backwork pt-10" v-show="isShowworklink" v-if="false">
|
|
|
|
<div class="warpbianju">
|
|
|
|
<div class="fl">
|
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
class="yiyuntitle nowFolderName shadowbtn"
|
|
|
|
@click="hideWorklinkPage()"
|
|
|
|
>
|
|
|
|
回到工作
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 我的文件面板 -->
|
|
|
|
<section
|
|
|
|
:class="'yiyun_warpBar bg_color_company bottomBloder ' + workheight"
|
|
|
|
>
|
|
|
|
<div :class="'yiyun_warpContent worklinkHeight'" v-show="isShowworklink">
|
|
|
|
<div class="yiyun-rows overflowinit">
|
|
|
|
<!-- 我的文件title -->
|
|
|
|
<div class="yiyun_file_box">
|
|
|
|
<div class="yiyun_Headtitle_center" style="overflow: hidden">
|
|
|
|
<div class="yiyun-col-12 worktitlebox overflowinit">
|
|
|
|
<button type="button" class="yiyuntitle myFolderName">
|
|
|
|
<!-- <button type="button" class="yiyuntitle myFolderName" @click="hideWorklinkPage()"> -->
|
|
|
|
我的工作链
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
:class="
|
|
|
|
listUserFolders.length < 8
|
|
|
|
? 'worklink linkcenter'
|
|
|
|
: 'worklink linkstart'
|
|
|
|
"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="yuandian"
|
|
|
|
v-for="(myfolder, index) in listUserFolders"
|
|
|
|
:key="myfolder.folderID"
|
|
|
|
>
|
|
|
|
<!-- 移入按钮 -->
|
|
|
|
<div class="upList">
|
|
|
|
<div class="enterPoint">
|
|
|
|
<div
|
|
|
|
type="button"
|
|
|
|
class="linkBtn2 leftlinebox"
|
|
|
|
:key="indexfrom"
|
|
|
|
v-for="(from, indexfrom) in myfolder.listsShareFrom[1]"
|
|
|
|
@click="showNewAppManagement(from)"
|
|
|
|
>
|
|
|
|
<i class="leftline"></i>
|
|
|
|
<span class="worllistt2" :title="from.folderName">{{
|
|
|
|
from.folderName
|
|
|
|
}}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="enterLine"
|
|
|
|
v-if="myfolder.listsShareFrom[1].length > 0"
|
|
|
|
>
|
|
|
|
<i class="el-icon-caret-bottom bottomenter"></i>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="conterpoint">
|
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
:class="
|
|
|
|
myfolder.folderName == nowFolderName
|
|
|
|
? 'currworkbutton '
|
|
|
|
: 'workbutton'
|
|
|
|
"
|
|
|
|
@click="goFolderAndBack(index)"
|
|
|
|
:title="myfolder.folderName"
|
|
|
|
>
|
|
|
|
{{ myfolder.folderName }}
|
|
|
|
</button>
|
|
|
|
<i
|
|
|
|
class="linkline workend"
|
|
|
|
v-if="index < listUserFolders.length - 1"
|
|
|
|
></i>
|
|
|
|
</div>
|
|
|
|
<!-- 移出按钮 -->
|
|
|
|
<div
|
|
|
|
class="bottomlist"
|
|
|
|
v-if="myfolder.listsShareFrom[0].length > 0"
|
|
|
|
>
|
|
|
|
<div class="leftlin2"></div>
|
|
|
|
<div class="outPoint">
|
|
|
|
<div
|
|
|
|
type="button"
|
|
|
|
class="linkBtn2 leftlinebox"
|
|
|
|
:key="indexShare"
|
|
|
|
v-for="(share, indexShare) in myfolder
|
|
|
|
.listsShareFrom[0]"
|
|
|
|
@click="showNewAppManagement(share)"
|
|
|
|
>
|
|
|
|
<i class="leftline"></i>
|
|
|
|
<span class="worllistt2" :title="share.folderName">{{
|
|
|
|
share.folderName
|
|
|
|
}}</span>
|
|
|
|
</div>
|
|
|
|
<div class="outLine">
|
|
|
|
<i class="el-icon-caret-bottom bottomenter"></i>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
<div class="yiyun_warpContent">
|
|
|
|
<div class="yiyun-rows overflowinit">
|
|
|
|
<!-- 我的文件title -->
|
|
|
|
<div :class="'yiyun_file_box bgwirte'">
|
|
|
|
<div class="yiyun_Headtitle_center">
|
|
|
|
<div class="yiyun-col-8 worktitlebox overflowinit">
|
|
|
|
<i
|
|
|
|
class="icon iconfont icon_small-icon_small_shouqi workbtn anniuweizhi rota180 drakbg"
|
|
|
|
v-show="
|
|
|
|
!isShowworklink &&
|
|
|
|
listUserFolders.length > 1 &&
|
|
|
|
nowFolderIndex != 0
|
|
|
|
"
|
|
|
|
@click="previousFolder"
|
|
|
|
></i>
|
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
v-show="!isShowworklink"
|
|
|
|
class="yiyuntitle nowFolderName curbtn"
|
|
|
|
>
|
|
|
|
{{ nowFolderName }}
|
|
|
|
</button>
|
|
|
|
<div class="worklinkBtngroup">
|
|
|
|
<template v-for="(currFolder, index) in listUserFolders">
|
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
v-if="
|
|
|
|
index > nowFolderIndex &&
|
|
|
|
currFolder.folderName != nowFolderName &&
|
|
|
|
!isShowworklink
|
|
|
|
"
|
|
|
|
:key="index"
|
|
|
|
@click="nowFolderClick(index)"
|
|
|
|
class="yiyuntitle sectitle"
|
|
|
|
>
|
|
|
|
{{ currFolder.folderName }}
|
|
|
|
</button>
|
|
|
|
</template>
|
|
|
|
</div>
|
|
|
|
<i
|
|
|
|
class="icon font_family icon-icon_shezhi-jihuo rota90 workbtn workderct"
|
|
|
|
v-show="!isShowworklink"
|
|
|
|
@click="showWorklinkPage()"
|
|
|
|
></i>
|
|
|
|
<!-- <i class="icon font_family icon-icon_shezhi-jihuo rota90 workbtn workderct" v-show="!isShowworklink"
|
|
|
|
@click="showWorklinkPage()"></i>-->
|
|
|
|
</div>
|
|
|
|
<div class="yiyun-col-4">
|
|
|
|
<!-- <div class="mt-10">
|
|
|
|
<button type="button" class="yiyuntitle sectitle fr" @click="showAllAppManagement" v-show="nowFolderName != '公共文件夹'" v-show="!isShowworklink">
|
|
|
|
工作设置
|
|
|
|
</button>
|
|
|
|
</div>-->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
listUserFolders: Array,
|
|
|
|
nowFolderIndex: Number,
|
|
|
|
nowFolderName: String,
|
|
|
|
isShowlink: Boolean,
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
isShowRightManager: false,
|
|
|
|
isShowworklink: false,
|
|
|
|
workheight: "", //工作链高度
|
|
|
|
};
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
/**
|
|
|
|
* 隐藏工作链页面
|
|
|
|
*/
|
|
|
|
hideWorklinkPage() {
|
|
|
|
this.$emit("hideWorklinkPage", false);
|
|
|
|
this.isShowworklink = false;
|
|
|
|
this.workheight = "workheightinit";
|
|
|
|
},
|
|
|
|
/**
|
|
|
|
* 工作链中新申请
|
|
|
|
*/
|
|
|
|
showNewAppManagement(from) {
|
|
|
|
// this.isShowRightManager = true;
|
|
|
|
},
|
|
|
|
/**
|
|
|
|
* 关闭工作地图
|
|
|
|
*/
|
|
|
|
closeAppManagePain() {
|
|
|
|
this.isShowRightManager = false;
|
|
|
|
},
|
|
|
|
/**
|
|
|
|
* 上一个文件夹
|
|
|
|
* */
|
|
|
|
previousFolder() {
|
|
|
|
this.$emit("previousFolder", true);
|
|
|
|
},
|
|
|
|
/*
|
|
|
|
* 当前工作点击
|
|
|
|
* */
|
|
|
|
nowFolderClick(index) {
|
|
|
|
this.$emit("nowFolderClick", index);
|
|
|
|
},
|
|
|
|
/*
|
|
|
|
* 显示工作设置
|
|
|
|
* */
|
|
|
|
showAllAppManagement() {
|
|
|
|
this.$emit("showAllAppManagement", true);
|
|
|
|
},
|
|
|
|
/**
|
|
|
|
* 查看工作链页面
|
|
|
|
*/
|
|
|
|
showWorklinkPage() {
|
|
|
|
this.$emit("showWorklinkPage", true);
|
|
|
|
this.isShowworklink = true;
|
|
|
|
this.workheight = "workheight";
|
|
|
|
},
|
|
|
|
/**
|
|
|
|
* 工作链页面点击
|
|
|
|
*/
|
|
|
|
goFolderAndBack(index) {
|
|
|
|
this.$emit("goFolderAndBack", index);
|
|
|
|
this.hideWorklinkPage();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
watch: {
|
|
|
|
isShowlink(data) {
|
|
|
|
if (data == false) {
|
|
|
|
this.hideWorklinkPage();
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
<template> |
|
|
|
<div> |
|
|
|
<div |
|
|
|
:class=" |
|
|
|
isShowRightManager == true |
|
|
|
? 'AnimatedRightIn flex_right_pain' |
|
|
|
: 'flex_right_pain' |
|
|
|
" |
|
|
|
> |
|
|
|
<!-- 新申请 --> |
|
|
|
<div class="flex_right_pain_body_box"> |
|
|
|
<div class="flex_right_pain_head"> |
|
|
|
<div class="EC_col_12"> |
|
|
|
<h4 class="RdiaheaderTitle">工作名称</h4> |
|
|
|
<h4 class="RdiaheaderTitle">我发起的申请</h4> |
|
|
|
<h4 class="RdiaheaderTitle">新申请</h4> |
|
|
|
</div> |
|
|
|
<div class="EC_col_12"> |
|
|
|
<i |
|
|
|
class="Cicon icon font_family icon-icon_quxiaohuoguanbi fr" |
|
|
|
title="关闭" |
|
|
|
@click="closeAppManagePain" |
|
|
|
></i> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="pxline"></div> |
|
|
|
<div class="flex_right_pain_body flex_rightheight3"> |
|
|
|
<div class="yiyun_app_itemClasss"> |
|
|
|
<span class="yiyun_yinyongname">工作详情</span> |
|
|
|
<span class="yiyun_yinyongname">申请状态:审核中</span> |
|
|
|
<span class="yiyun_yinyongname">对方 需要您的文件</span> |
|
|
|
<ul class="yiyun_app_info_box newapplay"> |
|
|
|
<li> |
|
|
|
<label class="tinylabel">协作对象</label> |
|
|
|
<span class="fl">工作名称</span> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<label class="tinylabel">对方工作负责人</label> |
|
|
|
<span class="fl">负责人名称</span> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<label class="tinylabel">工作参与职员数</label> |
|
|
|
<span class="fl">1人</span> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style="text-align: center"> |
|
|
|
<div> |
|
|
|
<span class="yiyun_yinyongname nostyle"></span> |
|
|
|
</div> |
|
|
|
<div class="btn_double"> |
|
|
|
<button type="button" class="btn_doubleItem"> |
|
|
|
解除文件交换关系 |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
<div class="btn_double"> |
|
|
|
<button type="button" class="btn_doubleItem">取消申请</button> |
|
|
|
</div> |
|
|
|
<div class="btn_double"> |
|
|
|
<button type="button" class="btn_doubleItem">同意并建立协作</button> |
|
|
|
<div class="pxline"></div> |
|
|
|
<button type="button" class="btn_doubleItem">驳回申请</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="backwork pt-10" v-show="isShowworklink" v-if="false"> |
|
|
|
<div class="warpbianju"> |
|
|
|
<div class="fl"> |
|
|
|
<button |
|
|
|
type="button" |
|
|
|
class="yiyuntitle nowFolderName shadowbtn" |
|
|
|
@click="hideWorklinkPage()" |
|
|
|
> |
|
|
|
回到工作 |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 我的文件面板 --> |
|
|
|
<section |
|
|
|
:class="'yiyun_warpBar bg_color_company bottomBloder ' + workheight" |
|
|
|
> |
|
|
|
<div :class="'yiyun_warpContent worklinkHeight'" v-show="isShowworklink"> |
|
|
|
<div class="yiyun-rows overflowinit"> |
|
|
|
<!-- 我的文件title --> |
|
|
|
<div class="yiyun_file_box"> |
|
|
|
<div class="yiyun_Headtitle_center" style="overflow: hidden"> |
|
|
|
<div class="yiyun-col-12 worktitlebox overflowinit"> |
|
|
|
<button type="button" class="yiyuntitle myFolderName"> |
|
|
|
<!-- <button type="button" class="yiyuntitle myFolderName" @click="hideWorklinkPage()"> --> |
|
|
|
我的工作链 |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
:class=" |
|
|
|
listUserFolders.length < 8 |
|
|
|
? 'worklink linkcenter' |
|
|
|
: 'worklink linkstart' |
|
|
|
" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="yuandian" |
|
|
|
v-for="(myfolder, index) in listUserFolders" |
|
|
|
:key="myfolder.id" |
|
|
|
> |
|
|
|
<!-- 移入按钮 --> |
|
|
|
<div class="upList"> |
|
|
|
<div class="enterPoint"> |
|
|
|
<div |
|
|
|
type="button" |
|
|
|
class="linkBtn2 leftlinebox" |
|
|
|
:key="indexfrom" |
|
|
|
v-for="(from, indexfrom) in myfolder.listsShareFrom[1]" |
|
|
|
@click="showNewAppManagement(from)" |
|
|
|
> |
|
|
|
<i class="leftline"></i> |
|
|
|
<span class="worllistt2" :title="from.folderName">{{from.folderName}}</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="enterLine" |
|
|
|
v-if="myfolder.listsShareFrom[1].length > 0" |
|
|
|
> |
|
|
|
<i class="el-icon-caret-bottom bottomenter"></i> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="conterpoint"> |
|
|
|
<button |
|
|
|
type="button" |
|
|
|
:class=" |
|
|
|
myfolder.folderName == nowFolderName |
|
|
|
? 'currworkbutton ' |
|
|
|
: 'workbutton' |
|
|
|
" |
|
|
|
@click="goFolderAndBack(index)" |
|
|
|
:title="myfolder.folderName" |
|
|
|
> |
|
|
|
{{ myfolder.folderName }} |
|
|
|
</button> |
|
|
|
<i |
|
|
|
class="linkline workend" |
|
|
|
v-if="index < listUserFolders.length - 1" |
|
|
|
></i> |
|
|
|
</div> |
|
|
|
<!-- 移出按钮 --> |
|
|
|
<div |
|
|
|
class="bottomlist" |
|
|
|
v-if="myfolder.listsShareFrom[0].length > 0" |
|
|
|
> |
|
|
|
<div class="leftlin2"></div> |
|
|
|
<div class="outPoint"> |
|
|
|
<div |
|
|
|
type="button" |
|
|
|
class="linkBtn2 leftlinebox" |
|
|
|
:key="indexShare" |
|
|
|
v-for="(share, indexShare) in myfolder |
|
|
|
.listsShareFrom[0]" |
|
|
|
@click="showNewAppManagement(share)" |
|
|
|
> |
|
|
|
<i class="leftline"></i> |
|
|
|
<span class="worllistt2" :title="share.folderName">{{ |
|
|
|
share.folderName |
|
|
|
}}</span> |
|
|
|
</div> |
|
|
|
<div class="outLine"> |
|
|
|
<i class="el-icon-caret-bottom bottomenter"></i> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="clear"></div> |
|
|
|
<div class="yiyun_warpContent"> |
|
|
|
<div class="yiyun-rows overflowinit"> |
|
|
|
<!-- 我的文件title --> |
|
|
|
<div :class="'yiyun_file_box bgwirte'"> |
|
|
|
<div class="yiyun_Headtitle_center"> |
|
|
|
<div class="yiyun-col-8 worktitlebox overflowinit"> |
|
|
|
<i |
|
|
|
class="icon iconfont icon_small-icon_small_shouqi workbtn anniuweizhi rota180 drakbg" |
|
|
|
v-show=" |
|
|
|
!isShowworklink && |
|
|
|
listUserFolders.length > 1 && |
|
|
|
nowFolderIndex != 0 |
|
|
|
" |
|
|
|
@click="previousFolder" |
|
|
|
></i> |
|
|
|
<button |
|
|
|
type="button" |
|
|
|
v-show="!isShowworklink" |
|
|
|
class="yiyuntitle nowFolderName curbtn" |
|
|
|
> |
|
|
|
{{ nowFolderName }} |
|
|
|
</button> |
|
|
|
<div class="worklinkBtngroup"> |
|
|
|
<template v-for="(currFolder, index) in listUserFolders"> |
|
|
|
<button |
|
|
|
type="button" |
|
|
|
v-if=" |
|
|
|
index > nowFolderIndex && |
|
|
|
currFolder.folderName != nowFolderName && |
|
|
|
!isShowworklink |
|
|
|
" |
|
|
|
:key="index" |
|
|
|
@click="nowFolderClick(index)" |
|
|
|
class="yiyuntitle sectitle" |
|
|
|
> |
|
|
|
{{ currFolder.folderName }} |
|
|
|
</button> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
<i |
|
|
|
class="icon font_family icon-icon_shezhi-jihuo rota90 workbtn workderct" |
|
|
|
v-show="!isShowworklink" |
|
|
|
@click="showWorklinkPage()" |
|
|
|
></i> |
|
|
|
<!-- <i class="icon font_family icon-icon_shezhi-jihuo rota90 workbtn workderct" v-show="!isShowworklink" |
|
|
|
@click="showWorklinkPage()"></i>--> |
|
|
|
</div> |
|
|
|
<div class="yiyun-col-4"> |
|
|
|
<!-- <div class="mt-10"> |
|
|
|
<button type="button" class="yiyuntitle sectitle fr" @click="showAllAppManagement" v-show="nowFolderName != '公共文件夹'" v-show="!isShowworklink"> |
|
|
|
工作设置 |
|
|
|
</button> |
|
|
|
</div>--> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="clear"></div> |
|
|
|
</section> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
export default { |
|
|
|
props: { |
|
|
|
listUserFolders: Array, |
|
|
|
nowFolderIndex: Number, |
|
|
|
nowFolderName: String, |
|
|
|
isShowlink: Boolean, |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
isShowRightManager: false, |
|
|
|
isShowworklink: false, |
|
|
|
workheight: "", //工作链高度 |
|
|
|
}; |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
/** |
|
|
|
* 隐藏工作链页面 |
|
|
|
*/ |
|
|
|
hideWorklinkPage() { |
|
|
|
this.$emit("hideWorklinkPage", false); |
|
|
|
this.isShowworklink = false; |
|
|
|
this.workheight = "workheightinit"; |
|
|
|
}, |
|
|
|
/** |
|
|
|
* 工作链中新申请 |
|
|
|
*/ |
|
|
|
showNewAppManagement(from) { |
|
|
|
// this.isShowRightManager = true; |
|
|
|
}, |
|
|
|
/** |
|
|
|
* 关闭工作地图 |
|
|
|
*/ |
|
|
|
closeAppManagePain() { |
|
|
|
this.isShowRightManager = false; |
|
|
|
}, |
|
|
|
/** |
|
|
|
* 上一个文件夹 |
|
|
|
* */ |
|
|
|
previousFolder() { |
|
|
|
this.$emit("previousFolder", true); |
|
|
|
}, |
|
|
|
/* |
|
|
|
* 当前工作点击 |
|
|
|
* */ |
|
|
|
nowFolderClick(index) { |
|
|
|
this.$emit("nowFolderClick", index); |
|
|
|
}, |
|
|
|
/* |
|
|
|
* 显示工作设置 |
|
|
|
* */ |
|
|
|
showAllAppManagement() { |
|
|
|
this.$emit("showAllAppManagement", true); |
|
|
|
}, |
|
|
|
/** |
|
|
|
* 查看工作链页面 |
|
|
|
*/ |
|
|
|
showWorklinkPage() { |
|
|
|
this.$emit("showWorklinkPage", true); |
|
|
|
this.isShowworklink = true; |
|
|
|
this.workheight = "workheight"; |
|
|
|
}, |
|
|
|
/** |
|
|
|
* 工作链页面点击 |
|
|
|
*/ |
|
|
|
goFolderAndBack(index) { |
|
|
|
this.$emit("goFolderAndBack", index); |
|
|
|
this.hideWorklinkPage(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
isShowlink(data) { |
|
|
|
if (data == false) { |
|
|
|
this.hideWorklinkPage(); |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|
</script> |