Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
project_progress
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 70454be9
authored
Aug 13, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
1 parent
bf380876
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
45 additions
and
26 deletions
src/views/assessChecks/auxiliaryInspection.vue
src/views/assessChecks/auxiliarySelection.vue
src/views/assessChecks/checkCompliance.vue
src/views/assessZC/auxiliaryInspection.vue
src/views/assessZC/auxiliarySelection.vue
src/views/assessZC/checkCompliance.vue
src/views/assessZC/projectView.vue
src/views/postConcentrationCheck/rectificationFeedbackQuery.vue
src/views/assessChecks/auxiliaryInspection.vue
View file @
70454be
...
...
@@ -130,9 +130,9 @@
>
<el-table-column
prop=
"batchName"
label=
"后评估批次名称"
>
</el-table-column>
<el-table-column
prop=
"expertName"
label=
"评审专家"
>
</el-table-column>
<el-table-column
prop=
"expertName"
label=
"评审专家"
width=
"90"
>
</el-table-column>
<el-table-column
prop=
"projectCode"
label=
"项目编码"
width=
"1
2
0"
>
<el-table-column
prop=
"projectCode"
label=
"项目编码"
width=
"1
3
0"
>
</el-table-column>
<el-table-column
prop=
"projectName"
...
...
src/views/assessChecks/auxiliarySelection.vue
View file @
70454be
...
...
@@ -191,7 +191,7 @@
></el-input>
</el-form-item>
</el-form>
<div
class=
"setscrolldialog"
>
<div
class=
"setscrolldialog
x
"
>
<el-table
@
selection-change=
"handleSelectionChange"
:data=
"XQtableData"
...
...
@@ -343,7 +343,7 @@
<p
class=
"zjBtn"
>
后评估专家
<span
@
click=
"xzExperts()"
>
选择专家
</span>
</p>
<div
class=
"setscrolldialog"
>
<div
class=
"setscrolldialog
x
"
>
<el-table
:data=
"
addtableData.slice(
...
...
@@ -654,7 +654,7 @@
<p
class=
"zjBtn"
>
后评估专家
<span
@
click=
"xzExperts()"
>
选择专家
</span>
</p>
<div
class=
"setscrolldialog"
>
<div
class=
"setscrolldialog
x
"
>
<el-table
@
selection-change=
"handleSelectionChange"
:data=
"addtableData"
...
...
@@ -999,9 +999,11 @@ export default {
},
handleSizeChangeZJ
(
val
)
{
this
.
pageSizeZJ
=
val
;
this
.
xzExperts
()
},
handleCurrentChangeZJ
(
val
)
{
this
.
currentZJ
=
val
;
this
.
xzExperts
()
},
handleSizeChangetjcl
(
val
)
{
this
.
pageSizetjcl
=
val
;
...
...
@@ -1529,6 +1531,17 @@ export default {
}
.setscrolldialog
{
width
:
100%
;
height
:
450px
;
overflow
:
auto
;
box-sizing
:
border-box
;
/deep/
.el-table
{
width
:
96%
!important
;
height
:
400px
;
overflow
:
auto
;
}
}
.setscrolldialogx
{
width
:
100%
;
height
:
300px
;
overflow
:
auto
;
box-sizing
:
border-box
;
...
...
src/views/assessChecks/checkCompliance.vue
View file @
70454be
<
template
>
<div
class=
"main"
>
<div
class=
"close"
><i
class=
"el-icon-circle-close"
></i></div>
<div
class=
"close"
><i
class=
"el-icon-circle-close"
@
click=
"cancel()"
></i></div>
<p
class=
"title"
>
{{
projectName
}}
</p>
<div
class=
"continer"
>
<div
class=
"top"
>
...
...
@@ -35,7 +35,7 @@
</div>
<iframe
v-if=
"blobType=='pdf'&&options.length>0"
v-if=
"blobType=='pdf'
||blobType=='doc'
&&options.length>0"
:key=
"iframeUrl"
:src=
"iframeUrl"
frameborder=
"0"
...
...
@@ -44,7 +44,7 @@
<div
v-else-if=
"blobType=='png'||blobType=='jpg'"
class=
"blobImg"
>
<img
:src=
"iframeUrl"
alt=
""
>
</div>
<div
class=
"docDiv"
v-else-if=
"blobType=='docx'
||blobType=='doc'
&&options.length>0"
>
<div
class=
"docDiv"
v-else-if=
"blobType=='docx'&&options.length>0"
>
<div
:ref=
"`word`"
:id=
"`word$
{item.typeCode}`" >
</div>
</div>
...
...
@@ -481,10 +481,10 @@ docxOptions: {
console
.
log
(
this
.
blobType
,
'文件类型'
)
const
binaryData
=
[]
binaryData
.
push
(
resUrl
)
let
URL
=
window
.
URL
.
createObjectURL
(
new
Blob
(
binaryData
,
{
type
:
row
.
contentType
}))
let
URL
=
window
.
URL
.
createObjectURL
(
new
Blob
(
binaryData
,
{
type
:
"application/pdf"
}))
if
(
this
.
iframeUrl
==
''
){
this
.
iframeUrl
=
URL
+
'#view=FitH,top'
}
if
(
this
.
blobType
==
'docx'
||
this
.
blobType
==
'doc'
){
if
(
this
.
blobType
==
'docx'
){
let
docx
=
require
(
"docx-preview"
);
this
.
$nextTick
(()
=>
{
docx
.
renderAsync
(
resUrl
,
document
.
getElementById
(
`word
${
code
}
`
)
,
null
,
this
.
docxOptions
)
// 渲染到页面预览
...
...
@@ -932,11 +932,13 @@ docxOptions: {
}
/
deep
/
.docx
{
width
:
100%
!important
;
//
width
:
100%
!important
;
display
:
table
!important
;
padding
:
2em
1em
0
!important
;
margin
:
0
auto
!important
;
}
.kaimo-docx-666
{
/
deep
/
.kaimo-docx-666
{
margin
:
0
auto
!important
;
text-align
:
center
;
}
</
style
>
\ No newline at end of file
src/views/assessZC/auxiliaryInspection.vue
View file @
70454be
...
...
@@ -130,9 +130,9 @@
>
<el-table-column
prop=
"batchName"
label=
"后评估批次名称"
>
</el-table-column>
<el-table-column
prop=
"expertName"
label=
"评审专家"
>
</el-table-column>
<el-table-column
prop=
"expertName"
label=
"评审专家"
width=
"90"
>
</el-table-column>
<el-table-column
prop=
"projectCode"
label=
"项目编码"
width=
"1
2
0"
>
<el-table-column
prop=
"projectCode"
label=
"项目编码"
width=
"1
3
0"
>
</el-table-column>
<el-table-column
prop=
"projectName"
...
...
src/views/assessZC/auxiliarySelection.vue
View file @
70454be
...
...
@@ -999,9 +999,11 @@ export default {
},
handleSizeChangeZJ
(
val
)
{
this
.
pageSizeZJ
=
val
;
this
.
xzExperts
()
},
handleCurrentChangeZJ
(
val
)
{
this
.
currentZJ
=
val
;
this
.
xzExperts
()
},
handleSizeChangetjcl
(
val
)
{
this
.
pageSizetjcl
=
val
;
...
...
src/views/assessZC/checkCompliance.vue
View file @
70454be
<
template
>
<div
class=
"main"
>
<div
class=
"close"
><i
class=
"el-icon-circle-close"
></i></div>
<div
class=
"close"
><i
class=
"el-icon-circle-close"
@
click=
"cancel()"
></i></div>
<p
class=
"title"
>
{{
projectName
}}
</p>
<div
class=
"continer"
>
<div
class=
"top"
>
...
...
@@ -35,7 +35,7 @@
</div>
<iframe
v-if=
"blobType=='pdf'&&options.length>0"
v-if=
"blobType=='pdf'
||blobType=='doc'
&&options.length>0"
:key=
"iframeUrl"
:src=
"iframeUrl"
frameborder=
"0"
...
...
@@ -44,7 +44,7 @@
<div
v-else-if=
"blobType=='png'||blobType=='jpg'"
class=
"blobImg"
>
<img
:src=
"iframeUrl"
alt=
""
>
</div>
<div
class=
"docDiv"
v-else-if=
"blobType=='docx'
||blobType=='doc'
&&options.length>0"
>
<div
class=
"docDiv"
v-else-if=
"blobType=='docx'&&options.length>0"
>
<div
:ref=
"`word`"
:id=
"`word$
{item.typeCode}`" >
</div>
</div>
...
...
@@ -478,13 +478,12 @@ docxOptions: {
if
(
this
.
blobType
==
''
){
this
.
blobType
=
row
.
suffix
}
console
.
log
(
this
.
blobType
,
'文件类型'
)
const
binaryData
=
[]
binaryData
.
push
(
resUrl
)
let
URL
=
window
.
URL
.
createObjectURL
(
new
Blob
(
binaryData
,
{
type
:
row
.
contentType
}))
let
URL
=
window
.
URL
.
createObjectURL
(
new
Blob
(
binaryData
,
{
type
:
"application/pdf"
}))
if
(
this
.
iframeUrl
==
''
){
this
.
iframeUrl
=
URL
+
'#view=FitH,top'
}
if
(
this
.
blobType
==
'docx'
||
this
.
blobType
==
'doc'
){
if
(
this
.
blobType
==
'docx'
){
let
docx
=
require
(
"docx-preview"
);
this
.
$nextTick
(()
=>
{
docx
.
renderAsync
(
resUrl
,
document
.
getElementById
(
`word
${
code
}
`
)
,
null
,
this
.
docxOptions
)
// 渲染到页面预览
...
...
@@ -940,13 +939,14 @@ docxOptions: {
/
deep
/
.docx-wrapper
{
padding
:
0
!important
;
}
/
deep
/
.docx
{
width
:
100%
!important
;
//
width
:
100%
!important
;
display
:
table
!important
;
padding
:
2em
1em
0
!important
;
margin
:
0
auto
!important
;
}
.kaimo-docx-666
{
/
deep
/
.kaimo-docx-666
{
margin
:
0
auto
!important
;
text-align
:
center
;
}
</
style
>
\ No newline at end of file
src/views/assessZC/projectView.vue
View file @
70454be
...
...
@@ -808,7 +808,7 @@ export default {
console
.
log
(
this
.
tabListYL
,
"this.tabListYL"
);
let
resUrl
=
await
downloadObject
({
fileId
:
this
.
tabListYL
[
index
].
id
});
loadingInstance
.
close
();
if
(
this
.
tabListYL
[
index
].
url
.
slice
(
-
3
)
==
"pdf"
)
{
if
(
this
.
tabListYL
[
index
].
url
.
slice
(
-
3
)
==
"pdf"
||
this
.
tabListYL
[
index
].
url
.
slice
(
-
3
)
==
"doc"
)
{
this
.
blobType
=
"pdf"
;
const
binaryData
=
[];
binaryData
.
push
(
resUrl
);
...
...
@@ -818,7 +818,7 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$set
(
this
.
tabListYL
[
index
],
"iframeUrl"
,
URL
+
"#view=FitH,top"
);
});
}
else
if
(
this
.
tabListYL
[
index
].
url
.
slice
(
-
4
)
==
"docx"
||
this
.
tabListYL
[
index
].
url
.
slice
(
-
3
)
==
"doc"
)
{
}
else
if
(
this
.
tabListYL
[
index
].
url
.
slice
(
-
4
)
==
"docx"
)
{
this
.
blobType
=
"docx"
;
let
docx
=
require
(
"docx-preview"
);
this
.
$nextTick
(()
=>
{
...
...
src/views/postConcentrationCheck/rectificationFeedbackQuery.vue
View file @
70454be
...
...
@@ -126,7 +126,7 @@
</el-table-column>
<el-table-column
prop=
"isAppealText"
label=
"申诉是否通过"
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"reviewStatus"
label=
"申诉复核情况"
width=
"
140
"
show-overflow-tooltip
>
<el-table-column
prop=
"reviewStatus"
label=
"申诉复核情况"
width=
"
auto
"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"rectificationText"
label=
"是否完成整改"
width=
"120"
>
</el-table-column>
...
...
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