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 6940c0c3
authored
Aug 29, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
饱和
1 parent
654021fe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
92 additions
and
37 deletions
src/views/assessChecks/checkCompliance.vue
src/views/assessZC/checkCompliance.vue
src/views/assessZC/projectView.vue
src/views/assessChecks/checkCompliance.vue
View file @
6940c0c
...
...
@@ -39,7 +39,7 @@
:key=
"iframeUrl"
:src=
"iframeUrl"
frameborder=
"0"
style=
"width: 80%; height: 60vh; margin: auto; display: block
"
:class=
"dialogFullScreen?'iframeDivBig':'iframeDiv'
"
></iframe>
<div
v-else-if=
"blobType=='png'||blobType=='jpg'"
class=
"blobImg"
>
<img
:src=
"iframeUrl"
alt=
""
>
...
...
@@ -53,7 +53,7 @@
</div>
<div
class=
"right"
>
<p
class=
"tableTitle"
>
检查项
</p>
<div
class=
"rightscoll
"
>
<div
:class=
"dialogFullScreen?'rightscollBig':'rightscoll'
"
>
<div
class=
"rightContent"
v-for=
"item in questionList"
...
...
@@ -195,11 +195,13 @@
</div>
</div>
</div>
</div>
</div>
<p
class=
"Btn"
>
<p
class=
"Btn"
>
<span
@
click=
"cancel()"
>
取消
</span><span
@
click=
"save()"
>
保存
</span>
<span
@
click=
"submitNexts()"
>
提交
</span>
</p>
</div>
</div>
<el-dialog
:visible
.
sync=
"dialogzhanshi"
title=
"匹配展示"
...
...
@@ -212,7 +214,7 @@
<div
v-html=
"wtmx"
class=
"dialogscroll"
></div>
</el-dialog>
</div>
</div>
</
template
>
<
script
>
...
...
@@ -228,7 +230,6 @@ import {
presignedUrl
,
selFileList
}
from
"@/api/index"
;
import
{
MaterialsListKY
}
from
"@/utils/cache"
;
export
default
{
data
()
{
return
{
...
...
@@ -294,9 +295,6 @@ docxOptions: {
this
.
init
(
this
.
clqparams
);
},
methods
:
{
fullScreen
(){
},
zhanshi
(){
this
.
dialogzhanshi
=
true
...
...
@@ -501,8 +499,7 @@ docxOptions: {
if
(
this
.
blobType
==
''
){
this
.
blobType
=
row
.
suffix
}
console
.
log
(
this
.
blobType
,
'文件类型'
)
const
binaryData
=
[]
const
binaryData
=
[]
binaryData
.
push
(
resUrl
)
let
URL
=
window
.
URL
.
createObjectURL
(
new
Blob
(
binaryData
,
{
type
:
"application/pdf"
}))
if
(
this
.
iframeUrl
==
''
){
...
...
@@ -537,11 +534,18 @@ docxOptions: {
},
change
(
id
)
{
console
.
log
(
JSON
.
stringify
(
this
.
questionList
)
==
JSON
.
stringify
(
this
.
oldQuestionList
),
"完全相同么"
);
if
(
JSON
.
stringify
(
this
.
questionList
)
==
JSON
.
stringify
(
this
.
oldQuestionList
)
)
{
this
.
active
=
id
*
1
;
// this.tabListKY = MaterialsListKY(id * 1 + 1);
this
.
init
(
this
.
clqparams
);
return
;
}
...
...
@@ -553,7 +557,8 @@ docxOptions: {
})
.
then
(()
=>
{
this
.
save
(
'3'
,
id
);
// this.active = id * 1;
// this.init(this.clqparams);
})
.
catch
((
action
)
=>
{
console
.
log
(
action
,
"actionaction"
);
...
...
@@ -622,7 +627,7 @@ docxOptions: {
path
:
"/mainLayout/auxiliaryInspection"
,
});
},
async
save
(
type
,
id
)
{
async
save
(
type
)
{
this
.
questionList
.
forEach
((
item
)
=>
{
let
evals
=
""
;
item
.
evalList
.
forEach
((
childItem
)
=>
{
...
...
@@ -646,7 +651,9 @@ docxOptions: {
}
});
console
.
log
(
this
.
questionList
,
"questionList"
);
let
params
=
{
list
:
this
.
questionList
,
...
this
.
clqparams
,
...
...
@@ -717,6 +724,7 @@ docxOptions: {
height
:
100%
;
width
:
100%
;
box-sizing
:
border-box
;
overflow-y
:
auto
;
}
.close
{
position
:
absolute
;
...
...
@@ -754,11 +762,13 @@ docxOptions: {
width
:
100%
;
margin-top
:
10px
;
display
:
flex
;
position
:
relative
;
}
.left
{
width
:
49%
;
min-height
:
100px
;
background
:
#fff
;
margin-bottom
:
50px
;
//
color
:
#fff
;
}
...
...
@@ -772,6 +782,11 @@ docxOptions: {
overflow-y
:
auto
;
padding
:
10px
;
}
.rightscollBig
{
height
:
680px
;
overflow-y
:
auto
;
padding
:
10px
;
}
}
/
deep
/
.el-step__icon
{
color
:
#0d867f
;
...
...
@@ -879,15 +894,17 @@ docxOptions: {
justify-content
:
space-between
;
}
.Btn
{
width
:
calc
(
100%
-
276px
)
!important
;
position
:
fixed
;
height
:
80px
;
bottom
:
-15px
;
//
width
:
calc
(
100%
-
276px
)
!important
;
width
:
100%
;
position
:
absolute
;
height
:
50px
;
bottom
:
0px
;
right
:
0
;
z-index
:
100
;
background-color
:
#f5f5f6
;
line-height
:
8
0px
;
line-height
:
7
0px
;
box-sizing
:
border-box
;
margin
:
0
;
span
{
display
:
inline-block
;
width
:
89px
;
...
...
@@ -943,6 +960,20 @@ docxOptions: {
height
:
600px
;
overflow
:
auto
;
}
.iframeDiv
{
width
:
80%
;
height
:
50vh
;
margin
:
auto
;
display
:
block
}
.iframeDivBig
{
width
:
80%
;
height
:
66vh
;
margin
:
auto
;
display
:
block
}
.opt
{
height
:
40px
;
width
:
100%
;
...
...
@@ -955,7 +986,6 @@ docxOptions: {
/
deep
/
.docx-wrapper
{
padding
:
0
!important
;
}
/
deep
/
.docx
{
//
width
:
100%
!important
;
display
:
table
!important
;
...
...
src/views/assessZC/checkCompliance.vue
View file @
6940c0c
...
...
@@ -39,7 +39,7 @@
:key=
"iframeUrl"
:src=
"iframeUrl"
frameborder=
"0"
style=
"width: 80%; height: 60vh; margin: auto; display: block
"
:class=
"dialogFullScreen?'iframeDivBig':'iframeDiv'
"
></iframe>
<div
v-else-if=
"blobType=='png'||blobType=='jpg'"
class=
"blobImg"
>
<img
:src=
"iframeUrl"
alt=
""
>
...
...
@@ -53,7 +53,7 @@
</div>
<div
class=
"right"
>
<p
class=
"tableTitle"
>
检查项
</p>
<div
class=
"rightscoll
"
>
<div
:class=
"dialogFullScreen?'rightscollBig':'rightscoll'
"
>
<div
class=
"rightContent"
v-for=
"item in questionList"
...
...
@@ -195,12 +195,13 @@
</div>
</div>
</div>
</div>
</div>
<p
class=
"Btn"
>
<p
class=
"Btn"
>
<span
@
click=
"cancel()"
>
取消
</span><span
@
click=
"save()"
>
保存
</span>
<span
@
click=
"submitNexts()"
>
提交
</span>
<!--
<span
@
click=
"zhanshi()"
>
展示
</span>
-->
</p>
</div>
</div>
<el-dialog
:visible
.
sync=
"dialogzhanshi"
title=
"匹配展示"
...
...
@@ -724,6 +725,7 @@ docxOptions: {
height
:
100%
;
width
:
100%
;
box-sizing
:
border-box
;
overflow-y
:
auto
;
}
.close
{
position
:
absolute
;
...
...
@@ -761,11 +763,13 @@ docxOptions: {
width
:
100%
;
margin-top
:
10px
;
display
:
flex
;
position
:
relative
;
}
.left
{
width
:
49%
;
min-height
:
100px
;
background
:
#fff
;
margin-bottom
:
50px
;
//
color
:
#fff
;
}
...
...
@@ -779,6 +783,11 @@ docxOptions: {
overflow-y
:
auto
;
padding
:
10px
;
}
.rightscollBig
{
height
:
680px
;
overflow-y
:
auto
;
padding
:
10px
;
}
}
/
deep
/
.el-step__icon
{
color
:
#0d867f
;
...
...
@@ -886,15 +895,17 @@ docxOptions: {
justify-content
:
space-between
;
}
.Btn
{
width
:
calc
(
100%
-
276px
)
!important
;
position
:
fixed
;
height
:
80px
;
bottom
:
-15px
;
//
width
:
calc
(
100%
-
276px
)
!important
;
width
:
100%
;
position
:
absolute
;
height
:
50px
;
bottom
:
0px
;
right
:
0
;
z-index
:
100
;
background-color
:
#f5f5f6
;
line-height
:
8
0px
;
line-height
:
7
0px
;
box-sizing
:
border-box
;
margin
:
0
;
span
{
display
:
inline-block
;
width
:
89px
;
...
...
@@ -950,6 +961,20 @@ docxOptions: {
height
:
600px
;
overflow
:
auto
;
}
.iframeDiv
{
width
:
80%
;
height
:
50vh
;
margin
:
auto
;
display
:
block
}
.iframeDivBig
{
width
:
80%
;
height
:
66vh
;
margin
:
auto
;
display
:
block
}
.opt
{
height
:
40px
;
width
:
100%
;
...
...
src/views/assessZC/projectView.vue
View file @
6940c0c
...
...
@@ -111,8 +111,8 @@
</el-table-column>
<el-table-column
prop=
"projectType"
label=
"项目类型"
width=
"120"
>
<
template
slot-scope=
"scope"
>
<span
v-show=
"scope.row.
projectT
ype"
>
{{
scope
.
row
.
projectT
ype
|
proType
}}
</span
<span
v-show=
"scope.row.
t
ype"
>
{{
scope
.
row
.
t
ype
|
proType
}}
</span
>
</
template
>
</el-table-column>
...
...
@@ -486,12 +486,12 @@ export default {
},
upload
(
row
)
{
this
.
ruleFormdialog
=
row
;
if
(
!
row
.
projectT
ype
)
{
if
(
!
row
.
t
ype
)
{
this
.
form
=
{};
this
.
showType
=
true
;
}
else
{
this
.
upprojectType
=
row
.
projectT
ype
;
this
.
MaterialWarehous
(
row
.
projectT
ype
);
this
.
upprojectType
=
row
.
t
ype
;
this
.
MaterialWarehous
(
row
.
t
ype
);
}
},
changeLX
()
{
...
...
@@ -664,7 +664,7 @@ export default {
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
1
],
true
);
}
this
.
ruleFormdialog
=
this
.
$refs
.
multipleTable
.
selection
[
0
];
if
(
!
this
.
ruleFormdialog
.
projectT
ype
)
{
if
(
!
this
.
ruleFormdialog
.
t
ype
)
{
this
.
inspectdisabled
=
true
;
}
}
else
{
...
...
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