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 ac8f5cfe
authored
Aug 21, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
匹配分析
1 parent
b198fa97
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
113 additions
and
26 deletions
src/views/assessChecks/checkCompliance.vue
src/views/assessZC/checkCompliance.vue
vue.config.js
src/views/assessChecks/checkCompliance.vue
View file @
ac8f5cf
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
:key=
"item.questionId"
:key=
"item.questionId"
>
>
<h3>
{{
item
.
questionId
}}
.
{{
item
.
quesCheckItem
}}
</h3>
<h3>
{{
item
.
questionId
}}
.
{{
item
.
quesCheckItem
}}
</h3>
<p
class=
"msg"
>
{{
item
.
checkDesc
}}
</p>
<p
class=
"msg"
>
{{
item
.
checkDesc
}}
<el-button
type=
"primary"
v-if=
"item.checkDesc=='可研中的需求内容应与业务需求报告中的需求匹配'&&wtmx"
@
click=
"zhanshi()"
>
匹配展示
</el-button>
</p>
<div
<div
class=
"quesznfx"
class=
"quesznfx"
v-if=
"item.znfxList && item.znfxList.length > 0"
v-if=
"item.znfxList && item.znfxList.length > 0"
...
@@ -200,6 +200,18 @@
...
@@ -200,6 +200,18 @@
<p
class=
"Btn"
>
<p
class=
"Btn"
>
<span
@
click=
"cancel()"
>
取消
</span><span
@
click=
"save()"
>
保存
</span>
<span
@
click=
"submitNexts()"
>
提交
</span>
<span
@
click=
"cancel()"
>
取消
</span><span
@
click=
"save()"
>
保存
</span>
<span
@
click=
"submitNexts()"
>
提交
</span>
</p>
</p>
<el-dialog
:visible
.
sync=
"dialogzhanshi"
title=
"匹配展示"
width=
"90%"
:modal-append-to-body=
"false"
:append-to-body=
"false"
>
<div
v-html=
"wtmx"
class=
"dialogscroll"
></div>
</el-dialog>
</div>
</div>
</
template
>
</
template
>
...
@@ -255,6 +267,8 @@ export default {
...
@@ -255,6 +267,8 @@ export default {
blobType
:
'pdf'
,
//bolb类型
blobType
:
'pdf'
,
//bolb类型
projectName
:
""
,
projectName
:
""
,
valuesel
:
""
,
valuesel
:
""
,
dialogzhanshi
:
false
,
wtmx
:
''
,
docxOptions
:
{
docxOptions
:
{
className
:
"kaimo-docx-666"
,
// string:默认和文档样式类的类名/前缀
className
:
"kaimo-docx-666"
,
// string:默认和文档样式类的类名/前缀
...
@@ -279,6 +293,10 @@ docxOptions: {
...
@@ -279,6 +293,10 @@ docxOptions: {
this
.
init
(
this
.
clqparams
);
this
.
init
(
this
.
clqparams
);
},
},
methods
:
{
methods
:
{
zhanshi
(){
this
.
dialogzhanshi
=
true
},
//提交问题清单
//提交问题清单
async
submitNexts
()
{
async
submitNexts
()
{
this
.
$confirm
(
"您确定检查完所有流程并去提交?"
,
"提示"
,
{
this
.
$confirm
(
"您确定检查完所有流程并去提交?"
,
"提示"
,
{
...
@@ -396,6 +414,7 @@ docxOptions: {
...
@@ -396,6 +414,7 @@ docxOptions: {
}
}
if
(
res
[
1
].
data
)
{
if
(
res
[
1
].
data
)
{
this
.
questionList
=
res
[
1
].
data
.
records
;
this
.
questionList
=
res
[
1
].
data
.
records
;
this
.
wtmx
=
res
[
1
].
data
.
MapkyXqfx
let
counterNum
=
0
;
let
counterNum
=
0
;
this
.
questionList
.
forEach
(
async
(
item
)
=>
{
this
.
questionList
.
forEach
(
async
(
item
)
=>
{
if
(
item
.
isProblem
==
0
)
{
if
(
item
.
isProblem
==
0
)
{
...
@@ -941,4 +960,26 @@ docxOptions: {
...
@@ -941,4 +960,26 @@ docxOptions: {
margin
:
0
auto
!important
;
margin
:
0
auto
!important
;
text-align
:
center
;
text-align
:
center
;
}
}
.dialogscroll
{
height
:
65vh
;
overflow-y
:
auto
;
}
.msg
{
vertical-align
:
middle
;
line-height
:
33px
;
}
/
deep
/
.el-dialog__header
{
background-color
:
#0d867f
;
padding-bottom
:
20px
;
text-align
:
left
;
border-radius
:
10px
10px
0
0
;
.el-dialog__title
{
color
:
#fff
;
}
}
/
deep
/
.el-dialog
{
border-radius
:
10px
;
//
margin-top
:
3vh
!important
;
//
margin-left
:
3vw
!important
;
}
</
style
>
</
style
>
\ No newline at end of file
src/views/assessZC/checkCompliance.vue
View file @
ac8f5cf
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
:key=
"item.questionId"
:key=
"item.questionId"
>
>
<h3>
{{
item
.
questionId
}}
.
{{
item
.
quesCheckItem
}}
</h3>
<h3>
{{
item
.
questionId
}}
.
{{
item
.
quesCheckItem
}}
</h3>
<p
class=
"msg"
>
{{
item
.
checkDesc
}}
</p>
<p
class=
"msg"
>
{{
item
.
checkDesc
}}
<el-button
type=
"primary"
v-if=
"item.checkDesc=='可研中的需求内容应与业务需求报告中的需求匹配'&&wtmx"
@
click=
"zhanshi()"
>
匹配展示
</el-button>
</p>
<div
<div
class=
"quesznfx"
class=
"quesznfx"
v-if=
"item.znfxList && item.znfxList.length > 0"
v-if=
"item.znfxList && item.znfxList.length > 0"
...
@@ -199,8 +199,21 @@
...
@@ -199,8 +199,21 @@
</div>
</div>
<p
class=
"Btn"
>
<p
class=
"Btn"
>
<span
@
click=
"cancel()"
>
取消
</span><span
@
click=
"save()"
>
保存
</span>
<span
@
click=
"submitNexts()"
>
提交
</span>
<span
@
click=
"cancel()"
>
取消
</span><span
@
click=
"save()"
>
保存
</span>
<span
@
click=
"submitNexts()"
>
提交
</span>
<!--
<span
@
click=
"zhanshi()"
>
展示
</span>
-->
</p>
</p>
</div>
<el-dialog
:visible
.
sync=
"dialogzhanshi"
title=
"匹配展示"
width=
"90%"
:modal-append-to-body=
"false"
:append-to-body=
"false"
>
<div
v-html=
"wtmx"
class=
"dialogscroll"
></div>
</el-dialog>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -255,6 +268,8 @@ export default {
...
@@ -255,6 +268,8 @@ export default {
blobType
:
'pdf'
,
//bolb类型
blobType
:
'pdf'
,
//bolb类型
projectName
:
""
,
projectName
:
""
,
valuesel
:
""
,
valuesel
:
""
,
dialogzhanshi
:
false
,
wtmx
:
''
,
docxOptions
:
{
docxOptions
:
{
className
:
"kaimo-docx-666"
,
// string:默认和文档样式类的类名/前缀
className
:
"kaimo-docx-666"
,
// string:默认和文档样式类的类名/前缀
...
@@ -279,6 +294,10 @@ docxOptions: {
...
@@ -279,6 +294,10 @@ docxOptions: {
this
.
init
(
this
.
clqparams
);
this
.
init
(
this
.
clqparams
);
},
},
methods
:
{
methods
:
{
zhanshi
(){
this
.
dialogzhanshi
=
true
},
//提交问题清单
//提交问题清单
async
submitNexts
()
{
async
submitNexts
()
{
this
.
$confirm
(
"您确定检查完所有流程并去提交?"
,
"提示"
,
{
this
.
$confirm
(
"您确定检查完所有流程并去提交?"
,
"提示"
,
{
...
@@ -396,6 +415,7 @@ docxOptions: {
...
@@ -396,6 +415,7 @@ docxOptions: {
}
}
if
(
res
[
1
].
data
)
{
if
(
res
[
1
].
data
)
{
this
.
questionList
=
res
[
1
].
data
.
records
;
this
.
questionList
=
res
[
1
].
data
.
records
;
this
.
wtmx
=
res
[
1
].
data
.
MapkyXqfx
let
counterNum
=
0
;
let
counterNum
=
0
;
this
.
questionList
.
forEach
(
async
(
item
)
=>
{
this
.
questionList
.
forEach
(
async
(
item
)
=>
{
if
(
item
.
isProblem
==
0
)
{
if
(
item
.
isProblem
==
0
)
{
...
@@ -949,4 +969,26 @@ docxOptions: {
...
@@ -949,4 +969,26 @@ docxOptions: {
margin
:
0
auto
!important
;
margin
:
0
auto
!important
;
text-align
:
center
;
text-align
:
center
;
}
}
.dialogscroll
{
height
:
65vh
;
overflow-y
:
auto
;
}
.msg
{
vertical-align
:
middle
;
line-height
:
33px
;
}
/
deep
/
.el-dialog__header
{
background-color
:
#0d867f
;
padding-bottom
:
20px
;
text-align
:
left
;
border-radius
:
10px
10px
0
0
;
.el-dialog__title
{
color
:
#fff
;
}
}
/
deep
/
.el-dialog
{
border-radius
:
10px
;
//
margin-top
:
3vh
!important
;
//
margin-left
:
3vw
!important
;
}
</
style
>
</
style
>
\ No newline at end of file
vue.config.js
View file @
ac8f5cf
...
@@ -8,7 +8,8 @@ const ip = '192.168.8.120';
...
@@ -8,7 +8,8 @@ const ip = '192.168.8.120';
module
.
exports
=
defineConfig
({
module
.
exports
=
defineConfig
({
transpileDependencies
:
true
,
transpileDependencies
:
true
,
//如果是hash模式, publicPath:"";如果是history, publicPath:"/"
//如果是hash模式, publicPath:"";如果是history, publicPath:"/"
// publicPath: "/",
// publicPath: "/arch",
publicPath
:
'/'
,
devServer
:
{
devServer
:
{
client
:
{
client
:
{
overlay
:
false
,
overlay
:
false
,
...
@@ -24,31 +25,32 @@ module.exports = defineConfig({
...
@@ -24,31 +25,32 @@ module.exports = defineConfig({
}
}
},
},
},
},
configureWebpack
:
{
//
configureWebpack: {
output
:
{
//
output: {
filename
:
'arch/js/[name].[contenthash].js'
,
//
filename: 'arch/js/[name].[contenthash].js',
chunkFilename
:
'arch/js/[name].[contenthash].js'
//
chunkFilename: 'arch/js/[name].[contenthash].js'
}
//
}
},
//
},
css
:
{
//
css: {
extract
:
{
//
extract: {
// 更改CSS文件的保存位置,例如保存到`/path/to/css/`目录下
//
// 更改CSS文件的保存位置,例如保存到`/path/to/css/`目录下
filename
:
'arch/css/[name].css'
,
//
filename: 'arch/css/[name].css',
chunkFilename
:
'arch/css/[id].css'
,
//
chunkFilename: 'arch/css/[id].css',
},
//
},
},
//
},
chainWebpack
:
(
config
)
=>
{
chainWebpack
:
(
config
)
=>
{
// // 更改字体的输出路径
// // 更改字体的输出路径
const
filename
=
'arch/fonts/[name].[hash:8].[ext]'
// const filename='arch/fonts/[name].[hash:8].[ext]'
const
imgname
=
'arch/img/[name].[hash:8].[ext]'
// const imgname='arch/img/[name].[hash:8].[ext]'
config
.
module
// config.module
.
rule
(
"fonts"
)
// .rule("fonts")
.
test
(
/
\.(
woff2
?
|eot|ttf|otf
)(\?
.*
)?
$/i
)
// .test(/\.(woff2?|eot|ttf|otf)(\?.*)?$/i)
.
set
(
"type"
,
"asset"
)
// .set("type", "asset")
.
set
(
"generator"
,
{
// .set("generator", {
filename
,
// filename,
});
// });
// config.module
// config.module
// .rule("images")
// .rule("images")
...
...
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