|
@@ -1,24 +1,25 @@
|
|
<template>
|
|
<template>
|
|
<fullscreen :fullscreen.sync="fullscreen" class="container">
|
|
<fullscreen :fullscreen.sync="fullscreen" class="container">
|
|
- <div class="container">
|
|
|
|
- <div class="main-box container-box">
|
|
|
|
- <input type="hidden" id="excelId"/>
|
|
|
|
- <div class="inner-left" style="overflow: hidden">
|
|
|
|
- <!-- <div class="button-list">-->
|
|
|
|
- <!-- <el-button type="primary" @click="showExcel = true" plain>excel</el-button>-->
|
|
|
|
- <!-- <el-button type="primary" @click="showExcel = false" plain>不excel</el-button>-->
|
|
|
|
- <!-- </div>-->
|
|
|
|
- <div style="margin: 10px 0">
|
|
|
|
- <el-input placeholder="请输入内容" v-model="filterText" class="input-with-select" clearable
|
|
|
|
- @change="() => {if (!filterText) {searchMenu();}}">
|
|
|
|
- <el-button slot="append" @click="searchMenu" icon="el-icon-search"></el-button>
|
|
|
|
- </el-input>
|
|
|
|
- </div>
|
|
|
|
- <div v-loading="loading" style="height: calc(100% - 100px);overflow-y: scroll;overflow-x: scroll">
|
|
|
|
- <el-tree ref="tree" class="tree-line" :expand-on-click-node="false" :auto-expand-parent="true"
|
|
|
|
- :default-expand-all="true" :default-checked-keys="checkedMenu" :data="menuList"
|
|
|
|
- @check="checkChange"
|
|
|
|
- @node-click="nodeClick" :filter-node-method="filterNode" node-key="functionCode" style="width: 300px">
|
|
|
|
|
|
+ <div class="container">
|
|
|
|
+ <div class="main-box container-box">
|
|
|
|
+ <input type="hidden" id="excelId"/>
|
|
|
|
+ <div class="inner-left" style="overflow: hidden">
|
|
|
|
+ <!-- <div class="button-list">-->
|
|
|
|
+ <!-- <el-button type="primary" @click="showExcel = true" plain>excel</el-button>-->
|
|
|
|
+ <!-- <el-button type="primary" @click="showExcel = false" plain>不excel</el-button>-->
|
|
|
|
+ <!-- </div>-->
|
|
|
|
+ <div style="margin: 10px 0">
|
|
|
|
+ <el-input placeholder="请输入内容" v-model="filterText" class="input-with-select" clearable
|
|
|
|
+ @change="() => {if (!filterText) {searchMenu();}}">
|
|
|
|
+ <el-button slot="append" @click="searchMenu" icon="el-icon-search"></el-button>
|
|
|
|
+ </el-input>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-loading="loading" style="height: calc(100% - 100px);overflow-y: scroll;overflow-x: scroll">
|
|
|
|
+ <el-tree ref="tree" class="tree-line" :expand-on-click-node="false" :auto-expand-parent="true"
|
|
|
|
+ :default-expand-all="true" :default-checked-keys="checkedMenu" :data="menuList"
|
|
|
|
+ @check="checkChange"
|
|
|
|
+ @node-click="nodeClick" :filter-node-method="filterNode" node-key="functionCode"
|
|
|
|
+ style="width: 300px">
|
|
<span class="custom-tree-node" slot-scope="{ node }">
|
|
<span class="custom-tree-node" slot-scope="{ node }">
|
|
<span>
|
|
<span>
|
|
<span v-if="node.data.type == 4"
|
|
<span v-if="node.data.type == 4"
|
|
@@ -30,142 +31,149 @@
|
|
}}</span>
|
|
}}</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
- </el-tree>
|
|
|
|
- </div>
|
|
|
|
- <div class="tree-action"></div>
|
|
|
|
- </div>
|
|
|
|
- <div class="inner-right">
|
|
|
|
- <div style="overflow: hidden;" v-if="showExcel == false">
|
|
|
|
- <toolList @iconCli='iconCli' :tooltit='tooltit' style="margin: 10px"></toolList>
|
|
|
|
- <div style="margin-top: 20px;float: left;" class="bigbtns">
|
|
|
|
- <el-button style="margin-left: 20px;" class="btn-check" size="medium" type="primary"
|
|
|
|
- @click="addNewStatus = true">新建
|
|
|
|
- </el-button>
|
|
|
|
- </div>
|
|
|
|
- <div style="margin-top: 20px;float: right;margin-right: 20px" class="bigbtns"
|
|
|
|
- v-if="selectionSize != 0">
|
|
|
|
- <el-button style="margin-left: 5px;" class="btn-check" size="small" type="primary"
|
|
|
|
- @click="delExcel()">删除
|
|
|
|
- </el-button>
|
|
|
|
- <el-button style="margin-left: 5px;" class="btn-check" size="small" type="primary"
|
|
|
|
- @click="cancelSelection()">取消
|
|
|
|
- </el-button>
|
|
|
|
- <el-button style="margin-left: 5px;" class="btn-check" size="small" type="primary"
|
|
|
|
- @click="moveStatus = true">移动到
|
|
|
|
- </el-button>
|
|
|
|
|
|
+ </el-tree>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="tree-action"></div>
|
|
</div>
|
|
</div>
|
|
- <div class="tabbox" v-if="showExcel == false">
|
|
|
|
- <div id="selectionList" style="height: 30px">
|
|
|
|
- <span v-if="selectionSize != 0">已选{{ selectionSize }}项</span>
|
|
|
|
|
|
+ <div class="inner-right">
|
|
|
|
+ <div style="overflow: hidden;" v-if="showExcel == false">
|
|
|
|
+ <toolList @iconCli='iconCli' :tooltit='tooltit' style="margin: 10px"></toolList>
|
|
|
|
+ <div style="margin-top: 20px;float: left;" class="bigbtns">
|
|
|
|
+ <el-button style="margin-left: 20px;" class="btn-check" size="medium" type="primary"
|
|
|
|
+ @click="addNewStatus = true">新建
|
|
|
|
+ </el-button>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="margin-top: 20px;float: right;margin-right: 20px" class="bigbtns"
|
|
|
|
+ v-if="selectionSize != 0">
|
|
|
|
+ <el-button style="margin-left: 5px;" class="btn-check" size="small" type="primary"
|
|
|
|
+ @click="delExcel()">删除
|
|
|
|
+ </el-button>
|
|
|
|
+ <el-button style="margin-left: 5px;" class="btn-check" size="small" type="primary"
|
|
|
|
+ @click="cancelSelection()">取消
|
|
|
|
+ </el-button>
|
|
|
|
+ <el-button style="margin-left: 5px;" class="btn-check" size="small" type="primary"
|
|
|
|
+ @click="moveStatus = true">移动到
|
|
|
|
+ </el-button>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- <el-table height="calc(100% - 60px)" class="com-table" ref="multipleTable" :data="tableData"
|
|
|
|
- tooltip-effect="dark" size="small" border style="width: 100%" v-loading="loading"
|
|
|
|
- @selection-change="handleSelectionChange">
|
|
|
|
- <el-table-column type="selection" width="45"></el-table-column>
|
|
|
|
- <el-table-column prop="fileName" label="名称">
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column prop="opTime" label="创建时间">
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column prop="addUserDept" label="创建科室">
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column prop="addUserName" label="创建人">
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column prop="shareEditStatus" label="权限状态">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <span v-if="scope.row.editStatus == 0">开</span>
|
|
|
|
- <span v-if="scope.row.editStatus == 1">关</span>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column label="操作" width="180px" align="center" fixed="right">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <el-button size="mini" type="primary" @click="moveToEdit(scope.row)"
|
|
|
|
- :disabled="scope.row.shareEditStatus==1">编辑
|
|
|
|
- </el-button>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- </el-table>
|
|
|
|
- <el-pagination class="pageBox" @current-change="currchange" layout="prev, pager, next" background
|
|
|
|
- :total="total">
|
|
|
|
- </el-pagination>
|
|
|
|
- </div>
|
|
|
|
- <div class="container" id="container" v-else>
|
|
|
|
- <iframe id="excelIframe" height="100%" width="100%" src="/marketfront/static/views/onlineShareExcel.html"
|
|
|
|
- frameborder="0"></iframe>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <el-dialog :title="'新建'" :visible.sync="addNewStatus" width="300px" :destroy-on-close="true"
|
|
|
|
- :modal-append-to-body="false" :close-on-click-modal="false">
|
|
|
|
- <div>
|
|
|
|
-<!-- <el-button type="primary" @click="addExcel()" plain class="iconfont icon-wenjian">在线文档</el-button>-->
|
|
|
|
-<!-- <el-button type="primary" @click="addFolderStatus = true" plain class="iconfont icon-wenjianjia">文件夹</el-button>-->
|
|
|
|
- <div style="padding-bottom: 30px">
|
|
|
|
- <div style="width: 85px;display: inline-block;cursor: pointer" @click="addExcel()">
|
|
|
|
- <span class="iconfont icon-wenjian" style="font-size: 80px;color: dodgerblue"></span>
|
|
|
|
- <p style="margin-left: 20px;margin-top: 10px">在线文档</p>
|
|
|
|
|
|
+ <div class="tabbox" v-if="showExcel == false">
|
|
|
|
+ <div id="selectionList" style="height: 30px">
|
|
|
|
+ <span v-if="selectionSize != 0">已选{{ selectionSize }}项</span>
|
|
|
|
+ </div>
|
|
|
|
+ <el-table height="calc(100% - 60px)" class="com-table" ref="multipleTable" :data="tableData"
|
|
|
|
+ tooltip-effect="dark" size="small" border style="width: 100%" v-loading="loading"
|
|
|
|
+ @selection-change="handleSelectionChange">
|
|
|
|
+ <el-table-column type="selection" width="45"></el-table-column>
|
|
|
|
+ <el-table-column prop="fileName" label="名称">
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column prop="opTime" label="创建时间">
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column prop="addUserDept" label="创建科室">
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column prop="addUserName" label="创建人">
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column prop="shareEditStatus" label="权限状态">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <span v-if="scope.row.editStatus == 0">开</span>
|
|
|
|
+ <span v-if="scope.row.editStatus == 1">关</span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column label="操作" width="180px" align="center" fixed="right">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <el-button size="mini" type="primary" @click="moveToEdit(scope.row)"
|
|
|
|
+ :disabled="scope.row.shareEditStatus==1">编辑
|
|
|
|
+ </el-button>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ </el-table>
|
|
|
|
+ <el-pagination class="pageBox" @current-change="currchange" layout="prev, pager, next"
|
|
|
|
+ background
|
|
|
|
+ :total="total">
|
|
|
|
+ </el-pagination>
|
|
</div>
|
|
</div>
|
|
- <div style="width: 85px;display: inline-block;margin-left: 70px;cursor: pointer" @click="addFolderStatus = true">
|
|
|
|
- <span class="iconfont icon-wenjianjia" style="font-size: 80px;color: dodgerblue"></span>
|
|
|
|
- <p style="margin-left: 20px;margin-top: 10px">文件夹</p>
|
|
|
|
|
|
+
|
|
|
|
+ <div class="container" id="container" v-else>
|
|
|
|
+ <fullscreen :fullscreen.sync="excelFullScreen" class="container">
|
|
|
|
+ <iframe id="excelIframe" height="100%" width="100%"
|
|
|
|
+ src="/marketfront/static/views/onlineShareExcel.html"
|
|
|
|
+ frameborder="0"></iframe>
|
|
|
|
+ </fullscreen>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- </el-dialog>
|
|
|
|
- <el-dialog :title="'新增文件夹'" :visible.sync="addFolderStatus" width="50%" :destroy-on-close="true"
|
|
|
|
- :modal-append-to-body="false" :close-on-click-modal="false">
|
|
|
|
- <div v-loading="loading">
|
|
|
|
- <el-form :model="infolist" ref="infolist">
|
|
|
|
- <div class="online">
|
|
|
|
- <el-form-item prop="name">
|
|
|
|
- <span>文件夹名称</span>
|
|
|
|
- <el-input v-model="infolist.name" placeholder="文件夹名称" :disabled="disableStatus"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
|
|
+ <el-dialog :title="'新建'" :visible.sync="addNewStatus" width="300px" :destroy-on-close="true"
|
|
|
|
+ :modal-append-to-body="false" :close-on-click-modal="false">
|
|
|
|
+ <div>
|
|
|
|
+ <!-- <el-button type="primary" @click="addExcel()" plain class="iconfont icon-wenjian">在线文档</el-button>-->
|
|
|
|
+ <!-- <el-button type="primary" @click="addFolderStatus = true" plain class="iconfont icon-wenjianjia">文件夹</el-button>-->
|
|
|
|
+ <div style="padding-bottom: 30px">
|
|
|
|
+ <div style="width: 85px;display: inline-block;cursor: pointer" @click="addExcel()">
|
|
|
|
+ <span class="iconfont icon-wenjian" style="font-size: 80px;color: dodgerblue"></span>
|
|
|
|
+ <p style="margin-left: 20px;margin-top: 10px">在线文档</p>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="width: 85px;display: inline-block;margin-left: 70px;cursor: pointer"
|
|
|
|
+ @click="addFolderStatus = true">
|
|
|
|
+ <span class="iconfont icon-wenjianjia" style="font-size: 80px;color: dodgerblue"></span>
|
|
|
|
+ <p style="margin-left: 20px;margin-top: 10px">文件夹</p>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- </el-form>
|
|
|
|
- <div slot="footer" class="dialog-footer myfooter">
|
|
|
|
- <el-button type="primary" @click="addNewFolder()">确 定</el-button>
|
|
|
|
- <el-button @click="addFolderStatus = false">取 消</el-button>
|
|
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- </el-dialog>
|
|
|
|
- <el-dialog :title="'分享选项'" :visible.sync="shareStatus" width="550px" :destroy-on-close="true"
|
|
|
|
- :modal-append-to-body="false" :close-on-click-modal="false">
|
|
|
|
- <div style="margin-left: 30px;padding-bottom: 20px" v-loading = 'shareLoading'>
|
|
|
|
- <el-button type="primary" @click="processExcelShare(1)" plain>仅我可编辑</el-button>
|
|
|
|
- <el-button type="primary" @click="openOADialog(2)" plain>部门内所有人可编辑</el-button>
|
|
|
|
- <el-button type="primary" @click="checkexa = true" plain>指定人可编辑</el-button>
|
|
|
|
- </div>
|
|
|
|
- </el-dialog>
|
|
|
|
- <el-dialog title="选择填报人" :visible.sync="checkexa" width="50%" :destroy-on-close="true"
|
|
|
|
- :modal-append-to-body="false" :close-on-click-modal="false">
|
|
|
|
- <div>
|
|
|
|
- <el-form :model="exaList" ref="addInfoList">
|
|
|
|
- <el-form-item prop="processUserId" class="info-line online">
|
|
|
|
- <span style="width: 80px;margin-right: 20px">审批人员</span>
|
|
|
|
- <deptTreeUserNew class="tree" @treeCheck="treeCheckonly" :defaultList="defaultList"
|
|
|
|
- :type="depttype" :closeList="closeList"></deptTreeUserNew>
|
|
|
|
- <div class="tree treeUser">
|
|
|
|
- <p v-for="(item,index) in treeList" :key="index">{{ item.receiveName }}
|
|
|
|
- <i @click="deletes(item,index)" class="el-icon-error"></i>
|
|
|
|
- </p>
|
|
|
|
|
|
+ </el-dialog>
|
|
|
|
+ <el-dialog :title="'新增文件夹'" :visible.sync="addFolderStatus" width="50%" :destroy-on-close="true"
|
|
|
|
+ :modal-append-to-body="false" :close-on-click-modal="false">
|
|
|
|
+ <div v-loading="loading">
|
|
|
|
+ <el-form :model="infolist" ref="infolist">
|
|
|
|
+ <div class="online">
|
|
|
|
+ <el-form-item prop="name">
|
|
|
|
+ <span>文件夹名称</span>
|
|
|
|
+ <el-input v-model="infolist.name" placeholder="文件夹名称"
|
|
|
|
+ :disabled="disableStatus"></el-input>
|
|
|
|
+ </el-form-item>
|
|
</div>
|
|
</div>
|
|
- </el-form-item>
|
|
|
|
- </el-form>
|
|
|
|
|
|
+ </el-form>
|
|
|
|
+ <div slot="footer" class="dialog-footer myfooter">
|
|
|
|
+ <el-button type="primary" @click="addNewFolder()">确 定</el-button>
|
|
|
|
+ <el-button @click="addFolderStatus = false">取 消</el-button>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </el-dialog>
|
|
|
|
+ <el-dialog :title="'分享选项'" :visible.sync="shareStatus" width="550px" :destroy-on-close="true"
|
|
|
|
+ :modal-append-to-body="false" :close-on-click-modal="false">
|
|
|
|
+ <div style="margin-left: 30px;padding-bottom: 20px" v-loading='shareLoading'>
|
|
|
|
+ <el-button type="primary" @click="processExcelShare(1)" plain>仅我可编辑</el-button>
|
|
|
|
+ <el-button type="primary" @click="openOADialog(2)" plain>部门内所有人可编辑</el-button>
|
|
|
|
+ <el-button type="primary" @click="checkexa = true" plain>指定人可编辑</el-button>
|
|
|
|
+ </div>
|
|
|
|
+ </el-dialog>
|
|
|
|
+ <el-dialog title="选择填报人" :visible.sync="checkexa" width="50%" :destroy-on-close="true"
|
|
|
|
+ :modal-append-to-body="false" :close-on-click-modal="false">
|
|
|
|
+ <div>
|
|
|
|
+ <el-form :model="exaList" ref="addInfoList">
|
|
|
|
+ <el-form-item prop="processUserId" class="info-line online">
|
|
|
|
+ <span style="width: 80px;margin-right: 20px">审批人员</span>
|
|
|
|
+ <deptTreeUserNew class="tree" @treeCheck="treeCheckonly" :defaultList="defaultList"
|
|
|
|
+ :type="depttype" :closeList="closeList"></deptTreeUserNew>
|
|
|
|
+ <div class="tree treeUser">
|
|
|
|
+ <p v-for="(item,index) in treeList" :key="index">{{ item.receiveName }}
|
|
|
|
+ <i @click="deletes(item,index)" class="el-icon-error"></i>
|
|
|
|
+ </p>
|
|
|
|
+ </div>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-form>
|
|
|
|
|
|
- <div slot="footer" style="text-align: right;padding-bottom: 20px">
|
|
|
|
- <el-button type="primary" @click="checkProcessUser(3)">确 定</el-button>
|
|
|
|
- <el-button @click="checkexa = false">取 消</el-button>
|
|
|
|
|
|
+ <div slot="footer" style="text-align: right;padding-bottom: 20px">
|
|
|
|
+ <el-button type="primary" @click="checkProcessUser(3)">确 定</el-button>
|
|
|
|
+ <el-button @click="checkexa = false">取 消</el-button>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- </el-dialog>
|
|
|
|
- <el-dialog title="移动到" :visible.sync="moveStatus" width="500px" :destroy-on-close="true"
|
|
|
|
- :modal-append-to-body="false" :close-on-click-modal="false">
|
|
|
|
- <div>
|
|
|
|
- <el-tree ref="tree" class="tree-line" :expand-on-click-node="false" :auto-expand-parent="true"
|
|
|
|
- :default-expand-all="true" :default-checked-keys="checkedMenu" :data="moveMenuList"
|
|
|
|
- @check="checkChange"
|
|
|
|
- @node-click="folderNodeClick" node-key="functionCode" @expand-on-click-node="false">
|
|
|
|
|
|
+ </el-dialog>
|
|
|
|
+ <el-dialog title="移动到" :visible.sync="moveStatus" width="500px" :destroy-on-close="true"
|
|
|
|
+ :modal-append-to-body="false" :close-on-click-modal="false">
|
|
|
|
+ <div>
|
|
|
|
+ <el-tree ref="tree" class="tree-line" :expand-on-click-node="false" :auto-expand-parent="true"
|
|
|
|
+ :default-expand-all="true" :default-checked-keys="checkedMenu" :data="moveMenuList"
|
|
|
|
+ @check="checkChange"
|
|
|
|
+ @node-click="folderNodeClick" node-key="functionCode" @expand-on-click-node="false">
|
|
<span class="custom-tree-node" slot-scope="{ node }">
|
|
<span class="custom-tree-node" slot-scope="{ node }">
|
|
<span>
|
|
<span>
|
|
<span v-if="node.data.type == 4"
|
|
<span v-if="node.data.type == 4"
|
|
@@ -177,20 +185,20 @@
|
|
}}</span>
|
|
}}</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
- </el-tree>
|
|
|
|
- <div slot="footer" style="text-align: right;padding-bottom: 20px">
|
|
|
|
- <el-button type="primary" @click="addFolderStatus = true" style="margin-right: 150px">+新建文件夹
|
|
|
|
- </el-button>
|
|
|
|
- <el-button type="primary" @click="moveExcel()">确 定</el-button>
|
|
|
|
- <el-button @click="moveStatus = false">取 消</el-button>
|
|
|
|
|
|
+ </el-tree>
|
|
|
|
+ <div slot="footer" style="text-align: right;padding-bottom: 20px">
|
|
|
|
+ <el-button type="primary" @click="addFolderStatus = true" style="margin-right: 150px">+新建文件夹
|
|
|
|
+ </el-button>
|
|
|
|
+ <el-button type="primary" @click="moveExcel()">确 定</el-button>
|
|
|
|
+ <el-button @click="moveStatus = false">取 消</el-button>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- </el-dialog>
|
|
|
|
- <myMessage :messTit='messTit' @closeMessage="processDel" :centerDialogVisible="delVisible"
|
|
|
|
- v-if="delVisible"></myMessage>
|
|
|
|
- <myMessageRadio :messTit='oaTitle' @closeMessage="processOa" :centerDialogVisible="oaVisible"
|
|
|
|
- v-if="oaVisible" yesBtnName="是" noBtnName="否" ok-btn-name="提交"></myMessageRadio>
|
|
|
|
- </div>
|
|
|
|
|
|
+ </el-dialog>
|
|
|
|
+ <myMessage :messTit='messTit' @closeMessage="processDel" :centerDialogVisible="delVisible"
|
|
|
|
+ v-if="delVisible"></myMessage>
|
|
|
|
+ <myMessageRadio :messTit='oaTitle' @closeMessage="processOa" :centerDialogVisible="oaVisible"
|
|
|
|
+ v-if="oaVisible" yesBtnName="是" noBtnName="否" ok-btn-name="提交"></myMessageRadio>
|
|
|
|
+ </div>
|
|
</fullscreen>
|
|
</fullscreen>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -258,9 +266,11 @@ export default {
|
|
moveStatus: false,
|
|
moveStatus: false,
|
|
//移动文件夹tree相关
|
|
//移动文件夹tree相关
|
|
nowMoveFolder: {},
|
|
nowMoveFolder: {},
|
|
- shareLoading : false,
|
|
|
|
|
|
+ shareLoading: false,
|
|
woNo: '',
|
|
woNo: '',
|
|
moveMenuList: [],
|
|
moveMenuList: [],
|
|
|
|
+ addShareType: 0,
|
|
|
|
+ excelFullScreen: false,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -355,7 +365,7 @@ export default {
|
|
if (v == 1) {
|
|
if (v == 1) {
|
|
this.oaType = 1;
|
|
this.oaType = 1;
|
|
this.processExcelShare(this.shareType);
|
|
this.processExcelShare(this.shareType);
|
|
- } else if (v == 2){
|
|
|
|
|
|
+ } else if (v == 2) {
|
|
this.oaType = 0;
|
|
this.oaType = 0;
|
|
this.processExcelShare(this.shareType);
|
|
this.processExcelShare(this.shareType);
|
|
}
|
|
}
|
|
@@ -384,9 +394,9 @@ export default {
|
|
console.log('oa:' + this.oaType);
|
|
console.log('oa:' + this.oaType);
|
|
console.log('share:' + shareType);
|
|
console.log('share:' + shareType);
|
|
//提交
|
|
//提交
|
|
- var url = '/market/cOnlineExcelMarket/saveExcelShare';
|
|
|
|
|
|
+ var url = '/market/cOnlineExcel/saveExcelShare';
|
|
if (this.addShareType == '2') {
|
|
if (this.addShareType == '2') {
|
|
- url = '/market/cOnlineExcelMarket/reShare';
|
|
|
|
|
|
+ url = '/market/cOnlineExcel/reShare';
|
|
}
|
|
}
|
|
this.$http({
|
|
this.$http({
|
|
url: url,
|
|
url: url,
|
|
@@ -434,14 +444,15 @@ export default {
|
|
this.treeList = v;
|
|
this.treeList = v;
|
|
},
|
|
},
|
|
//从excel页面调用来打开分享框
|
|
//从excel页面调用来打开分享框
|
|
- shareExcel(excelJson, editFrom, editTo, editStatus, excelName, excelId) {
|
|
|
|
- console.log(excelJson, editFrom, editTo, editStatus, excelName, excelId);
|
|
|
|
|
|
+ shareExcel(excelJson, editFrom, editTo, editStatus, excelName, excelId, type) {
|
|
|
|
+ console.log(excelJson, editFrom, editTo, editStatus, excelName, excelId, type);
|
|
this.excelJson = excelJson;
|
|
this.excelJson = excelJson;
|
|
this.editFrom = editFrom;
|
|
this.editFrom = editFrom;
|
|
this.editTo = editTo;
|
|
this.editTo = editTo;
|
|
this.editStatus = editStatus;
|
|
this.editStatus = editStatus;
|
|
this.excelName = excelName;
|
|
this.excelName = excelName;
|
|
this.excelId = excelId;
|
|
this.excelId = excelId;
|
|
|
|
+ this.addShareType = type;
|
|
this.shareStatus = true;
|
|
this.shareStatus = true;
|
|
},
|
|
},
|
|
//从excel页面调用来关闭excel
|
|
//从excel页面调用来关闭excel
|
|
@@ -724,7 +735,7 @@ export default {
|
|
this.menuList = arr;
|
|
this.menuList = arr;
|
|
//复制一份给移动文件夹用
|
|
//复制一份给移动文件夹用
|
|
this.moveMenuList = [];
|
|
this.moveMenuList = [];
|
|
- arr.map((o) =>{
|
|
|
|
|
|
+ arr.map((o) => {
|
|
if (o.type == '4') {
|
|
if (o.type == '4') {
|
|
this.moveMenuList.push(o);
|
|
this.moveMenuList.push(o);
|
|
}
|
|
}
|
|
@@ -741,6 +752,9 @@ export default {
|
|
) || null
|
|
) || null
|
|
);
|
|
);
|
|
},
|
|
},
|
|
|
|
+ processFullScreen() {
|
|
|
|
+ this.excelFullScreen = !this.excelFullScreen;
|
|
|
|
+ }
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
this.woNo = this.getUrlKey("id")//获取地址栏参数
|
|
this.woNo = this.getUrlKey("id")//获取地址栏参数
|
|
@@ -758,11 +772,15 @@ export default {
|
|
this.getTreeData();
|
|
this.getTreeData();
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
|
|
+ window['fullScreen'] = (rp) => {
|
|
|
|
+ this.processFullScreen(rp);
|
|
|
|
+ }
|
|
window['backToExcelList'] = (rp) => {
|
|
window['backToExcelList'] = (rp) => {
|
|
this.closeExcel(rp);
|
|
this.closeExcel(rp);
|
|
}
|
|
}
|
|
- window['shareExcel'] = (a, b, c, d, e, f) => {
|
|
|
|
- this.shareExcel(a, b, c, d, e, f);
|
|
|
|
|
|
+ //方法里写了字母含义
|
|
|
|
+ window['shareExcel'] = (a, b, c, d, e, f, g) => {
|
|
|
|
+ this.shareExcel(a, b, c, d, e, f, g);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
name: "index"
|
|
name: "index"
|