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 2ff6d97b
authored
Aug 05, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂存一下
1 parent
3c9ba028
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
73 additions
and
41 deletions
src/views/assessZC/checkCompliance.vue
src/views/assessZC/projectView.vue
src/views/layout/index.vue
src/views/assessZC/checkCompliance.vue
View file @
2ff6d97
...
...
@@ -254,7 +254,23 @@ export default {
oldQuestionList
:
[],
//对比列表
blobType
:
'pdf'
,
//bolb类型
projectName
:
""
,
valuesel
:
""
valuesel
:
""
,
docxOptions
:
{
className
:
"kaimo-docx-666"
,
// string:默认和文档样式类的类名/前缀
inWrapper
:
true
,
// boolean:启用围绕文档内容的包装器渲染
ignoreWidth
:
true
,
// boolean:禁用页面的渲染宽度
ignoreHeight
:
false
,
// boolean:禁止渲染页面高度
ignoreFonts
:
true
,
// boolean:禁用字体渲染
breakPages
:
false
,
// boolean:在分页符上启用分页
ignoreLastRenderedPageBreak
:
true
,
// boolean:在 lastRenderedPageBreak 元素上禁用分页
experimental
:
false
,
// boolean:启用实验功能(制表符停止计算)
trimXmlDeclaration
:
true
,
// boolean:如果为true,解析前会从 xml 文档中移除 xml 声明
useBase64URL
:
false
,
// boolean:如果为true,图片、字体等会转为base 64 URL,否则使用URL.createObjectURL
useMathMLPolyfill
:
false
,
// boolean:包括用于 chrome、edge 等的 MathML polyfill。
showChanges
:
false
,
// boolean:启用文档更改的实验性渲染(插入/删除)
debug
:
false
,
// boolean:启用额外的日志记录
}
};
},
mounted
()
{
...
...
@@ -904,4 +920,16 @@ export default {
width
:
600px
;
}
}
/
deep
/
.docx-wrapper
{
padding
:
0
!important
;
}
/
deep
/
.docx
{
width
:
100%
!important
;
display
:
table
!important
;
padding
:
2em
1em
0
!important
;
}
.kaimo-docx-666
{
text-align
:
center
;
}
</
style
>
\ No newline at end of file
src/views/assessZC/projectView.vue
View file @
2ff6d97
...
...
@@ -115,7 +115,11 @@
>
</
template
>
</el-table-column>
<el-table-column
prop=
"constructionFormText"
label=
"建设形式"
width=
"90"
>
<el-table-column
prop=
"constructionFormText"
label=
"建设形式"
width=
"90"
>
</el-table-column>
<el-table-column
prop=
"startupStatus"
label=
"启动日期"
width=
"90"
>
</el-table-column>
...
...
@@ -173,18 +177,11 @@
class=
"elpagination"
>
</el-pagination>
<!-- <el-dialog
title="项目文档"
:visible.sync="dialog"
width="90%"
:modal-append-to-body="false"
:append-to-body="false"
custom-class="fullscreen-dialog"
> -->
<el-dialog
:visible
.
sync=
"dialog"
:modal-append-to-body=
"false"
:append-to-body=
"false"
:class=
"[dialogFullScreen ? 'fullscreen' : 'no_fullscreen']"
>
<
template
slot=
"title"
>
...
...
@@ -246,10 +243,13 @@
action=""
:on-success="handleSuccess"
>
</el-upload>
<el-button
size=
"small"
type=
"primary"
class=
"btn-search"
@
click=
"uploadFiles(scope.row)"
>
上传
</el-button
<el-button
size=
"small"
type=
"primary"
class=
"btn-search"
@
click=
"uploadFiles(scope.row)"
>
上传
</el-button
>
<el-button
size=
"small"
...
...
@@ -277,11 +277,7 @@
>
</
template
>
</el-table-column>
<el-table-column
prop=
"lishi"
label=
"历史版本"
width=
"100"
>
<el-table-column
prop=
"lishi"
label=
"历史版本"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"small"
...
...
@@ -300,13 +296,14 @@
</div>
<el-dialog
class=
"innerVisible"
width=
"
6
0%"
width=
"
8
0%"
title=
"历史版本"
:modal-append-to-body=
"false"
append-to-body
:visible
.
sync=
"innerVisible"
>
<el-table
class=
"histable"
:data=
"tableHistory"
tooltip-effect=
"dark myTooltips"
style=
"width: 100%"
...
...
@@ -539,7 +536,7 @@ export default {
URL
.
revokeObjectURL
(
url
);
// 释放内存
},
async
delAll
(
row
)
{
console
.
log
(
row
,
'6666666666666'
)
console
.
log
(
row
,
"6666666666666"
);
this
.
$confirm
(
"此操作将删除该文件, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
...
...
@@ -575,7 +572,7 @@ export default {
async
MaterialWarehous
(
projectType
)
{
this
.
mergingPos
=
0
;
this
.
mergingRows
=
[];
this
.
tableDataQR
=
[];
this
.
tableDataQR
=
[];
console
.
log
(
"不调接口了"
);
this
.
dialog
=
true
;
let
params
=
{
...
...
@@ -755,7 +752,7 @@ export default {
if
(
response
.
code
==
"200"
)
{
this
.
fileList
=
[];
this
.
MaterialWarehous
(
this
.
upprojectType
);
this
.
$refs
[
'upload'
+
arguments
[
2
].
mid
].
clearFiles
();
this
.
$refs
[
"upload"
+
arguments
[
2
].
mid
].
clearFiles
();
this
.
$message
(
"上传成功"
);
}
else
{
this
.
$message
(
"上传失败"
);
...
...
@@ -842,22 +839,22 @@ export default {
};
}
},
uploadFiles
(
row
){
if
(
row
.
fullId
)
{
uploadFiles
(
row
)
{
if
(
row
.
fullId
)
{
this
.
$confirm
(
"已有文件,本次上传将覆盖历史上传文件,是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
((
res
)
=>
{
this
.
$refs
[
'upload'
+
row
.
mid
].
$refs
[
'upload-inner'
].
handleClick
()
this
.
$refs
[
"upload"
+
row
.
mid
].
$refs
[
"upload-inner"
].
handleClick
();
})
.
catch
();
}
else
{
this
.
$refs
[
'upload'
+
row
.
mid
].
$refs
[
'upload-inner'
].
handleClick
()
}
}
else
{
this
.
$refs
[
"upload"
+
row
.
mid
].
$refs
[
"upload-inner"
].
handleClick
();
}
},
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
...
...
@@ -1097,12 +1094,7 @@ export default {
.bigdialog
/
deep
/
.el-dialog__body
{
min-height
:
70vh
;
}
//
.dialogFrom
{
//
.eltable
{
//
height
:
500px
;
//
overflow-y
:
auto
;
//
}
//
}
//
.setscrolldialog
{
//
width
:
100%
;
//
height
:
290px
;
...
...
@@ -1146,8 +1138,14 @@ export default {
}
}
.no_fullscreen
{
.dialogFrom
{
.eltable
{
height
:
610px
;
overflow-y
:
auto
;
}
}
/
deep
/
.el-dialog
{
width
:
7
0%
;
width
:
9
0%
;
margin-top
:
3vh
!important
;
margin-left
:
3vw
!important
;
}
...
...
@@ -1168,14 +1166,18 @@ export default {
color
:
#fff
!important
;
margin-right
:
10px
;
}
.el_dialog_title
{
.el_dialog_title
{
color
:
#f0ffff
;
font-size
:
18px
;
}
/
deep
/
.custom_dialog_menu
{
/
deep
/
.custom_dialog_menu
{
padding
:
2px
20px
0
30px
;
}
/
deep
/
.el-icon-close
:before
{
font-size
:
20px
!important
;
/
deep
/
.el-icon-close
:before
{
font-size
:
20px
!important
;
}
.histable
{
height
:
630px
;
overflow-y
:
auto
;
}
</
style
>
\ No newline at end of file
src/views/layout/index.vue
View file @
2ff6d97
<
template
>
<div
class=
"mian"
>
<
!--
<
div
class=
"head-container"
>
<div
class=
"head-container"
>
<div
class=
"logo"
style=
"z-index: 10"
>
<div
class=
"logo-inner"
>
<img
src=
"../../assets/logo.png"
alt=
""
/>
...
...
@@ -46,7 +46,7 @@
</div>
</div>
</div>
</div>
-->
</div>
<router-view></router-view>
<!--
<MainLayout
class=
"continer"
>
<router-view></router-view>
...
...
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