Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -1673,17 +1673,31 @@ export default {
|
|||||||
queBtn(){
|
queBtn(){
|
||||||
this.fileList = []
|
this.fileList = []
|
||||||
// 清空提问
|
// 清空提问
|
||||||
const selectedStand = this.activestand == '0' ? this.standList[0] : this.standMap.get(this.activestand)
|
if(this.standList.length === 0){
|
||||||
this.standType = selectedStand.classification
|
this.standType = !this.activeType ? 'INLAND' : this.activeType
|
||||||
this.questionForm = {
|
this.questionForm = {
|
||||||
pubQue : selectedStand.classification === "OTHER" ? selectedStand.standardId : '',//公共问题
|
pubQue : '',//公共问题
|
||||||
classification: selectedStand.classification, //标准类型
|
classification: !this.activeType ? 'INLAND' : this.activeType, //标准类型
|
||||||
problemDescription: '', //问题
|
problemDescription: '', //问题
|
||||||
questioner: this.$store.getters.userInfo.userId, //提问人
|
questioner: this.$store.getters.userInfo.userId, //提问人
|
||||||
standardEncdoing: selectedStand.standardEncdoing, //标准编号
|
standardEncdoing: '', //标准编号
|
||||||
standardName: selectedStand.standardName, //标准名称
|
standardName: '', //标准名称
|
||||||
standardId: selectedStand.standardId, //标准id
|
standardId:'', //标准id
|
||||||
fileList: '',
|
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: '', //问题
|
||||||
|
questioner: this.$store.getters.userInfo.userId, //提问人
|
||||||
|
standardEncdoing: selectedStand.standardEncdoing, //标准编号
|
||||||
|
standardName: selectedStand.standardName, //标准名称
|
||||||
|
standardId: selectedStand.standardId, //标准id
|
||||||
|
fileList: '',
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.dialogVisible = true
|
this.dialogVisible = true
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1047,9 +1047,22 @@ export default {
|
|||||||
//提问按钮
|
//提问按钮
|
||||||
queBtn(){
|
queBtn(){
|
||||||
this.fileList = []
|
this.fileList = []
|
||||||
const selectedStand = this.activestand == '0' ? this.standList[0] : this.standMap.get(this.activestand)
|
if(this.standList.length === 0){
|
||||||
this.standType = selectedStand.classification
|
this.standType = !this.activeType ? 'INLAND' : this.activeType
|
||||||
this.questionForm = {
|
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 : '',//公共问题
|
pubQue : selectedStand.classification === "OTHER" ? selectedStand.standardId : '',//公共问题
|
||||||
classification: selectedStand.classification, //标准类型
|
classification: selectedStand.classification, //标准类型
|
||||||
problemDescription: '', //问题
|
problemDescription: '', //问题
|
||||||
@@ -1058,6 +1071,7 @@ export default {
|
|||||||
standardName: selectedStand.standardName, //标准名称
|
standardName: selectedStand.standardName, //标准名称
|
||||||
standardId: selectedStand.standardId, //标准id
|
standardId: selectedStand.standardId, //标准id
|
||||||
fileList: '',
|
fileList: '',
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.dialogVisible = true
|
this.dialogVisible = true
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user