问答库 提问显示标准号和标准名称

This commit is contained in:
zyx.net
2023-03-01 09:25:32 +08:00
parent 9eb8d70be0
commit 9b494c1ccf
2 changed files with 18 additions and 0 deletions
@@ -823,6 +823,12 @@
</div>
<el-button v-else size="mini" style="margin-left: 30px;" type="primary" @click="addList">选择标准</el-button>
</el-form-item>
<el-form-item label="标准号" class="serch-form-item">
{{ questionForm.standSortShow }} {{questionForm.standNumber }}-{{ questionForm.standYear }}
</el-form-item>
<el-form-item label="标准名称" class="serch-form-item">
{{questionForm.standardName}}
</el-form-item>
<el-form-item label="问题" prop="problemDescription" class="serch-form-item">
<el-input v-model="questionForm.problemDescription" @input="changeInput"></el-input>
</el-form-item>
@@ -1485,6 +1491,9 @@ export default {
this.handleSelectTableList[0].standSortShow + this.handleSelectTableList[0].standNumber
}
this.questionForm.standardName = this.handleSelectTableList[0].standName
this.questionForm.standSortShow = this.handleSelectTableList[0].standSortShow
this.questionForm.standYear = this.handleSelectTableList[0].standYear
this.questionForm.standNumber = this.handleSelectTableList[0].standNumber
this.questionForm.standardId = this.handleSelectTableList[0].id
this.standModel = false
}else{
@@ -102,6 +102,12 @@
</div>
<el-button v-else size="mini" style="margin-left: 30px;" type="primary" @click="addList">选择标准</el-button>
</el-form-item>
<el-form-item label="标准号" class="serch-form-item">
{{ questionForm.standSortShow }} {{questionForm.standNumber }}-{{ questionForm.standYear }}
</el-form-item>
<el-form-item label="标准名称" class="serch-form-item">
{{questionForm.standardName}}
</el-form-item>
<el-form-item label="问题" prop="problemDescription" class="serch-form-item">
<el-input v-model="questionForm.problemDescription" @input="changeInput"></el-input>
</el-form-item>
@@ -795,6 +801,9 @@ export default {
this.handleSelectTableList[0].standSortShow + this.handleSelectTableList[0].standNumber
}
this.questionForm.standardName = this.handleSelectTableList[0].standName
this.questionForm.standSortShow = this.handleSelectTableList[0].standSortShow
this.questionForm.standYear = this.handleSelectTableList[0].standYear
this.questionForm.standNumber = this.handleSelectTableList[0].standNumber
this.questionForm.standardId = this.handleSelectTableList[0].id
this.standModel = false
}else{