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 8042705e
authored
Mar 27, 2024
by
史敦盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
材料解析
1 parent
9e04f4f1
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
357 additions
and
37 deletions
src/components/TableConfig.vue
src/utils/dictionary.js
src/views/conceptualReview/AnalysisContent.vue
src/views/conceptualReview/Examine.vue
src/views/conceptualReview/index.vue
src/views/reviewArchiFollowCheck/tab1.vue
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/components/TableConfig.vue
View file @
8042705
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Autor: pan
* @Autor: pan
* @Date: 2024-03-11 14:53:40
* @Date: 2024-03-11 14:53:40
* @LastEditors: pan
* @LastEditors: pan
* @LastEditTime: 2024-03-2
2 17:17:18
* @LastEditTime: 2024-03-2
7 17:22:37
-->
-->
<!-- 示例
<!-- 示例
columns: [{ label: '头像', prop: 'avatar', align: 'center', __slotName: 'avatar',callback: (row, title) => {
columns: [{ label: '头像', prop: 'avatar', align: 'center', __slotName: 'avatar',callback: (row, title) => {
...
@@ -97,7 +97,12 @@
...
@@ -97,7 +97,12 @@
</
template
>
</
template
>
<!-- 字典值匹配 如后端给state: 0 页面要渲染成已停用-->
<!-- 字典值匹配 如后端给state: 0 页面要渲染成已停用-->
<
template
v-else-if=
"item.collectionType"
#
default=
"scope"
>
<
template
v-else-if=
"item.collectionType"
#
default=
"scope"
>
<span>
{{
handleToText
(
item
,
scope
.
row
[
item
.
prop
])
}}
</span>
<span
:class=
"item.class ? item.class(scope.row) : null"
@
click=
"item?.callback(scope.row)"
>
{{
handleToText
(
item
,
scope
.
row
[
item
.
prop
])
}}
</span
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</template>
</template>
...
...
src/utils/dictionary.js
View file @
8042705
...
@@ -92,3 +92,9 @@ export const whether = [
...
@@ -92,3 +92,9 @@ export const whether = [
{
label
:
'否'
,
value
:
0
},
{
label
:
'否'
,
value
:
0
},
{
label
:
'是'
,
value
:
1
},
{
label
:
'是'
,
value
:
1
},
]
]
export
const
analysisState
=
[
{
label
:
'未解析'
,
value
:
0
},
{
label
:
'已解析'
,
value
:
1
},
{
label
:
'解析失败'
,
value
:
2
},
]
src/views/conceptualReview/AnalysisContent.vue
0 → 100644
View file @
8042705
<
template
>
<el-dialog
:title=
"title"
:visible
.
sync=
"showDialog"
:close-on-click-modal=
"false"
width=
"60%"
@
close=
"handleClose()"
@
open=
"handleOpen()"
>
<div></div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"handleClose()"
size=
"mini"
>
关 闭
</el-button>
</span></el-dialog
>
</
template
>
<
script
>
import
{
analysisQryContent
}
from
'@/api/index.js'
export
default
{
props
:
{
title
:
{
type
:
String
,
default
:
''
,
},
visible
:
{
type
:
Boolean
,
default
:
false
,
},
rowData
:
{
type
:
Object
,
default
:
()
=>
{},
},
},
data
()
{
return
{}
},
components
:
{},
computed
:
{
showDialog
:
{
get
()
{
return
this
.
visible
},
set
(
value
)
{
this
.
$emit
(
'update:visible'
,
value
)
},
},
},
mounted
()
{},
methods
:
{
handleClose
()
{
this
.
showDialog
=
false
},
handleOpen
()
{
analysisQryContent
(
this
.
rowData
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
}
})
},
},
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
'@/styles/elementui.scss'
;
</
style
>
src/views/conceptualReview/Examine.vue
View file @
8042705
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* @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-27 1
5:49:10
* @LastEditTime: 2024-03-27 1
9:49:01
-->
-->
<
template
>
<
template
>
<div
class=
"flex-column m-10 w-100 conceptualExamine"
>
<div
class=
"flex-column m-10 w-100 conceptualExamine"
>
...
@@ -204,7 +204,7 @@ export default {
...
@@ -204,7 +204,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
293
`
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
302
`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -218,13 +218,14 @@ export default {
...
@@ -218,13 +218,14 @@ export default {
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
forcesave
:
true
,
autosave
:
false
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
'管理员'
,
name
:
'管理员'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
293
`
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
302
`
,
},
},
},
},
selectData
:
[],
selectData
:
[],
...
@@ -253,7 +254,7 @@ export default {
...
@@ -253,7 +254,7 @@ export default {
this
.
leftContentType
===
'onlyoffice'
||
this
.
leftContentType
===
'onlyoffice'
||
this
.
rightContentType
===
'onlyoffice'
this
.
rightContentType
===
'onlyoffice'
)
{
)
{
this
.
fnQueryPrjNeedFile
()
//
this.fnQueryPrjNeedFile()
}
}
},
},
computed
:
{
computed
:
{
...
@@ -305,18 +306,29 @@ export default {
...
@@ -305,18 +306,29 @@ export default {
return
''
return
''
}
}
},
},
getDocName
()
{
if
(
this
.
tab
===
'1'
)
{
return
'概要设计说明书'
}
else
if
([
'3'
,
'4'
,
'5'
,
'6'
,
'7'
].
includes
(
this
.
tab
))
{
return
'技术规范书'
}
},
},
},
methods
:
{
methods
:
{
// 获取下拉文档内容
// 获取下拉文档内容
fnQueryPrjNeedFile
()
{
fnQueryPrjNeedFile
()
{
const
params
=
{
const
params
=
{
busiFileNameList
:
[
'概要设计说明书'
],
busiFileNameList
:
[
this
.
getDocName
],
busiId
:
this
.
row
.
prjId
,
busiId
:
this
.
row
.
prjId
,
busiIdType
:
1
,
busiIdType
:
1
,
}
}
queryPrjNeedFile
(
params
).
then
((
res
)
=>
{
queryPrjNeedFile
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
selectData
=
res
.
data
this
.
selectData
=
res
.
data
if
(
this
.
selectData
.
length
)
{
this
.
config
.
document
.
url
=
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
${
this
.
selectData
[
0
].
fileId
}
`
this
.
config
.
editorConfig
.
url
=
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
${
this
.
selectData
[
0
].
fileId
}
`
}
}
}
})
})
},
},
...
@@ -384,9 +396,9 @@ export default {
...
@@ -384,9 +396,9 @@ export default {
// 导出重复建设风险报告
// 导出重复建设风险报告
handlExportRiskReport
()
{
handlExportRiskReport
()
{
const
params
=
{
const
params
=
{
title
:
'功能重复风险'
,
title
:
`
${
this
.
row
.
prjName
}
重复建设风险报告`
,
type
:
1
,
type
:
1
,
//
comment: this.resultContent,
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 @
8042705
...
@@ -101,18 +101,28 @@
...
@@ -101,18 +101,28 @@
</table-config>
</table-config>
</
template
>
</
template
>
</list-page>
</list-page>
<AnalysisContent
:row-data=
"rowData"
title=
"概设材料解析内容"
:visible
.
sync=
"analysisContentVisible"
/>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
// import { getWordImg } from '@/api/index'
import
ListPage
from
'@/components/ListPage.vue'
import
ListPage
from
'@/components/ListPage.vue'
import
SearchForm
from
'@/components/SearchForm.vue'
import
SearchForm
from
'@/components/SearchForm.vue'
import
TableConfig
from
'@/components/TableConfig.vue'
import
TableConfig
from
'@/components/TableConfig.vue'
import
AnalysisContent
from
'./AnalysisContent.vue'
import
{
queryConceptualReview
}
from
'@/api/interface'
import
{
queryConceptualReview
}
from
'@/api/interface'
import
{
exportRiskReport
}
from
'@/api/index'
import
{
exportRiskReport
,
analysisConceptual
}
from
'@/api/index'
import
{
archiPrjReviewEnum
,
buildType
}
from
'@/utils/dictionary'
import
{
archiPrjReviewEnum
,
buildType
,
analysisState
,
}
from
'@/utils/dictionary'
// import { str } from './base64'
// import { str } from './base64'
export
default
{
export
default
{
name
:
'conceptualReview'
,
name
:
'conceptualReview'
,
...
@@ -184,12 +194,15 @@ export default {
...
@@ -184,12 +194,15 @@ export default {
'table'
,
'table'
,
'table'
,
'table'
,
],
],
analysisContentVisible
:
false
,
rowData
:
{},
}
}
},
},
components
:
{
components
:
{
ListPage
,
ListPage
,
SearchForm
,
SearchForm
,
TableConfig
,
TableConfig
,
AnalysisContent
,
},
},
computed
:
{
computed
:
{
formOptions
()
{
formOptions
()
{
...
@@ -262,11 +275,96 @@ export default {
...
@@ -262,11 +275,96 @@ export default {
options
:
buildType
,
options
:
buildType
,
collectionType
:
'buildType'
,
collectionType
:
'buildType'
,
},
},
{
label
:
'技术路线表'
,
width
:
'120px'
,
prop
:
'buildType1'
},
{
{
label
:
'架构遵从表'
,
width
:
'120px'
,
prop
:
'buildType2'
},
label
:
'技术路线表'
,
{
label
:
'功能清单'
,
width
:
'100px'
,
prop
:
'buildType3'
},
width
:
'120px'
,
{
label
:
'数据实体清单'
,
width
:
'120px'
,
prop
:
'buildType4'
},
prop
:
'techRouteState'
,
{
label
:
'集成系统清单'
,
width
:
'120px'
,
prop
:
'buildType5'
},
options
:
analysisState
,
collectionType
:
true
,
emptyToNum
:
0
,
class
:
(
row
)
=>
{
if
(
row
[
'techRouteState'
]
==
1
)
{
return
'success'
}
else
if
(
row
[
'techRouteState'
]
==
2
)
{
return
'error'
}
},
callback
:
(
row
)
=>
{
this
.
viewAnalysisContent
(
row
)
},
},
{
label
:
'架构遵从表'
,
width
:
'120px'
,
prop
:
'archiCompState'
,
options
:
analysisState
,
collectionType
:
true
,
emptyToNum
:
0
,
class
:
(
row
)
=>
{
if
(
row
[
'archiCompState'
]
==
1
)
{
return
'success'
}
else
if
(
row
[
'archiCompState'
]
==
2
)
{
return
'error'
}
},
callback
:
(
row
)
=>
{
this
.
viewAnalysisContent
(
row
)
},
},
{
label
:
'功能清单'
,
width
:
'100px'
,
prop
:
'functionListState'
,
options
:
analysisState
,
collectionType
:
true
,
emptyToNum
:
0
,
class
:
(
row
)
=>
{
if
(
row
[
'functionListState'
]
==
1
)
{
return
'success'
}
else
if
(
row
[
'functionListState'
]
==
2
)
{
return
'error'
}
},
callback
:
(
row
)
=>
{
this
.
viewAnalysisContent
(
row
)
},
},
{
label
:
'数据实体清单'
,
width
:
'120px'
,
prop
:
'dataEntityListState'
,
options
:
analysisState
,
collectionType
:
true
,
emptyToNum
:
0
,
class
:
(
row
)
=>
{
if
(
row
[
'dataEntityListState'
]
==
1
)
{
return
'success'
}
else
if
(
row
[
'dataEntityListState'
]
==
2
)
{
return
'error'
}
},
callback
:
(
row
)
=>
{
this
.
viewAnalysisContent
(
row
)
},
},
{
label
:
'集成系统清单'
,
width
:
'120px'
,
prop
:
'inteGrateSysListState'
,
options
:
analysisState
,
collectionType
:
true
,
emptyToNum
:
0
,
class
:
(
row
)
=>
{
if
(
row
[
'inteGrateSysListState'
]
==
1
)
{
return
'success'
}
else
if
(
row
[
'inteGrateSysListState'
]
==
2
)
{
return
'error'
}
},
callback
:
(
row
)
=>
{
this
.
viewAnalysisContent
(
row
)
},
},
]
]
}
else
{
}
else
{
arr
=
[
arr
=
[
...
@@ -353,18 +451,33 @@ export default {
...
@@ -353,18 +451,33 @@ export default {
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
viewAnalysisContent
(
row
)
{
this
.
rowData
=
row
this
.
analysisContentVisible
=
true
},
// 材料解析
// 材料解析
fnMaterialAnalysis
()
{
fnMaterialAnalysis
()
{
if
(
this
.
selectRows
.
length
==
0
)
{
if
(
this
.
selectRows
.
length
==
0
)
{
return
this
.
$message
.
warning
(
'请选择一条数据'
)
return
this
.
$message
.
warning
(
'请选择一条数据'
)
}
}
if
(
this
.
selectRows
.
length
>
1
)
{
return
this
.
$message
.
warning
(
'只能选择一条数据'
)
}
analysisConceptual
(
this
.
selectRows
[
0
]).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'项目解析完成'
)
}
else
{
this
.
$message
.
error
(
res
.
msg
)
}
})
// xxx
// xxx
},
},
// 导出重复建设风险报告
// 导出重复建设风险报告
handlExportRiskReport
(
title
,
type
)
{
handlExportRiskReport
(
title
,
type
)
{
const
params
=
{
const
params
=
{
title
,
title
:
`
${
this
.
selectRows
[
0
].
reviewSuggestion
.
prjName
}${
title
}
`
,
type
,
type
,
comment
:
this
.
selectRows
[
0
].
reviewSuggestion
,
}
}
exportRiskReport
(
params
).
then
((
res
)
=>
{
exportRiskReport
(
params
).
then
((
res
)
=>
{
const
url
=
window
.
URL
.
createObjectURL
(
const
url
=
window
.
URL
.
createObjectURL
(
...
@@ -372,7 +485,7 @@ export default {
...
@@ -372,7 +485,7 @@ export default {
)
)
const
link
=
document
.
createElement
(
'a'
)
const
link
=
document
.
createElement
(
'a'
)
link
.
href
=
url
link
.
href
=
url
link
.
setAttribute
(
'download'
,
`
重复建设风险报告
.doc`
)
link
.
setAttribute
(
'download'
,
`
${
title
}
.doc`
)
document
.
body
.
appendChild
(
link
)
document
.
body
.
appendChild
(
link
)
link
.
click
()
link
.
click
()
window
.
URL
.
revokeObjectURL
(
url
)
// 释放内存
window
.
URL
.
revokeObjectURL
(
url
)
// 释放内存
...
@@ -414,9 +527,13 @@ export default {
...
@@ -414,9 +527,13 @@ export default {
this
.
$refs
.
searchTable
.
queryData
()
this
.
$refs
.
searchTable
.
queryData
()
},
},
handleClick
(
tab
,
event
)
{
handleClick
(
tab
,
event
)
{
// console.log(tab, event)
// if (this.activeName === '1') {
// this.activeSubTabItem = tab
// // this.query.url = queryConceptualAnalysis
// this.query.queryParam.reviewEnum = undefined
// } else {
// // this.query.url = queryConceptualReview
this
.
query
.
queryParam
.
reviewEnum
=
this
.
getArchiPrjReviewEnum
()
this
.
query
.
queryParam
.
reviewEnum
=
this
.
getArchiPrjReviewEnum
()
// }
this
.
$refs
.
searchTable
.
queryData
()
this
.
$refs
.
searchTable
.
queryData
()
},
},
handleSubClick
(
tab
,
event
)
{
handleSubClick
(
tab
,
event
)
{
...
@@ -430,4 +547,10 @@ export default {
...
@@ -430,4 +547,10 @@ export default {
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
@import
'@/styles/common.scss'
;
@import
'@/styles/common.scss'
;
/
deep
/
.success
{
color
:
#13ce66
;
}
/
deep
/
.error
{
color
:
#ff4949
;
}
</
style
>
</
style
>
src/views/reviewArchiFollowCheck/tab1.vue
View file @
8042705
...
@@ -105,7 +105,7 @@ export default {
...
@@ -105,7 +105,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
'http://192.168.0.103:7005/downloadFile/
289
'
,
url
:
'http://192.168.0.103:7005/downloadFile/
302
'
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -119,13 +119,14 @@ export default {
...
@@ -119,13 +119,14 @@ export default {
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
forcesave
:
true
,
autosave
:
false
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
''
,
name
:
''
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
'http://192.168.0.103:7005/callback?fileId=
289
'
,
callbackUrl
:
'http://192.168.0.103:7005/callback?fileId=
302
'
,
},
},
},
},
}
}
...
...
src/views/reviewArchiPoliticeCheck/tab1.vue
View file @
8042705
...
@@ -109,7 +109,7 @@ export default {
...
@@ -109,7 +109,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
293
`
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
302
`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -123,13 +123,14 @@ export default {
...
@@ -123,13 +123,14 @@ export default {
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
forcesave
:
true
,
autosave
:
false
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
'管理员'
,
name
:
'管理员'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
293
`
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
302
`
,
},
},
},
},
}
}
...
@@ -138,6 +139,23 @@ export default {
...
@@ -138,6 +139,23 @@ export default {
this
.
getDetail
()
this
.
getDetail
()
},
},
methods
:
{
methods
:
{
// 获取下拉文档内容
fnQueryPrjNeedFile
()
{
const
params
=
{
busiFileNameList
:
[
'概要设计说明书'
],
busiId
:
this
.
row
.
prjId
,
busiIdType
:
1
,
}
queryPrjNeedFile
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
const
selectData
=
res
.
data
if
(
selectData
.
length
)
{
this
.
config
.
document
.
url
=
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
${
selectData
[
0
].
fileId
}
`
this
.
config
.
editorConfig
.
url
=
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
${
selectData
[
0
].
fileId
}
`
}
}
})
},
getDetail
()
{
getDetail
()
{
const
params
=
{
const
params
=
{
reviewEnum
:
'OPERATIONAL_SAFETY_COMPLIANCE_REVIEW'
,
reviewEnum
:
'OPERATIONAL_SAFETY_COMPLIANCE_REVIEW'
,
...
...
src/views/reviewArchiPoliticeCheck/tab2.vue
View file @
8042705
...
@@ -138,6 +138,23 @@ export default {
...
@@ -138,6 +138,23 @@ export default {
this
.
getDetail
()
this
.
getDetail
()
},
},
methods
:
{
methods
:
{
// 获取下拉文档内容
fnQueryPrjNeedFile
()
{
const
params
=
{
busiFileNameList
:
[
'概要设计说明书'
],
busiId
:
this
.
row
.
prjId
,
busiIdType
:
1
,
}
queryPrjNeedFile
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
const
selectData
=
res
.
data
if
(
selectData
.
length
)
{
this
.
config
.
document
.
url
=
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
${
selectData
[
0
].
fileId
}
`
this
.
config
.
editorConfig
.
url
=
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
${
selectData
[
0
].
fileId
}
`
}
}
})
},
getDetail
()
{
getDetail
()
{
const
params
=
{
const
params
=
{
reviewEnum
:
'FUNCTIONAL_SATISFACTION_REVIEW'
,
reviewEnum
:
'FUNCTIONAL_SATISFACTION_REVIEW'
,
...
...
src/views/reviewArchiPoliticeCheck/tab3.vue
View file @
8042705
...
@@ -100,7 +100,7 @@ export default {
...
@@ -100,7 +100,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
293
`
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
302
`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -114,13 +114,14 @@ export default {
...
@@ -114,13 +114,14 @@ export default {
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
forcesave
:
true
,
autosave
:
false
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
'管理员'
,
name
:
'管理员'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
293
`
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
302
`
,
},
},
},
},
}
}
...
@@ -129,6 +130,23 @@ export default {
...
@@ -129,6 +130,23 @@ export default {
this
.
getDetail
()
this
.
getDetail
()
},
},
methods
:
{
methods
:
{
// 获取下拉文档内容
fnQueryPrjNeedFile
()
{
const
params
=
{
busiFileNameList
:
[
'概要设计说明书'
],
busiId
:
this
.
row
.
prjId
,
busiIdType
:
1
,
}
queryPrjNeedFile
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
const
selectData
=
res
.
data
if
(
selectData
.
length
)
{
this
.
config
.
document
.
url
=
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
${
selectData
[
0
].
fileId
}
`
this
.
config
.
editorConfig
.
url
=
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
${
selectData
[
0
].
fileId
}
`
}
}
})
},
getDetail
()
{
getDetail
()
{
const
params
=
{
const
params
=
{
reviewEnum
:
'OPERATIONAL_RELIABILITY_REVIEW'
,
reviewEnum
:
'OPERATIONAL_RELIABILITY_REVIEW'
,
...
...
src/views/reviewArchiPoliticeCheck/tab4.vue
View file @
8042705
...
@@ -100,7 +100,7 @@ export default {
...
@@ -100,7 +100,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
293
`
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
302
`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -114,13 +114,14 @@ export default {
...
@@ -114,13 +114,14 @@ export default {
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
forcesave
:
true
,
autosave
:
false
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
'管理员'
,
name
:
'管理员'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
293
`
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
302
`
,
},
},
},
},
}
}
...
@@ -129,6 +130,23 @@ export default {
...
@@ -129,6 +130,23 @@ export default {
this
.
getDetail
()
this
.
getDetail
()
},
},
methods
:
{
methods
:
{
// 获取下拉文档内容
fnQueryPrjNeedFile
()
{
const
params
=
{
busiFileNameList
:
[
'概要设计说明书'
],
busiId
:
this
.
row
.
prjId
,
busiIdType
:
1
,
}
queryPrjNeedFile
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
const
selectData
=
res
.
data
if
(
selectData
.
length
)
{
this
.
config
.
document
.
url
=
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
${
selectData
[
0
].
fileId
}
`
this
.
config
.
editorConfig
.
url
=
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
${
selectData
[
0
].
fileId
}
`
}
}
})
},
getDetail
()
{
getDetail
()
{
const
params
=
{
const
params
=
{
reviewEnum
:
'SYSTEM_PRACTICALITY_REVIEW'
,
reviewEnum
:
'SYSTEM_PRACTICALITY_REVIEW'
,
...
...
src/views/reviewArchiPoliticeCheck/tab5.vue
View file @
8042705
...
@@ -129,6 +129,23 @@ export default {
...
@@ -129,6 +129,23 @@ export default {
this
.
getDetail
()
this
.
getDetail
()
},
},
methods
:
{
methods
:
{
// 获取下拉文档内容
fnQueryPrjNeedFile
()
{
const
params
=
{
busiFileNameList
:
[
'概要设计说明书'
],
busiId
:
this
.
row
.
prjId
,
busiIdType
:
1
,
}
queryPrjNeedFile
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
const
selectData
=
res
.
data
if
(
selectData
.
length
)
{
this
.
config
.
document
.
url
=
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
${
selectData
[
0
].
fileId
}
`
this
.
config
.
editorConfig
.
url
=
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
${
selectData
[
0
].
fileId
}
`
}
}
})
},
getDetail
()
{
getDetail
()
{
const
params
=
{
const
params
=
{
reviewEnum
:
'SYSTEM_SECURITY_REVIEW'
,
reviewEnum
:
'SYSTEM_SECURITY_REVIEW'
,
...
...
src/views/reviewArchiPoliticeCheck/tab6.vue
View file @
8042705
...
@@ -109,7 +109,7 @@ export default {
...
@@ -109,7 +109,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
293
`
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
302
`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -123,13 +123,14 @@ export default {
...
@@ -123,13 +123,14 @@ export default {
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
forcesave
:
true
,
autosave
:
false
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
'管理员'
,
name
:
'管理员'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
293
`
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
302
`
,
},
},
},
},
}
}
...
@@ -138,6 +139,23 @@ export default {
...
@@ -138,6 +139,23 @@ export default {
this
.
getDetail
()
this
.
getDetail
()
},
},
methods
:
{
methods
:
{
// 获取下拉文档内容
fnQueryPrjNeedFile
()
{
const
params
=
{
busiFileNameList
:
[
'概要设计说明书'
],
busiId
:
this
.
row
.
prjId
,
busiIdType
:
1
,
}
queryPrjNeedFile
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
const
selectData
=
res
.
data
if
(
selectData
.
length
)
{
this
.
config
.
document
.
url
=
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
${
selectData
[
0
].
fileId
}
`
this
.
config
.
editorConfig
.
url
=
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
${
selectData
[
0
].
fileId
}
`
}
}
})
},
getDetail
()
{
getDetail
()
{
const
params
=
{
const
params
=
{
reviewEnum
:
'RESOURCE_REUSABILITY_REVIEW'
,
reviewEnum
:
'RESOURCE_REUSABILITY_REVIEW'
,
...
...
src/views/reviewSituation/tab1.vue
View file @
8042705
...
@@ -106,7 +106,7 @@ export default {
...
@@ -106,7 +106,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
293
`
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
302
`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -120,13 +120,14 @@ export default {
...
@@ -120,13 +120,14 @@ export default {
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
forcesave
:
true
,
autosave
:
false
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
'管理员'
,
name
:
'管理员'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
293
`
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
302
`
,
},
},
},
},
}
}
...
...
src/views/reviewSituation/tab4.vue
View file @
8042705
...
@@ -86,7 +86,7 @@ export default {
...
@@ -86,7 +86,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
293
`
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
302
`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -100,13 +100,14 @@ export default {
...
@@ -100,13 +100,14 @@ export default {
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
forcesave
:
true
,
autosave
:
false
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
'管理员'
,
name
:
'管理员'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
293
`
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
302
`
,
},
},
},
},
}
}
...
...
src/views/reviewSituation/tab5.vue
View file @
8042705
...
@@ -86,7 +86,7 @@ export default {
...
@@ -86,7 +86,7 @@ export default {
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// print: true, //定义是否可以打印文档。如果打印权限设置为“false”的打印菜单选项将是缺席的文件菜单。默认值为true
// },
// },
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
// 所要渲染的文件的绝对路径,这个参数很重要,它传的不是文件的本地地址,而是需要把文件传到项目所依赖的服务器,然后拿到文件在服务器的url地址(这个一般情况需要后端支持)才可以用,这个参数决定了能不能实例化出来onlyoffice对象
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
293
`
,
url
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/downloadFile/
302
`
,
},
},
documentType
:
'word'
,
documentType
:
'word'
,
height
:
'100%'
,
height
:
'100%'
,
...
@@ -100,13 +100,14 @@ export default {
...
@@ -100,13 +100,14 @@ export default {
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
forcesave
:
true
,
autosave
:
false
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
name
:
'管理员'
,
name
:
'管理员'
,
},
},
// 指定文档存储服务器的绝对路径
// 指定文档存储服务器的绝对路径
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
293
`
,
callbackUrl
:
`
${
documentServerUrl
}${
EADC_SHARED_ABILITY
}
/callback?fileId=
302
`
,
},
},
},
},
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