Commit ac8f5cfe by liangzhen

匹配分析

1 parent b198fa97
......@@ -60,7 +60,7 @@
:key="item.questionId"
>
<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
class="quesznfx"
v-if="item.znfxList && item.znfxList.length > 0"
......@@ -200,6 +200,18 @@
<p class="Btn">
<span @click="cancel()">取消</span><span @click="save()">保存</span> <span @click="submitNexts()">提交</span>
</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>
</template>
......@@ -255,6 +267,8 @@ export default {
blobType:'pdf',//bolb类型
projectName:"",
valuesel:"",
dialogzhanshi:false,
wtmx:'',
docxOptions: {
className: "kaimo-docx-666", // string:默认和文档样式类的类名/前缀
......@@ -279,6 +293,10 @@ docxOptions: {
this.init(this.clqparams);
},
methods: {
zhanshi(){
this.dialogzhanshi=true
},
//提交问题清单
async submitNexts() {
this.$confirm("您确定检查完所有流程并去提交?", "提示", {
......@@ -396,6 +414,7 @@ docxOptions: {
}
if (res[1].data) {
this.questionList = res[1].data.records;
this.wtmx= res[1].data.MapkyXqfx
let counterNum = 0;
this.questionList.forEach(async (item) => {
if (item.isProblem == 0) {
......@@ -941,4 +960,26 @@ docxOptions: {
margin: 0 auto !important;
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>
\ No newline at end of file
......@@ -60,7 +60,7 @@
:key="item.questionId"
>
<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
class="quesznfx"
v-if="item.znfxList && item.znfxList.length > 0"
......@@ -199,8 +199,21 @@
</div>
<p class="Btn">
<span @click="cancel()">取消</span><span @click="save()">保存</span> <span @click="submitNexts()">提交</span>
<!-- <span @click="zhanshi()">展示</span> -->
</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>
<script>
......@@ -255,6 +268,8 @@ export default {
blobType:'pdf',//bolb类型
projectName:"",
valuesel:"",
dialogzhanshi:false,
wtmx:'',
docxOptions: {
className: "kaimo-docx-666", // string:默认和文档样式类的类名/前缀
......@@ -279,6 +294,10 @@ docxOptions: {
this.init(this.clqparams);
},
methods: {
zhanshi(){
this.dialogzhanshi=true
},
//提交问题清单
async submitNexts() {
this.$confirm("您确定检查完所有流程并去提交?", "提示", {
......@@ -396,6 +415,7 @@ docxOptions: {
}
if (res[1].data) {
this.questionList = res[1].data.records;
this.wtmx= res[1].data.MapkyXqfx
let counterNum = 0;
this.questionList.forEach(async (item) => {
if (item.isProblem == 0) {
......@@ -949,4 +969,26 @@ docxOptions: {
margin: 0 auto !important;
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>
\ No newline at end of file
......@@ -8,7 +8,8 @@ const ip = '192.168.8.120';
module.exports = defineConfig({
transpileDependencies: true,
//如果是hash模式, publicPath:"";如果是history, publicPath:"/"
// publicPath: "/",
// publicPath: "/arch",
publicPath:'/',
devServer: {
client: {
overlay: false,
......@@ -24,31 +25,32 @@ module.exports = defineConfig({
}
},
},
configureWebpack: {
output: {
filename: 'arch/js/[name].[contenthash].js',
chunkFilename: 'arch/js/[name].[contenthash].js'
}
},
css: {
extract: {
// 更改CSS文件的保存位置,例如保存到`/path/to/css/`目录下
filename: 'arch/css/[name].css',
chunkFilename: 'arch/css/[id].css',
},
},
// configureWebpack: {
// output: {
// filename: 'arch/js/[name].[contenthash].js',
// chunkFilename: 'arch/js/[name].[contenthash].js'
// }
// },
// css: {
// extract: {
// // 更改CSS文件的保存位置,例如保存到`/path/to/css/`目录下
// filename: 'arch/css/[name].css',
// chunkFilename: 'arch/css/[id].css',
// },
// },
chainWebpack: (config) => {
// // 更改字体的输出路径
const filename='arch/fonts/[name].[hash:8].[ext]'
const imgname='arch/img/[name].[hash:8].[ext]'
config.module
.rule("fonts")
.test(/\.(woff2?|eot|ttf|otf)(\?.*)?$/i)
.set("type", "asset")
.set("generator", {
filename,
});
// const filename='arch/fonts/[name].[hash:8].[ext]'
// const imgname='arch/img/[name].[hash:8].[ext]'
// config.module
// .rule("fonts")
// .test(/\.(woff2?|eot|ttf|otf)(\?.*)?$/i)
// .set("type", "asset")
// .set("generator", {
// filename,
// });
// config.module
// .rule("images")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!