Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
396572590@qq.com
2022-06-28 17:57:20 +08:00
2 changed files with 42 additions and 14 deletions
@@ -1047,9 +1047,22 @@ export default {
//提问按钮
queBtn(){
this.fileList = []
const selectedStand = this.activestand == '0' ? this.standList[0] : this.standMap.get(this.activestand)
this.standType = selectedStand.classification
this.questionForm = {
if(this.standList.length === 0){
this.standType = !this.activeType ? 'INLAND' : this.activeType
this.questionForm = {
pubQue : '',//公共问题
classification: !this.activeType ? 'INLAND' : this.activeType, //标准类型
problemDescription: '', //问题
questioner: this.$store.getters.userInfo.userId, //提问人
standardEncdoing: '', //标准编号
standardName: '', //标准名称
standardId:'', //标准id
fileList: '',
}
}else{
const selectedStand = this.activestand == '0' || this.activeType === 'INLAND' ? this.standList[0] : this.standMap.get(this.activestand)
this.standType = selectedStand.classification
this.questionForm = {
pubQue : selectedStand.classification === "OTHER" ? selectedStand.standardId : '',//公共问题
classification: selectedStand.classification, //标准类型
problemDescription: '', //问题
@@ -1058,6 +1071,7 @@ export default {
standardName: selectedStand.standardName, //标准名称
standardId: selectedStand.standardId, //标准id
fileList: '',
}
}
this.dialogVisible = true
},