|
@@ -1,7 +1,9 @@
|
|
|
<template>
|
|
|
<div class="container" id="container" v-loading="loading">
|
|
|
- <iframe height="100%" width="100%" src="/marketfront/static/views/incomeViewExcel.html" frameborder="0"
|
|
|
- ref="iframe" name="excelIframe" id="excelIframe"></iframe>
|
|
|
+ <fullscreen :fullscreen.sync="fullscreen" class="container" style="margin: 0;width: 100%;">
|
|
|
+ <iframe height="100%" width="100%" src="/marketfront/static/views/incomeViewExcel.html" frameborder="0"
|
|
|
+ ref="iframe" name="excelIframe" id="excelIframe"></iframe>
|
|
|
+ </fullscreen>
|
|
|
<el-dialog :title="'权限设置'" :visible.sync="authSettingStatus" width="70%" :destroy-on-close="true"
|
|
|
:modal-append-to-body="false" :close-on-click-modal="false">
|
|
|
<el-form :model="testModel" ref="addInfoList">
|
|
@@ -9,9 +11,12 @@
|
|
|
<div class="info-line">
|
|
|
<div id="noLimit" class="info-line">
|
|
|
<span style="margin-right: 10px;margin-left: 40px">请设置表头范围:从</span>
|
|
|
- <el-input v-model="topStart" style="width: 80px;" type="number" min="1" oninput="value=value.replace('-','')"></el-input>
|
|
|
+ <el-input v-model="topStart" style="width: 80px;" type="number" min="1"
|
|
|
+ oninput="value=value.replace('-','')"></el-input>
|
|
|
<span style="margin-right: 10px;margin-left: 10px">到</span>
|
|
|
- <el-input v-model="topEnd" style="width: 80px;" type="number" min="1" oninput="value=value.replace('-','')"></el-input>行
|
|
|
+ <el-input v-model="topEnd" style="width: 80px;" type="number" min="1"
|
|
|
+ oninput="value=value.replace('-','')"></el-input>
|
|
|
+ 行
|
|
|
<br/><br/>
|
|
|
<span style="margin-right: 10px;margin-left: 40px;font-size: 12px;color: red">注意:表头跟随可查看行进行组合下发,可查看行不填写,默认可查看整个表</span>
|
|
|
<br/><br/>
|
|
@@ -24,9 +29,11 @@
|
|
|
<el-button type="primary" @click="limitUserAdd(index)">组织机构</el-button>
|
|
|
<span style="margin-right: 20px;margin-left: 20px">{{ item.userName }}</span>
|
|
|
<span style="margin-right: 10px;margin-left: 10px">可查看行:从</span>
|
|
|
- <el-input v-model="item.editStart" style="width: 80px;" type="number" min="1" oninput="value=value.replace('-','')"></el-input>
|
|
|
+ <el-input v-model="item.editStart" style="width: 80px;" type="number" min="1"
|
|
|
+ oninput="value=value.replace('-','')"></el-input>
|
|
|
<span style="margin-right: 10px;margin-left: 10px">到</span>
|
|
|
- <el-input v-model="item.editEnd" style="width: 80px;" type="number" min="1" oninput="value=value.replace('-','')"></el-input>
|
|
|
+ <el-input v-model="item.editEnd" style="width: 80px;" type="number" min="1"
|
|
|
+ oninput="value=value.replace('-','')"></el-input>
|
|
|
<br/><br/>
|
|
|
</div>
|
|
|
<el-button style="width: 80px;margin-right: 20px;margin-left: 40px"
|
|
@@ -76,6 +83,8 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ deleteTag: '',
|
|
|
+ centerDialogVisible: false,
|
|
|
testModel: {},
|
|
|
authSettingStatus: false,
|
|
|
authType: '1',
|
|
@@ -101,8 +110,9 @@ export default {
|
|
|
//审批人用到的
|
|
|
treeListonly: {},
|
|
|
excelData: {},
|
|
|
- topStart:'',
|
|
|
- topEnd:'',
|
|
|
+ topStart: '',
|
|
|
+ topEnd: '',
|
|
|
+ fullscreen: false,
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -169,8 +179,8 @@ export default {
|
|
|
userList: authUser,
|
|
|
templateType: templateType,
|
|
|
excelId: this.getUrlKey('id'),
|
|
|
- topStart:this.topStart,
|
|
|
- topEnd:this.topEnd
|
|
|
+ topStart: this.topStart,
|
|
|
+ topEnd: this.topEnd
|
|
|
},
|
|
|
}).then((res) => {
|
|
|
this.loading = false;
|
|
@@ -392,11 +402,17 @@ export default {
|
|
|
) || null
|
|
|
);
|
|
|
},
|
|
|
+ processFullScreen() {
|
|
|
+ this.fullscreen = !this.fullscreen;
|
|
|
+ },
|
|
|
},
|
|
|
mounted() {
|
|
|
this.type = this.getUrlKey("type")
|
|
|
},
|
|
|
created() {
|
|
|
+ window['fullScreen'] = (rp) => {
|
|
|
+ this.processFullScreen(rp);
|
|
|
+ }
|
|
|
window['showAuthDialog'] = (rp) => {
|
|
|
this.showAuthDialog(rp);
|
|
|
}
|