Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9e04f4f1
authored
Mar 27, 2024
by
史敦盼
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sdp-v1'
2 parents
63f10ec5
9b20d0e9
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
194 additions
and
82 deletions
src/config/index.js
src/views/conceptualReview/Examine.vue
src/views/conceptualReview/index.vue
src/views/reviewArchiPoliticeCheck/index.scss
src/views/reviewArchiPoliticeCheck/tab1.vue
src/views/reviewArchiPoliticeCheck/tab2.vue
src/views/reviewArchiPoliticeCheck/tab3.vue
src/views/reviewArchiPoliticeCheck/tab4.vue
src/views/reviewArchiPoliticeCheck/tab5.vue
src/views/reviewArchiPoliticeCheck/tab6.vue
src/views/reviewSituation/tab1.vue
src/views/reviewSituation/tab4.vue
src/views/reviewSituation/tab5.vue
src/config/index.js
0 → 100644
View file @
9e04f4f
// onlyoffice 文档url
export
const
documentServerUrl
=
'http://192.168.0.120/'
export
const
documentServerUrl2
=
'http://192.168.0.120:18050/'
src/views/conceptualReview/Examine.vue
View file @
9e04f4f
...
@@ -7,15 +7,28 @@
...
@@ -7,15 +7,28 @@
* @Autor: pan
* @Autor: pan
* @Date: 2024-03-21 20:58:31
* @Date: 2024-03-21 20:58:31
* @LastEditors: pan
* @LastEditors: pan
* @LastEditTime: 2024-03-2
2 19:51:11
* @LastEditTime: 2024-03-2
7 15:49:10
-->
-->
<
template
>
<
template
>
<div
class=
"flex-column m-10 w-100 conceptualExamine"
>
<div
class=
"flex-column m-10 w-100 conceptualExamine"
>
<div
class=
"content flex"
>
<div
class=
"content flex"
>
<div
class=
"left_container m-r-10 flex-column"
>
<div
<div
class=
"left_container_title"
>
class=
"left_container m-r-10 flex-column"
<i
class=
"el-icon-caret-right icon"
></i>
:class=
"
{ fullScreen: leftFullScreen }"
<span>
评审标准
</span>
>
<div
class=
"left_container_title flex-b-c"
>
<div>
<i
class=
"el-icon-caret-right icon"
></i>
<span>
评审标准
</span>
</div>
<el-tooltip
effect=
"dark"
:content=
"leftScreenTip"
placement=
"top"
>
<i
@
click=
"leftFullScreen = !leftFullScreen"
:class=
"
leftFullScreen ? 'el-icon-circle-close' : 'el-icon-full-screen'
"
></i>
</el-tooltip>
</div>
</div>
<div
<div
class=
"left_container_content flex-1"
class=
"left_container_content flex-1"
...
@@ -46,10 +59,23 @@
...
@@ -46,10 +59,23 @@
<Tab8Left
v-else
:tab=
"tab"
@
toRemark=
"toRemark"
/>
<Tab8Left
v-else
:tab=
"tab"
@
toRemark=
"toRemark"
/>
</div>
</div>
</div>
</div>
<div
class=
"right_container flex-column"
>
<div
<div
class=
"right_container_title"
>
class=
"right_container flex-column"
<i
class=
"el-icon-caret-right icon"
></i>
:class=
"{ fullScreen: rightFullScreen }"
<span>
评审内容
</span>
>
<div
class=
"right_container_title flex-b-c"
>
<div>
<i
class=
"el-icon-caret-right icon"
></i>
<span>
评审内容
</span>
</div>
<el-tooltip
effect=
"dark"
:content=
"rightScreenTip"
placement=
"top"
>
<i
@
click=
"rightFullScreen = !rightFullScreen"
:class=
"
rightFullScreen ? 'el-icon-circle-close' : 'el-icon-full-screen'
"
></i>
</el-tooltip>
</div>
</div>
<div
<div
class=
"right_container_content flex-1"
class=
"right_container_content flex-1"
...
@@ -134,7 +160,11 @@ import {
...
@@ -134,7 +160,11 @@ import {
saveExamine
,
saveExamine
,
exportRiskReport
,
exportRiskReport
,
getQWordPic_
,
getQWordPic_
,
queryPrjNeedFile
,
getReviewArchiFollowCheckRightGraph
,
}
from
'@/api'
}
from
'@/api'
import
{
documentServerUrl
,
documentServerUrl2
}
from
'@/config'
import
{
EADC_SHARED_ABILITY
}
from
'@/config/micromodule'
export
default
{
export
default
{
name
:
'conceptualExamine'
,
name
:
'conceptualExamine'
,
components
:
{
components
:
{
...
@@ -155,15 +185,17 @@ export default {
...
@@ -155,15 +185,17 @@ export default {
rightBaseOptions
:
[],
rightBaseOptions
:
[],
leftContentTyp
:
[],
leftContentTyp
:
[],
rightContentType
:
[],
rightContentType
:
[],
leftFullScreen
:
false
,
rightFullScreen
:
false
,
documentServerUrl
:
'http://43.143.211.42:19231/'
,
documentServerUrl
:
documentServerUrl2
,
config
:
{
config
:
{
document
:
{
document
:
{
fileType
:
'docx'
,
fileType
:
'docx'
,
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
key
:
'
71df19fbd1
'
,
key
:
''
,
// 文件名
// 文件名
title
:
'
65f90a662c18a9e9f1878156
.docx'
,
title
:
'
概要设计说明书
.docx'
,
//相关权限
//相关权限
// permissions: {
// permissions: {
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
...
@@ -172,7 +204,7 @@ export default {
...
@@ -172,7 +204,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
'http://43.143.211.42:7006/downloadFile/29'
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/293`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -185,15 +217,17 @@ export default {
...
@@ -185,15 +217,17 @@ export default {
customization
:
{
customization
:
{
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
''
,
name
:
'
管理员
'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
'http://43.143.211.42:7006/callback?fileId=29'
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=293`
,
},
},
},
},
selectData
:
[],
}
}
},
},
created
()
{
created
()
{
...
@@ -214,14 +248,36 @@ export default {
...
@@ -214,14 +248,36 @@ export default {
}
}
}
}
},
},
mounted
()
{
if
(
this
.
leftContentType
===
'onlyoffice'
||
this
.
rightContentType
===
'onlyoffice'
)
{
this
.
fnQueryPrjNeedFile
()
}
},
computed
:
{
computed
:
{
leftScreenTip
()
{
if
(
this
.
leftFullScreen
)
{
return
'退出全屏'
}
else
{
return
'全屏'
}
},
rightScreenTip
()
{
if
(
this
.
rightFullScreen
)
{
return
'退出全屏'
}
else
{
return
'全屏'
}
},
getLeftApi
()
{
getLeftApi
()
{
if
(
this
.
leftContentType
===
'word'
)
{
if
(
this
.
leftContentType
===
'word'
)
{
return
getReviewNorm
return
getReviewNorm
}
else
if
(
this
.
leftContentType
===
'img'
)
{
}
else
if
(
this
.
leftContentType
===
'img'
)
{
if
(
this
.
tab
===
'2'
)
{
if
(
this
.
tab
===
'2'
)
{
//
王勇
接口
//
谢皓
接口
return
get
QWordPic_
return
get
ReviewArchiFollowCheckRightGraph
}
else
{
}
else
{
// 李振接口
// 李振接口
return
getQWordPic
return
getQWordPic
...
@@ -237,8 +293,8 @@ export default {
...
@@ -237,8 +293,8 @@ export default {
return
getReviewNorm
return
getReviewNorm
}
else
if
(
this
.
rightContentType
===
'img'
)
{
}
else
if
(
this
.
rightContentType
===
'img'
)
{
if
(
this
.
tab
===
'2'
)
{
if
(
this
.
tab
===
'2'
)
{
//
王勇
接口
//
谢皓
接口
return
get
QWordPic_
return
get
ReviewArchiFollowCheckRightGraph
}
else
{
}
else
{
// 李振接口
// 李振接口
return
getQWordPic
return
getQWordPic
...
@@ -251,6 +307,19 @@ export default {
...
@@ -251,6 +307,19 @@ export default {
},
},
},
},
methods
:
{
methods
:
{
// 获取下拉文档内容
fnQueryPrjNeedFile
()
{
const
params
=
{
busiFileNameList
:
[
'概要设计说明书'
],
busiId
:
this
.
row
.
prjId
,
busiIdType
:
1
,
}
queryPrjNeedFile
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
selectData
=
res
.
data
}
})
},
// 带入到备注
// 带入到备注
toRemark
(
str
)
{
toRemark
(
str
)
{
this
.
resultContent
=
this
.
resultContent
this
.
resultContent
=
this
.
resultContent
...
@@ -265,12 +334,13 @@ export default {
...
@@ -265,12 +334,13 @@ export default {
needId
,
needId
,
prjId
,
prjId
,
archiPrjReviewEnum
,
archiPrjReviewEnum
,
archiStage
:
1
,
}
}
this
.
getLeftApi
(
params
).
then
((
res
)
=>
{
this
.
getLeftApi
(
params
).
then
((
res
)
=>
{
this
.
leftLoading
=
false
this
.
leftLoading
=
false
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
leftBaseOptions
=
res
.
data
.
docParserList
.
map
(
this
.
leftBaseOptions
=
res
.
data
.
map
(
(
v
)
=>
`data:image/png;base64,
${
v
.
docContent
}
`
,
(
v
)
=>
`data:image/png;base64,
${
v
.
metaModelSvg
}
`
,
)
)
}
}
})
})
...
@@ -287,8 +357,8 @@ export default {
...
@@ -287,8 +357,8 @@ export default {
this
.
getRightApi
(
params
).
then
((
res
)
=>
{
this
.
getRightApi
(
params
).
then
((
res
)
=>
{
this
.
rightLoading
=
false
this
.
rightLoading
=
false
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
rightBaseOptions
=
res
.
data
.
docParserList
.
map
(
this
.
rightBaseOptions
=
res
.
data
.
map
(
(
v
)
=>
`data:image/png;base64,
${
v
.
docContent
}
`
,
(
v
)
=>
`data:image/png;base64,
${
v
.
metaModelSvg
}
`
,
)
)
}
}
})
})
...
@@ -315,7 +385,8 @@ export default {
...
@@ -315,7 +385,8 @@ export default {
handlExportRiskReport
()
{
handlExportRiskReport
()
{
const
params
=
{
const
params
=
{
title
:
'功能重复风险'
,
title
:
'功能重复风险'
,
comment
:
this
.
resultContent
,
type
:
1
,
// comment: this.resultContent,
}
}
exportRiskReport
(
params
).
then
((
res
)
=>
{
exportRiskReport
(
params
).
then
((
res
)
=>
{
const
url
=
window
.
URL
.
createObjectURL
(
const
url
=
window
.
URL
.
createObjectURL
(
...
...
src/views/conceptualReview/index.vue
View file @
9e04f4f
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
size=
"medium"
size=
"medium"
plain
plain
v-if=
"activeName2 === '8'"
v-if=
"activeName2 === '8'"
@
click=
"handlExportRiskReport()"
@
click=
"handlExportRiskReport(
'重复建设风险报告', 1
)"
>
导出重复建设风险报告
</el-button
>
导出重复建设风险报告
</el-button
>
>
<el-button
<el-button
...
@@ -84,6 +84,7 @@
...
@@ -84,6 +84,7 @@
size=
"medium"
size=
"medium"
plain
plain
v-if=
"activeName2 === '9'"
v-if=
"activeName2 === '9'"
@
click=
"handlExportRiskReport('重复录入风险报告', 2)"
>
导出重复录入风险报告
</el-button
>
导出重复录入风险报告
</el-button
>
>
</
template
>
</
template
>
...
@@ -360,10 +361,10 @@ export default {
...
@@ -360,10 +361,10 @@ export default {
// xxx
// xxx
},
},
// 导出重复建设风险报告
// 导出重复建设风险报告
handlExportRiskReport
()
{
handlExportRiskReport
(
title
,
type
)
{
const
params
=
{
const
params
=
{
title
:
'功能重复风险'
,
title
,
comment
:
''
,
type
,
}
}
exportRiskReport
(
params
).
then
((
res
)
=>
{
exportRiskReport
(
params
).
then
((
res
)
=>
{
const
url
=
window
.
URL
.
createObjectURL
(
const
url
=
window
.
URL
.
createObjectURL
(
...
...
src/views/reviewArchiPoliticeCheck/index.scss
View file @
9e04f4f
...
@@ -50,3 +50,22 @@
...
@@ -50,3 +50,22 @@
}
}
}
}
}
}
.fullScreen
{
width
:
100%
!
important
;
height
:
100%
!
important
;
position
:
fixed
!
important
;
left
:
0
;
top
:
0
;
z-index
:
999
;
}
.left_container
,
.right_container
{
.el-icon-circle-close
,
.el-icon-full-screen
{
font-size
:
18px
;
margin-right
:
16px
;
font-weight
:
bold
;
cursor
:
pointer
;
}
}
src/views/reviewArchiPoliticeCheck/tab1.vue
View file @
9e04f4f
...
@@ -73,6 +73,8 @@ import {
...
@@ -73,6 +73,8 @@ import {
saveReviewArchiFollowCheckRightSuggestion
,
saveReviewArchiFollowCheckRightSuggestion
,
queryReviewArchiFollowCheckRightSuggestionDetails
,
queryReviewArchiFollowCheckRightSuggestionDetails
,
}
from
'@/api/index.js'
}
from
'@/api/index.js'
import
{
documentServerUrl
,
documentServerUrl2
}
from
'@/config'
import
{
EADC_SHARED_ABILITY
}
from
'@/config/micromodule'
export
default
{
export
default
{
name
:
'tab1'
,
name
:
'tab1'
,
components
:
{
vabOnlyOffice
},
components
:
{
vabOnlyOffice
},
...
@@ -91,14 +93,14 @@ export default {
...
@@ -91,14 +93,14 @@ export default {
},
},
],
],
select
:
'1'
,
select
:
'1'
,
documentServerUrl
:
'http://192.168.0.120:18050/'
,
documentServerUrl
:
documentServerUrl2
,
config
:
{
config
:
{
document
:
{
document
:
{
fileType
:
'docx'
,
fileType
:
'docx'
,
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
key
:
'
71df19fbd1
'
,
key
:
''
,
// 文件名
// 文件名
title
:
'
65f90a662c18a9e9f1878156
.docx'
,
title
:
'
概要设计说明书
.docx'
,
//相关权限
//相关权限
// permissions: {
// permissions: {
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
...
@@ -107,7 +109,7 @@ export default {
...
@@ -107,7 +109,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
'http://192.168.0.120:7005/downloadFile/29'
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/293`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -124,10 +126,10 @@ export default {
...
@@ -124,10 +126,10 @@ export default {
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
''
,
name
:
'
管理员
'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
'http://192.168.0.120:7005/callback?fileId=29'
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=293`
,
},
},
},
},
}
}
...
...
src/views/reviewArchiPoliticeCheck/tab2.vue
View file @
9e04f4f
...
@@ -73,6 +73,8 @@ import {
...
@@ -73,6 +73,8 @@ import {
saveReviewArchiFollowCheckRightSuggestion
,
saveReviewArchiFollowCheckRightSuggestion
,
queryReviewArchiFollowCheckRightSuggestionDetails
,
queryReviewArchiFollowCheckRightSuggestionDetails
,
}
from
'@/api/index.js'
}
from
'@/api/index.js'
import
{
documentServerUrl
,
documentServerUrl2
}
from
'@/config'
import
{
EADC_SHARED_ABILITY
}
from
'@/config/micromodule'
export
default
{
export
default
{
name
:
'tab2'
,
name
:
'tab2'
,
components
:
{
vabOnlyOffice
},
components
:
{
vabOnlyOffice
},
...
@@ -91,14 +93,14 @@ export default {
...
@@ -91,14 +93,14 @@ export default {
},
},
],
],
select
:
'1'
,
select
:
'1'
,
documentServerUrl
:
'http://192.168.0.120:18050/'
,
documentServerUrl
:
documentServerUrl2
,
config
:
{
config
:
{
document
:
{
document
:
{
fileType
:
'docx'
,
fileType
:
'docx'
,
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
key
:
'
71df19fbd1
'
,
key
:
''
,
// 文件名
// 文件名
title
:
'
65f90a662c18a9e9f1878156
.docx'
,
title
:
'
概要设计说明书
.docx'
,
//相关权限
//相关权限
// permissions: {
// permissions: {
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
...
@@ -107,7 +109,7 @@ export default {
...
@@ -107,7 +109,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
'http://192.168.0.120:7005/downloadFile/29'
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/293`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -124,10 +126,10 @@ export default {
...
@@ -124,10 +126,10 @@ export default {
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
''
,
name
:
'
管理员
'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
'http://192.168.0.120:7005/callback?fileId=29'
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=293`
,
},
},
},
},
}
}
...
...
src/views/reviewArchiPoliticeCheck/tab3.vue
View file @
9e04f4f
...
@@ -64,6 +64,8 @@ import {
...
@@ -64,6 +64,8 @@ import {
saveReviewArchiFollowCheckRightSuggestion
,
saveReviewArchiFollowCheckRightSuggestion
,
queryReviewArchiFollowCheckRightSuggestionDetails
,
queryReviewArchiFollowCheckRightSuggestionDetails
,
}
from
'@/api/index.js'
}
from
'@/api/index.js'
import
{
documentServerUrl
,
documentServerUrl2
}
from
'@/config'
import
{
EADC_SHARED_ABILITY
}
from
'@/config/micromodule'
export
default
{
export
default
{
name
:
'tab3'
,
name
:
'tab3'
,
components
:
{
vabOnlyOffice
},
components
:
{
vabOnlyOffice
},
...
@@ -82,14 +84,14 @@ export default {
...
@@ -82,14 +84,14 @@ export default {
},
},
],
],
select
:
'1'
,
select
:
'1'
,
documentServerUrl
:
'http://192.168.0.120:18050/'
,
documentServerUrl
:
documentServerUrl2
,
config
:
{
config
:
{
document
:
{
document
:
{
fileType
:
'docx'
,
fileType
:
'docx'
,
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
key
:
'
71df19fbd1
'
,
key
:
''
,
// 文件名
// 文件名
title
:
'
65f90a662c18a9e9f1878156
.docx'
,
title
:
'
概要设计说明书
.docx'
,
//相关权限
//相关权限
// permissions: {
// permissions: {
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
...
@@ -98,7 +100,7 @@ export default {
...
@@ -98,7 +100,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
'http://192.168.0.120:7005/downloadFile/29'
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/293`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -115,10 +117,10 @@ export default {
...
@@ -115,10 +117,10 @@ export default {
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
''
,
name
:
'
管理员
'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
'http://192.168.0.120:7005/callback?fileId=29'
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=293`
,
},
},
},
},
}
}
...
...
src/views/reviewArchiPoliticeCheck/tab4.vue
View file @
9e04f4f
...
@@ -64,6 +64,8 @@ import {
...
@@ -64,6 +64,8 @@ import {
saveReviewArchiFollowCheckRightSuggestion
,
saveReviewArchiFollowCheckRightSuggestion
,
queryReviewArchiFollowCheckRightSuggestionDetails
,
queryReviewArchiFollowCheckRightSuggestionDetails
,
}
from
'@/api/index.js'
}
from
'@/api/index.js'
import
{
documentServerUrl
,
documentServerUrl2
}
from
'@/config'
import
{
EADC_SHARED_ABILITY
}
from
'@/config/micromodule'
export
default
{
export
default
{
name
:
'tab4'
,
name
:
'tab4'
,
components
:
{
vabOnlyOffice
},
components
:
{
vabOnlyOffice
},
...
@@ -82,14 +84,14 @@ export default {
...
@@ -82,14 +84,14 @@ export default {
},
},
],
],
select
:
'1'
,
select
:
'1'
,
documentServerUrl
:
'http://192.168.0.120:18050/'
,
documentServerUrl
:
documentServerUrl2
,
config
:
{
config
:
{
document
:
{
document
:
{
fileType
:
'docx'
,
fileType
:
'docx'
,
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
key
:
'
71df19fbd1
'
,
key
:
''
,
// 文件名
// 文件名
title
:
'
65f90a662c18a9e9f1878156
.docx'
,
title
:
'
概要设计说明书
.docx'
,
//相关权限
//相关权限
// permissions: {
// permissions: {
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
...
@@ -98,7 +100,7 @@ export default {
...
@@ -98,7 +100,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
'http://192.168.0.120:7005/downloadFile/29'
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/293`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -115,10 +117,10 @@ export default {
...
@@ -115,10 +117,10 @@ export default {
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
''
,
name
:
'
管理员
'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
'http://192.168.0.120:7005/callback?fileId=29'
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=293`
,
},
},
},
},
}
}
...
...
src/views/reviewArchiPoliticeCheck/tab5.vue
View file @
9e04f4f
...
@@ -64,6 +64,8 @@ import {
...
@@ -64,6 +64,8 @@ import {
saveReviewArchiFollowCheckRightSuggestion
,
saveReviewArchiFollowCheckRightSuggestion
,
queryReviewArchiFollowCheckRightSuggestionDetails
,
queryReviewArchiFollowCheckRightSuggestionDetails
,
}
from
'@/api/index.js'
}
from
'@/api/index.js'
import
{
documentServerUrl
,
documentServerUrl2
}
from
'@/config'
import
{
EADC_SHARED_ABILITY
}
from
'@/config/micromodule'
export
default
{
export
default
{
name
:
'tab5'
,
name
:
'tab5'
,
components
:
{
vabOnlyOffice
},
components
:
{
vabOnlyOffice
},
...
@@ -82,14 +84,14 @@ export default {
...
@@ -82,14 +84,14 @@ export default {
},
},
],
],
select
:
'1'
,
select
:
'1'
,
documentServerUrl
:
'http://192.168.0.120:18050/'
,
documentServerUrl
:
documentServerUrl2
,
config
:
{
config
:
{
document
:
{
document
:
{
fileType
:
'docx'
,
fileType
:
'docx'
,
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
key
:
'
71df19fbd1
'
,
key
:
''
,
// 文件名
// 文件名
title
:
'
65f90a662c18a9e9f1878156
.docx'
,
title
:
'
概要设计说明书
.docx'
,
//相关权限
//相关权限
// permissions: {
// permissions: {
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
...
@@ -98,7 +100,7 @@ export default {
...
@@ -98,7 +100,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
'http://192.168.0.120:7005/downloadFile/29'
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/293`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -115,10 +117,10 @@ export default {
...
@@ -115,10 +117,10 @@ export default {
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
''
,
name
:
'
管理员
'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
'http://192.168.0.120:7005/callback?fileId=29'
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=293`
,
},
},
},
},
}
}
...
...
src/views/reviewArchiPoliticeCheck/tab6.vue
View file @
9e04f4f
...
@@ -73,6 +73,8 @@ import {
...
@@ -73,6 +73,8 @@ import {
saveReviewArchiFollowCheckRightSuggestion
,
saveReviewArchiFollowCheckRightSuggestion
,
queryReviewArchiFollowCheckRightSuggestionDetails
,
queryReviewArchiFollowCheckRightSuggestionDetails
,
}
from
'@/api/index.js'
}
from
'@/api/index.js'
import
{
documentServerUrl
,
documentServerUrl2
}
from
'@/config'
import
{
EADC_SHARED_ABILITY
}
from
'@/config/micromodule'
export
default
{
export
default
{
name
:
'tab6'
,
name
:
'tab6'
,
components
:
{
vabOnlyOffice
},
components
:
{
vabOnlyOffice
},
...
@@ -91,14 +93,14 @@ export default {
...
@@ -91,14 +93,14 @@ export default {
},
},
],
],
select
:
'1'
,
select
:
'1'
,
documentServerUrl
:
'http://192.168.0.120:18050/'
,
documentServerUrl
:
documentServerUrl2
,
config
:
{
config
:
{
document
:
{
document
:
{
fileType
:
'docx'
,
fileType
:
'docx'
,
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
key
:
'
71df19fbd1
'
,
key
:
''
,
// 文件名
// 文件名
title
:
'
65f90a662c18a9e9f1878156
.docx'
,
title
:
'
概要设计说明书
.docx'
,
//相关权限
//相关权限
// permissions: {
// permissions: {
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
...
@@ -107,7 +109,7 @@ export default {
...
@@ -107,7 +109,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
'http://192.168.0.120:7005/downloadFile/29'
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/293`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -124,10 +126,10 @@ export default {
...
@@ -124,10 +126,10 @@ export default {
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
''
,
name
:
'
管理员
'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
'http://192.168.0.120:7005/callback?fileId=29'
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=293`
,
},
},
},
},
}
}
...
...
src/views/reviewSituation/tab1.vue
View file @
9e04f4f
...
@@ -69,6 +69,8 @@
...
@@ -69,6 +69,8 @@
<
script
>
<
script
>
import
vabOnlyOffice
from
'@/components/onlyOffice/index.vue'
import
vabOnlyOffice
from
'@/components/onlyOffice/index.vue'
import
{
savePrelDesInspecte
,
detailPrelDesInspecte
}
from
'@/api/index.js'
import
{
savePrelDesInspecte
,
detailPrelDesInspecte
}
from
'@/api/index.js'
import
{
documentServerUrl
,
documentServerUrl2
}
from
'@/config'
import
{
EADC_SHARED_ABILITY
}
from
'@/config/micromodule'
export
default
{
export
default
{
name
:
'tab1'
,
name
:
'tab1'
,
components
:
{
vabOnlyOffice
},
components
:
{
vabOnlyOffice
},
...
@@ -88,14 +90,14 @@ export default {
...
@@ -88,14 +90,14 @@ export default {
],
],
select
:
'1'
,
select
:
'1'
,
row
:
{},
row
:
{},
documentServerUrl
:
'http://43.143.211.42:19231/'
,
documentServerUrl
:
documentServerUrl2
,
config
:
{
config
:
{
document
:
{
document
:
{
fileType
:
'docx'
,
fileType
:
'docx'
,
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
key
:
'
71df19fbd1
'
,
key
:
''
,
// 文件名
// 文件名
title
:
'
65f90a662c18a9e9f1878156
.docx'
,
title
:
'
概要设计说明书
.docx'
,
//相关权限
//相关权限
// permissions: {
// permissions: {
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
...
@@ -104,7 +106,7 @@ export default {
...
@@ -104,7 +106,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
'http://43.143.211.42:7006/downloadFile/29'
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/293`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -121,10 +123,10 @@ export default {
...
@@ -121,10 +123,10 @@ export default {
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
''
,
name
:
'
管理员
'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
'http://43.143.211.42:7006/callback?fileId=29'
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=293`
,
},
},
},
},
}
}
...
...
src/views/reviewSituation/tab4.vue
View file @
9e04f4f
...
@@ -59,6 +59,8 @@
...
@@ -59,6 +59,8 @@
<
script
>
<
script
>
import
vabOnlyOffice
from
'@/components/onlyOffice/index.vue'
import
vabOnlyOffice
from
'@/components/onlyOffice/index.vue'
import
{
savePrelDesInspecte
,
detailPrelDesInspecte
}
from
'@/api/index.js'
import
{
savePrelDesInspecte
,
detailPrelDesInspecte
}
from
'@/api/index.js'
import
{
documentServerUrl
,
documentServerUrl2
}
from
'@/config'
import
{
EADC_SHARED_ABILITY
}
from
'@/config/micromodule'
export
default
{
export
default
{
name
:
'tab4'
,
name
:
'tab4'
,
components
:
{
vabOnlyOffice
},
components
:
{
vabOnlyOffice
},
...
@@ -68,14 +70,14 @@ export default {
...
@@ -68,14 +70,14 @@ export default {
isMeet
:
null
,
isMeet
:
null
,
select
:
'1'
,
select
:
'1'
,
row
:
{},
row
:
{},
documentServerUrl
:
'http://43.143.211.42:19231/'
,
documentServerUrl
:
documentServerUrl2
,
config
:
{
config
:
{
document
:
{
document
:
{
fileType
:
'docx'
,
fileType
:
'docx'
,
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
key
:
'
71df19fbd1
'
,
key
:
''
,
// 文件名
// 文件名
title
:
'
65f90a662c18a9e9f1878156
.docx'
,
title
:
'
概要设计说明书
.docx'
,
//相关权限
//相关权限
// permissions: {
// permissions: {
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
...
@@ -84,7 +86,7 @@ export default {
...
@@ -84,7 +86,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
'http://43.143.211.42:7006/downloadFile/29'
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/293`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -101,10 +103,10 @@ export default {
...
@@ -101,10 +103,10 @@ export default {
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
''
,
name
:
'
管理员
'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
'http://43.143.211.42:7006/callback?fileId=29'
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=293`
,
},
},
},
},
}
}
...
...
src/views/reviewSituation/tab5.vue
View file @
9e04f4f
...
@@ -59,6 +59,8 @@ import {
...
@@ -59,6 +59,8 @@ import {
detailPrelDesInspecte
,
detailPrelDesInspecte
,
qViewPrelDesInspecte
,
qViewPrelDesInspecte
,
}
from
'@/api/index.js'
}
from
'@/api/index.js'
import
{
documentServerUrl
,
documentServerUrl2
}
from
'@/config'
import
{
EADC_SHARED_ABILITY
}
from
'@/config/micromodule'
export
default
{
export
default
{
name
:
'tab5'
,
name
:
'tab5'
,
components
:
{
vabOnlyOffice
},
components
:
{
vabOnlyOffice
},
...
@@ -68,14 +70,14 @@ export default {
...
@@ -68,14 +70,14 @@ export default {
isMeet
:
null
,
isMeet
:
null
,
select
:
'1'
,
select
:
'1'
,
row
:
{},
row
:
{},
documentServerUrl
:
'http://43.143.211.42:19231/'
,
documentServerUrl
:
documentServerUrl2
,
config
:
{
config
:
{
document
:
{
document
:
{
fileType
:
'docx'
,
fileType
:
'docx'
,
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
// 给服务端用的唯一id,同一个id就会获取服务器缓存里的文件(有这个key,就会先根据它去缓存里找),这项如果最开始只是先试用,可以先给个空字符串
key
:
'
71df19fbd1
'
,
key
:
''
,
// 文件名
// 文件名
title
:
'
65f90a662c18a9e9f1878156
.docx'
,
title
:
'
概要设计说明书
.docx'
,
//相关权限
//相关权限
// permissions: {
// permissions: {
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
// copy: true, //定义内容是否可以复制到剪贴板。如果该参数设置为false,则只能在当前文档编辑器中粘贴内容。默认值为true。
...
@@ -84,7 +86,7 @@ export default {
...
@@ -84,7 +86,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
'http://43.143.211.42:7006/downloadFile/29'
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/293`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -101,10 +103,10 @@ export default {
...
@@ -101,10 +103,10 @@ export default {
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
''
,
name
:
'
管理员
'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
'http://43.143.211.42:7006/callback?fileId=29'
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=293`
,
},
},
},
},
rightImgs
:
[],
rightImgs
:
[],
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment