|
@@ -14,11 +14,11 @@
|
|
|
<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;">
|
|
|
+ <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">
|
|
|
+ @node-click="nodeClick" :filter-node-method="filterNode" node-key="functionCode" style="width: 300px">
|
|
|
<span class="custom-tree-node" slot-scope="{ node }">
|
|
|
<span>
|
|
|
<span v-if="node.data.type == 4"
|
|
@@ -73,8 +73,8 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="shareEditStatus" label="权限状态">
|
|
|
<template slot-scope="scope">
|
|
|
- <span v-if="scope.row.shareEditStatus == 0">开</span>
|
|
|
- <span v-if="scope.row.shareEditStatus == 1">关</span>
|
|
|
+ <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">
|
|
@@ -329,15 +329,18 @@ export default {
|
|
|
//提交分享
|
|
|
processExcelShare(shareType) {
|
|
|
var deptList = [];
|
|
|
+ var _this = this;
|
|
|
if (shareType == 3) {
|
|
|
this.treeList.map((o) => {
|
|
|
deptList.push(o.receiveNo);
|
|
|
});
|
|
|
}
|
|
|
+ if (shareType == 1) {
|
|
|
+ _this.shareType = 1;
|
|
|
+ }
|
|
|
console.log(deptList);
|
|
|
console.log('oa:' + this.oaType);
|
|
|
console.log('share:' + shareType);
|
|
|
- var _this = this;
|
|
|
//提交
|
|
|
this.$http({
|
|
|
url: '/market/cOnlineExcel/saveExcelShare',
|
|
@@ -397,6 +400,7 @@ export default {
|
|
|
//从excel页面调用来关闭excel
|
|
|
closeExcel() {
|
|
|
this.showExcel = false;
|
|
|
+ this.getList({}, this.pageSize);
|
|
|
},
|
|
|
//打开excel
|
|
|
moveToEdit(row) {
|
|
@@ -584,6 +588,7 @@ export default {
|
|
|
// 点击树节点事件
|
|
|
nodeClick(a, b, c, d) {
|
|
|
console.log(a);
|
|
|
+ this.showExcel = false;
|
|
|
this.nowFolder = a;
|
|
|
this.tooltit = '在线文档-' + a.functionName;
|
|
|
this.getList({}, 1);
|
|
@@ -725,7 +730,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.inner-right {
|
|
|
- width: 100%;
|
|
|
+ width: 80%;
|
|
|
margin-left: 1%;
|
|
|
}
|
|
|
}
|