我的问答

This commit is contained in:
宋伟佳
2022-06-07 11:11:14 +08:00
parent d3e84e8110
commit 4a5b42b6c3
6 changed files with 96 additions and 56 deletions
@@ -1,7 +1,7 @@
<!--标准的描述-->
<template>
<div id="stand-item">
<div>
<div style="width: 100%;padding: 10px 0;">
<div id="stand-item">
<div class="row">
<div class="item">
<span>{{stand.standardEncdoing}}</span>
@@ -9,7 +9,7 @@
</div>
<div class="row">
<div class="item">
<span>{{stand.standardName}}</span>
<span :title="stand.standardEncdoing + stand.standardName">{{stand.standardName}}</span>
</div>
</div>
</div>
@@ -40,14 +40,18 @@ export default {
<style lang="less" scoped>
#stand-item{
width: 100%;
min-width: 130px;
padding:10px 0;
max-width: 200px;
.row {
line-height: 1.5;
}
.item {
display: inline-block;
width: 200px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
}
</style>
@@ -1341,6 +1341,7 @@ export default {
},
addList() {
this.handleSelectForm.dataSource = this.standType
this.handleSelectForm.standType = this.standType
this.searchLawBtn()
this.standModel = true;
},
@@ -1541,6 +1542,16 @@ export default {
},
//提问按钮
queBtn(){
this.questionForm = {
pubQue : '',//公共问题
classification: 'INLAND', //标准类型
problemDescription: '', //问题
questioner: this.$store.getters.userInfo.userId, //提问人
standardEncdoing: '', //标准编号
standardName: '', //标准名称
standardId:'', //标准id
fileList: '',
}
this.dialogVisible = true
},
handleClose(){
@@ -1676,6 +1687,7 @@ export default {
_this: this
}, res => {
console.log(res);
this.dialogVisible = false
}, e => {
})