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 2d3d4002
authored
Mar 29, 2024
by
史敦盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
系统信息修改字典, onlyoffice修改
1 parent
9defebef
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
178 additions
and
52 deletions
src/views/conceptualReview/Examine.vue
src/views/conceptualViewOrg/OnlineReview.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/views/systemInfoManage/index.vue
src/views/conceptualReview/Examine.vue
View file @
2d3d400
...
...
@@ -7,28 +7,28 @@
* @Autor: pan
* @Date: 2024-03-21 20:58:31
* @LastEditors: pan
* @LastEditTime: 2024-03-2
8 17:36:40
* @LastEditTime: 2024-03-2
9 09:24:54
-->
<
template
>
<div
class=
"flex-column m-10 w-100 conceptualExamine"
>
<div
class=
"content flex"
>
<div
class=
"left_container m-r-10 flex-column"
:class=
"
{ fullScreen
: leftF
ullScreen }"
:class=
"
{ fullScreen
_left: f
ullScreen }"
>
<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"
>
<
!--
<
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>
</el-tooltip>
-->
</div>
<div
class=
"left_container_content flex-1"
...
...
@@ -44,7 +44,7 @@
<vab-only-office
id=
"office-preview"
:documentServerUrl=
"documentServerUrl"
:config=
"
c
onfig"
:config=
"
readonlyC
onfig"
/>
</div>
<template
v-else
>
...
...
@@ -61,18 +61,18 @@
</div>
<div
class=
"right_container flex-column"
:class=
"{ fullScreen
: rightF
ullScreen }"
:class=
"{ fullScreen
_right: f
ullScreen }"
>
<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"
>
<el-tooltip
effect=
"dark"
:content=
"
fullScreenText
"
placement=
"top"
>
<i
@
click=
"
rightFullScreen = !rightF
ullScreen"
@
click=
"
fullScreen = !f
ullScreen"
:class=
"
rightF
ullScreen ? 'el-icon-circle-close' : 'el-icon-full-screen'
f
ullScreen ? 'el-icon-circle-close' : 'el-icon-full-screen'
"
></i>
</el-tooltip>
...
...
@@ -185,8 +185,7 @@ export default {
rightBaseOptions
:
[],
leftContentTyp
:
[],
rightContentType
:
[],
leftFullScreen
:
false
,
rightFullScreen
:
false
,
fullScreen
:
false
,
documentServerUrl
:
documentServerUrl2
,
config
:
{
...
...
@@ -258,15 +257,8 @@ export default {
}
},
computed
:
{
leftScreenTip
()
{
if
(
this
.
leftFullScreen
)
{
return
'退出全屏'
}
else
{
return
'全屏'
}
},
rightScreenTip
()
{
if
(
this
.
rightFullScreen
)
{
fullScreenText
()
{
if
(
this
.
fullScreen
)
{
return
'退出全屏'
}
else
{
return
'全屏'
...
...
@@ -313,6 +305,15 @@ export default {
return
'技术规范书'
}
},
readonlyConfig
()
{
return
{
...
this
.
config
,
editorConfig
:
{
...
this
.
config
.
editorConfig
,
mode
:
'view'
,
},
}
},
},
methods
:
{
// 获取下拉文档内容
...
...
src/views/conceptualViewOrg/OnlineReview.vue
View file @
2d3d400
...
...
@@ -66,7 +66,12 @@
<
script
>
import
OnlineReviewLeft
from
'@/views/conceptualViewOrg/OnlineReviewLeft'
import
{
getReviewNorm
,
editConceptualViewOrg
,
exportRiskReport
}
from
'@/api'
import
{
getReviewNorm
,
editConceptualViewOrg
,
exportRiskReport
,
queryPrjNeedFile
,
}
from
'@/api'
import
{
documentServerUrl
,
documentServerUrl2
}
from
'@/config'
import
{
EADC_SHARED_ABILITY
}
from
'@/config/micromodule'
export
default
{
...
...
@@ -132,8 +137,26 @@ export default {
// } else {
// this.getReviewNorm()
// }
this
.
fnQueryPrjNeedFile
()
},
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
}
`
}
}
})
},
getReviewNorm
()
{
const
{
needId
}
=
this
.
row
const
params
=
{
...
...
src/views/reviewArchiPoliticeCheck/index.scss
View file @
2d3d400
...
...
@@ -52,14 +52,22 @@
}
}
.fullScreen
{
width
:
100%
!
important
;
.fullScreen
_left
{
//
width: 100% !important;
height
:
100%
!
important
;
position
:
fixed
!
important
;
left
:
0
;
top
:
0
;
z-index
:
999
;
}
.fullScreen_right
{
height
:
100%
!
important
;
position
:
fixed
!
important
;
right
:
0
;
top
:
0
;
z-index
:
999
;
}
.left_container
,
.right_container
{
.el-icon-circle-close
,
...
...
src/views/reviewArchiPoliticeCheck/tab1.vue
View file @
2d3d400
...
...
@@ -11,7 +11,7 @@
<vab-only-office
id=
"office-preview-tab1-1"
:documentServerUrl=
"documentServerUrl"
:config=
"
c
onfig"
:config=
"
readonlyC
onfig"
/>
</div>
</div>
...
...
@@ -22,9 +22,9 @@
<i
class=
"el-icon-caret-right icon"
></i>
<span>
评审内容
</span>
</div>
<el-select
class=
"select-title"
v-model=
"select"
>
<
!--
<
el-select
class=
"select-title"
v-model=
"select"
>
<el-option
label=
"概要设计说明书.doc"
value=
"1"
></el-option>
</el-select>
</el-select>
-->
</div>
<div
class=
"right_container_content flex-1"
>
<div
class=
"office w-100 h-100"
>
...
...
@@ -72,6 +72,7 @@ import vabOnlyOffice from '@/components/onlyOffice/index.vue'
import
{
saveReviewArchiFollowCheckRightSuggestion
,
queryReviewArchiFollowCheckRightSuggestionDetails
,
queryPrjNeedFile
,
}
from
'@/api/index.js'
import
{
documentServerUrl
,
documentServerUrl2
}
from
'@/config'
import
{
EADC_SHARED_ABILITY
}
from
'@/config/micromodule'
...
...
@@ -135,6 +136,17 @@ export default {
},
}
},
computed
:
{
readonlyConfig
()
{
return
{
...
this
.
config
,
editorConfig
:
{
...
this
.
config
.
editorConfig
,
mode
:
'view'
,
},
}
},
},
created
()
{
this
.
getDetail
()
this
.
fnQueryPrjNeedFile
()
...
...
@@ -142,9 +154,10 @@ export default {
methods
:
{
// 获取下拉文档内容
fnQueryPrjNeedFile
()
{
const
{
prjId
}
=
this
.
$route
.
query
const
params
=
{
busiFileNameList
:
[
'概要设计说明书'
],
busiId
:
this
.
row
.
prjId
,
busiId
:
prjId
,
busiIdType
:
1
,
}
queryPrjNeedFile
(
params
).
then
((
res
)
=>
{
...
...
src/views/reviewArchiPoliticeCheck/tab2.vue
View file @
2d3d400
...
...
@@ -11,7 +11,7 @@
<vab-only-office
id=
"office-preview-tab2-1"
:documentServerUrl=
"documentServerUrl"
:config=
"
c
onfig"
:config=
"
readonlyC
onfig"
/>
</div>
</div>
...
...
@@ -22,9 +22,9 @@
<i
class=
"el-icon-caret-right icon"
></i>
<span>
评审内容
</span>
</div>
<el-select
class=
"select-title"
v-model=
"select"
>
<
!--
<
el-select
class=
"select-title"
v-model=
"select"
>
<el-option
label=
"概要设计说明书.doc"
value=
"1"
></el-option>
</el-select>
</el-select>
-->
</div>
<div
class=
"right_container_content flex-1"
>
<div
class=
"office w-100 h-100"
>
...
...
@@ -134,6 +134,17 @@ export default {
},
}
},
computed
:
{
readonlyConfig
()
{
return
{
...
this
.
config
,
editorConfig
:
{
...
this
.
config
.
editorConfig
,
mode
:
'view'
,
},
}
},
},
created
()
{
this
.
getDetail
()
this
.
fnQueryPrjNeedFile
()
...
...
src/views/reviewArchiPoliticeCheck/tab3.vue
View file @
2d3d400
...
...
@@ -11,7 +11,7 @@
<vab-only-office
id=
"office-preview-tab3-1"
:documentServerUrl=
"documentServerUrl"
:config=
"
c
onfig"
:config=
"
readonlyC
onfig"
/>
</div>
</div>
...
...
@@ -22,9 +22,9 @@
<i
class=
"el-icon-caret-right icon"
></i>
<span>
评审内容
</span>
</div>
<el-select
class=
"select-title"
v-model=
"select"
>
<
!--
<
el-select
class=
"select-title"
v-model=
"select"
>
<el-option
label=
"概要设计说明书.doc"
value=
"1"
></el-option>
</el-select>
</el-select>
-->
</div>
<div
class=
"right_container_content flex-1"
>
<div
class=
"office w-100 h-100"
>
...
...
@@ -126,6 +126,17 @@ export default {
},
}
},
computed
:
{
readonlyConfig
()
{
return
{
...
this
.
config
,
editorConfig
:
{
...
this
.
config
.
editorConfig
,
mode
:
'view'
,
},
}
},
},
created
()
{
this
.
getDetail
()
this
.
fnQueryPrjNeedFile
()
...
...
src/views/reviewArchiPoliticeCheck/tab4.vue
View file @
2d3d400
...
...
@@ -11,7 +11,7 @@
<vab-only-office
id=
"office-preview-tab4-1"
:documentServerUrl=
"documentServerUrl"
:config=
"
c
onfig"
:config=
"
readonlyC
onfig"
/>
</div>
</div>
...
...
@@ -22,9 +22,9 @@
<i
class=
"el-icon-caret-right icon"
></i>
<span>
评审内容
</span>
</div>
<el-select
class=
"select-title"
v-model=
"select"
>
<
!--
<
el-select
class=
"select-title"
v-model=
"select"
>
<el-option
label=
"概要设计说明书.doc"
value=
"1"
></el-option>
</el-select>
</el-select>
-->
</div>
<div
class=
"right_container_content flex-1"
>
<div
class=
"office w-100 h-100"
>
...
...
@@ -126,6 +126,17 @@ export default {
},
}
},
computed
:
{
readonlyConfig
()
{
return
{
...
this
.
config
,
editorConfig
:
{
...
this
.
config
.
editorConfig
,
mode
:
'view'
,
},
}
},
},
created
()
{
this
.
getDetail
()
this
.
fnQueryPrjNeedFile
()
...
...
src/views/reviewArchiPoliticeCheck/tab5.vue
View file @
2d3d400
...
...
@@ -11,7 +11,7 @@
<vab-only-office
id=
"office-preview-tab5-1"
:documentServerUrl=
"documentServerUrl"
:config=
"
c
onfig"
:config=
"
readonlyC
onfig"
/>
</div>
</div>
...
...
@@ -22,9 +22,9 @@
<i
class=
"el-icon-caret-right icon"
></i>
<span>
评审内容
</span>
</div>
<el-select
class=
"select-title"
v-model=
"select"
>
<
!--
<
el-select
class=
"select-title"
v-model=
"select"
>
<el-option
label=
"概要设计说明书.doc"
value=
"1"
></el-option>
</el-select>
</el-select>
-->
</div>
<div
class=
"right_container_content flex-1"
>
<div
class=
"office w-100 h-100"
>
...
...
@@ -125,6 +125,17 @@ export default {
},
}
},
computed
:
{
readonlyConfig
()
{
return
{
...
this
.
config
,
editorConfig
:
{
...
this
.
config
.
editorConfig
,
mode
:
'view'
,
},
}
},
},
created
()
{
this
.
getDetail
()
this
.
fnQueryPrjNeedFile
()
...
...
src/views/reviewArchiPoliticeCheck/tab6.vue
View file @
2d3d400
...
...
@@ -11,7 +11,7 @@
<vab-only-office
id=
"office-preview-tab6-1"
:documentServerUrl=
"documentServerUrl"
:config=
"
c
onfig"
:config=
"
readonlyC
onfig"
/>
</div>
</div>
...
...
@@ -22,9 +22,9 @@
<i
class=
"el-icon-caret-right icon"
></i>
<span>
评审内容
</span>
</div>
<el-select
class=
"select-title"
v-model=
"select"
>
<
!--
<
el-select
class=
"select-title"
v-model=
"select"
>
<el-option
label=
"概要设计说明书.doc"
value=
"1"
></el-option>
</el-select>
</el-select>
-->
</div>
<div
class=
"right_container_content flex-1"
>
<div
class=
"office w-100 h-100"
>
...
...
@@ -135,6 +135,17 @@ export default {
},
}
},
computed
:
{
readonlyConfig
()
{
return
{
...
this
.
config
,
editorConfig
:
{
...
this
.
config
.
editorConfig
,
mode
:
'view'
,
},
}
},
},
created
()
{
this
.
getDetail
()
this
.
fnQueryPrjNeedFile
()
...
...
src/views/reviewSituation/tab1.vue
View file @
2d3d400
...
...
@@ -7,20 +7,20 @@
<i
class=
"el-icon-caret-right icon"
></i>
<span>
评审标准
</span>
</div>
<el-select
class=
"select-title"
v-model=
"leftSelect"
>
<
!--
<
el-select
class=
"select-title"
v-model=
"leftSelect"
>
<el-option
v-for=
"(item, idx) in leftSelectData"
:label=
"item.fileName"
:value=
"item.fileId"
:key=
"idx"
></el-option>
</el-select>
</el-select>
-->
</div>
<div
class=
"left_container_content w-100 h-100 flex-1"
>
<vab-only-office
id=
"office-preview"
:documentServerUrl=
"documentServerUrl"
:config=
"
c
onfig"
:config=
"
readonlyC
onfig"
/>
</div>
</div>
...
...
@@ -147,6 +147,17 @@ export default {
leftSelectData
:
[],
}
},
computed
:
{
readonlyConfig
()
{
return
{
...
this
.
config
,
editorConfig
:
{
...
this
.
config
.
editorConfig
,
mode
:
'view'
,
},
}
},
},
created
()
{
this
.
row
=
JSON
.
parse
(
this
.
$route
.
query
.
row
)
this
.
getDetail
()
...
...
src/views/reviewSituation/tab4.vue
View file @
2d3d400
...
...
@@ -10,7 +10,7 @@
<vab-only-office
id=
"office-preview-tab4-1"
:documentServerUrl=
"documentServerUrl"
:config=
"
c
onfig"
:config=
"
readonlyC
onfig"
/>
</div>
</div>
...
...
@@ -117,6 +117,17 @@ export default {
leftSelectData
:
[],
}
},
computed
:
{
readonlyConfig
()
{
return
{
...
this
.
config
,
editorConfig
:
{
...
this
.
config
.
editorConfig
,
mode
:
'view'
,
},
}
},
},
created
()
{
this
.
row
=
JSON
.
parse
(
this
.
$route
.
query
.
row
)
this
.
getDetail
()
...
...
src/views/reviewSituation/tab5.vue
View file @
2d3d400
...
...
@@ -96,7 +96,7 @@ export default {
//语言:zh-CN简体中文/en英文
lang
:
'zh-CN'
,
//阅读状态 view/edit
mode
:
'
edit
'
,
mode
:
'
view
'
,
customization
:
{
//是否显示插件
plugins
:
false
,
...
...
src/views/systemInfoManage/index.vue
View file @
2d3d400
...
...
@@ -139,11 +139,11 @@
<span
v-else-if=
"scope.row.buildType == 2"
>
自建
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"buildOrg"
label=
"承建单位"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"buildOrg"
label=
"承建单位"
align=
"center"
>
<
template
slot-scope=
"{ row }"
>
<span>
{{
toBuildOrgName
(
row
.
buildOrg
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"projectManager"
label=
"项目经理"
...
...
@@ -362,6 +362,10 @@ export default {
this
.
getDicts
()
},
methods
:
{
toBuildOrgName
(
code
)
{
const
obj
=
this
.
sysBuildOrgOptions
.
find
((
v
)
=>
v
.
value
==
code
)
||
{}
return
obj
.
label
},
getDicts
()
{
this
.
getDictTypeOptions
(
'sys_org'
,
'sysOrgOptions'
)
this
.
getDictTypeOptions
(
'sys_dept'
,
'sysDeptOptions'
)
...
...
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